summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hockin <thockin@google.com>2016-06-15 23:43:13 -0700
committerTim Hockin <thockin@google.com>2016-07-07 16:49:46 -0700
commit19bae12d22d75293cb96702caa3f7dbfe5ae8e0c (patch)
tree79ef9e8686256edd049d7ec6ffcc51d1e7dd1ab3
parent4a69f7cd28fa45c3f34dfa1a2e89ca09bdea5294 (diff)
Recreate the opt-in/opt-out logic for deepcopy
This is the last piece of Clayton's #26179 to be implemented with file tags. All diffs are accounted for. Followup will use this to streamline some packages. Also add some V(5) debugging - it was helpful in diagnosing various issues, it may be helpful again.
-rw-r--r--adding-an-APIGroup.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/adding-an-APIGroup.md b/adding-an-APIGroup.md
index 6026cc2e..63c4e2a2 100644
--- a/adding-an-APIGroup.md
+++ b/adding-an-APIGroup.md
@@ -77,8 +77,8 @@ cmd/libs/go2idl/ tool.
1. Add your "group/" or "group/version" into
cmd/libs/go2idl/conversion-gen/main.go;
2. Make sure your pkg/apis/`<group>`/`<version>` directory has a doc.go file
- with the comment `// +k8s:deepcopy-gen=register`, to catch the attention
- of our generation tools.
+ with the comment `// +k8s:deepcopy-gen=package,register`, to catch the
+ attention of our generation tools.
3. Make sure your pkg/apis/`<group>`/`<version>` directory has a doc.go file
with the comment `// +genconversion=true`, to catch the attention of our
gen-conversion script.