diff options
Diffstat (limited to 'contributors/devel/api_changes.md')
| -rw-r--r-- | contributors/devel/api_changes.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contributors/devel/api_changes.md b/contributors/devel/api_changes.md index 3f6116f2..6fe3e972 100644 --- a/contributors/devel/api_changes.md +++ b/contributors/devel/api_changes.md @@ -544,6 +544,10 @@ Once you added the annotations, generate the client with hack/update-codegen.sh ``` +Note that you can use the optional `// +groupGoName=` to specify a CamelCase +custom Golang identifier to de-conflict e.g. `policy.authorization.k8s.io` and +`policy.k8s.io`. These two would both map to `Policy()` in clientsets. + client-gen is flexible. See [this document](generating-clientset.md) if you need client-gen for non-kubernetes API. |
