mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
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:
commit
03d64c6aa4
@ -75,9 +75,7 @@ cmd/libs/go2idl/ tool.
|
|||||||
1. Generate conversions and deep-copies:
|
1. Generate conversions and deep-copies:
|
||||||
|
|
||||||
1. Add your "group/" or "group/version" into
|
1. Add your "group/" or "group/version" into
|
||||||
hack/after-build/{update-generated-conversions.sh,
|
cmd/libs/go2idl/{conversion-gen, deep-copy-gen}/main.go;
|
||||||
update-generated-deep-copies.sh, verify-generated-conversions.sh,
|
|
||||||
verify-generated-deep-copies.sh};
|
|
||||||
2. Make sure your pkg/apis/`<group>`/`<version>` directory has a doc.go file
|
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
|
with the comment `// +genconversion=true`, to catch the attention of our
|
||||||
gen-conversion script.
|
gen-conversion script.
|
||||||
|
Loading…
Reference in New Issue
Block a user