From 713a0b038df397edb8537bd4bdbaa394b40d2376 Mon Sep 17 00:00:00 2001 From: deads2k Date: Thu, 8 Sep 2016 10:57:05 -0400 Subject: [PATCH] update missing generated client --- cmd/libs/go2idl/client-gen/main.go | 1 + pkg/apis/apps/types.go | 2 ++ pkg/apis/extensions/types.go | 2 ++ 3 files changed, 5 insertions(+) diff --git a/cmd/libs/go2idl/client-gen/main.go b/cmd/libs/go2idl/client-gen/main.go index 51f2a9ae5d8..45ca829cbb0 100644 --- a/cmd/libs/go2idl/client-gen/main.go +++ b/cmd/libs/go2idl/client-gen/main.go @@ -43,6 +43,7 @@ var ( "extensions/", "rbac/", "storage/", + "apps/", }, "group/versions that client-gen will generate clients for. At most one version per group is allowed. Specified in the format \"group1/version1,group2/version2...\". Default to \"api/,extensions/,autoscaling/,batch/,rbac/\"") includedTypesOverrides = flag.StringSlice("included-types-overrides", []string{}, "list of group/version/type for which client should be generated. By default, client is generated for all types which have genclient=true in types.go. This overrides that. For each groupVersion in this list, only the types mentioned here will be included. The default check of genclient=true will be used for other group versions.") basePath = flag.String("input-base", "k8s.io/kubernetes/pkg/apis", "base path to look for the api group. Default to \"k8s.io/kubernetes/pkg/apis\"") diff --git a/pkg/apis/apps/types.go b/pkg/apis/apps/types.go index c3e28972fe4..5568e2ef3f5 100644 --- a/pkg/apis/apps/types.go +++ b/pkg/apis/apps/types.go @@ -21,6 +21,8 @@ import ( "k8s.io/kubernetes/pkg/api/unversioned" ) +// +genclient=true + // PetSet represents a set of pods with consistent identities. // Identities are defined as: // - Network: A single stable DNS and hostname. diff --git a/pkg/apis/extensions/types.go b/pkg/apis/extensions/types.go index 59e87164dbd..988485fcc08 100644 --- a/pkg/apis/extensions/types.go +++ b/pkg/apis/extensions/types.go @@ -826,6 +826,8 @@ type PodSecurityPolicyList struct { Items []PodSecurityPolicy `json:"items"` } +// +genclient=true + type NetworkPolicy struct { unversioned.TypeMeta `json:",inline"` api.ObjectMeta `json:"metadata,omitempty"`