diff options
| author | Dr. Stefan Schimanski <stefan.schimanski@gmail.com> | 2017-11-09 15:21:44 +0100 |
|---|---|---|
| committer | Dr. Stefan Schimanski <stefan.schimanski@gmail.com> | 2017-11-09 15:21:44 +0100 |
| commit | 2918c4d153df0e666a97e1e1dfaa8085fec8222a (patch) | |
| tree | c4aa9b2d22fa1349d1efea1f8146b30d22e7a577 | |
| parent | fea1049fa77d2f8cc2f3121d24a214f32af16f98 (diff) | |
Fix '// +genclient' tag without the '=true'
| -rw-r--r-- | contributors/devel/api_changes.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contributors/devel/api_changes.md b/contributors/devel/api_changes.md index 6fe3e972..d36d9b67 100644 --- a/contributors/devel/api_changes.md +++ b/contributors/devel/api_changes.md @@ -526,7 +526,7 @@ run it several times to ensure there are no incompletely calculated fields. `client-gen` is a tool to generate clientsets for top-level API objects. -`client-gen` requires the `// +genclient=true` annotation on each +`client-gen` requires the `// +genclient` annotation on each exported type in both the internal `pkg/apis/<group>/types.go` as well as each specifically versioned `staging/src/k8s.io/api/<group>/<version>/types.go`. @@ -554,7 +554,7 @@ client-gen for non-kubernetes API. ### Generate Listers `lister-gen` is a tool to generate listers for a client. It reuses the -`//+genclient=true` and the `// +groupName=` annotations, so you do not need to +`//+genclient` and the `// +groupName=` annotations, so you do not need to specify extra annotations. Your previous run of `hack/update-codegen.sh` has invoked `lister-gen`. @@ -562,7 +562,7 @@ Your previous run of `hack/update-codegen.sh` has invoked `lister-gen`. ### Generate Informers `informer-gen` generates the very useful Informers which watch API -resources for changes. It reuses the `//+genclient=true` and the +resources for changes. It reuses the `//+genclient` and the `//+groupName=` annotations, so you do not need to specify extra annotations. Your previous run of `hack/update-codegen.sh` has invoked `informer-gen`. |
