summaryrefslogtreecommitdiff
path: root/contributors/devel/api_changes.md
diff options
context:
space:
mode:
authorDr. Stefan Schimanski <stefan.schimanski@gmail.com>2017-11-06 14:21:27 +0100
committerDr. Stefan Schimanski <stefan.schimanski@gmail.com>2017-11-06 18:25:09 +0100
commitfea1049fa77d2f8cc2f3121d24a214f32af16f98 (patch)
tree5d6c46d6ffd4af652688783d3ec9b9fdb6a1a81a /contributors/devel/api_changes.md
parentb4c1b580b57b4ee3153ff3dfc9780ff4b7f13e96 (diff)
contributors/devel: document '// +groupGoName' code-generation tag
Diffstat (limited to 'contributors/devel/api_changes.md')
-rw-r--r--contributors/devel/api_changes.md4
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.