From 19bae12d22d75293cb96702caa3f7dbfe5ae8e0c Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Wed, 15 Jun 2016 23:43:13 -0700 Subject: 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. --- adding-an-APIGroup.md | 4 ++-- 1 file 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/``/`` 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/``/`` directory has a doc.go file with the comment `// +genconversion=true`, to catch the attention of our gen-conversion script. -- cgit v1.2.3