From 2918c4d153df0e666a97e1e1dfaa8085fec8222a Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Thu, 9 Nov 2017 15:21:44 +0100 Subject: Fix '// +genclient' tag without the '=true' --- contributors/devel/api_changes.md | 6 +++--- 1 file 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//types.go` as well as each specifically versioned `staging/src/k8s.io/api///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`. -- cgit v1.2.3