Merge pull request #25312 from cjcullen/newtypedocs

Automatic merge from submit-queue

Update adding-an-APIGroup.md for #23110

Change the doc to point at the new conversion/deep-copy binaries instead of the old scripts.
This commit is contained in:
k8s-merge-robot 2016-05-08 11:30:47 -07:00
commit 03d64c6aa4

View File

@ -75,9 +75,7 @@ cmd/libs/go2idl/ tool.
1. Generate conversions and deep-copies:
1. Add your "group/" or "group/version" into
hack/after-build/{update-generated-conversions.sh,
update-generated-deep-copies.sh, verify-generated-conversions.sh,
verify-generated-deep-copies.sh};
cmd/libs/go2idl/{conversion-gen, deep-copy-gen}/main.go;
2. 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.