From 2dff13f332bef6cddff2613023eced01518c5c02 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Mon, 5 Dec 2016 10:56:55 +0100 Subject: [PATCH] Update generated files --- api/openapi-spec/swagger.json | 10 +- api/swagger-spec/apps_v1beta1.json | 9 +- .../authentication.k8s.io_v1beta1.json | 9 +- .../authorization.k8s.io_v1beta1.json | 9 +- api/swagger-spec/autoscaling_v1.json | 9 +- api/swagger-spec/batch_v1.json | 9 +- api/swagger-spec/batch_v2alpha1.json | 9 +- .../certificates.k8s.io_v1alpha1.json | 9 +- api/swagger-spec/extensions_v1beta1.json | 9 +- api/swagger-spec/policy_v1beta1.json | 9 +- .../rbac.authorization.k8s.io_v1alpha1.json | 9 +- api/swagger-spec/storage.k8s.io_v1beta1.json | 9 +- api/swagger-spec/v1.json | 9 +- cmd/kube-controller-manager/app/BUILD | 2 + .../apps/v1beta1/definitions.html | 9 +- .../v1beta1/definitions.html | 9 +- .../v1beta1/definitions.html | 9 +- .../autoscaling/v1/definitions.html | 9 +- docs/api-reference/batch/v1/definitions.html | 9 +- .../batch/v2alpha1/definitions.html | 9 +- .../v1alpha1/definitions.html | 9 +- .../extensions/v1beta1/definitions.html | 9 +- .../policy/v1beta1/definitions.html | 9 +- .../v1alpha1/definitions.html | 9 +- .../storage.k8s.io/v1beta1/definitions.html | 9 +- docs/api-reference/v1/definitions.html | 9 +- federation/apis/openapi-spec/swagger.json | 10 +- pkg/apis/meta/v1/BUILD | 2 + pkg/apis/meta/v1/generated.pb.go | 369 +++++++++++++----- pkg/apis/meta/v1/generated.proto | 14 + pkg/apis/meta/v1/zz_generated.deepcopy.go | 11 +- pkg/client/typed/discovery/BUILD | 2 + pkg/controller/namespace/BUILD | 2 + pkg/generated/openapi/zz_generated.openapi.go | 16 +- pkg/genericapiserver/BUILD | 3 + pkg/kubectl/cmd/BUILD | 1 + test/test_owners.csv | 1 + 37 files changed, 537 insertions(+), 122 deletions(-) diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index c3325ee886a..078cff53343 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -32308,7 +32308,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "kind": { @@ -32322,6 +32323,13 @@ "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", "type": "boolean" + }, + "verbs": { + "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", + "type": "array", + "items": { + "type": "string" + } } } }, diff --git a/api/swagger-spec/apps_v1beta1.json b/api/swagger-spec/apps_v1beta1.json index a42638e2dae..00f03c2a4f2 100644 --- a/api/swagger-spec/apps_v1beta1.json +++ b/api/swagger-spec/apps_v1beta1.json @@ -2885,7 +2885,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -2899,6 +2900,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/authentication.k8s.io_v1beta1.json b/api/swagger-spec/authentication.k8s.io_v1beta1.json index 7279f5ee7b2..5b137bd795c 100644 --- a/api/swagger-spec/authentication.k8s.io_v1beta1.json +++ b/api/swagger-spec/authentication.k8s.io_v1beta1.json @@ -300,7 +300,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -314,6 +315,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/authorization.k8s.io_v1beta1.json b/api/swagger-spec/authorization.k8s.io_v1beta1.json index 0ebefafecae..21c83608aba 100644 --- a/api/swagger-spec/authorization.k8s.io_v1beta1.json +++ b/api/swagger-spec/authorization.k8s.io_v1beta1.json @@ -513,7 +513,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -527,6 +528,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/autoscaling_v1.json b/api/swagger-spec/autoscaling_v1.json index 09cdb13ebed..f5597bb9440 100644 --- a/api/swagger-spec/autoscaling_v1.json +++ b/api/swagger-spec/autoscaling_v1.json @@ -1445,7 +1445,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -1459,6 +1460,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/batch_v1.json b/api/swagger-spec/batch_v1.json index 86dac5078c4..789074aadf7 100644 --- a/api/swagger-spec/batch_v1.json +++ b/api/swagger-spec/batch_v1.json @@ -2865,7 +2865,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -2879,6 +2880,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/batch_v2alpha1.json b/api/swagger-spec/batch_v2alpha1.json index dc54a48a072..17a6c06732e 100644 --- a/api/swagger-spec/batch_v2alpha1.json +++ b/api/swagger-spec/batch_v2alpha1.json @@ -68,7 +68,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -82,6 +83,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/certificates.k8s.io_v1alpha1.json b/api/swagger-spec/certificates.k8s.io_v1alpha1.json index c33f051bdb8..5c07179c9a8 100644 --- a/api/swagger-spec/certificates.k8s.io_v1alpha1.json +++ b/api/swagger-spec/certificates.k8s.io_v1alpha1.json @@ -1133,7 +1133,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -1147,6 +1148,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index d987ffe1f9c..65a689fbe8f 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -10737,7 +10737,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -10751,6 +10752,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/policy_v1beta1.json b/api/swagger-spec/policy_v1beta1.json index 0dc6f55c9ff..ee3838f1643 100644 --- a/api/swagger-spec/policy_v1beta1.json +++ b/api/swagger-spec/policy_v1beta1.json @@ -1455,7 +1455,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -1469,6 +1470,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json b/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json index c2da8c139bb..f708d091739 100644 --- a/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json +++ b/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json @@ -3363,7 +3363,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -3377,6 +3378,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/storage.k8s.io_v1beta1.json b/api/swagger-spec/storage.k8s.io_v1beta1.json index ae8526ed4fe..41cc3efc143 100644 --- a/api/swagger-spec/storage.k8s.io_v1beta1.json +++ b/api/swagger-spec/storage.k8s.io_v1beta1.json @@ -968,7 +968,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -982,6 +983,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 4d11224da4b..02068ffd1fb 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -19982,7 +19982,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "name": { @@ -19996,6 +19997,12 @@ "kind": { "type": "string", "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + }, + "verbs": { + "type": "array", + "items": { + "type": "string" + } } } } diff --git a/cmd/kube-controller-manager/app/BUILD b/cmd/kube-controller-manager/app/BUILD index f1405b5603f..3de42bcd91e 100644 --- a/cmd/kube-controller-manager/app/BUILD +++ b/cmd/kube-controller-manager/app/BUILD @@ -24,6 +24,8 @@ go_library( "//pkg/apimachinery/registered:go_default_library", "//pkg/apis/batch:go_default_library", "//pkg/apis/componentconfig:go_default_library", + "//pkg/apis/extensions:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/client/clientset_generated/release_1_5:go_default_library", "//pkg/client/clientset_generated/release_1_5/typed/core/v1:go_default_library", "//pkg/client/leaderelection:go_default_library", diff --git a/docs/api-reference/apps/v1beta1/definitions.html b/docs/api-reference/apps/v1beta1/definitions.html index c8a0391d89b..a0ab2f00d27 100755 --- a/docs/api-reference/apps/v1beta1/definitions.html +++ b/docs/api-reference/apps/v1beta1/definitions.html @@ -2130,6 +2130,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -4444,7 +4451,7 @@ Examples:
diff --git a/docs/api-reference/authentication.k8s.io/v1beta1/definitions.html b/docs/api-reference/authentication.k8s.io/v1beta1/definitions.html index b173f628379..2e90fe62412 100755 --- a/docs/api-reference/authentication.k8s.io/v1beta1/definitions.html +++ b/docs/api-reference/authentication.k8s.io/v1beta1/definitions.html @@ -885,6 +885,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -900,7 +907,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i diff --git a/docs/api-reference/authorization.k8s.io/v1beta1/definitions.html b/docs/api-reference/authorization.k8s.io/v1beta1/definitions.html index 3ee15f75d2f..247f24e4590 100755 --- a/docs/api-reference/authorization.k8s.io/v1beta1/definitions.html +++ b/docs/api-reference/authorization.k8s.io/v1beta1/definitions.html @@ -754,6 +754,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -1161,7 +1168,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i diff --git a/docs/api-reference/autoscaling/v1/definitions.html b/docs/api-reference/autoscaling/v1/definitions.html index 52df174dcdb..66efe5c2a54 100755 --- a/docs/api-reference/autoscaling/v1/definitions.html +++ b/docs/api-reference/autoscaling/v1/definitions.html @@ -1297,6 +1297,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -1368,7 +1375,7 @@ Examples:
diff --git a/docs/api-reference/batch/v1/definitions.html b/docs/api-reference/batch/v1/definitions.html index eeb0cda9a2b..ec42d4588a9 100755 --- a/docs/api-reference/batch/v1/definitions.html +++ b/docs/api-reference/batch/v1/definitions.html @@ -2041,6 +2041,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -4376,7 +4383,7 @@ Examples:
diff --git a/docs/api-reference/batch/v2alpha1/definitions.html b/docs/api-reference/batch/v2alpha1/definitions.html index ec5cff00ad9..c526ca00a06 100755 --- a/docs/api-reference/batch/v2alpha1/definitions.html +++ b/docs/api-reference/batch/v2alpha1/definitions.html @@ -472,6 +472,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

string

+ +

verbs

+ +

true

+

string array

+ + @@ -487,7 +494,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } diff --git a/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html b/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html index 972bc2c5751..82e4d51bfb7 100755 --- a/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html +++ b/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html @@ -1274,6 +1274,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -1345,7 +1352,7 @@ Examples:
diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 16eac5aaa5f..b85cc15696f 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -5731,6 +5731,13 @@ Both these may change in the future. Incoming requests are matched against the h

string

+ +

verbs

+ +

true

+

string array

+ + @@ -6818,7 +6825,7 @@ Both these may change in the future. Incoming requests are matched against the h diff --git a/docs/api-reference/policy/v1beta1/definitions.html b/docs/api-reference/policy/v1beta1/definitions.html index 20843d9ea97..1de041534c9 100755 --- a/docs/api-reference/policy/v1beta1/definitions.html +++ b/docs/api-reference/policy/v1beta1/definitions.html @@ -1290,6 +1290,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -1402,7 +1409,7 @@ Examples:
diff --git a/docs/api-reference/rbac.authorization.k8s.io/v1alpha1/definitions.html b/docs/api-reference/rbac.authorization.k8s.io/v1alpha1/definitions.html index fea6fb209c5..6cc4d7198a3 100755 --- a/docs/api-reference/rbac.authorization.k8s.io/v1alpha1/definitions.html +++ b/docs/api-reference/rbac.authorization.k8s.io/v1alpha1/definitions.html @@ -1487,6 +1487,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -1730,7 +1737,7 @@ Examples:
diff --git a/docs/api-reference/storage.k8s.io/v1beta1/definitions.html b/docs/api-reference/storage.k8s.io/v1beta1/definitions.html index c7b48f5b1cd..3183c895070 100755 --- a/docs/api-reference/storage.k8s.io/v1beta1/definitions.html +++ b/docs/api-reference/storage.k8s.io/v1beta1/definitions.html @@ -1135,6 +1135,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

string

+ +

verbs

+ +

true

+

string array

+ + @@ -1206,7 +1213,7 @@ Examples:
diff --git a/docs/api-reference/v1/definitions.html b/docs/api-reference/v1/definitions.html index 01b06e39d41..d18cd4a3f33 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -6719,6 +6719,13 @@ Examples:

string

+ +

verbs

+ +

true

+

string array

+ + @@ -8613,7 +8620,7 @@ Examples:
diff --git a/federation/apis/openapi-spec/swagger.json b/federation/apis/openapi-spec/swagger.json index a3e92ce4370..ab22e6ff0ef 100644 --- a/federation/apis/openapi-spec/swagger.json +++ b/federation/apis/openapi-spec/swagger.json @@ -8555,7 +8555,8 @@ "required": [ "name", "namespaced", - "kind" + "kind", + "verbs" ], "properties": { "kind": { @@ -8569,6 +8570,13 @@ "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", "type": "boolean" + }, + "verbs": { + "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", + "type": "array", + "items": { + "type": "string" + } } } }, diff --git a/pkg/apis/meta/v1/BUILD b/pkg/apis/meta/v1/BUILD index a0489cb46ca..738f72b61b2 100644 --- a/pkg/apis/meta/v1/BUILD +++ b/pkg/apis/meta/v1/BUILD @@ -38,6 +38,7 @@ go_library( "//vendor:github.com/gogo/protobuf/proto", "//vendor:github.com/gogo/protobuf/sortkeys", "//vendor:github.com/google/gofuzz", + "//vendor:github.com/ugorji/go/codec", ], ) @@ -48,6 +49,7 @@ go_test( "group_version_test.go", "helpers_test.go", "time_test.go", + "types_test.go", ], library = "go_default_library", tags = ["automanaged"], diff --git a/pkg/apis/meta/v1/generated.pb.go b/pkg/apis/meta/v1/generated.pb.go index cf7372339d1..da20a2b1ba1 100644 --- a/pkg/apis/meta/v1/generated.pb.go +++ b/pkg/apis/meta/v1/generated.pb.go @@ -50,6 +50,7 @@ limitations under the License. Time Timestamp TypeMeta + Verbs */ package v1 @@ -180,6 +181,10 @@ func (m *TypeMeta) Reset() { *m = TypeMeta{} } func (*TypeMeta) ProtoMessage() {} func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } +func (m *Verbs) Reset() { *m = Verbs{} } +func (*Verbs) ProtoMessage() {} +func (*Verbs) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } + func init() { proto.RegisterType((*APIGroup)(nil), "k8s.io.kubernetes.pkg.apis.meta.v1.APIGroup") proto.RegisterType((*APIGroupList)(nil), "k8s.io.kubernetes.pkg.apis.meta.v1.APIGroupList") @@ -206,6 +211,7 @@ func init() { proto.RegisterType((*Time)(nil), "k8s.io.kubernetes.pkg.apis.meta.v1.Time") proto.RegisterType((*Timestamp)(nil), "k8s.io.kubernetes.pkg.apis.meta.v1.Timestamp") proto.RegisterType((*TypeMeta)(nil), "k8s.io.kubernetes.pkg.apis.meta.v1.TypeMeta") + proto.RegisterType((*Verbs)(nil), "k8s.io.kubernetes.pkg.apis.meta.v1.Verbs") } func (m *APIGroup) Marshal() (data []byte, err error) { size := m.Size() @@ -322,6 +328,16 @@ func (m *APIResource) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(len(m.Kind))) i += copy(data[i:], m.Kind) + if m.Verbs != nil { + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Verbs.Size())) + n2, err := m.Verbs.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n2 + } return i, nil } @@ -836,11 +852,11 @@ func (m *Status) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n2, err := m.ListMeta.MarshalTo(data[i:]) + n3, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n2 + i += n3 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Status))) @@ -857,11 +873,11 @@ func (m *Status) MarshalTo(data []byte) (int, error) { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.Details.Size())) - n3, err := m.Details.MarshalTo(data[i:]) + n4, err := m.Details.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n3 + i += n4 } data[i] = 0x30 i++ @@ -994,6 +1010,39 @@ func (m *TypeMeta) MarshalTo(data []byte) (int, error) { return i, nil } +func (m Verbs) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m Verbs) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m) > 0 { + for _, s := range m { + data[i] = 0xa + i++ + l = len(s) + for l >= 1<<7 { + data[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + data[i] = uint8(l) + i++ + i += copy(data[i:], s) + } + } + return i, nil +} + func encodeFixed64Generated(data []byte, offset int, v uint64) int { data[offset] = uint8(v) data[offset+1] = uint8(v >> 8) @@ -1063,6 +1112,10 @@ func (m *APIResource) Size() (n int) { n += 2 l = len(m.Kind) n += 1 + l + sovGenerated(uint64(l)) + if m.Verbs != nil { + l = m.Verbs.Size() + n += 1 + l + sovGenerated(uint64(l)) + } return n } @@ -1321,6 +1374,18 @@ func (m *TypeMeta) Size() (n int) { return n } +func (m Verbs) Size() (n int) { + var l int + _ = l + if len(m) > 0 { + for _, s := range m { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + func sovGenerated(x uint64) (n int) { for { n++ @@ -1365,6 +1430,7 @@ func (this *APIResource) String() string { `Name:` + fmt.Sprintf("%v", this.Name) + `,`, `Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`, `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, + `Verbs:` + strings.Replace(fmt.Sprintf("%v", this.Verbs), "Verbs", "Verbs", 1) + `,`, `}`, }, "") return s @@ -1917,6 +1983,39 @@ func (m *APIResource) Unmarshal(data []byte) error { } m.Kind = string(data[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Verbs == nil { + m.Verbs = Verbs{} + } + if err := m.Verbs.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -4465,6 +4564,85 @@ func (m *TypeMeta) Unmarshal(data []byte) error { } return nil } +func (m *Verbs) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Verbs: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Verbs: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + *m = append(*m, string(data[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipGenerated(data []byte) (n int, err error) { l := len(data) iNdEx := 0 @@ -4571,94 +4749,97 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 1416 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x6f, 0xdb, 0xc6, - 0x12, 0x17, 0x25, 0x4b, 0x91, 0x46, 0xd6, 0xb3, 0xc3, 0xe7, 0xe0, 0x31, 0x06, 0x9e, 0xa4, 0xc7, - 0x3c, 0x14, 0x0e, 0x90, 0x48, 0xb0, 0x51, 0x14, 0x41, 0xda, 0x14, 0x30, 0x6d, 0x27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x01, 0xf3, 0x7a, 0x6d, 0xcf, 0x67, 0x94, 0x91, 0x49, 0x17, 0xf3, 0xa7, 0x02, 0x94, - 0x57, 0xb7, 0x37, 0x6f, 0x91, 0x60, 0x10, 0xea, 0x4d, 0x98, 0xf1, 0xed, 0x3e, 0x36, 0xb4, 0xa6, - 0xb6, 0x54, 0xb1, 0x66, 0x9f, 0x1f, 0x36, 0x72, 0x47, 0x87, 0x8d, 0x99, 0xbb, 0x76, 0x1f, 0x23, - 0xa1, 0xd1, 0x3f, 0x81, 0xf2, 0x10, 0x13, 0xea, 0x05, 0x3e, 0x35, 0xf2, 0xcd, 0xc2, 0x52, 0x75, - 0xe5, 0xbd, 0xd6, 0xe9, 0xc9, 0x6a, 0x09, 0xf8, 0x07, 0x91, 0xe3, 0xcd, 0x80, 0xac, 0x7b, 0xd4, - 0x09, 0x86, 0x98, 0x8c, 0xac, 0x79, 0x19, 0xa3, 0x2c, 0x95, 0x14, 0xc5, 0xf8, 0xfa, 0x17, 0x1a, - 0xcc, 0x87, 0x04, 0xef, 0x61, 0x42, 0xb0, 0x2b, 0xf5, 0x46, 0xa1, 0xa9, 0xbd, 0x71, 0x50, 0x43, - 0x06, 0x9d, 0xdf, 0x9e, 0x40, 0x47, 0x27, 0xe2, 0xe9, 0x07, 0x1a, 0x2c, 0x52, 0x4c, 0x86, 0x98, - 0xac, 0xba, 0x2e, 0xc1, 0x94, 0x5a, 0xa3, 0xb5, 0x9e, 0x87, 0x7d, 0xb6, 0xb6, 0xb9, 0x8e, 0xa8, - 0x31, 0x23, 0x72, 0x70, 0x23, 0x0b, 0x9d, 0x9d, 0x69, 0x28, 0x96, 0x29, 0xf9, 0x2c, 0x4e, 0x35, - 0xa1, 0xe8, 0x35, 0x24, 0x4c, 0x17, 0x66, 0x55, 0x09, 0xef, 0x78, 0x94, 0xe9, 0xf7, 0xa1, 0xd4, - 0xe1, 0x0b, 0x6a, 0x68, 0x82, 0xde, 0x95, 0x2c, 0xf4, 0x14, 0x82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9, 0x67, 0x07, 0xf2, 0xfa, 0xfa, 0x08, - 0x2a, 0x3c, 0x1a, 0x65, 0x76, 0x3f, 0xfc, 0xbb, 0x43, 0x9a, 0x1f, 0x43, 0x99, 0xf7, 0x91, 0x18, - 0x91, 0xaa, 0x34, 0xda, 0xd4, 0xd2, 0xac, 0x00, 0xd8, 0xa1, 0x97, 0x9e, 0x88, 0xf1, 0x1c, 0x1a, - 0xff, 0x5b, 0x40, 0x09, 0x2b, 0xeb, 0xff, 0xcf, 0x5f, 0xd6, 0x73, 0x2f, 0x5e, 0xd6, 0x73, 0xbf, - 0xbc, 0xac, 0xe7, 0x9e, 0x1c, 0xd5, 0xb5, 0xe7, 0x47, 0x75, 0xed, 0xc5, 0x51, 0x5d, 0xfb, 0xed, - 0xa8, 0xae, 0x3d, 0xfd, 0xbd, 0x9e, 0x7b, 0x98, 0x1f, 0x2e, 0xff, 0x15, 0x00, 0x00, 0xff, 0xff, - 0xf6, 0xd1, 0x29, 0xc5, 0xf3, 0x10, 0x00, 0x00, + // 1459 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0xda, 0xb1, 0x6b, 0x3f, 0xc7, 0x24, 0x5d, 0x52, 0xe1, 0x46, 0xc2, 0x36, 0x5b, 0x84, + 0x52, 0xa9, 0xb5, 0x95, 0x08, 0xa1, 0xaa, 0x50, 0xa4, 0x6c, 0x92, 0x56, 0xa1, 0x4d, 0x1b, 0x4d, + 0xaa, 0x82, 0x4a, 0x0f, 0x6c, 0xbc, 0x13, 0x67, 0xb1, 0xbd, 0xbb, 0xcc, 0x8c, 0xad, 0x5a, 0x1c, + 0xa8, 0x38, 0x71, 0x40, 0xa8, 0x47, 0xc4, 0x01, 0x35, 0x12, 0x1f, 0x80, 0xaf, 0xc0, 0xad, 0x37, + 0xca, 0x8d, 0x03, 0x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ff, 0x75, 0x48, + 0xe3, 0x33, 0x28, 0xf2, 0x3e, 0x12, 0x23, 0x52, 0x95, 0x46, 0x9b, 0x5a, 0x9a, 0x15, 0x00, 0xcb, + 0x77, 0x92, 0x13, 0x31, 0x9c, 0x43, 0xd1, 0xbf, 0x05, 0x14, 0xb3, 0x32, 0x56, 0x20, 0xf8, 0x2f, + 0xc4, 0x67, 0xa0, 0xc3, 0x70, 0x3f, 0x31, 0x03, 0x37, 0xb9, 0x00, 0x05, 0xf2, 0xe8, 0xc6, 0x36, + 0xdf, 0x7e, 0xfa, 0xbc, 0x96, 0x79, 0xf6, 0xbc, 0x96, 0xf9, 0xfd, 0x79, 0x2d, 0xf3, 0xe8, 0xb0, + 0xa6, 0x3d, 0x3d, 0xac, 0x69, 0xcf, 0x0e, 0x6b, 0xda, 0x9f, 0x87, 0x35, 0xed, 0xf1, 0x5f, 0xb5, + 0xcc, 0xfd, 0xec, 0x70, 0xf9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc7, 0xa0, 0x5e, 0x60, 0x73, + 0x11, 0x00, 0x00, } diff --git a/pkg/apis/meta/v1/generated.proto b/pkg/apis/meta/v1/generated.proto index 02dc5df5032..780dbe04e85 100644 --- a/pkg/apis/meta/v1/generated.proto +++ b/pkg/apis/meta/v1/generated.proto @@ -69,6 +69,10 @@ message APIResource { // kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') optional string kind = 3; + + // verbs is a list of supported kube verbs (this includes get, list, watch, create, + // update, patch, delete, deletecollection, and proxy) + optional Verbs verbs = 4; } // APIResourceList is a list of APIResource, it is used to expose the name of the @@ -408,3 +412,13 @@ message TypeMeta { optional string apiVersion = 2; } +// Verbs masks the value so protobuf can generate +// +// +protobuf.nullable=true +// +protobuf.options.(gogoproto.goproto_stringer)=false +message Verbs { + // items, if empty, will result in an empty slice + + repeated string items = 1; +} + diff --git a/pkg/apis/meta/v1/zz_generated.deepcopy.go b/pkg/apis/meta/v1/zz_generated.deepcopy.go index 76d62844a4a..56063b2ecf7 100644 --- a/pkg/apis/meta/v1/zz_generated.deepcopy.go +++ b/pkg/apis/meta/v1/zz_generated.deepcopy.go @@ -81,6 +81,13 @@ func DeepCopy_v1_APIResource(in interface{}, out interface{}, c *conversion.Clon out.Name = in.Name out.Namespaced = in.Namespaced out.Kind = in.Kind + if in.Verbs != nil { + in, out := &in.Verbs, &out.Verbs + *out = make(Verbs, len(*in)) + copy(*out, *in) + } else { + out.Verbs = nil + } return nil } } @@ -95,7 +102,9 @@ func DeepCopy_v1_APIResourceList(in interface{}, out interface{}, c *conversion. in, out := &in.APIResources, &out.APIResources *out = make([]APIResource, len(*in)) for i := range *in { - (*out)[i] = (*in)[i] + if err := DeepCopy_v1_APIResource(&(*in)[i], &(*out)[i], c); err != nil { + return err + } } } else { out.APIResources = nil diff --git a/pkg/client/typed/discovery/BUILD b/pkg/client/typed/discovery/BUILD index e79cb621a31..53705d55e71 100644 --- a/pkg/client/typed/discovery/BUILD +++ b/pkg/client/typed/discovery/BUILD @@ -53,6 +53,7 @@ go_test( "//pkg/client/restclient:go_default_library", "//pkg/client/restclient/fake:go_default_library", "//pkg/runtime/schema:go_default_library", + "//pkg/util/sets:go_default_library", "//pkg/version:go_default_library", "//vendor:github.com/emicklei/go-restful/swagger", "//vendor:github.com/stretchr/testify/assert", @@ -73,5 +74,6 @@ go_test( "//pkg/client/typed/discovery:go_default_library", "//pkg/runtime:go_default_library", "//pkg/runtime/schema:go_default_library", + "//pkg/util/sets:go_default_library", ], ) diff --git a/pkg/controller/namespace/BUILD b/pkg/controller/namespace/BUILD index 15ce51b132f..0a81e63cad1 100644 --- a/pkg/controller/namespace/BUILD +++ b/pkg/controller/namespace/BUILD @@ -24,6 +24,7 @@ go_library( "//pkg/apis/meta/v1:go_default_library", "//pkg/client/cache:go_default_library", "//pkg/client/clientset_generated/release_1_5:go_default_library", + "//pkg/client/typed/discovery:go_default_library", "//pkg/client/typed/dynamic:go_default_library", "//pkg/controller:go_default_library", "//pkg/runtime:go_default_library", @@ -53,6 +54,7 @@ go_test( "//pkg/client/clientset_generated/release_1_5/fake:go_default_library", "//pkg/client/restclient:go_default_library", "//pkg/client/testing/core:go_default_library", + "//pkg/client/typed/discovery:go_default_library", "//pkg/client/typed/dynamic:go_default_library", "//pkg/runtime:go_default_library", "//pkg/runtime/schema:go_default_library", diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 155f9b1bbcd..5a9324a4ea1 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -5968,8 +5968,22 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Format: "", }, }, + "verbs": { + SchemaProps: spec.SchemaProps{ + Description: "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, }, - Required: []string{"name", "namespaced", "kind"}, + Required: []string{"name", "namespaced", "kind", "verbs"}, }, }, Dependencies: []string{}, diff --git a/pkg/genericapiserver/BUILD b/pkg/genericapiserver/BUILD index 607fd84e9b1..0f6d0f2142c 100644 --- a/pkg/genericapiserver/BUILD +++ b/pkg/genericapiserver/BUILD @@ -97,9 +97,11 @@ go_test( tags = ["automanaged"], deps = [ "//pkg/api:go_default_library", + "//pkg/api/meta:go_default_library", "//pkg/api/rest:go_default_library", "//pkg/api/testapi:go_default_library", "//pkg/api/v1:go_default_library", + "//pkg/apimachinery:go_default_library", "//pkg/apimachinery/registered:go_default_library", "//pkg/apis/autoscaling:go_default_library", "//pkg/apis/extensions:go_default_library", @@ -109,6 +111,7 @@ go_test( "//pkg/auth/user:go_default_library", "//pkg/generated/openapi:go_default_library", "//pkg/genericapiserver/options:go_default_library", + "//pkg/runtime:go_default_library", "//pkg/runtime/schema:go_default_library", "//pkg/storage/etcd/testing:go_default_library", "//pkg/storage/storagebackend:go_default_library", diff --git a/pkg/kubectl/cmd/BUILD b/pkg/kubectl/cmd/BUILD index 454b4db5d8e..3e07f32abaa 100644 --- a/pkg/kubectl/cmd/BUILD +++ b/pkg/kubectl/cmd/BUILD @@ -78,6 +78,7 @@ go_library( "//pkg/client/clientset_generated/internalclientset:go_default_library", "//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library", "//pkg/client/restclient:go_default_library", + "//pkg/client/typed/discovery:go_default_library", "//pkg/client/unversioned:go_default_library", "//pkg/client/unversioned/clientcmd:go_default_library", "//pkg/client/unversioned/portforward:go_default_library", diff --git a/test/test_owners.csv b/test/test_owners.csv index 0acf7251f28..16d074c1fa1 100644 --- a/test/test_owners.csv +++ b/test/test_owners.csv @@ -571,6 +571,7 @@ k8s.io/kubernetes/pkg/apis/componentconfig,jbeda,1 k8s.io/kubernetes/pkg/apis/extensions,bgrant0607,1 k8s.io/kubernetes/pkg/apis/extensions/v1beta1,madhusudancs,1 k8s.io/kubernetes/pkg/apis/extensions/validation,nikhiljindal,1 +k8s.io/kubernetes/pkg/apis/meta/v1,sttts,0 k8s.io/kubernetes/pkg/apis/policy/validation,deads2k,1 k8s.io/kubernetes/pkg/apis/rbac/validation,erictune,0 k8s.io/kubernetes/pkg/apis/storage/validation,caesarxuchao,1