From 6320dc6e73b8d2405618af4bc3acf8d51b7d0f63 Mon Sep 17 00:00:00 2001 From: deads2k Date: Thu, 1 Sep 2016 11:29:36 -0400 Subject: [PATCH] generated code for moving StorageClass --- api/swagger-spec/extensions_v1beta1.json | 612 --- api/swagger-spec/resourceListing.json | 8 + .../storage.authorization.k8s.io_v1beta1.json | 1 + api/swagger-spec/storage.k8s.io.json | 114 + api/swagger-spec/storage.k8s.io_v1beta1.json | 960 ++++ .../extensions/v1beta1/definitions.html | 128 +- .../extensions/v1beta1/operations.html | 1679 +------ hack/.linted_packages | 2 + pkg/apis/extensions/types.generated.go | 3826 ++++++--------- pkg/apis/extensions/v1beta1/generated.pb.go | 1020 +--- pkg/apis/extensions/v1beta1/generated.proto | 28 - .../extensions/v1beta1/types.generated.go | 4340 +++++++---------- .../v1beta1/types_swagger_doc_generated.go | 21 - .../v1beta1/zz_generated.conversion.go | 88 - .../v1beta1/zz_generated.deepcopy.go | 45 - pkg/apis/extensions/zz_generated.deepcopy.go | 45 - pkg/apis/storage/types.generated.go | 900 ++++ pkg/apis/storage/v1beta1/generated.pb.go | 729 +++ pkg/apis/storage/v1beta1/generated.proto | 60 + pkg/apis/storage/v1beta1/types.generated.go | 900 ++++ .../v1beta1/types_swagger_doc_generated.go | 51 + .../v1beta1/zz_generated.conversion.go | 127 + .../storage/v1beta1/zz_generated.deepcopy.go | 84 + pkg/apis/storage/zz_generated.deepcopy.go | 84 + .../internalclientset/clientset.go | 17 + .../fake/clientset_generated.go | 7 + .../import_known_versions.go | 1 + .../unversioned/extensions_client.go | 5 - .../fake/fake_extensions_client.go | 4 - .../unversioned/fake/fake_storageclass.go | 109 - .../unversioned/generated_expansion.go | 2 - .../extensions/unversioned/storageclass.go | 141 - .../typed/storage/unversioned/doc.go | 20 + .../typed/storage/unversioned/fake/doc.go | 20 + .../unversioned/fake/fake_storage_client.go | 37 + .../unversioned}/fake/fake_storageclass.go | 42 +- .../unversioned/generated_expansion.go | 19 + .../storage/unversioned/storage_client.go | 101 + .../storage/unversioned}/storageclass.go | 38 +- .../release_1_4/import_known_versions.go | 1 + .../extensions/v1beta1/extensions_client.go | 5 - .../v1beta1/fake/fake_extensions_client.go | 4 - .../extensions/v1beta1/generated_expansion.go | 2 - 43 files changed, 8046 insertions(+), 8381 deletions(-) create mode 100644 api/swagger-spec/storage.authorization.k8s.io_v1beta1.json create mode 100644 api/swagger-spec/storage.k8s.io.json create mode 100644 api/swagger-spec/storage.k8s.io_v1beta1.json create mode 100644 pkg/apis/storage/types.generated.go create mode 100644 pkg/apis/storage/v1beta1/generated.pb.go create mode 100644 pkg/apis/storage/v1beta1/generated.proto create mode 100644 pkg/apis/storage/v1beta1/types.generated.go create mode 100644 pkg/apis/storage/v1beta1/types_swagger_doc_generated.go create mode 100644 pkg/apis/storage/v1beta1/zz_generated.conversion.go create mode 100644 pkg/apis/storage/v1beta1/zz_generated.deepcopy.go create mode 100644 pkg/apis/storage/zz_generated.deepcopy.go delete mode 100644 pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_storageclass.go delete mode 100644 pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/storageclass.go create mode 100644 pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/doc.go create mode 100644 pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/doc.go create mode 100644 pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/fake_storage_client.go rename pkg/client/clientset_generated/{release_1_4/typed/extensions/v1beta1 => internalclientset/typed/storage/unversioned}/fake/fake_storageclass.go (71%) create mode 100644 pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/generated_expansion.go create mode 100644 pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/storage_client.go rename pkg/client/clientset_generated/{release_1_4/typed/extensions/v1beta1 => internalclientset/typed/storage/unversioned}/storageclass.go (77%) diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index 7723b61405c..24cd6a21714 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -7028,561 +7028,6 @@ } ] }, - { - "path": "/apis/extensions/v1beta1/storageclasses", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "v1beta1.StorageClassList", - "method": "GET", - "summary": "list or watch objects of kind StorageClass", - "nickname": "listStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "labelSelector", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "fieldSelector", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "boolean", - "paramType": "query", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "resourceVersion", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", - "required": false, - "allowMultiple": false - }, - { - "type": "integer", - "paramType": "query", - "name": "timeoutSeconds", - "description": "Timeout for the list/watch call.", - "required": false, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.StorageClassList" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "v1beta1.StorageClass", - "method": "POST", - "summary": "create a StorageClass", - "nickname": "createStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.StorageClass", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.StorageClass" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "unversioned.Status", - "method": "DELETE", - "summary": "delete collection of StorageClass", - "nickname": "deletecollectionStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "labelSelector", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "fieldSelector", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "boolean", - "paramType": "query", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "resourceVersion", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", - "required": false, - "allowMultiple": false - }, - { - "type": "integer", - "paramType": "query", - "name": "timeoutSeconds", - "description": "Timeout for the list/watch call.", - "required": false, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "unversioned.Status" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/watch/storageclasses", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "*versioned.Event", - "method": "GET", - "summary": "watch individual changes to a list of StorageClass", - "nickname": "watchStorageClassList", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "labelSelector", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "fieldSelector", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "boolean", - "paramType": "query", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "resourceVersion", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", - "required": false, - "allowMultiple": false - }, - { - "type": "integer", - "paramType": "query", - "name": "timeoutSeconds", - "description": "Timeout for the list/watch call.", - "required": false, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "*versioned.Event" - } - ], - "produces": [ - "application/json", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/storageclasses/{name}", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "v1beta1.StorageClass", - "method": "GET", - "summary": "read the specified StorageClass", - "nickname": "readStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "boolean", - "paramType": "query", - "name": "export", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "required": false, - "allowMultiple": false - }, - { - "type": "boolean", - "paramType": "query", - "name": "exact", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the StorageClass", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.StorageClass" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "v1beta1.StorageClass", - "method": "PUT", - "summary": "replace the specified StorageClass", - "nickname": "replaceStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.StorageClass", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the StorageClass", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.StorageClass" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "v1beta1.StorageClass", - "method": "PATCH", - "summary": "partially update the specified StorageClass", - "nickname": "patchStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "unversioned.Patch", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the StorageClass", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.StorageClass" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ] - }, - { - "type": "unversioned.Status", - "method": "DELETE", - "summary": "delete a StorageClass", - "nickname": "deleteStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "v1.DeleteOptions", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the StorageClass", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "unversioned.Status" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/watch/storageclasses/{name}", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "*versioned.Event", - "method": "GET", - "summary": "watch changes to an object of kind StorageClass", - "nickname": "watchStorageClass", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "labelSelector", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "fieldSelector", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "required": false, - "allowMultiple": false - }, - { - "type": "boolean", - "paramType": "query", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "resourceVersion", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", - "required": false, - "allowMultiple": false - }, - { - "type": "integer", - "paramType": "query", - "name": "timeoutSeconds", - "description": "Timeout for the list/watch call.", - "required": false, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the StorageClass", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "*versioned.Event" - } - ], - "produces": [ - "application/json", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/apis/extensions/v1beta1/thirdpartyresources", "description": "API at /apis/extensions/v1beta1", @@ -10884,63 +10329,6 @@ } } }, - "v1beta1.StorageClassList": { - "id": "v1beta1.StorageClassList", - "description": "StorageClassList is a collection of storage classes.", - "required": [ - "items" - ], - "properties": { - "kind": { - "type": "string", - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" - }, - "apiVersion": { - "type": "string", - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" - }, - "metadata": { - "$ref": "unversioned.ListMeta", - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" - }, - "items": { - "type": "array", - "items": { - "$ref": "v1beta1.StorageClass" - }, - "description": "Items is the list of StorageClasses" - } - } - }, - "v1beta1.StorageClass": { - "id": "v1beta1.StorageClass", - "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", - "required": [ - "provisioner" - ], - "properties": { - "kind": { - "type": "string", - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" - }, - "apiVersion": { - "type": "string", - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" - }, - "metadata": { - "$ref": "v1.ObjectMeta", - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" - }, - "provisioner": { - "type": "string", - "description": "Provisioner indicates the type of the provisioner." - }, - "parameters": { - "type": "object", - "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." - } - } - }, "v1beta1.ThirdPartyResourceList": { "id": "v1beta1.ThirdPartyResourceList", "description": "ThirdPartyResourceList is a list of ThirdPartyResources.", diff --git a/api/swagger-spec/resourceListing.json b/api/swagger-spec/resourceListing.json index 6e2227bcad1..197929861a6 100644 --- a/api/swagger-spec/resourceListing.json +++ b/api/swagger-spec/resourceListing.json @@ -96,6 +96,14 @@ { "path": "/apis/rbac.authorization.k8s.io", "description": "get information of a group" + }, + { + "path": "/apis/storage.k8s.io/v1beta1", + "description": "API at /apis/storage.k8s.io/v1beta1" + }, + { + "path": "/apis/storage.k8s.io", + "description": "get information of a group" } ], "apiVersion": "", diff --git a/api/swagger-spec/storage.authorization.k8s.io_v1beta1.json b/api/swagger-spec/storage.authorization.k8s.io_v1beta1.json new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/api/swagger-spec/storage.authorization.k8s.io_v1beta1.json @@ -0,0 +1 @@ + diff --git a/api/swagger-spec/storage.k8s.io.json b/api/swagger-spec/storage.k8s.io.json new file mode 100644 index 00000000000..526db1aecd3 --- /dev/null +++ b/api/swagger-spec/storage.k8s.io.json @@ -0,0 +1,114 @@ +{ + "swaggerVersion": "1.2", + "apiVersion": "", + "basePath": "https://10.10.10.10:6443", + "resourcePath": "/apis/storage.k8s.io", + "info": { + "title": "", + "description": "" + }, + "apis": [ + { + "path": "/apis/storage.k8s.io", + "description": "get information of a group", + "operations": [ + { + "type": "unversioned.APIGroup", + "method": "GET", + "summary": "get information of a group", + "nickname": "getAPIGroup", + "parameters": [], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ] + } + ] + } + ], + "models": { + "unversioned.APIGroup": { + "id": "unversioned.APIGroup", + "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", + "required": [ + "name", + "versions", + "serverAddressByClientCIDRs" + ], + "properties": { + "kind": { + "type": "string", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "apiVersion": { + "type": "string", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" + }, + "name": { + "type": "string", + "description": "name is the name of the group." + }, + "versions": { + "type": "array", + "items": { + "$ref": "unversioned.GroupVersionForDiscovery" + }, + "description": "versions are the versions supported in this group." + }, + "preferredVersion": { + "$ref": "unversioned.GroupVersionForDiscovery", + "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." + }, + "serverAddressByClientCIDRs": { + "type": "array", + "items": { + "$ref": "unversioned.ServerAddressByClientCIDR" + }, + "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." + } + } + }, + "unversioned.GroupVersionForDiscovery": { + "id": "unversioned.GroupVersionForDiscovery", + "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", + "required": [ + "groupVersion", + "version" + ], + "properties": { + "groupVersion": { + "type": "string", + "description": "groupVersion specifies the API group and version in the form \"group/version\"" + }, + "version": { + "type": "string", + "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion." + } + } + }, + "unversioned.ServerAddressByClientCIDR": { + "id": "unversioned.ServerAddressByClientCIDR", + "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", + "required": [ + "clientCIDR", + "serverAddress" + ], + "properties": { + "clientCIDR": { + "type": "string", + "description": "The CIDR with which clients can match their IP to figure out the server address that they should use." + }, + "serverAddress": { + "type": "string", + "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port." + } + } + } + } + } diff --git a/api/swagger-spec/storage.k8s.io_v1beta1.json b/api/swagger-spec/storage.k8s.io_v1beta1.json new file mode 100644 index 00000000000..e3c6800731b --- /dev/null +++ b/api/swagger-spec/storage.k8s.io_v1beta1.json @@ -0,0 +1,960 @@ +{ + "swaggerVersion": "1.2", + "apiVersion": "storage.k8s.io/v1beta1", + "basePath": "https://10.10.10.10:6443", + "resourcePath": "/apis/storage.k8s.io/v1beta1", + "info": { + "title": "", + "description": "" + }, + "apis": [ + { + "path": "/apis/storage.k8s.io/v1beta1/storageclasses", + "description": "API at /apis/storage.k8s.io/v1beta1", + "operations": [ + { + "type": "v1beta1.StorageClassList", + "method": "GET", + "summary": "list or watch objects of kind StorageClass", + "nickname": "listStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.StorageClassList" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1beta1.StorageClass", + "method": "POST", + "summary": "create a StorageClass", + "nickname": "createStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.StorageClass", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.StorageClass" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of StorageClass", + "nickname": "deletecollectionStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/apis/storage.k8s.io/v1beta1/watch/storageclasses", + "description": "API at /apis/storage.k8s.io/v1beta1", + "operations": [ + { + "type": "*versioned.Event", + "method": "GET", + "summary": "watch individual changes to a list of StorageClass", + "nickname": "watchStorageClassList", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "*versioned.Event" + } + ], + "produces": [ + "application/json", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/apis/storage.k8s.io/v1beta1/storageclasses/{name}", + "description": "API at /apis/storage.k8s.io/v1beta1", + "operations": [ + { + "type": "v1beta1.StorageClass", + "method": "GET", + "summary": "read the specified StorageClass", + "nickname": "readStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the StorageClass", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.StorageClass" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1beta1.StorageClass", + "method": "PUT", + "summary": "replace the specified StorageClass", + "nickname": "replaceStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.StorageClass", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the StorageClass", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.StorageClass" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1beta1.StorageClass", + "method": "PATCH", + "summary": "partially update the specified StorageClass", + "nickname": "patchStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "unversioned.Patch", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the StorageClass", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.StorageClass" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete a StorageClass", + "nickname": "deleteStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "v1.DeleteOptions", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the StorageClass", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}", + "description": "API at /apis/storage.k8s.io/v1beta1", + "operations": [ + { + "type": "*versioned.Event", + "method": "GET", + "summary": "watch changes to an object of kind StorageClass", + "nickname": "watchStorageClass", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the StorageClass", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "*versioned.Event" + } + ], + "produces": [ + "application/json", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/apis/storage.k8s.io/v1beta1", + "description": "API at /apis/storage.k8s.io/v1beta1", + "operations": [ + { + "type": "unversioned.APIResourceList", + "method": "GET", + "summary": "get available resources", + "nickname": "getAPIResources", + "parameters": [], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ] + } + ] + } + ], + "models": { + "v1beta1.StorageClassList": { + "id": "v1beta1.StorageClassList", + "description": "StorageClassList is a collection of storage classes.", + "required": [ + "items" + ], + "properties": { + "kind": { + "type": "string", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "apiVersion": { + "type": "string", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" + }, + "metadata": { + "$ref": "unversioned.ListMeta", + "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" + }, + "items": { + "type": "array", + "items": { + "$ref": "v1beta1.StorageClass" + }, + "description": "Items is the list of StorageClasses" + } + } + }, + "unversioned.ListMeta": { + "id": "unversioned.ListMeta", + "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", + "properties": { + "selfLink": { + "type": "string", + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only." + }, + "resourceVersion": { + "type": "string", + "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency" + } + } + }, + "v1beta1.StorageClass": { + "id": "v1beta1.StorageClass", + "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", + "required": [ + "provisioner" + ], + "properties": { + "kind": { + "type": "string", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "apiVersion": { + "type": "string", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" + }, + "metadata": { + "$ref": "v1.ObjectMeta", + "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" + }, + "provisioner": { + "type": "string", + "description": "Provisioner indicates the type of the provisioner." + }, + "parameters": { + "type": "object", + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class." + } + } + }, + "v1.ObjectMeta": { + "id": "v1.ObjectMeta", + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "properties": { + "name": { + "type": "string", + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names" + }, + "generateName": { + "type": "string", + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency" + }, + "namespace": { + "type": "string", + "description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md" + }, + "selfLink": { + "type": "string", + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only." + }, + "uid": { + "type": "string", + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids" + }, + "resourceVersion": { + "type": "string", + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency" + }, + "generation": { + "type": "integer", + "format": "int64", + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only." + }, + "creationTimestamp": { + "type": "string", + "format": "date-time", + "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" + }, + "deletionTimestamp": { + "type": "string", + "format": "date-time", + "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource will be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. Once the resource is deleted in the API, the Kubelet will send a hard termination signal to the container. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" + }, + "deletionGracePeriodSeconds": { + "type": "integer", + "format": "int64", + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." + }, + "labels": { + "type": "object", + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md" + }, + "annotations": { + "type": "object", + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://releases.k8s.io/HEAD/docs/user-guide/annotations.md" + }, + "ownerReferences": { + "type": "array", + "items": { + "$ref": "v1.OwnerReference" + }, + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller." + }, + "finalizers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed." + }, + "clusterName": { + "type": "string", + "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request." + } + } + }, + "v1.OwnerReference": { + "id": "v1.OwnerReference", + "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string", + "description": "API version of the referent." + }, + "kind": { + "type": "string", + "description": "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "name": { + "type": "string", + "description": "Name of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names" + }, + "uid": { + "type": "string", + "description": "UID of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids" + }, + "controller": { + "type": "boolean", + "description": "If true, this reference points to the managing controller." + } + } + }, + "unversioned.Status": { + "id": "unversioned.Status", + "description": "Status is a return value for calls that don't return other objects.", + "properties": { + "kind": { + "type": "string", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "apiVersion": { + "type": "string", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" + }, + "metadata": { + "$ref": "unversioned.ListMeta", + "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "status": { + "type": "string", + "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status" + }, + "message": { + "type": "string", + "description": "A human-readable description of the status of this operation." + }, + "reason": { + "type": "string", + "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it." + }, + "details": { + "$ref": "unversioned.StatusDetails", + "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." + }, + "code": { + "type": "integer", + "format": "int32", + "description": "Suggested HTTP return code for this status, 0 if not set." + } + } + }, + "unversioned.StatusDetails": { + "id": "unversioned.StatusDetails", + "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", + "properties": { + "name": { + "type": "string", + "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)." + }, + "group": { + "type": "string", + "description": "The group attribute of the resource associated with the status StatusReason." + }, + "kind": { + "type": "string", + "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "causes": { + "type": "array", + "items": { + "$ref": "unversioned.StatusCause" + }, + "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." + }, + "retryAfterSeconds": { + "type": "integer", + "format": "int32", + "description": "If specified, the time in seconds before the operation should be retried." + } + } + }, + "unversioned.StatusCause": { + "id": "unversioned.StatusCause", + "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", + "properties": { + "reason": { + "type": "string", + "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available." + }, + "message": { + "type": "string", + "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader." + }, + "field": { + "type": "string", + "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"" + } + } + }, + "*versioned.Event": { + "id": "*versioned.Event", + "properties": {} + }, + "unversioned.Patch": { + "id": "unversioned.Patch", + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "properties": {} + }, + "v1.DeleteOptions": { + "id": "v1.DeleteOptions", + "description": "DeleteOptions may be provided when deleting an API object", + "properties": { + "kind": { + "type": "string", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "apiVersion": { + "type": "string", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" + }, + "gracePeriodSeconds": { + "type": "integer", + "format": "int64", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + }, + "preconditions": { + "$ref": "v1.Preconditions", + "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." + }, + "orphanDependents": { + "type": "boolean", + "description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list." + } + } + }, + "v1.Preconditions": { + "id": "v1.Preconditions", + "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", + "properties": { + "uid": { + "$ref": "types.UID", + "description": "Specifies the target UID." + } + } + }, + "types.UID": { + "id": "types.UID", + "properties": {} + }, + "unversioned.APIResourceList": { + "id": "unversioned.APIResourceList", + "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", + "required": [ + "groupVersion", + "resources" + ], + "properties": { + "kind": { + "type": "string", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + }, + "apiVersion": { + "type": "string", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" + }, + "groupVersion": { + "type": "string", + "description": "groupVersion is the group and version this APIResourceList is for." + }, + "resources": { + "type": "array", + "items": { + "$ref": "unversioned.APIResource" + }, + "description": "resources contains the name of the resources and if they are namespaced." + } + } + }, + "unversioned.APIResource": { + "id": "unversioned.APIResource", + "description": "APIResource specifies the name of a resource and whether it is namespaced.", + "required": [ + "name", + "namespaced", + "kind" + ], + "properties": { + "name": { + "type": "string", + "description": "name is the name of the resource." + }, + "namespaced": { + "type": "boolean", + "description": "namespaced indicates if a resource is namespaced or not." + }, + "kind": { + "type": "string", + "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')" + } + } + } + } + } diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 282f59527fb..003c0527e75 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -423,12 +423,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • v1beta1.NetworkPolicyList

  • -
  • -

    v1beta1.StorageClass

    -
  • -
  • -

    v1beta1.StorageClassList

    -
  • @@ -1567,71 +1561,6 @@ Examples:
    - -
    -

    v1beta1.StorageClass

    -
    -

    StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

    -
    -
    -

    StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

    -
    - ------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameDescriptionRequiredSchemaDefault

    kind

    Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

    false

    string

    apiVersion

    APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

    false

    string

    metadata

    Standard object’s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

    false

    v1.ObjectMeta

    provisioner

    Provisioner indicates the type of the provisioner.

    true

    string

    parameters

    Parameters holds the parameters for the provisioner that should create volumes of this storage class.

    false

    object

    -

    v1.ExecAction

    @@ -2213,61 +2142,6 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

    Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.

    -
    -
    -

    v1beta1.StorageClassList

    -
    -

    StorageClassList is a collection of storage classes.

    -
    - ------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameDescriptionRequiredSchemaDefault

    kind

    Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds

    false

    string

    apiVersion

    APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources

    false

    string

    metadata

    Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata

    false

    unversioned.ListMeta

    items

    Items is the list of StorageClasses

    true

    v1beta1.StorageClass array

    -

    v1.FlockerVolumeSource

    @@ -6682,7 +6556,7 @@ Both these may change in the future. Incoming requests are matched against the h
    diff --git a/docs/api-reference/extensions/v1beta1/operations.html b/docs/api-reference/extensions/v1beta1/operations.html index 24ffe4eace5..5a07c3836f9 100755 --- a/docs/api-reference/extensions/v1beta1/operations.html +++ b/docs/api-reference/extensions/v1beta1/operations.html @@ -11583,10 +11583,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    list or watch objects of kind StorageClass

    +

    list or watch objects of kind ThirdPartyResource

    -
    GET /apis/extensions/v1beta1/storageclasses
    +
    GET /apis/extensions/v1beta1/thirdpartyresources
    @@ -11682,7 +11682,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.StorageClassList

    +

    v1beta1.ThirdPartyResourceList

    @@ -11726,10 +11726,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    delete collection of StorageClass

    +

    delete collection of ThirdPartyResource

    -
    DELETE /apis/extensions/v1beta1/storageclasses
    +
    DELETE /apis/extensions/v1beta1/thirdpartyresources
    @@ -11869,10 +11869,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    create a StorageClass

    +

    create a ThirdPartyResource

    -
    POST /apis/extensions/v1beta1/storageclasses
    +
    POST /apis/extensions/v1beta1/thirdpartyresources
    @@ -11910,7 +11910,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.StorageClass

    +

    v1beta1.ThirdPartyResource

    @@ -11936,7 +11936,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.StorageClass

    +

    v1beta1.ThirdPartyResource

    @@ -11980,10 +11980,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    read the specified StorageClass

    +

    read the specified ThirdPartyResource

    -
    GET /apis/extensions/v1beta1/storageclasses/{name}
    +
    GET /apis/extensions/v1beta1/thirdpartyresources/{name}
    @@ -12035,7 +12035,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the StorageClass

    +

    name of the ThirdPartyResource

    true

    string

    @@ -12063,7 +12063,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.StorageClass

    +

    v1beta1.ThirdPartyResource

    @@ -12107,10 +12107,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    replace the specified StorageClass

    +

    replace the specified ThirdPartyResource

    -
    PUT /apis/extensions/v1beta1/storageclasses/{name}
    +
    PUT /apis/extensions/v1beta1/thirdpartyresources/{name}
    @@ -12148,13 +12148,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.StorageClass

    +

    v1beta1.ThirdPartyResource

    PathParameter

    name

    -

    name of the StorageClass

    +

    name of the ThirdPartyResource

    true

    string

    @@ -12182,7 +12182,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.StorageClass

    +

    v1beta1.ThirdPartyResource

    @@ -12226,10 +12226,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    delete a StorageClass

    +

    delete a ThirdPartyResource

    -
    DELETE /apis/extensions/v1beta1/storageclasses/{name}
    +
    DELETE /apis/extensions/v1beta1/thirdpartyresources/{name}
    @@ -12273,7 +12273,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the StorageClass

    +

    name of the ThirdPartyResource

    true

    string

    @@ -12345,10 +12345,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    partially update the specified StorageClass

    +

    partially update the specified ThirdPartyResource

    -
    PATCH /apis/extensions/v1beta1/storageclasses/{name}
    +
    PATCH /apis/extensions/v1beta1/thirdpartyresources/{name}
    @@ -12392,7 +12392,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the StorageClass

    +

    name of the ThirdPartyResource

    true

    string

    @@ -12420,7 +12420,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.StorageClass

    +

    v1beta1.ThirdPartyResource

    @@ -12470,10 +12470,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    list or watch objects of kind ThirdPartyResource

    +

    watch individual changes to a list of DaemonSet

    -
    GET /apis/extensions/v1beta1/thirdpartyresources
    +
    GET /apis/extensions/v1beta1/watch/daemonsets
    @@ -12569,7 +12569,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.ThirdPartyResourceList

    +

    *versioned.Event

    @@ -12593,11 +12593,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    application/json

  • -

    application/yaml

    +

    application/json;stream=watch

  • application/vnd.kubernetes.protobuf

  • +
  • +

    application/vnd.kubernetes.protobuf;stream=watch

    +
  • @@ -12613,10 +12616,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    delete collection of ThirdPartyResource

    +

    watch individual changes to a list of Deployment

    -
    DELETE /apis/extensions/v1beta1/thirdpartyresources
    +
    GET /apis/extensions/v1beta1/watch/deployments
    @@ -12712,7 +12715,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    *versioned.Event

    @@ -12736,11 +12739,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    application/json

  • -

    application/yaml

    +

    application/json;stream=watch

  • application/vnd.kubernetes.protobuf

  • +
  • +

    application/vnd.kubernetes.protobuf;stream=watch

    +
  • @@ -12756,10 +12762,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    create a ThirdPartyResource

    +

    watch individual changes to a list of HorizontalPodAutoscaler

    -
    POST /apis/extensions/v1beta1/thirdpartyresources
    +
    GET /apis/extensions/v1beta1/watch/horizontalpodautoscalers
    @@ -12793,11 +12799,43 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    +

    QueryParameter

    +

    labelSelector

    +

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    +

    false

    +

    string

    -

    true

    -

    v1beta1.ThirdPartyResource

    + + +

    QueryParameter

    +

    fieldSelector

    +

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    +

    false

    +

    string

    + + + +

    QueryParameter

    +

    watch

    +

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    +

    false

    +

    boolean

    + + + +

    QueryParameter

    +

    resourceVersion

    +

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    +

    false

    +

    string

    + + + +

    QueryParameter

    +

    timeoutSeconds

    +

    Timeout for the list/watch call.

    +

    false

    +

    integer (int32)

    @@ -12823,7 +12861,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.ThirdPartyResource

    +

    *versioned.Event

    @@ -12847,11 +12885,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    application/json

  • -

    application/yaml

    +

    application/json;stream=watch

  • application/vnd.kubernetes.protobuf

  • +
  • +

    application/vnd.kubernetes.protobuf;stream=watch

    +
  • @@ -12867,10 +12908,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    read the specified ThirdPartyResource

    +

    watch individual changes to a list of Ingress

    -
    GET /apis/extensions/v1beta1/thirdpartyresources/{name}
    +
    GET /apis/extensions/v1beta1/watch/ingresses
    @@ -12905,26 +12946,42 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    QueryParameter

    -

    export

    -

    Should this value be exported. Export strips fields that a user can not specify.

    +

    labelSelector

    +

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    +

    false

    +

    string

    + + + +

    QueryParameter

    +

    fieldSelector

    +

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    +

    false

    +

    string

    + + + +

    QueryParameter

    +

    watch

    +

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    -

    exact

    -

    Should the export be exact. Exact export maintains cluster-specific fields like Namespace

    +

    resourceVersion

    +

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    -

    boolean

    +

    string

    -

    PathParameter

    -

    name

    -

    name of the ThirdPartyResource

    -

    true

    -

    string

    +

    QueryParameter

    +

    timeoutSeconds

    +

    Timeout for the list/watch call.

    +

    false

    +

    integer (int32)

    @@ -12950,7 +13007,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.ThirdPartyResource

    +

    *versioned.Event

    @@ -12974,11 +13031,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    application/json

  • -

    application/yaml

    +

    application/json;stream=watch

  • application/vnd.kubernetes.protobuf

  • +
  • +

    application/vnd.kubernetes.protobuf;stream=watch

    +
  • @@ -12994,10 +13054,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    replace the specified ThirdPartyResource

    +

    watch individual changes to a list of Job

    -
    PUT /apis/extensions/v1beta1/thirdpartyresources/{name}
    +
    GET /apis/extensions/v1beta1/watch/jobs
    @@ -13031,21 +13091,45 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1beta1.ThirdPartyResource

    +

    QueryParameter

    +

    labelSelector

    +

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    +

    false

    +

    string

    -

    PathParameter

    -

    name

    -

    name of the ThirdPartyResource

    -

    true

    +

    QueryParameter

    +

    fieldSelector

    +

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    +

    false

    string

    + +

    QueryParameter

    +

    watch

    +

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    +

    false

    +

    boolean

    + + + +

    QueryParameter

    +

    resourceVersion

    +

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    +

    false

    +

    string

    + + + +

    QueryParameter

    +

    timeoutSeconds

    +

    Timeout for the list/watch call.

    +

    false

    +

    integer (int32)

    + + @@ -13069,7 +13153,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.ThirdPartyResource

    +

    *versioned.Event

    @@ -13093,11 +13177,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    application/json

  • -

    application/yaml

    +

    application/json;stream=watch

  • application/vnd.kubernetes.protobuf

  • +
  • +

    application/vnd.kubernetes.protobuf;stream=watch

    +
  • @@ -13113,980 +13200,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    delete a ThirdPartyResource

    -
    -
    -
    DELETE /apis/extensions/v1beta1/thirdpartyresources/{name}
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    name

    name of the ThirdPartyResource

    true

    string

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified ThirdPartyResource

    -
    -
    -
    PATCH /apis/extensions/v1beta1/thirdpartyresources/{name}
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    name

    name of the ThirdPartyResource

    true

    string

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    v1beta1.ThirdPartyResource

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of DaemonSet

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/daemonsets
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    *versioned.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/json;stream=watch

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    • -

      application/vnd.kubernetes.protobuf;stream=watch

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of Deployment

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/deployments
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    *versioned.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/json;stream=watch

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    • -

      application/vnd.kubernetes.protobuf;stream=watch

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of HorizontalPodAutoscaler

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/horizontalpodautoscalers
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    *versioned.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/json;stream=watch

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    • -

      application/vnd.kubernetes.protobuf;stream=watch

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of Ingress

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/ingresses
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    *versioned.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/json;stream=watch

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    • -

      application/vnd.kubernetes.protobuf;stream=watch

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of Job

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/jobs
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    *versioned.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/json;stream=watch

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    • -

      application/vnd.kubernetes.protobuf;stream=watch

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -

    watch individual changes to a list of DaemonSet

    @@ -14094,7 +13207,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -14176,7 +13289,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -14201,7 +13314,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -14211,7 +13324,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -14230,7 +13343,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -14248,7 +13361,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -14338,7 +13451,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -14363,7 +13476,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -14373,7 +13486,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -14392,7 +13505,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -14410,7 +13523,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -14492,7 +13605,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -14517,7 +13630,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -14527,7 +13640,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -14546,7 +13659,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -14564,7 +13677,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -14654,7 +13767,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -14679,7 +13792,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -14689,7 +13802,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -14708,7 +13821,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -14726,7 +13839,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -14808,7 +13921,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -14833,7 +13946,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -14843,7 +13956,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -14862,7 +13975,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -14880,7 +13993,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -14970,7 +14083,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -14995,7 +14108,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -15005,7 +14118,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -15024,7 +14137,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -15042,7 +14155,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -15124,7 +14237,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -15149,7 +14262,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -15159,7 +14272,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -15178,7 +14291,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -15196,7 +14309,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -15286,7 +14399,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -15311,7 +14424,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -15321,7 +14434,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -15340,7 +14453,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -15358,7 +14471,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -15440,7 +14553,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -15465,7 +14578,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -15475,7 +14588,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -15494,7 +14607,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -15512,7 +14625,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -15602,7 +14715,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -15627,7 +14740,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -15637,7 +14750,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -15656,7 +14769,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -15674,7 +14787,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -15756,7 +14869,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -15781,7 +14894,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -15791,7 +14904,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -15810,7 +14923,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -15828,7 +14941,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -15918,7 +15031,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -15943,7 +15056,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -15953,7 +15066,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -15972,7 +15085,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -15990,7 +15103,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -16072,7 +15185,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -16097,7 +15210,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -16107,7 +15220,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -16126,7 +15239,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -16144,7 +15257,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -16234,7 +15347,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -16259,7 +15372,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -16269,7 +15382,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -16288,7 +15401,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -16306,7 +15419,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -16380,7 +15493,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -16405,7 +15518,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -16415,7 +15528,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -16434,7 +15547,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -16452,7 +15565,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -16526,7 +15639,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -16551,7 +15664,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -16561,7 +15674,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -16580,307 +15693,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    - -
    -

    watch individual changes to a list of StorageClass

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/storageclasses
    -
    -
    -
    -

    Parameters

    -
    -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    *versioned.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/json;stream=watch

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    • -

      application/vnd.kubernetes.protobuf;stream=watch

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch changes to an object of kind StorageClass

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/storageclasses/{name}
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    name

    name of the StorageClass

    true

    string

    - -
    -
    -

    Responses

    - ----- - - - - - - - - - - - - - - -
    HTTP CodeDescriptionSchema

    200

    success

    *versioned.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/json;stream=watch

      -
    • -
    • -

      application/vnd.kubernetes.protobuf

      -
    • -
    • -

      application/vnd.kubernetes.protobuf;stream=watch

      -
    • -
    -
    -
    -
    -

    Tags

    +

    Tags

    • @@ -16898,7 +15711,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -16972,7 +15785,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -16997,7 +15810,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -17007,7 +15820,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -17026,7 +15839,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -17044,7 +15857,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Parameters

    +

    Parameters

    @@ -17126,7 +15939,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Responses

    +

    Responses

    @@ -17151,7 +15964,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Consumes

    +

    Consumes

    • @@ -17161,7 +15974,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Produces

    +

    Produces

    • @@ -17180,7 +15993,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    Tags

    +

    Tags

    • @@ -17195,7 +16008,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    diff --git a/hack/.linted_packages b/hack/.linted_packages index 38f2eb0535e..86bbae83d87 100644 --- a/hack/.linted_packages +++ b/hack/.linted_packages @@ -72,6 +72,8 @@ pkg/apis/extensions/v1beta1 pkg/apis/imagepolicy/install pkg/apis/policy/install pkg/apis/rbac/install +pkg/apis/storage/install +pkg/apis/storage/validation pkg/apiserver/audit pkg/auth/authenticator pkg/auth/authorizer/union diff --git a/pkg/apis/extensions/types.generated.go b/pkg/apis/extensions/types.generated.go index 7bbbe202ed9..15e3817f42c 100644 --- a/pkg/apis/extensions/types.generated.go +++ b/pkg/apis/extensions/types.generated.go @@ -15566,727 +15566,15 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1292 := z.EncBinary() - _ = yym1292 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1293 := !z.EncBinary() - yy2arr1293 := z.EncBasicHandle().StructToArray - var yyq1293 [5]bool - _, _, _ = yysep1293, yyq1293, yy2arr1293 - const yyr1293 bool = false - yyq1293[0] = x.Kind != "" - yyq1293[1] = x.APIVersion != "" - yyq1293[2] = true - yyq1293[4] = len(x.Parameters) != 0 - var yynn1293 int - if yyr1293 || yy2arr1293 { - r.EncodeArrayStart(5) - } else { - yynn1293 = 1 - for _, b := range yyq1293 { - if b { - yynn1293++ - } - } - r.EncodeMapStart(yynn1293) - yynn1293 = 0 - } - if yyr1293 || yy2arr1293 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1293[0] { - yym1295 := z.EncBinary() - _ = yym1295 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1293[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1296 := z.EncBinary() - _ = yym1296 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1293 || yy2arr1293 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1293[1] { - yym1298 := z.EncBinary() - _ = yym1298 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1293[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1299 := z.EncBinary() - _ = yym1299 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1293 || yy2arr1293 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1293[2] { - yy1301 := &x.ObjectMeta - yy1301.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1293[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1302 := &x.ObjectMeta - yy1302.CodecEncodeSelf(e) - } - } - if yyr1293 || yy2arr1293 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1304 := z.EncBinary() - _ = yym1304 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("provisioner")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1305 := z.EncBinary() - _ = yym1305 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) - } - } - if yyr1293 || yy2arr1293 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1293[4] { - if x.Parameters == nil { - r.EncodeNil() - } else { - yym1307 := z.EncBinary() - _ = yym1307 - if false { - } else { - z.F.EncMapStringStringV(x.Parameters, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1293[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("parameters")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Parameters == nil { - r.EncodeNil() - } else { - yym1308 := z.EncBinary() - _ = yym1308 - if false { - } else { - z.F.EncMapStringStringV(x.Parameters, false, e) - } - } - } - } - if yyr1293 || yy2arr1293 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1309 := z.DecBinary() - _ = yym1309 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1310 := r.ContainerType() - if yyct1310 == codecSelferValueTypeMap1234 { - yyl1310 := r.ReadMapStart() - if yyl1310 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1310, d) - } - } else if yyct1310 == codecSelferValueTypeArray1234 { - yyl1310 := r.ReadArrayStart() - if yyl1310 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1310, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1311Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1311Slc - var yyhl1311 bool = l >= 0 - for yyj1311 := 0; ; yyj1311++ { - if yyhl1311 { - if yyj1311 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1311Slc = r.DecodeBytes(yys1311Slc, true, true) - yys1311 := string(yys1311Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1311 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv1314 := &x.ObjectMeta - yyv1314.CodecDecodeSelf(d) - } - case "provisioner": - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - case "parameters": - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv1316 := &x.Parameters - yym1317 := z.DecBinary() - _ = yym1317 - if false { - } else { - z.F.DecMapStringStringX(yyv1316, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1311) - } // end switch yys1311 - } // end for yyj1311 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1318 int - var yyb1318 bool - var yyhl1318 bool = l >= 0 - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv1321 := &x.ObjectMeta - yyv1321.CodecDecodeSelf(d) - } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv1323 := &x.Parameters - yym1324 := z.DecBinary() - _ = yym1324 - if false { - } else { - z.F.DecMapStringStringX(yyv1323, false, d) - } - } - for { - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l - } else { - yyb1318 = r.CheckBreak() - } - if yyb1318 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1318-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1325 := z.EncBinary() - _ = yym1325 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1326 := !z.EncBinary() - yy2arr1326 := z.EncBasicHandle().StructToArray - var yyq1326 [4]bool - _, _, _ = yysep1326, yyq1326, yy2arr1326 - const yyr1326 bool = false - yyq1326[0] = x.Kind != "" - yyq1326[1] = x.APIVersion != "" - yyq1326[2] = true - var yynn1326 int - if yyr1326 || yy2arr1326 { - r.EncodeArrayStart(4) - } else { - yynn1326 = 1 - for _, b := range yyq1326 { - if b { - yynn1326++ - } - } - r.EncodeMapStart(yynn1326) - yynn1326 = 0 - } - if yyr1326 || yy2arr1326 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1326[0] { - yym1328 := z.EncBinary() - _ = yym1328 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1326[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1329 := z.EncBinary() - _ = yym1329 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1326 || yy2arr1326 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1326[1] { - yym1331 := z.EncBinary() - _ = yym1331 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1326[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1332 := z.EncBinary() - _ = yym1332 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1326 || yy2arr1326 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1326[2] { - yy1334 := &x.ListMeta - yym1335 := z.EncBinary() - _ = yym1335 - if false { - } else if z.HasExtensions() && z.EncExt(yy1334) { - } else { - z.EncFallback(yy1334) - } - } else { - r.EncodeNil() - } - } else { - if yyq1326[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1336 := &x.ListMeta - yym1337 := z.EncBinary() - _ = yym1337 - if false { - } else if z.HasExtensions() && z.EncExt(yy1336) { - } else { - z.EncFallback(yy1336) - } - } - } - if yyr1326 || yy2arr1326 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1339 := z.EncBinary() - _ = yym1339 - if false { - } else { - h.encSliceStorageClass(([]StorageClass)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1340 := z.EncBinary() - _ = yym1340 - if false { - } else { - h.encSliceStorageClass(([]StorageClass)(x.Items), e) - } - } - } - if yyr1326 || yy2arr1326 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1341 := z.DecBinary() - _ = yym1341 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1342 := r.ContainerType() - if yyct1342 == codecSelferValueTypeMap1234 { - yyl1342 := r.ReadMapStart() - if yyl1342 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1342, d) - } - } else if yyct1342 == codecSelferValueTypeArray1234 { - yyl1342 := r.ReadArrayStart() - if yyl1342 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1342, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1343Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1343Slc - var yyhl1343 bool = l >= 0 - for yyj1343 := 0; ; yyj1343++ { - if yyhl1343 { - if yyj1343 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1343Slc = r.DecodeBytes(yys1343Slc, true, true) - yys1343 := string(yys1343Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1343 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1346 := &x.ListMeta - yym1347 := z.DecBinary() - _ = yym1347 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1346) { - } else { - z.DecFallback(yyv1346, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1348 := &x.Items - yym1349 := z.DecBinary() - _ = yym1349 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv1348), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1343) - } // end switch yys1343 - } // end for yyj1343 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1350 int - var yyb1350 bool - var yyhl1350 bool = l >= 0 - yyj1350++ - if yyhl1350 { - yyb1350 = yyj1350 > l - } else { - yyb1350 = r.CheckBreak() - } - if yyb1350 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1350++ - if yyhl1350 { - yyb1350 = yyj1350 > l - } else { - yyb1350 = r.CheckBreak() - } - if yyb1350 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1350++ - if yyhl1350 { - yyb1350 = yyj1350 > l - } else { - yyb1350 = r.CheckBreak() - } - if yyb1350 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1353 := &x.ListMeta - yym1354 := z.DecBinary() - _ = yym1354 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1353) { - } else { - z.DecFallback(yyv1353, false) - } - } - yyj1350++ - if yyhl1350 { - yyb1350 = yyj1350 > l - } else { - yyb1350 = r.CheckBreak() - } - if yyb1350 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1355 := &x.Items - yym1356 := z.DecBinary() - _ = yym1356 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv1355), d) - } - } - for { - yyj1350++ - if yyhl1350 { - yyb1350 = yyj1350 > l - } else { - yyb1350 = r.CheckBreak() - } - if yyb1350 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1350-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1357 := range v { + for _, yyv1292 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1358 := &yyv1357 - yy1358.CodecEncodeSelf(e) + yy1293 := &yyv1292 + yy1293.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16296,83 +15584,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1359 := *v - yyh1359, yyl1359 := z.DecSliceHelperStart() - var yyc1359 bool - if yyl1359 == 0 { - if yyv1359 == nil { - yyv1359 = []CustomMetricTarget{} - yyc1359 = true - } else if len(yyv1359) != 0 { - yyv1359 = yyv1359[:0] - yyc1359 = true + yyv1294 := *v + yyh1294, yyl1294 := z.DecSliceHelperStart() + var yyc1294 bool + if yyl1294 == 0 { + if yyv1294 == nil { + yyv1294 = []CustomMetricTarget{} + yyc1294 = true + } else if len(yyv1294) != 0 { + yyv1294 = yyv1294[:0] + yyc1294 = true } - } else if yyl1359 > 0 { - var yyrr1359, yyrl1359 int - var yyrt1359 bool - if yyl1359 > cap(yyv1359) { + } else if yyl1294 > 0 { + var yyrr1294, yyrl1294 int + var yyrt1294 bool + if yyl1294 > cap(yyv1294) { - yyrg1359 := len(yyv1359) > 0 - yyv21359 := yyv1359 - yyrl1359, yyrt1359 = z.DecInferLen(yyl1359, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1359 { - if yyrl1359 <= cap(yyv1359) { - yyv1359 = yyv1359[:yyrl1359] + yyrg1294 := len(yyv1294) > 0 + yyv21294 := yyv1294 + yyrl1294, yyrt1294 = z.DecInferLen(yyl1294, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1294 { + if yyrl1294 <= cap(yyv1294) { + yyv1294 = yyv1294[:yyrl1294] } else { - yyv1359 = make([]CustomMetricTarget, yyrl1359) + yyv1294 = make([]CustomMetricTarget, yyrl1294) } } else { - yyv1359 = make([]CustomMetricTarget, yyrl1359) + yyv1294 = make([]CustomMetricTarget, yyrl1294) } - yyc1359 = true - yyrr1359 = len(yyv1359) - if yyrg1359 { - copy(yyv1359, yyv21359) + yyc1294 = true + yyrr1294 = len(yyv1294) + if yyrg1294 { + copy(yyv1294, yyv21294) } - } else if yyl1359 != len(yyv1359) { - yyv1359 = yyv1359[:yyl1359] - yyc1359 = true + } else if yyl1294 != len(yyv1294) { + yyv1294 = yyv1294[:yyl1294] + yyc1294 = true } - yyj1359 := 0 - for ; yyj1359 < yyrr1359; yyj1359++ { - yyh1359.ElemContainerState(yyj1359) + yyj1294 := 0 + for ; yyj1294 < yyrr1294; yyj1294++ { + yyh1294.ElemContainerState(yyj1294) if r.TryDecodeAsNil() { - yyv1359[yyj1359] = CustomMetricTarget{} + yyv1294[yyj1294] = CustomMetricTarget{} } else { - yyv1360 := &yyv1359[yyj1359] - yyv1360.CodecDecodeSelf(d) + yyv1295 := &yyv1294[yyj1294] + yyv1295.CodecDecodeSelf(d) } } - if yyrt1359 { - for ; yyj1359 < yyl1359; yyj1359++ { - yyv1359 = append(yyv1359, CustomMetricTarget{}) - yyh1359.ElemContainerState(yyj1359) + if yyrt1294 { + for ; yyj1294 < yyl1294; yyj1294++ { + yyv1294 = append(yyv1294, CustomMetricTarget{}) + yyh1294.ElemContainerState(yyj1294) if r.TryDecodeAsNil() { - yyv1359[yyj1359] = CustomMetricTarget{} + yyv1294[yyj1294] = CustomMetricTarget{} } else { - yyv1361 := &yyv1359[yyj1359] - yyv1361.CodecDecodeSelf(d) + yyv1296 := &yyv1294[yyj1294] + yyv1296.CodecDecodeSelf(d) } } } } else { - yyj1359 := 0 - for ; !r.CheckBreak(); yyj1359++ { + yyj1294 := 0 + for ; !r.CheckBreak(); yyj1294++ { - if yyj1359 >= len(yyv1359) { - yyv1359 = append(yyv1359, CustomMetricTarget{}) // var yyz1359 CustomMetricTarget - yyc1359 = true + if yyj1294 >= len(yyv1294) { + yyv1294 = append(yyv1294, CustomMetricTarget{}) // var yyz1294 CustomMetricTarget + yyc1294 = true } - yyh1359.ElemContainerState(yyj1359) - if yyj1359 < len(yyv1359) { + yyh1294.ElemContainerState(yyj1294) + if yyj1294 < len(yyv1294) { if r.TryDecodeAsNil() { - yyv1359[yyj1359] = CustomMetricTarget{} + yyv1294[yyj1294] = CustomMetricTarget{} } else { - yyv1362 := &yyv1359[yyj1359] - yyv1362.CodecDecodeSelf(d) + yyv1297 := &yyv1294[yyj1294] + yyv1297.CodecDecodeSelf(d) } } else { @@ -16380,17 +15668,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1359 < len(yyv1359) { - yyv1359 = yyv1359[:yyj1359] - yyc1359 = true - } else if yyj1359 == 0 && yyv1359 == nil { - yyv1359 = []CustomMetricTarget{} - yyc1359 = true + if yyj1294 < len(yyv1294) { + yyv1294 = yyv1294[:yyj1294] + yyc1294 = true + } else if yyj1294 == 0 && yyv1294 == nil { + yyv1294 = []CustomMetricTarget{} + yyc1294 = true } } - yyh1359.End() - if yyc1359 { - *v = yyv1359 + yyh1294.End() + if yyc1294 { + *v = yyv1294 } } @@ -16399,10 +15687,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1363 := range v { + for _, yyv1298 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1364 := &yyv1363 - yy1364.CodecEncodeSelf(e) + yy1299 := &yyv1298 + yy1299.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16412,83 +15700,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1365 := *v - yyh1365, yyl1365 := z.DecSliceHelperStart() - var yyc1365 bool - if yyl1365 == 0 { - if yyv1365 == nil { - yyv1365 = []CustomMetricCurrentStatus{} - yyc1365 = true - } else if len(yyv1365) != 0 { - yyv1365 = yyv1365[:0] - yyc1365 = true + yyv1300 := *v + yyh1300, yyl1300 := z.DecSliceHelperStart() + var yyc1300 bool + if yyl1300 == 0 { + if yyv1300 == nil { + yyv1300 = []CustomMetricCurrentStatus{} + yyc1300 = true + } else if len(yyv1300) != 0 { + yyv1300 = yyv1300[:0] + yyc1300 = true } - } else if yyl1365 > 0 { - var yyrr1365, yyrl1365 int - var yyrt1365 bool - if yyl1365 > cap(yyv1365) { + } else if yyl1300 > 0 { + var yyrr1300, yyrl1300 int + var yyrt1300 bool + if yyl1300 > cap(yyv1300) { - yyrg1365 := len(yyv1365) > 0 - yyv21365 := yyv1365 - yyrl1365, yyrt1365 = z.DecInferLen(yyl1365, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1365 { - if yyrl1365 <= cap(yyv1365) { - yyv1365 = yyv1365[:yyrl1365] + yyrg1300 := len(yyv1300) > 0 + yyv21300 := yyv1300 + yyrl1300, yyrt1300 = z.DecInferLen(yyl1300, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1300 { + if yyrl1300 <= cap(yyv1300) { + yyv1300 = yyv1300[:yyrl1300] } else { - yyv1365 = make([]CustomMetricCurrentStatus, yyrl1365) + yyv1300 = make([]CustomMetricCurrentStatus, yyrl1300) } } else { - yyv1365 = make([]CustomMetricCurrentStatus, yyrl1365) + yyv1300 = make([]CustomMetricCurrentStatus, yyrl1300) } - yyc1365 = true - yyrr1365 = len(yyv1365) - if yyrg1365 { - copy(yyv1365, yyv21365) + yyc1300 = true + yyrr1300 = len(yyv1300) + if yyrg1300 { + copy(yyv1300, yyv21300) } - } else if yyl1365 != len(yyv1365) { - yyv1365 = yyv1365[:yyl1365] - yyc1365 = true + } else if yyl1300 != len(yyv1300) { + yyv1300 = yyv1300[:yyl1300] + yyc1300 = true } - yyj1365 := 0 - for ; yyj1365 < yyrr1365; yyj1365++ { - yyh1365.ElemContainerState(yyj1365) + yyj1300 := 0 + for ; yyj1300 < yyrr1300; yyj1300++ { + yyh1300.ElemContainerState(yyj1300) if r.TryDecodeAsNil() { - yyv1365[yyj1365] = CustomMetricCurrentStatus{} + yyv1300[yyj1300] = CustomMetricCurrentStatus{} } else { - yyv1366 := &yyv1365[yyj1365] - yyv1366.CodecDecodeSelf(d) + yyv1301 := &yyv1300[yyj1300] + yyv1301.CodecDecodeSelf(d) } } - if yyrt1365 { - for ; yyj1365 < yyl1365; yyj1365++ { - yyv1365 = append(yyv1365, CustomMetricCurrentStatus{}) - yyh1365.ElemContainerState(yyj1365) + if yyrt1300 { + for ; yyj1300 < yyl1300; yyj1300++ { + yyv1300 = append(yyv1300, CustomMetricCurrentStatus{}) + yyh1300.ElemContainerState(yyj1300) if r.TryDecodeAsNil() { - yyv1365[yyj1365] = CustomMetricCurrentStatus{} + yyv1300[yyj1300] = CustomMetricCurrentStatus{} } else { - yyv1367 := &yyv1365[yyj1365] - yyv1367.CodecDecodeSelf(d) + yyv1302 := &yyv1300[yyj1300] + yyv1302.CodecDecodeSelf(d) } } } } else { - yyj1365 := 0 - for ; !r.CheckBreak(); yyj1365++ { + yyj1300 := 0 + for ; !r.CheckBreak(); yyj1300++ { - if yyj1365 >= len(yyv1365) { - yyv1365 = append(yyv1365, CustomMetricCurrentStatus{}) // var yyz1365 CustomMetricCurrentStatus - yyc1365 = true + if yyj1300 >= len(yyv1300) { + yyv1300 = append(yyv1300, CustomMetricCurrentStatus{}) // var yyz1300 CustomMetricCurrentStatus + yyc1300 = true } - yyh1365.ElemContainerState(yyj1365) - if yyj1365 < len(yyv1365) { + yyh1300.ElemContainerState(yyj1300) + if yyj1300 < len(yyv1300) { if r.TryDecodeAsNil() { - yyv1365[yyj1365] = CustomMetricCurrentStatus{} + yyv1300[yyj1300] = CustomMetricCurrentStatus{} } else { - yyv1368 := &yyv1365[yyj1365] - yyv1368.CodecDecodeSelf(d) + yyv1303 := &yyv1300[yyj1300] + yyv1303.CodecDecodeSelf(d) } } else { @@ -16496,17 +15784,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1365 < len(yyv1365) { - yyv1365 = yyv1365[:yyj1365] - yyc1365 = true - } else if yyj1365 == 0 && yyv1365 == nil { - yyv1365 = []CustomMetricCurrentStatus{} - yyc1365 = true + if yyj1300 < len(yyv1300) { + yyv1300 = yyv1300[:yyj1300] + yyc1300 = true + } else if yyj1300 == 0 && yyv1300 == nil { + yyv1300 = []CustomMetricCurrentStatus{} + yyc1300 = true } } - yyh1365.End() - if yyc1365 { - *v = yyv1365 + yyh1300.End() + if yyc1300 { + *v = yyv1300 } } @@ -16515,10 +15803,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1369 := range v { + for _, yyv1304 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1370 := &yyv1369 - yy1370.CodecEncodeSelf(e) + yy1305 := &yyv1304 + yy1305.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16528,12 +15816,1284 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r + yyv1306 := *v + yyh1306, yyl1306 := z.DecSliceHelperStart() + var yyc1306 bool + if yyl1306 == 0 { + if yyv1306 == nil { + yyv1306 = []APIVersion{} + yyc1306 = true + } else if len(yyv1306) != 0 { + yyv1306 = yyv1306[:0] + yyc1306 = true + } + } else if yyl1306 > 0 { + var yyrr1306, yyrl1306 int + var yyrt1306 bool + if yyl1306 > cap(yyv1306) { + + yyrg1306 := len(yyv1306) > 0 + yyv21306 := yyv1306 + yyrl1306, yyrt1306 = z.DecInferLen(yyl1306, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1306 { + if yyrl1306 <= cap(yyv1306) { + yyv1306 = yyv1306[:yyrl1306] + } else { + yyv1306 = make([]APIVersion, yyrl1306) + } + } else { + yyv1306 = make([]APIVersion, yyrl1306) + } + yyc1306 = true + yyrr1306 = len(yyv1306) + if yyrg1306 { + copy(yyv1306, yyv21306) + } + } else if yyl1306 != len(yyv1306) { + yyv1306 = yyv1306[:yyl1306] + yyc1306 = true + } + yyj1306 := 0 + for ; yyj1306 < yyrr1306; yyj1306++ { + yyh1306.ElemContainerState(yyj1306) + if r.TryDecodeAsNil() { + yyv1306[yyj1306] = APIVersion{} + } else { + yyv1307 := &yyv1306[yyj1306] + yyv1307.CodecDecodeSelf(d) + } + + } + if yyrt1306 { + for ; yyj1306 < yyl1306; yyj1306++ { + yyv1306 = append(yyv1306, APIVersion{}) + yyh1306.ElemContainerState(yyj1306) + if r.TryDecodeAsNil() { + yyv1306[yyj1306] = APIVersion{} + } else { + yyv1308 := &yyv1306[yyj1306] + yyv1308.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1306 := 0 + for ; !r.CheckBreak(); yyj1306++ { + + if yyj1306 >= len(yyv1306) { + yyv1306 = append(yyv1306, APIVersion{}) // var yyz1306 APIVersion + yyc1306 = true + } + yyh1306.ElemContainerState(yyj1306) + if yyj1306 < len(yyv1306) { + if r.TryDecodeAsNil() { + yyv1306[yyj1306] = APIVersion{} + } else { + yyv1309 := &yyv1306[yyj1306] + yyv1309.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1306 < len(yyv1306) { + yyv1306 = yyv1306[:yyj1306] + yyc1306 = true + } else if yyj1306 == 0 && yyv1306 == nil { + yyv1306 = []APIVersion{} + yyc1306 = true + } + } + yyh1306.End() + if yyc1306 { + *v = yyv1306 + } +} + +func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1310 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1311 := &yyv1310 + yy1311.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1312 := *v + yyh1312, yyl1312 := z.DecSliceHelperStart() + var yyc1312 bool + if yyl1312 == 0 { + if yyv1312 == nil { + yyv1312 = []ThirdPartyResource{} + yyc1312 = true + } else if len(yyv1312) != 0 { + yyv1312 = yyv1312[:0] + yyc1312 = true + } + } else if yyl1312 > 0 { + var yyrr1312, yyrl1312 int + var yyrt1312 bool + if yyl1312 > cap(yyv1312) { + + yyrg1312 := len(yyv1312) > 0 + yyv21312 := yyv1312 + yyrl1312, yyrt1312 = z.DecInferLen(yyl1312, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1312 { + if yyrl1312 <= cap(yyv1312) { + yyv1312 = yyv1312[:yyrl1312] + } else { + yyv1312 = make([]ThirdPartyResource, yyrl1312) + } + } else { + yyv1312 = make([]ThirdPartyResource, yyrl1312) + } + yyc1312 = true + yyrr1312 = len(yyv1312) + if yyrg1312 { + copy(yyv1312, yyv21312) + } + } else if yyl1312 != len(yyv1312) { + yyv1312 = yyv1312[:yyl1312] + yyc1312 = true + } + yyj1312 := 0 + for ; yyj1312 < yyrr1312; yyj1312++ { + yyh1312.ElemContainerState(yyj1312) + if r.TryDecodeAsNil() { + yyv1312[yyj1312] = ThirdPartyResource{} + } else { + yyv1313 := &yyv1312[yyj1312] + yyv1313.CodecDecodeSelf(d) + } + + } + if yyrt1312 { + for ; yyj1312 < yyl1312; yyj1312++ { + yyv1312 = append(yyv1312, ThirdPartyResource{}) + yyh1312.ElemContainerState(yyj1312) + if r.TryDecodeAsNil() { + yyv1312[yyj1312] = ThirdPartyResource{} + } else { + yyv1314 := &yyv1312[yyj1312] + yyv1314.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1312 := 0 + for ; !r.CheckBreak(); yyj1312++ { + + if yyj1312 >= len(yyv1312) { + yyv1312 = append(yyv1312, ThirdPartyResource{}) // var yyz1312 ThirdPartyResource + yyc1312 = true + } + yyh1312.ElemContainerState(yyj1312) + if yyj1312 < len(yyv1312) { + if r.TryDecodeAsNil() { + yyv1312[yyj1312] = ThirdPartyResource{} + } else { + yyv1315 := &yyv1312[yyj1312] + yyv1315.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1312 < len(yyv1312) { + yyv1312 = yyv1312[:yyj1312] + yyc1312 = true + } else if yyj1312 == 0 && yyv1312 == nil { + yyv1312 = []ThirdPartyResource{} + yyc1312 = true + } + } + yyh1312.End() + if yyc1312 { + *v = yyv1312 + } +} + +func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1316 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1317 := &yyv1316 + yy1317.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1318 := *v + yyh1318, yyl1318 := z.DecSliceHelperStart() + var yyc1318 bool + if yyl1318 == 0 { + if yyv1318 == nil { + yyv1318 = []Deployment{} + yyc1318 = true + } else if len(yyv1318) != 0 { + yyv1318 = yyv1318[:0] + yyc1318 = true + } + } else if yyl1318 > 0 { + var yyrr1318, yyrl1318 int + var yyrt1318 bool + if yyl1318 > cap(yyv1318) { + + yyrg1318 := len(yyv1318) > 0 + yyv21318 := yyv1318 + yyrl1318, yyrt1318 = z.DecInferLen(yyl1318, z.DecBasicHandle().MaxInitLen, 800) + if yyrt1318 { + if yyrl1318 <= cap(yyv1318) { + yyv1318 = yyv1318[:yyrl1318] + } else { + yyv1318 = make([]Deployment, yyrl1318) + } + } else { + yyv1318 = make([]Deployment, yyrl1318) + } + yyc1318 = true + yyrr1318 = len(yyv1318) + if yyrg1318 { + copy(yyv1318, yyv21318) + } + } else if yyl1318 != len(yyv1318) { + yyv1318 = yyv1318[:yyl1318] + yyc1318 = true + } + yyj1318 := 0 + for ; yyj1318 < yyrr1318; yyj1318++ { + yyh1318.ElemContainerState(yyj1318) + if r.TryDecodeAsNil() { + yyv1318[yyj1318] = Deployment{} + } else { + yyv1319 := &yyv1318[yyj1318] + yyv1319.CodecDecodeSelf(d) + } + + } + if yyrt1318 { + for ; yyj1318 < yyl1318; yyj1318++ { + yyv1318 = append(yyv1318, Deployment{}) + yyh1318.ElemContainerState(yyj1318) + if r.TryDecodeAsNil() { + yyv1318[yyj1318] = Deployment{} + } else { + yyv1320 := &yyv1318[yyj1318] + yyv1320.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1318 := 0 + for ; !r.CheckBreak(); yyj1318++ { + + if yyj1318 >= len(yyv1318) { + yyv1318 = append(yyv1318, Deployment{}) // var yyz1318 Deployment + yyc1318 = true + } + yyh1318.ElemContainerState(yyj1318) + if yyj1318 < len(yyv1318) { + if r.TryDecodeAsNil() { + yyv1318[yyj1318] = Deployment{} + } else { + yyv1321 := &yyv1318[yyj1318] + yyv1321.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1318 < len(yyv1318) { + yyv1318 = yyv1318[:yyj1318] + yyc1318 = true + } else if yyj1318 == 0 && yyv1318 == nil { + yyv1318 = []Deployment{} + yyc1318 = true + } + } + yyh1318.End() + if yyc1318 { + *v = yyv1318 + } +} + +func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1322 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1323 := &yyv1322 + yy1323.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1324 := *v + yyh1324, yyl1324 := z.DecSliceHelperStart() + var yyc1324 bool + if yyl1324 == 0 { + if yyv1324 == nil { + yyv1324 = []DaemonSet{} + yyc1324 = true + } else if len(yyv1324) != 0 { + yyv1324 = yyv1324[:0] + yyc1324 = true + } + } else if yyl1324 > 0 { + var yyrr1324, yyrl1324 int + var yyrt1324 bool + if yyl1324 > cap(yyv1324) { + + yyrg1324 := len(yyv1324) > 0 + yyv21324 := yyv1324 + yyrl1324, yyrt1324 = z.DecInferLen(yyl1324, z.DecBasicHandle().MaxInitLen, 728) + if yyrt1324 { + if yyrl1324 <= cap(yyv1324) { + yyv1324 = yyv1324[:yyrl1324] + } else { + yyv1324 = make([]DaemonSet, yyrl1324) + } + } else { + yyv1324 = make([]DaemonSet, yyrl1324) + } + yyc1324 = true + yyrr1324 = len(yyv1324) + if yyrg1324 { + copy(yyv1324, yyv21324) + } + } else if yyl1324 != len(yyv1324) { + yyv1324 = yyv1324[:yyl1324] + yyc1324 = true + } + yyj1324 := 0 + for ; yyj1324 < yyrr1324; yyj1324++ { + yyh1324.ElemContainerState(yyj1324) + if r.TryDecodeAsNil() { + yyv1324[yyj1324] = DaemonSet{} + } else { + yyv1325 := &yyv1324[yyj1324] + yyv1325.CodecDecodeSelf(d) + } + + } + if yyrt1324 { + for ; yyj1324 < yyl1324; yyj1324++ { + yyv1324 = append(yyv1324, DaemonSet{}) + yyh1324.ElemContainerState(yyj1324) + if r.TryDecodeAsNil() { + yyv1324[yyj1324] = DaemonSet{} + } else { + yyv1326 := &yyv1324[yyj1324] + yyv1326.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1324 := 0 + for ; !r.CheckBreak(); yyj1324++ { + + if yyj1324 >= len(yyv1324) { + yyv1324 = append(yyv1324, DaemonSet{}) // var yyz1324 DaemonSet + yyc1324 = true + } + yyh1324.ElemContainerState(yyj1324) + if yyj1324 < len(yyv1324) { + if r.TryDecodeAsNil() { + yyv1324[yyj1324] = DaemonSet{} + } else { + yyv1327 := &yyv1324[yyj1324] + yyv1327.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1324 < len(yyv1324) { + yyv1324 = yyv1324[:yyj1324] + yyc1324 = true + } else if yyj1324 == 0 && yyv1324 == nil { + yyv1324 = []DaemonSet{} + yyc1324 = true + } + } + yyh1324.End() + if yyc1324 { + *v = yyv1324 + } +} + +func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1328 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1329 := &yyv1328 + yy1329.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1330 := *v + yyh1330, yyl1330 := z.DecSliceHelperStart() + var yyc1330 bool + if yyl1330 == 0 { + if yyv1330 == nil { + yyv1330 = []ThirdPartyResourceData{} + yyc1330 = true + } else if len(yyv1330) != 0 { + yyv1330 = yyv1330[:0] + yyc1330 = true + } + } else if yyl1330 > 0 { + var yyrr1330, yyrl1330 int + var yyrt1330 bool + if yyl1330 > cap(yyv1330) { + + yyrg1330 := len(yyv1330) > 0 + yyv21330 := yyv1330 + yyrl1330, yyrt1330 = z.DecInferLen(yyl1330, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1330 { + if yyrl1330 <= cap(yyv1330) { + yyv1330 = yyv1330[:yyrl1330] + } else { + yyv1330 = make([]ThirdPartyResourceData, yyrl1330) + } + } else { + yyv1330 = make([]ThirdPartyResourceData, yyrl1330) + } + yyc1330 = true + yyrr1330 = len(yyv1330) + if yyrg1330 { + copy(yyv1330, yyv21330) + } + } else if yyl1330 != len(yyv1330) { + yyv1330 = yyv1330[:yyl1330] + yyc1330 = true + } + yyj1330 := 0 + for ; yyj1330 < yyrr1330; yyj1330++ { + yyh1330.ElemContainerState(yyj1330) + if r.TryDecodeAsNil() { + yyv1330[yyj1330] = ThirdPartyResourceData{} + } else { + yyv1331 := &yyv1330[yyj1330] + yyv1331.CodecDecodeSelf(d) + } + + } + if yyrt1330 { + for ; yyj1330 < yyl1330; yyj1330++ { + yyv1330 = append(yyv1330, ThirdPartyResourceData{}) + yyh1330.ElemContainerState(yyj1330) + if r.TryDecodeAsNil() { + yyv1330[yyj1330] = ThirdPartyResourceData{} + } else { + yyv1332 := &yyv1330[yyj1330] + yyv1332.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1330 := 0 + for ; !r.CheckBreak(); yyj1330++ { + + if yyj1330 >= len(yyv1330) { + yyv1330 = append(yyv1330, ThirdPartyResourceData{}) // var yyz1330 ThirdPartyResourceData + yyc1330 = true + } + yyh1330.ElemContainerState(yyj1330) + if yyj1330 < len(yyv1330) { + if r.TryDecodeAsNil() { + yyv1330[yyj1330] = ThirdPartyResourceData{} + } else { + yyv1333 := &yyv1330[yyj1330] + yyv1333.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1330 < len(yyv1330) { + yyv1330 = yyv1330[:yyj1330] + yyc1330 = true + } else if yyj1330 == 0 && yyv1330 == nil { + yyv1330 = []ThirdPartyResourceData{} + yyc1330 = true + } + } + yyh1330.End() + if yyc1330 { + *v = yyv1330 + } +} + +func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1334 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1335 := &yyv1334 + yy1335.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1336 := *v + yyh1336, yyl1336 := z.DecSliceHelperStart() + var yyc1336 bool + if yyl1336 == 0 { + if yyv1336 == nil { + yyv1336 = []Ingress{} + yyc1336 = true + } else if len(yyv1336) != 0 { + yyv1336 = yyv1336[:0] + yyc1336 = true + } + } else if yyl1336 > 0 { + var yyrr1336, yyrl1336 int + var yyrt1336 bool + if yyl1336 > cap(yyv1336) { + + yyrg1336 := len(yyv1336) > 0 + yyv21336 := yyv1336 + yyrl1336, yyrt1336 = z.DecInferLen(yyl1336, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1336 { + if yyrl1336 <= cap(yyv1336) { + yyv1336 = yyv1336[:yyrl1336] + } else { + yyv1336 = make([]Ingress, yyrl1336) + } + } else { + yyv1336 = make([]Ingress, yyrl1336) + } + yyc1336 = true + yyrr1336 = len(yyv1336) + if yyrg1336 { + copy(yyv1336, yyv21336) + } + } else if yyl1336 != len(yyv1336) { + yyv1336 = yyv1336[:yyl1336] + yyc1336 = true + } + yyj1336 := 0 + for ; yyj1336 < yyrr1336; yyj1336++ { + yyh1336.ElemContainerState(yyj1336) + if r.TryDecodeAsNil() { + yyv1336[yyj1336] = Ingress{} + } else { + yyv1337 := &yyv1336[yyj1336] + yyv1337.CodecDecodeSelf(d) + } + + } + if yyrt1336 { + for ; yyj1336 < yyl1336; yyj1336++ { + yyv1336 = append(yyv1336, Ingress{}) + yyh1336.ElemContainerState(yyj1336) + if r.TryDecodeAsNil() { + yyv1336[yyj1336] = Ingress{} + } else { + yyv1338 := &yyv1336[yyj1336] + yyv1338.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1336 := 0 + for ; !r.CheckBreak(); yyj1336++ { + + if yyj1336 >= len(yyv1336) { + yyv1336 = append(yyv1336, Ingress{}) // var yyz1336 Ingress + yyc1336 = true + } + yyh1336.ElemContainerState(yyj1336) + if yyj1336 < len(yyv1336) { + if r.TryDecodeAsNil() { + yyv1336[yyj1336] = Ingress{} + } else { + yyv1339 := &yyv1336[yyj1336] + yyv1339.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1336 < len(yyv1336) { + yyv1336 = yyv1336[:yyj1336] + yyc1336 = true + } else if yyj1336 == 0 && yyv1336 == nil { + yyv1336 = []Ingress{} + yyc1336 = true + } + } + yyh1336.End() + if yyc1336 { + *v = yyv1336 + } +} + +func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1340 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1341 := &yyv1340 + yy1341.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1342 := *v + yyh1342, yyl1342 := z.DecSliceHelperStart() + var yyc1342 bool + if yyl1342 == 0 { + if yyv1342 == nil { + yyv1342 = []IngressTLS{} + yyc1342 = true + } else if len(yyv1342) != 0 { + yyv1342 = yyv1342[:0] + yyc1342 = true + } + } else if yyl1342 > 0 { + var yyrr1342, yyrl1342 int + var yyrt1342 bool + if yyl1342 > cap(yyv1342) { + + yyrg1342 := len(yyv1342) > 0 + yyv21342 := yyv1342 + yyrl1342, yyrt1342 = z.DecInferLen(yyl1342, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1342 { + if yyrl1342 <= cap(yyv1342) { + yyv1342 = yyv1342[:yyrl1342] + } else { + yyv1342 = make([]IngressTLS, yyrl1342) + } + } else { + yyv1342 = make([]IngressTLS, yyrl1342) + } + yyc1342 = true + yyrr1342 = len(yyv1342) + if yyrg1342 { + copy(yyv1342, yyv21342) + } + } else if yyl1342 != len(yyv1342) { + yyv1342 = yyv1342[:yyl1342] + yyc1342 = true + } + yyj1342 := 0 + for ; yyj1342 < yyrr1342; yyj1342++ { + yyh1342.ElemContainerState(yyj1342) + if r.TryDecodeAsNil() { + yyv1342[yyj1342] = IngressTLS{} + } else { + yyv1343 := &yyv1342[yyj1342] + yyv1343.CodecDecodeSelf(d) + } + + } + if yyrt1342 { + for ; yyj1342 < yyl1342; yyj1342++ { + yyv1342 = append(yyv1342, IngressTLS{}) + yyh1342.ElemContainerState(yyj1342) + if r.TryDecodeAsNil() { + yyv1342[yyj1342] = IngressTLS{} + } else { + yyv1344 := &yyv1342[yyj1342] + yyv1344.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1342 := 0 + for ; !r.CheckBreak(); yyj1342++ { + + if yyj1342 >= len(yyv1342) { + yyv1342 = append(yyv1342, IngressTLS{}) // var yyz1342 IngressTLS + yyc1342 = true + } + yyh1342.ElemContainerState(yyj1342) + if yyj1342 < len(yyv1342) { + if r.TryDecodeAsNil() { + yyv1342[yyj1342] = IngressTLS{} + } else { + yyv1345 := &yyv1342[yyj1342] + yyv1345.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1342 < len(yyv1342) { + yyv1342 = yyv1342[:yyj1342] + yyc1342 = true + } else if yyj1342 == 0 && yyv1342 == nil { + yyv1342 = []IngressTLS{} + yyc1342 = true + } + } + yyh1342.End() + if yyc1342 { + *v = yyv1342 + } +} + +func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1346 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1347 := &yyv1346 + yy1347.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1348 := *v + yyh1348, yyl1348 := z.DecSliceHelperStart() + var yyc1348 bool + if yyl1348 == 0 { + if yyv1348 == nil { + yyv1348 = []IngressRule{} + yyc1348 = true + } else if len(yyv1348) != 0 { + yyv1348 = yyv1348[:0] + yyc1348 = true + } + } else if yyl1348 > 0 { + var yyrr1348, yyrl1348 int + var yyrt1348 bool + if yyl1348 > cap(yyv1348) { + + yyrg1348 := len(yyv1348) > 0 + yyv21348 := yyv1348 + yyrl1348, yyrt1348 = z.DecInferLen(yyl1348, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1348 { + if yyrl1348 <= cap(yyv1348) { + yyv1348 = yyv1348[:yyrl1348] + } else { + yyv1348 = make([]IngressRule, yyrl1348) + } + } else { + yyv1348 = make([]IngressRule, yyrl1348) + } + yyc1348 = true + yyrr1348 = len(yyv1348) + if yyrg1348 { + copy(yyv1348, yyv21348) + } + } else if yyl1348 != len(yyv1348) { + yyv1348 = yyv1348[:yyl1348] + yyc1348 = true + } + yyj1348 := 0 + for ; yyj1348 < yyrr1348; yyj1348++ { + yyh1348.ElemContainerState(yyj1348) + if r.TryDecodeAsNil() { + yyv1348[yyj1348] = IngressRule{} + } else { + yyv1349 := &yyv1348[yyj1348] + yyv1349.CodecDecodeSelf(d) + } + + } + if yyrt1348 { + for ; yyj1348 < yyl1348; yyj1348++ { + yyv1348 = append(yyv1348, IngressRule{}) + yyh1348.ElemContainerState(yyj1348) + if r.TryDecodeAsNil() { + yyv1348[yyj1348] = IngressRule{} + } else { + yyv1350 := &yyv1348[yyj1348] + yyv1350.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1348 := 0 + for ; !r.CheckBreak(); yyj1348++ { + + if yyj1348 >= len(yyv1348) { + yyv1348 = append(yyv1348, IngressRule{}) // var yyz1348 IngressRule + yyc1348 = true + } + yyh1348.ElemContainerState(yyj1348) + if yyj1348 < len(yyv1348) { + if r.TryDecodeAsNil() { + yyv1348[yyj1348] = IngressRule{} + } else { + yyv1351 := &yyv1348[yyj1348] + yyv1351.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1348 < len(yyv1348) { + yyv1348 = yyv1348[:yyj1348] + yyc1348 = true + } else if yyj1348 == 0 && yyv1348 == nil { + yyv1348 = []IngressRule{} + yyc1348 = true + } + } + yyh1348.End() + if yyc1348 { + *v = yyv1348 + } +} + +func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1352 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1353 := &yyv1352 + yy1353.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1354 := *v + yyh1354, yyl1354 := z.DecSliceHelperStart() + var yyc1354 bool + if yyl1354 == 0 { + if yyv1354 == nil { + yyv1354 = []HTTPIngressPath{} + yyc1354 = true + } else if len(yyv1354) != 0 { + yyv1354 = yyv1354[:0] + yyc1354 = true + } + } else if yyl1354 > 0 { + var yyrr1354, yyrl1354 int + var yyrt1354 bool + if yyl1354 > cap(yyv1354) { + + yyrg1354 := len(yyv1354) > 0 + yyv21354 := yyv1354 + yyrl1354, yyrt1354 = z.DecInferLen(yyl1354, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1354 { + if yyrl1354 <= cap(yyv1354) { + yyv1354 = yyv1354[:yyrl1354] + } else { + yyv1354 = make([]HTTPIngressPath, yyrl1354) + } + } else { + yyv1354 = make([]HTTPIngressPath, yyrl1354) + } + yyc1354 = true + yyrr1354 = len(yyv1354) + if yyrg1354 { + copy(yyv1354, yyv21354) + } + } else if yyl1354 != len(yyv1354) { + yyv1354 = yyv1354[:yyl1354] + yyc1354 = true + } + yyj1354 := 0 + for ; yyj1354 < yyrr1354; yyj1354++ { + yyh1354.ElemContainerState(yyj1354) + if r.TryDecodeAsNil() { + yyv1354[yyj1354] = HTTPIngressPath{} + } else { + yyv1355 := &yyv1354[yyj1354] + yyv1355.CodecDecodeSelf(d) + } + + } + if yyrt1354 { + for ; yyj1354 < yyl1354; yyj1354++ { + yyv1354 = append(yyv1354, HTTPIngressPath{}) + yyh1354.ElemContainerState(yyj1354) + if r.TryDecodeAsNil() { + yyv1354[yyj1354] = HTTPIngressPath{} + } else { + yyv1356 := &yyv1354[yyj1354] + yyv1356.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1354 := 0 + for ; !r.CheckBreak(); yyj1354++ { + + if yyj1354 >= len(yyv1354) { + yyv1354 = append(yyv1354, HTTPIngressPath{}) // var yyz1354 HTTPIngressPath + yyc1354 = true + } + yyh1354.ElemContainerState(yyj1354) + if yyj1354 < len(yyv1354) { + if r.TryDecodeAsNil() { + yyv1354[yyj1354] = HTTPIngressPath{} + } else { + yyv1357 := &yyv1354[yyj1354] + yyv1357.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1354 < len(yyv1354) { + yyv1354 = yyv1354[:yyj1354] + yyc1354 = true + } else if yyj1354 == 0 && yyv1354 == nil { + yyv1354 = []HTTPIngressPath{} + yyc1354 = true + } + } + yyh1354.End() + if yyc1354 { + *v = yyv1354 + } +} + +func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1358 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1359 := &yyv1358 + yy1359.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1360 := *v + yyh1360, yyl1360 := z.DecSliceHelperStart() + var yyc1360 bool + if yyl1360 == 0 { + if yyv1360 == nil { + yyv1360 = []ReplicaSet{} + yyc1360 = true + } else if len(yyv1360) != 0 { + yyv1360 = yyv1360[:0] + yyc1360 = true + } + } else if yyl1360 > 0 { + var yyrr1360, yyrl1360 int + var yyrt1360 bool + if yyl1360 > cap(yyv1360) { + + yyrg1360 := len(yyv1360) > 0 + yyv21360 := yyv1360 + yyrl1360, yyrt1360 = z.DecInferLen(yyl1360, z.DecBasicHandle().MaxInitLen, 744) + if yyrt1360 { + if yyrl1360 <= cap(yyv1360) { + yyv1360 = yyv1360[:yyrl1360] + } else { + yyv1360 = make([]ReplicaSet, yyrl1360) + } + } else { + yyv1360 = make([]ReplicaSet, yyrl1360) + } + yyc1360 = true + yyrr1360 = len(yyv1360) + if yyrg1360 { + copy(yyv1360, yyv21360) + } + } else if yyl1360 != len(yyv1360) { + yyv1360 = yyv1360[:yyl1360] + yyc1360 = true + } + yyj1360 := 0 + for ; yyj1360 < yyrr1360; yyj1360++ { + yyh1360.ElemContainerState(yyj1360) + if r.TryDecodeAsNil() { + yyv1360[yyj1360] = ReplicaSet{} + } else { + yyv1361 := &yyv1360[yyj1360] + yyv1361.CodecDecodeSelf(d) + } + + } + if yyrt1360 { + for ; yyj1360 < yyl1360; yyj1360++ { + yyv1360 = append(yyv1360, ReplicaSet{}) + yyh1360.ElemContainerState(yyj1360) + if r.TryDecodeAsNil() { + yyv1360[yyj1360] = ReplicaSet{} + } else { + yyv1362 := &yyv1360[yyj1360] + yyv1362.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1360 := 0 + for ; !r.CheckBreak(); yyj1360++ { + + if yyj1360 >= len(yyv1360) { + yyv1360 = append(yyv1360, ReplicaSet{}) // var yyz1360 ReplicaSet + yyc1360 = true + } + yyh1360.ElemContainerState(yyj1360) + if yyj1360 < len(yyv1360) { + if r.TryDecodeAsNil() { + yyv1360[yyj1360] = ReplicaSet{} + } else { + yyv1363 := &yyv1360[yyj1360] + yyv1363.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1360 < len(yyv1360) { + yyv1360 = yyv1360[:yyj1360] + yyc1360 = true + } else if yyj1360 == 0 && yyv1360 == nil { + yyv1360 = []ReplicaSet{} + yyc1360 = true + } + } + yyh1360.End() + if yyc1360 { + *v = yyv1360 + } +} + +func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1364 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1365 := z.EncBinary() + _ = yym1365 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1364) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1364)) + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1366 := *v + yyh1366, yyl1366 := z.DecSliceHelperStart() + var yyc1366 bool + if yyl1366 == 0 { + if yyv1366 == nil { + yyv1366 = []pkg2_api.Capability{} + yyc1366 = true + } else if len(yyv1366) != 0 { + yyv1366 = yyv1366[:0] + yyc1366 = true + } + } else if yyl1366 > 0 { + var yyrr1366, yyrl1366 int + var yyrt1366 bool + if yyl1366 > cap(yyv1366) { + + yyrl1366, yyrt1366 = z.DecInferLen(yyl1366, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1366 { + if yyrl1366 <= cap(yyv1366) { + yyv1366 = yyv1366[:yyrl1366] + } else { + yyv1366 = make([]pkg2_api.Capability, yyrl1366) + } + } else { + yyv1366 = make([]pkg2_api.Capability, yyrl1366) + } + yyc1366 = true + yyrr1366 = len(yyv1366) + } else if yyl1366 != len(yyv1366) { + yyv1366 = yyv1366[:yyl1366] + yyc1366 = true + } + yyj1366 := 0 + for ; yyj1366 < yyrr1366; yyj1366++ { + yyh1366.ElemContainerState(yyj1366) + if r.TryDecodeAsNil() { + yyv1366[yyj1366] = "" + } else { + yyv1366[yyj1366] = pkg2_api.Capability(r.DecodeString()) + } + + } + if yyrt1366 { + for ; yyj1366 < yyl1366; yyj1366++ { + yyv1366 = append(yyv1366, "") + yyh1366.ElemContainerState(yyj1366) + if r.TryDecodeAsNil() { + yyv1366[yyj1366] = "" + } else { + yyv1366[yyj1366] = pkg2_api.Capability(r.DecodeString()) + } + + } + } + + } else { + yyj1366 := 0 + for ; !r.CheckBreak(); yyj1366++ { + + if yyj1366 >= len(yyv1366) { + yyv1366 = append(yyv1366, "") // var yyz1366 pkg2_api.Capability + yyc1366 = true + } + yyh1366.ElemContainerState(yyj1366) + if yyj1366 < len(yyv1366) { + if r.TryDecodeAsNil() { + yyv1366[yyj1366] = "" + } else { + yyv1366[yyj1366] = pkg2_api.Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj1366 < len(yyv1366) { + yyv1366 = yyv1366[:yyj1366] + yyc1366 = true + } else if yyj1366 == 0 && yyv1366 == nil { + yyv1366 = []pkg2_api.Capability{} + yyc1366 = true + } + } + yyh1366.End() + if yyc1366 { + *v = yyv1366 + } +} + +func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1370 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv1370.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yyv1371 := *v yyh1371, yyl1371 := z.DecSliceHelperStart() var yyc1371 bool if yyl1371 == 0 { if yyv1371 == nil { - yyv1371 = []APIVersion{} + yyv1371 = []FSType{} yyc1371 = true } else if len(yyv1371) != 0 { yyv1371 = yyv1371[:0] @@ -16544,23 +17104,18 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode var yyrt1371 bool if yyl1371 > cap(yyv1371) { - yyrg1371 := len(yyv1371) > 0 - yyv21371 := yyv1371 yyrl1371, yyrt1371 = z.DecInferLen(yyl1371, z.DecBasicHandle().MaxInitLen, 16) if yyrt1371 { if yyrl1371 <= cap(yyv1371) { yyv1371 = yyv1371[:yyrl1371] } else { - yyv1371 = make([]APIVersion, yyrl1371) + yyv1371 = make([]FSType, yyrl1371) } } else { - yyv1371 = make([]APIVersion, yyrl1371) + yyv1371 = make([]FSType, yyrl1371) } yyc1371 = true yyrr1371 = len(yyv1371) - if yyrg1371 { - copy(yyv1371, yyv21371) - } } else if yyl1371 != len(yyv1371) { yyv1371 = yyv1371[:yyl1371] yyc1371 = true @@ -16569,22 +17124,20 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode for ; yyj1371 < yyrr1371; yyj1371++ { yyh1371.ElemContainerState(yyj1371) if r.TryDecodeAsNil() { - yyv1371[yyj1371] = APIVersion{} + yyv1371[yyj1371] = "" } else { - yyv1372 := &yyv1371[yyj1371] - yyv1372.CodecDecodeSelf(d) + yyv1371[yyj1371] = FSType(r.DecodeString()) } } if yyrt1371 { for ; yyj1371 < yyl1371; yyj1371++ { - yyv1371 = append(yyv1371, APIVersion{}) + yyv1371 = append(yyv1371, "") yyh1371.ElemContainerState(yyj1371) if r.TryDecodeAsNil() { - yyv1371[yyj1371] = APIVersion{} + yyv1371[yyj1371] = "" } else { - yyv1373 := &yyv1371[yyj1371] - yyv1373.CodecDecodeSelf(d) + yyv1371[yyj1371] = FSType(r.DecodeString()) } } @@ -16595,16 +17148,15 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode for ; !r.CheckBreak(); yyj1371++ { if yyj1371 >= len(yyv1371) { - yyv1371 = append(yyv1371, APIVersion{}) // var yyz1371 APIVersion + yyv1371 = append(yyv1371, "") // var yyz1371 FSType yyc1371 = true } yyh1371.ElemContainerState(yyj1371) if yyj1371 < len(yyv1371) { if r.TryDecodeAsNil() { - yyv1371[yyj1371] = APIVersion{} + yyv1371[yyj1371] = "" } else { - yyv1374 := &yyv1371[yyj1371] - yyv1374.CodecDecodeSelf(d) + yyv1371[yyj1371] = FSType(r.DecodeString()) } } else { @@ -16616,7 +17168,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode yyv1371 = yyv1371[:yyj1371] yyc1371 = true } else if yyj1371 == 0 && yyv1371 == nil { - yyv1371 = []APIVersion{} + yyv1371 = []FSType{} yyc1371 = true } } @@ -16626,7 +17178,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16639,7 +17191,7 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16649,7 +17201,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * var yyc1377 bool if yyl1377 == 0 { if yyv1377 == nil { - yyv1377 = []ThirdPartyResource{} + yyv1377 = []HostPortRange{} yyc1377 = true } else if len(yyv1377) != 0 { yyv1377 = yyv1377[:0] @@ -16662,15 +17214,15 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * yyrg1377 := len(yyv1377) > 0 yyv21377 := yyv1377 - yyrl1377, yyrt1377 = z.DecInferLen(yyl1377, z.DecBasicHandle().MaxInitLen, 296) + yyrl1377, yyrt1377 = z.DecInferLen(yyl1377, z.DecBasicHandle().MaxInitLen, 16) if yyrt1377 { if yyrl1377 <= cap(yyv1377) { yyv1377 = yyv1377[:yyrl1377] } else { - yyv1377 = make([]ThirdPartyResource, yyrl1377) + yyv1377 = make([]HostPortRange, yyrl1377) } } else { - yyv1377 = make([]ThirdPartyResource, yyrl1377) + yyv1377 = make([]HostPortRange, yyrl1377) } yyc1377 = true yyrr1377 = len(yyv1377) @@ -16685,7 +17237,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * for ; yyj1377 < yyrr1377; yyj1377++ { yyh1377.ElemContainerState(yyj1377) if r.TryDecodeAsNil() { - yyv1377[yyj1377] = ThirdPartyResource{} + yyv1377[yyj1377] = HostPortRange{} } else { yyv1378 := &yyv1377[yyj1377] yyv1378.CodecDecodeSelf(d) @@ -16694,10 +17246,10 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } if yyrt1377 { for ; yyj1377 < yyl1377; yyj1377++ { - yyv1377 = append(yyv1377, ThirdPartyResource{}) + yyv1377 = append(yyv1377, HostPortRange{}) yyh1377.ElemContainerState(yyj1377) if r.TryDecodeAsNil() { - yyv1377[yyj1377] = ThirdPartyResource{} + yyv1377[yyj1377] = HostPortRange{} } else { yyv1379 := &yyv1377[yyj1377] yyv1379.CodecDecodeSelf(d) @@ -16711,13 +17263,13 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * for ; !r.CheckBreak(); yyj1377++ { if yyj1377 >= len(yyv1377) { - yyv1377 = append(yyv1377, ThirdPartyResource{}) // var yyz1377 ThirdPartyResource + yyv1377 = append(yyv1377, HostPortRange{}) // var yyz1377 HostPortRange yyc1377 = true } yyh1377.ElemContainerState(yyj1377) if yyj1377 < len(yyv1377) { if r.TryDecodeAsNil() { - yyv1377[yyj1377] = ThirdPartyResource{} + yyv1377[yyj1377] = HostPortRange{} } else { yyv1380 := &yyv1377[yyj1377] yyv1380.CodecDecodeSelf(d) @@ -16732,7 +17284,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * yyv1377 = yyv1377[:yyj1377] yyc1377 = true } else if yyj1377 == 0 && yyv1377 == nil { - yyv1377 = []ThirdPartyResource{} + yyv1377 = []HostPortRange{} yyc1377 = true } } @@ -16742,7 +17294,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } -func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16755,7 +17307,7 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16765,7 +17317,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode var yyc1383 bool if yyl1383 == 0 { if yyv1383 == nil { - yyv1383 = []Deployment{} + yyv1383 = []IDRange{} yyc1383 = true } else if len(yyv1383) != 0 { yyv1383 = yyv1383[:0] @@ -16778,15 +17330,15 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode yyrg1383 := len(yyv1383) > 0 yyv21383 := yyv1383 - yyrl1383, yyrt1383 = z.DecInferLen(yyl1383, z.DecBasicHandle().MaxInitLen, 800) + yyrl1383, yyrt1383 = z.DecInferLen(yyl1383, z.DecBasicHandle().MaxInitLen, 16) if yyrt1383 { if yyrl1383 <= cap(yyv1383) { yyv1383 = yyv1383[:yyrl1383] } else { - yyv1383 = make([]Deployment, yyrl1383) + yyv1383 = make([]IDRange, yyrl1383) } } else { - yyv1383 = make([]Deployment, yyrl1383) + yyv1383 = make([]IDRange, yyrl1383) } yyc1383 = true yyrr1383 = len(yyv1383) @@ -16801,7 +17353,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode for ; yyj1383 < yyrr1383; yyj1383++ { yyh1383.ElemContainerState(yyj1383) if r.TryDecodeAsNil() { - yyv1383[yyj1383] = Deployment{} + yyv1383[yyj1383] = IDRange{} } else { yyv1384 := &yyv1383[yyj1383] yyv1384.CodecDecodeSelf(d) @@ -16810,10 +17362,10 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } if yyrt1383 { for ; yyj1383 < yyl1383; yyj1383++ { - yyv1383 = append(yyv1383, Deployment{}) + yyv1383 = append(yyv1383, IDRange{}) yyh1383.ElemContainerState(yyj1383) if r.TryDecodeAsNil() { - yyv1383[yyj1383] = Deployment{} + yyv1383[yyj1383] = IDRange{} } else { yyv1385 := &yyv1383[yyj1383] yyv1385.CodecDecodeSelf(d) @@ -16827,13 +17379,13 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode for ; !r.CheckBreak(); yyj1383++ { if yyj1383 >= len(yyv1383) { - yyv1383 = append(yyv1383, Deployment{}) // var yyz1383 Deployment + yyv1383 = append(yyv1383, IDRange{}) // var yyz1383 IDRange yyc1383 = true } yyh1383.ElemContainerState(yyj1383) if yyj1383 < len(yyv1383) { if r.TryDecodeAsNil() { - yyv1383[yyj1383] = Deployment{} + yyv1383[yyj1383] = IDRange{} } else { yyv1386 := &yyv1383[yyj1383] yyv1386.CodecDecodeSelf(d) @@ -16848,7 +17400,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode yyv1383 = yyv1383[:yyj1383] yyc1383 = true } else if yyj1383 == 0 && yyv1383 == nil { - yyv1383 = []Deployment{} + yyv1383 = []IDRange{} yyc1383 = true } } @@ -16858,7 +17410,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16871,7 +17423,7 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16881,7 +17433,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) var yyc1389 bool if yyl1389 == 0 { if yyv1389 == nil { - yyv1389 = []DaemonSet{} + yyv1389 = []PodSecurityPolicy{} yyc1389 = true } else if len(yyv1389) != 0 { yyv1389 = yyv1389[:0] @@ -16894,15 +17446,15 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyrg1389 := len(yyv1389) > 0 yyv21389 := yyv1389 - yyrl1389, yyrt1389 = z.DecInferLen(yyl1389, z.DecBasicHandle().MaxInitLen, 728) + yyrl1389, yyrt1389 = z.DecInferLen(yyl1389, z.DecBasicHandle().MaxInitLen, 552) if yyrt1389 { if yyrl1389 <= cap(yyv1389) { yyv1389 = yyv1389[:yyrl1389] } else { - yyv1389 = make([]DaemonSet, yyrl1389) + yyv1389 = make([]PodSecurityPolicy, yyrl1389) } } else { - yyv1389 = make([]DaemonSet, yyrl1389) + yyv1389 = make([]PodSecurityPolicy, yyrl1389) } yyc1389 = true yyrr1389 = len(yyv1389) @@ -16917,7 +17469,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; yyj1389 < yyrr1389; yyj1389++ { yyh1389.ElemContainerState(yyj1389) if r.TryDecodeAsNil() { - yyv1389[yyj1389] = DaemonSet{} + yyv1389[yyj1389] = PodSecurityPolicy{} } else { yyv1390 := &yyv1389[yyj1389] yyv1390.CodecDecodeSelf(d) @@ -16926,10 +17478,10 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } if yyrt1389 { for ; yyj1389 < yyl1389; yyj1389++ { - yyv1389 = append(yyv1389, DaemonSet{}) + yyv1389 = append(yyv1389, PodSecurityPolicy{}) yyh1389.ElemContainerState(yyj1389) if r.TryDecodeAsNil() { - yyv1389[yyj1389] = DaemonSet{} + yyv1389[yyj1389] = PodSecurityPolicy{} } else { yyv1391 := &yyv1389[yyj1389] yyv1391.CodecDecodeSelf(d) @@ -16943,13 +17495,13 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj1389++ { if yyj1389 >= len(yyv1389) { - yyv1389 = append(yyv1389, DaemonSet{}) // var yyz1389 DaemonSet + yyv1389 = append(yyv1389, PodSecurityPolicy{}) // var yyz1389 PodSecurityPolicy yyc1389 = true } yyh1389.ElemContainerState(yyj1389) if yyj1389 < len(yyv1389) { if r.TryDecodeAsNil() { - yyv1389[yyj1389] = DaemonSet{} + yyv1389[yyj1389] = PodSecurityPolicy{} } else { yyv1392 := &yyv1389[yyj1389] yyv1392.CodecDecodeSelf(d) @@ -16964,7 +17516,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyv1389 = yyv1389[:yyj1389] yyc1389 = true } else if yyj1389 == 0 && yyv1389 == nil { - yyv1389 = []DaemonSet{} + yyv1389 = []PodSecurityPolicy{} yyc1389 = true } } @@ -16974,7 +17526,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } -func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngressRule, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16987,7 +17539,7 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngressRule, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16997,7 +17549,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD var yyc1395 bool if yyl1395 == 0 { if yyv1395 == nil { - yyv1395 = []ThirdPartyResourceData{} + yyv1395 = []NetworkPolicyIngressRule{} yyc1395 = true } else if len(yyv1395) != 0 { yyv1395 = yyv1395[:0] @@ -17010,15 +17562,15 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD yyrg1395 := len(yyv1395) > 0 yyv21395 := yyv1395 - yyrl1395, yyrt1395 = z.DecInferLen(yyl1395, z.DecBasicHandle().MaxInitLen, 280) + yyrl1395, yyrt1395 = z.DecInferLen(yyl1395, z.DecBasicHandle().MaxInitLen, 48) if yyrt1395 { if yyrl1395 <= cap(yyv1395) { yyv1395 = yyv1395[:yyrl1395] } else { - yyv1395 = make([]ThirdPartyResourceData, yyrl1395) + yyv1395 = make([]NetworkPolicyIngressRule, yyrl1395) } } else { - yyv1395 = make([]ThirdPartyResourceData, yyrl1395) + yyv1395 = make([]NetworkPolicyIngressRule, yyrl1395) } yyc1395 = true yyrr1395 = len(yyv1395) @@ -17033,7 +17585,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD for ; yyj1395 < yyrr1395; yyj1395++ { yyh1395.ElemContainerState(yyj1395) if r.TryDecodeAsNil() { - yyv1395[yyj1395] = ThirdPartyResourceData{} + yyv1395[yyj1395] = NetworkPolicyIngressRule{} } else { yyv1396 := &yyv1395[yyj1395] yyv1396.CodecDecodeSelf(d) @@ -17042,10 +17594,10 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } if yyrt1395 { for ; yyj1395 < yyl1395; yyj1395++ { - yyv1395 = append(yyv1395, ThirdPartyResourceData{}) + yyv1395 = append(yyv1395, NetworkPolicyIngressRule{}) yyh1395.ElemContainerState(yyj1395) if r.TryDecodeAsNil() { - yyv1395[yyj1395] = ThirdPartyResourceData{} + yyv1395[yyj1395] = NetworkPolicyIngressRule{} } else { yyv1397 := &yyv1395[yyj1395] yyv1397.CodecDecodeSelf(d) @@ -17059,13 +17611,13 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD for ; !r.CheckBreak(); yyj1395++ { if yyj1395 >= len(yyv1395) { - yyv1395 = append(yyv1395, ThirdPartyResourceData{}) // var yyz1395 ThirdPartyResourceData + yyv1395 = append(yyv1395, NetworkPolicyIngressRule{}) // var yyz1395 NetworkPolicyIngressRule yyc1395 = true } yyh1395.ElemContainerState(yyj1395) if yyj1395 < len(yyv1395) { if r.TryDecodeAsNil() { - yyv1395[yyj1395] = ThirdPartyResourceData{} + yyv1395[yyj1395] = NetworkPolicyIngressRule{} } else { yyv1398 := &yyv1395[yyj1395] yyv1398.CodecDecodeSelf(d) @@ -17080,7 +17632,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD yyv1395 = yyv1395[:yyj1395] yyc1395 = true } else if yyj1395 == 0 && yyv1395 == nil { - yyv1395 = []ThirdPartyResourceData{} + yyv1395 = []NetworkPolicyIngressRule{} yyc1395 = true } } @@ -17090,7 +17642,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } -func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17103,7 +17655,7 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17113,7 +17665,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { var yyc1401 bool if yyl1401 == 0 { if yyv1401 == nil { - yyv1401 = []Ingress{} + yyv1401 = []NetworkPolicyPort{} yyc1401 = true } else if len(yyv1401) != 0 { yyv1401 = yyv1401[:0] @@ -17126,15 +17678,15 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyrg1401 := len(yyv1401) > 0 yyv21401 := yyv1401 - yyrl1401, yyrt1401 = z.DecInferLen(yyl1401, z.DecBasicHandle().MaxInitLen, 336) + yyrl1401, yyrt1401 = z.DecInferLen(yyl1401, z.DecBasicHandle().MaxInitLen, 16) if yyrt1401 { if yyrl1401 <= cap(yyv1401) { yyv1401 = yyv1401[:yyrl1401] } else { - yyv1401 = make([]Ingress, yyrl1401) + yyv1401 = make([]NetworkPolicyPort, yyrl1401) } } else { - yyv1401 = make([]Ingress, yyrl1401) + yyv1401 = make([]NetworkPolicyPort, yyrl1401) } yyc1401 = true yyrr1401 = len(yyv1401) @@ -17149,7 +17701,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; yyj1401 < yyrr1401; yyj1401++ { yyh1401.ElemContainerState(yyj1401) if r.TryDecodeAsNil() { - yyv1401[yyj1401] = Ingress{} + yyv1401[yyj1401] = NetworkPolicyPort{} } else { yyv1402 := &yyv1401[yyj1401] yyv1402.CodecDecodeSelf(d) @@ -17158,10 +17710,10 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } if yyrt1401 { for ; yyj1401 < yyl1401; yyj1401++ { - yyv1401 = append(yyv1401, Ingress{}) + yyv1401 = append(yyv1401, NetworkPolicyPort{}) yyh1401.ElemContainerState(yyj1401) if r.TryDecodeAsNil() { - yyv1401[yyj1401] = Ingress{} + yyv1401[yyj1401] = NetworkPolicyPort{} } else { yyv1403 := &yyv1401[yyj1401] yyv1403.CodecDecodeSelf(d) @@ -17175,13 +17727,13 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj1401++ { if yyj1401 >= len(yyv1401) { - yyv1401 = append(yyv1401, Ingress{}) // var yyz1401 Ingress + yyv1401 = append(yyv1401, NetworkPolicyPort{}) // var yyz1401 NetworkPolicyPort yyc1401 = true } yyh1401.ElemContainerState(yyj1401) if yyj1401 < len(yyv1401) { if r.TryDecodeAsNil() { - yyv1401[yyj1401] = Ingress{} + yyv1401[yyj1401] = NetworkPolicyPort{} } else { yyv1404 := &yyv1401[yyj1401] yyv1404.CodecDecodeSelf(d) @@ -17196,7 +17748,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyv1401 = yyv1401[:yyj1401] yyc1401 = true } else if yyj1401 == 0 && yyv1401 == nil { - yyv1401 = []Ingress{} + yyv1401 = []NetworkPolicyPort{} yyc1401 = true } } @@ -17206,7 +17758,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17219,7 +17771,7 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17229,7 +17781,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode var yyc1407 bool if yyl1407 == 0 { if yyv1407 == nil { - yyv1407 = []IngressTLS{} + yyv1407 = []NetworkPolicyPeer{} yyc1407 = true } else if len(yyv1407) != 0 { yyv1407 = yyv1407[:0] @@ -17242,15 +17794,15 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyrg1407 := len(yyv1407) > 0 yyv21407 := yyv1407 - yyrl1407, yyrt1407 = z.DecInferLen(yyl1407, z.DecBasicHandle().MaxInitLen, 40) + yyrl1407, yyrt1407 = z.DecInferLen(yyl1407, z.DecBasicHandle().MaxInitLen, 16) if yyrt1407 { if yyrl1407 <= cap(yyv1407) { yyv1407 = yyv1407[:yyrl1407] } else { - yyv1407 = make([]IngressTLS, yyrl1407) + yyv1407 = make([]NetworkPolicyPeer, yyrl1407) } } else { - yyv1407 = make([]IngressTLS, yyrl1407) + yyv1407 = make([]NetworkPolicyPeer, yyrl1407) } yyc1407 = true yyrr1407 = len(yyv1407) @@ -17265,7 +17817,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; yyj1407 < yyrr1407; yyj1407++ { yyh1407.ElemContainerState(yyj1407) if r.TryDecodeAsNil() { - yyv1407[yyj1407] = IngressTLS{} + yyv1407[yyj1407] = NetworkPolicyPeer{} } else { yyv1408 := &yyv1407[yyj1407] yyv1408.CodecDecodeSelf(d) @@ -17274,10 +17826,10 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } if yyrt1407 { for ; yyj1407 < yyl1407; yyj1407++ { - yyv1407 = append(yyv1407, IngressTLS{}) + yyv1407 = append(yyv1407, NetworkPolicyPeer{}) yyh1407.ElemContainerState(yyj1407) if r.TryDecodeAsNil() { - yyv1407[yyj1407] = IngressTLS{} + yyv1407[yyj1407] = NetworkPolicyPeer{} } else { yyv1409 := &yyv1407[yyj1407] yyv1409.CodecDecodeSelf(d) @@ -17291,13 +17843,13 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; !r.CheckBreak(); yyj1407++ { if yyj1407 >= len(yyv1407) { - yyv1407 = append(yyv1407, IngressTLS{}) // var yyz1407 IngressTLS + yyv1407 = append(yyv1407, NetworkPolicyPeer{}) // var yyz1407 NetworkPolicyPeer yyc1407 = true } yyh1407.ElemContainerState(yyj1407) if yyj1407 < len(yyv1407) { if r.TryDecodeAsNil() { - yyv1407[yyj1407] = IngressTLS{} + yyv1407[yyj1407] = NetworkPolicyPeer{} } else { yyv1410 := &yyv1407[yyj1407] yyv1410.CodecDecodeSelf(d) @@ -17312,7 +17864,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyv1407 = yyv1407[:yyj1407] yyc1407 = true } else if yyj1407 == 0 && yyv1407 == nil { - yyv1407 = []IngressTLS{} + yyv1407 = []NetworkPolicyPeer{} yyc1407 = true } } @@ -17322,7 +17874,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17335,7 +17887,7 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17345,7 +17897,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco var yyc1413 bool if yyl1413 == 0 { if yyv1413 == nil { - yyv1413 = []IngressRule{} + yyv1413 = []NetworkPolicy{} yyc1413 = true } else if len(yyv1413) != 0 { yyv1413 = yyv1413[:0] @@ -17358,15 +17910,15 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyrg1413 := len(yyv1413) > 0 yyv21413 := yyv1413 - yyrl1413, yyrt1413 = z.DecInferLen(yyl1413, z.DecBasicHandle().MaxInitLen, 24) + yyrl1413, yyrt1413 = z.DecInferLen(yyl1413, z.DecBasicHandle().MaxInitLen, 312) if yyrt1413 { if yyrl1413 <= cap(yyv1413) { yyv1413 = yyv1413[:yyrl1413] } else { - yyv1413 = make([]IngressRule, yyrl1413) + yyv1413 = make([]NetworkPolicy, yyrl1413) } } else { - yyv1413 = make([]IngressRule, yyrl1413) + yyv1413 = make([]NetworkPolicy, yyrl1413) } yyc1413 = true yyrr1413 = len(yyv1413) @@ -17381,7 +17933,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; yyj1413 < yyrr1413; yyj1413++ { yyh1413.ElemContainerState(yyj1413) if r.TryDecodeAsNil() { - yyv1413[yyj1413] = IngressRule{} + yyv1413[yyj1413] = NetworkPolicy{} } else { yyv1414 := &yyv1413[yyj1413] yyv1414.CodecDecodeSelf(d) @@ -17390,10 +17942,10 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } if yyrt1413 { for ; yyj1413 < yyl1413; yyj1413++ { - yyv1413 = append(yyv1413, IngressRule{}) + yyv1413 = append(yyv1413, NetworkPolicy{}) yyh1413.ElemContainerState(yyj1413) if r.TryDecodeAsNil() { - yyv1413[yyj1413] = IngressRule{} + yyv1413[yyj1413] = NetworkPolicy{} } else { yyv1415 := &yyv1413[yyj1413] yyv1415.CodecDecodeSelf(d) @@ -17407,13 +17959,13 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; !r.CheckBreak(); yyj1413++ { if yyj1413 >= len(yyv1413) { - yyv1413 = append(yyv1413, IngressRule{}) // var yyz1413 IngressRule + yyv1413 = append(yyv1413, NetworkPolicy{}) // var yyz1413 NetworkPolicy yyc1413 = true } yyh1413.ElemContainerState(yyj1413) if yyj1413 < len(yyv1413) { if r.TryDecodeAsNil() { - yyv1413[yyj1413] = IngressRule{} + yyv1413[yyj1413] = NetworkPolicy{} } else { yyv1416 := &yyv1413[yyj1413] yyv1416.CodecDecodeSelf(d) @@ -17428,7 +17980,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyv1413 = yyv1413[:yyj1413] yyc1413 = true } else if yyj1413 == 0 && yyv1413 == nil { - yyv1413 = []IngressRule{} + yyv1413 = []NetworkPolicy{} yyc1413 = true } } @@ -17437,1383 +17989,3 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco *v = yyv1413 } } - -func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1417 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1418 := &yyv1417 - yy1418.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1419 := *v - yyh1419, yyl1419 := z.DecSliceHelperStart() - var yyc1419 bool - if yyl1419 == 0 { - if yyv1419 == nil { - yyv1419 = []HTTPIngressPath{} - yyc1419 = true - } else if len(yyv1419) != 0 { - yyv1419 = yyv1419[:0] - yyc1419 = true - } - } else if yyl1419 > 0 { - var yyrr1419, yyrl1419 int - var yyrt1419 bool - if yyl1419 > cap(yyv1419) { - - yyrg1419 := len(yyv1419) > 0 - yyv21419 := yyv1419 - yyrl1419, yyrt1419 = z.DecInferLen(yyl1419, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1419 { - if yyrl1419 <= cap(yyv1419) { - yyv1419 = yyv1419[:yyrl1419] - } else { - yyv1419 = make([]HTTPIngressPath, yyrl1419) - } - } else { - yyv1419 = make([]HTTPIngressPath, yyrl1419) - } - yyc1419 = true - yyrr1419 = len(yyv1419) - if yyrg1419 { - copy(yyv1419, yyv21419) - } - } else if yyl1419 != len(yyv1419) { - yyv1419 = yyv1419[:yyl1419] - yyc1419 = true - } - yyj1419 := 0 - for ; yyj1419 < yyrr1419; yyj1419++ { - yyh1419.ElemContainerState(yyj1419) - if r.TryDecodeAsNil() { - yyv1419[yyj1419] = HTTPIngressPath{} - } else { - yyv1420 := &yyv1419[yyj1419] - yyv1420.CodecDecodeSelf(d) - } - - } - if yyrt1419 { - for ; yyj1419 < yyl1419; yyj1419++ { - yyv1419 = append(yyv1419, HTTPIngressPath{}) - yyh1419.ElemContainerState(yyj1419) - if r.TryDecodeAsNil() { - yyv1419[yyj1419] = HTTPIngressPath{} - } else { - yyv1421 := &yyv1419[yyj1419] - yyv1421.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1419 := 0 - for ; !r.CheckBreak(); yyj1419++ { - - if yyj1419 >= len(yyv1419) { - yyv1419 = append(yyv1419, HTTPIngressPath{}) // var yyz1419 HTTPIngressPath - yyc1419 = true - } - yyh1419.ElemContainerState(yyj1419) - if yyj1419 < len(yyv1419) { - if r.TryDecodeAsNil() { - yyv1419[yyj1419] = HTTPIngressPath{} - } else { - yyv1422 := &yyv1419[yyj1419] - yyv1422.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1419 < len(yyv1419) { - yyv1419 = yyv1419[:yyj1419] - yyc1419 = true - } else if yyj1419 == 0 && yyv1419 == nil { - yyv1419 = []HTTPIngressPath{} - yyc1419 = true - } - } - yyh1419.End() - if yyc1419 { - *v = yyv1419 - } -} - -func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1423 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1424 := &yyv1423 - yy1424.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1425 := *v - yyh1425, yyl1425 := z.DecSliceHelperStart() - var yyc1425 bool - if yyl1425 == 0 { - if yyv1425 == nil { - yyv1425 = []ReplicaSet{} - yyc1425 = true - } else if len(yyv1425) != 0 { - yyv1425 = yyv1425[:0] - yyc1425 = true - } - } else if yyl1425 > 0 { - var yyrr1425, yyrl1425 int - var yyrt1425 bool - if yyl1425 > cap(yyv1425) { - - yyrg1425 := len(yyv1425) > 0 - yyv21425 := yyv1425 - yyrl1425, yyrt1425 = z.DecInferLen(yyl1425, z.DecBasicHandle().MaxInitLen, 744) - if yyrt1425 { - if yyrl1425 <= cap(yyv1425) { - yyv1425 = yyv1425[:yyrl1425] - } else { - yyv1425 = make([]ReplicaSet, yyrl1425) - } - } else { - yyv1425 = make([]ReplicaSet, yyrl1425) - } - yyc1425 = true - yyrr1425 = len(yyv1425) - if yyrg1425 { - copy(yyv1425, yyv21425) - } - } else if yyl1425 != len(yyv1425) { - yyv1425 = yyv1425[:yyl1425] - yyc1425 = true - } - yyj1425 := 0 - for ; yyj1425 < yyrr1425; yyj1425++ { - yyh1425.ElemContainerState(yyj1425) - if r.TryDecodeAsNil() { - yyv1425[yyj1425] = ReplicaSet{} - } else { - yyv1426 := &yyv1425[yyj1425] - yyv1426.CodecDecodeSelf(d) - } - - } - if yyrt1425 { - for ; yyj1425 < yyl1425; yyj1425++ { - yyv1425 = append(yyv1425, ReplicaSet{}) - yyh1425.ElemContainerState(yyj1425) - if r.TryDecodeAsNil() { - yyv1425[yyj1425] = ReplicaSet{} - } else { - yyv1427 := &yyv1425[yyj1425] - yyv1427.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1425 := 0 - for ; !r.CheckBreak(); yyj1425++ { - - if yyj1425 >= len(yyv1425) { - yyv1425 = append(yyv1425, ReplicaSet{}) // var yyz1425 ReplicaSet - yyc1425 = true - } - yyh1425.ElemContainerState(yyj1425) - if yyj1425 < len(yyv1425) { - if r.TryDecodeAsNil() { - yyv1425[yyj1425] = ReplicaSet{} - } else { - yyv1428 := &yyv1425[yyj1425] - yyv1428.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1425 < len(yyv1425) { - yyv1425 = yyv1425[:yyj1425] - yyc1425 = true - } else if yyj1425 == 0 && yyv1425 == nil { - yyv1425 = []ReplicaSet{} - yyc1425 = true - } - } - yyh1425.End() - if yyc1425 { - *v = yyv1425 - } -} - -func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1429 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1430 := z.EncBinary() - _ = yym1430 - if false { - } else if z.HasExtensions() && z.EncExt(yyv1429) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1429)) - } - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1431 := *v - yyh1431, yyl1431 := z.DecSliceHelperStart() - var yyc1431 bool - if yyl1431 == 0 { - if yyv1431 == nil { - yyv1431 = []pkg2_api.Capability{} - yyc1431 = true - } else if len(yyv1431) != 0 { - yyv1431 = yyv1431[:0] - yyc1431 = true - } - } else if yyl1431 > 0 { - var yyrr1431, yyrl1431 int - var yyrt1431 bool - if yyl1431 > cap(yyv1431) { - - yyrl1431, yyrt1431 = z.DecInferLen(yyl1431, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1431 { - if yyrl1431 <= cap(yyv1431) { - yyv1431 = yyv1431[:yyrl1431] - } else { - yyv1431 = make([]pkg2_api.Capability, yyrl1431) - } - } else { - yyv1431 = make([]pkg2_api.Capability, yyrl1431) - } - yyc1431 = true - yyrr1431 = len(yyv1431) - } else if yyl1431 != len(yyv1431) { - yyv1431 = yyv1431[:yyl1431] - yyc1431 = true - } - yyj1431 := 0 - for ; yyj1431 < yyrr1431; yyj1431++ { - yyh1431.ElemContainerState(yyj1431) - if r.TryDecodeAsNil() { - yyv1431[yyj1431] = "" - } else { - yyv1431[yyj1431] = pkg2_api.Capability(r.DecodeString()) - } - - } - if yyrt1431 { - for ; yyj1431 < yyl1431; yyj1431++ { - yyv1431 = append(yyv1431, "") - yyh1431.ElemContainerState(yyj1431) - if r.TryDecodeAsNil() { - yyv1431[yyj1431] = "" - } else { - yyv1431[yyj1431] = pkg2_api.Capability(r.DecodeString()) - } - - } - } - - } else { - yyj1431 := 0 - for ; !r.CheckBreak(); yyj1431++ { - - if yyj1431 >= len(yyv1431) { - yyv1431 = append(yyv1431, "") // var yyz1431 pkg2_api.Capability - yyc1431 = true - } - yyh1431.ElemContainerState(yyj1431) - if yyj1431 < len(yyv1431) { - if r.TryDecodeAsNil() { - yyv1431[yyj1431] = "" - } else { - yyv1431[yyj1431] = pkg2_api.Capability(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj1431 < len(yyv1431) { - yyv1431 = yyv1431[:yyj1431] - yyc1431 = true - } else if yyj1431 == 0 && yyv1431 == nil { - yyv1431 = []pkg2_api.Capability{} - yyc1431 = true - } - } - yyh1431.End() - if yyc1431 { - *v = yyv1431 - } -} - -func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1435 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1435.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1436 := *v - yyh1436, yyl1436 := z.DecSliceHelperStart() - var yyc1436 bool - if yyl1436 == 0 { - if yyv1436 == nil { - yyv1436 = []FSType{} - yyc1436 = true - } else if len(yyv1436) != 0 { - yyv1436 = yyv1436[:0] - yyc1436 = true - } - } else if yyl1436 > 0 { - var yyrr1436, yyrl1436 int - var yyrt1436 bool - if yyl1436 > cap(yyv1436) { - - yyrl1436, yyrt1436 = z.DecInferLen(yyl1436, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1436 { - if yyrl1436 <= cap(yyv1436) { - yyv1436 = yyv1436[:yyrl1436] - } else { - yyv1436 = make([]FSType, yyrl1436) - } - } else { - yyv1436 = make([]FSType, yyrl1436) - } - yyc1436 = true - yyrr1436 = len(yyv1436) - } else if yyl1436 != len(yyv1436) { - yyv1436 = yyv1436[:yyl1436] - yyc1436 = true - } - yyj1436 := 0 - for ; yyj1436 < yyrr1436; yyj1436++ { - yyh1436.ElemContainerState(yyj1436) - if r.TryDecodeAsNil() { - yyv1436[yyj1436] = "" - } else { - yyv1436[yyj1436] = FSType(r.DecodeString()) - } - - } - if yyrt1436 { - for ; yyj1436 < yyl1436; yyj1436++ { - yyv1436 = append(yyv1436, "") - yyh1436.ElemContainerState(yyj1436) - if r.TryDecodeAsNil() { - yyv1436[yyj1436] = "" - } else { - yyv1436[yyj1436] = FSType(r.DecodeString()) - } - - } - } - - } else { - yyj1436 := 0 - for ; !r.CheckBreak(); yyj1436++ { - - if yyj1436 >= len(yyv1436) { - yyv1436 = append(yyv1436, "") // var yyz1436 FSType - yyc1436 = true - } - yyh1436.ElemContainerState(yyj1436) - if yyj1436 < len(yyv1436) { - if r.TryDecodeAsNil() { - yyv1436[yyj1436] = "" - } else { - yyv1436[yyj1436] = FSType(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj1436 < len(yyv1436) { - yyv1436 = yyv1436[:yyj1436] - yyc1436 = true - } else if yyj1436 == 0 && yyv1436 == nil { - yyv1436 = []FSType{} - yyc1436 = true - } - } - yyh1436.End() - if yyc1436 { - *v = yyv1436 - } -} - -func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1440 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1441 := &yyv1440 - yy1441.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1442 := *v - yyh1442, yyl1442 := z.DecSliceHelperStart() - var yyc1442 bool - if yyl1442 == 0 { - if yyv1442 == nil { - yyv1442 = []HostPortRange{} - yyc1442 = true - } else if len(yyv1442) != 0 { - yyv1442 = yyv1442[:0] - yyc1442 = true - } - } else if yyl1442 > 0 { - var yyrr1442, yyrl1442 int - var yyrt1442 bool - if yyl1442 > cap(yyv1442) { - - yyrg1442 := len(yyv1442) > 0 - yyv21442 := yyv1442 - yyrl1442, yyrt1442 = z.DecInferLen(yyl1442, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1442 { - if yyrl1442 <= cap(yyv1442) { - yyv1442 = yyv1442[:yyrl1442] - } else { - yyv1442 = make([]HostPortRange, yyrl1442) - } - } else { - yyv1442 = make([]HostPortRange, yyrl1442) - } - yyc1442 = true - yyrr1442 = len(yyv1442) - if yyrg1442 { - copy(yyv1442, yyv21442) - } - } else if yyl1442 != len(yyv1442) { - yyv1442 = yyv1442[:yyl1442] - yyc1442 = true - } - yyj1442 := 0 - for ; yyj1442 < yyrr1442; yyj1442++ { - yyh1442.ElemContainerState(yyj1442) - if r.TryDecodeAsNil() { - yyv1442[yyj1442] = HostPortRange{} - } else { - yyv1443 := &yyv1442[yyj1442] - yyv1443.CodecDecodeSelf(d) - } - - } - if yyrt1442 { - for ; yyj1442 < yyl1442; yyj1442++ { - yyv1442 = append(yyv1442, HostPortRange{}) - yyh1442.ElemContainerState(yyj1442) - if r.TryDecodeAsNil() { - yyv1442[yyj1442] = HostPortRange{} - } else { - yyv1444 := &yyv1442[yyj1442] - yyv1444.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1442 := 0 - for ; !r.CheckBreak(); yyj1442++ { - - if yyj1442 >= len(yyv1442) { - yyv1442 = append(yyv1442, HostPortRange{}) // var yyz1442 HostPortRange - yyc1442 = true - } - yyh1442.ElemContainerState(yyj1442) - if yyj1442 < len(yyv1442) { - if r.TryDecodeAsNil() { - yyv1442[yyj1442] = HostPortRange{} - } else { - yyv1445 := &yyv1442[yyj1442] - yyv1445.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1442 < len(yyv1442) { - yyv1442 = yyv1442[:yyj1442] - yyc1442 = true - } else if yyj1442 == 0 && yyv1442 == nil { - yyv1442 = []HostPortRange{} - yyc1442 = true - } - } - yyh1442.End() - if yyc1442 { - *v = yyv1442 - } -} - -func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1446 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1447 := &yyv1446 - yy1447.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1448 := *v - yyh1448, yyl1448 := z.DecSliceHelperStart() - var yyc1448 bool - if yyl1448 == 0 { - if yyv1448 == nil { - yyv1448 = []IDRange{} - yyc1448 = true - } else if len(yyv1448) != 0 { - yyv1448 = yyv1448[:0] - yyc1448 = true - } - } else if yyl1448 > 0 { - var yyrr1448, yyrl1448 int - var yyrt1448 bool - if yyl1448 > cap(yyv1448) { - - yyrg1448 := len(yyv1448) > 0 - yyv21448 := yyv1448 - yyrl1448, yyrt1448 = z.DecInferLen(yyl1448, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1448 { - if yyrl1448 <= cap(yyv1448) { - yyv1448 = yyv1448[:yyrl1448] - } else { - yyv1448 = make([]IDRange, yyrl1448) - } - } else { - yyv1448 = make([]IDRange, yyrl1448) - } - yyc1448 = true - yyrr1448 = len(yyv1448) - if yyrg1448 { - copy(yyv1448, yyv21448) - } - } else if yyl1448 != len(yyv1448) { - yyv1448 = yyv1448[:yyl1448] - yyc1448 = true - } - yyj1448 := 0 - for ; yyj1448 < yyrr1448; yyj1448++ { - yyh1448.ElemContainerState(yyj1448) - if r.TryDecodeAsNil() { - yyv1448[yyj1448] = IDRange{} - } else { - yyv1449 := &yyv1448[yyj1448] - yyv1449.CodecDecodeSelf(d) - } - - } - if yyrt1448 { - for ; yyj1448 < yyl1448; yyj1448++ { - yyv1448 = append(yyv1448, IDRange{}) - yyh1448.ElemContainerState(yyj1448) - if r.TryDecodeAsNil() { - yyv1448[yyj1448] = IDRange{} - } else { - yyv1450 := &yyv1448[yyj1448] - yyv1450.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1448 := 0 - for ; !r.CheckBreak(); yyj1448++ { - - if yyj1448 >= len(yyv1448) { - yyv1448 = append(yyv1448, IDRange{}) // var yyz1448 IDRange - yyc1448 = true - } - yyh1448.ElemContainerState(yyj1448) - if yyj1448 < len(yyv1448) { - if r.TryDecodeAsNil() { - yyv1448[yyj1448] = IDRange{} - } else { - yyv1451 := &yyv1448[yyj1448] - yyv1451.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1448 < len(yyv1448) { - yyv1448 = yyv1448[:yyj1448] - yyc1448 = true - } else if yyj1448 == 0 && yyv1448 == nil { - yyv1448 = []IDRange{} - yyc1448 = true - } - } - yyh1448.End() - if yyc1448 { - *v = yyv1448 - } -} - -func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1452 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1453 := &yyv1452 - yy1453.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1454 := *v - yyh1454, yyl1454 := z.DecSliceHelperStart() - var yyc1454 bool - if yyl1454 == 0 { - if yyv1454 == nil { - yyv1454 = []PodSecurityPolicy{} - yyc1454 = true - } else if len(yyv1454) != 0 { - yyv1454 = yyv1454[:0] - yyc1454 = true - } - } else if yyl1454 > 0 { - var yyrr1454, yyrl1454 int - var yyrt1454 bool - if yyl1454 > cap(yyv1454) { - - yyrg1454 := len(yyv1454) > 0 - yyv21454 := yyv1454 - yyrl1454, yyrt1454 = z.DecInferLen(yyl1454, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1454 { - if yyrl1454 <= cap(yyv1454) { - yyv1454 = yyv1454[:yyrl1454] - } else { - yyv1454 = make([]PodSecurityPolicy, yyrl1454) - } - } else { - yyv1454 = make([]PodSecurityPolicy, yyrl1454) - } - yyc1454 = true - yyrr1454 = len(yyv1454) - if yyrg1454 { - copy(yyv1454, yyv21454) - } - } else if yyl1454 != len(yyv1454) { - yyv1454 = yyv1454[:yyl1454] - yyc1454 = true - } - yyj1454 := 0 - for ; yyj1454 < yyrr1454; yyj1454++ { - yyh1454.ElemContainerState(yyj1454) - if r.TryDecodeAsNil() { - yyv1454[yyj1454] = PodSecurityPolicy{} - } else { - yyv1455 := &yyv1454[yyj1454] - yyv1455.CodecDecodeSelf(d) - } - - } - if yyrt1454 { - for ; yyj1454 < yyl1454; yyj1454++ { - yyv1454 = append(yyv1454, PodSecurityPolicy{}) - yyh1454.ElemContainerState(yyj1454) - if r.TryDecodeAsNil() { - yyv1454[yyj1454] = PodSecurityPolicy{} - } else { - yyv1456 := &yyv1454[yyj1454] - yyv1456.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1454 := 0 - for ; !r.CheckBreak(); yyj1454++ { - - if yyj1454 >= len(yyv1454) { - yyv1454 = append(yyv1454, PodSecurityPolicy{}) // var yyz1454 PodSecurityPolicy - yyc1454 = true - } - yyh1454.ElemContainerState(yyj1454) - if yyj1454 < len(yyv1454) { - if r.TryDecodeAsNil() { - yyv1454[yyj1454] = PodSecurityPolicy{} - } else { - yyv1457 := &yyv1454[yyj1454] - yyv1457.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1454 < len(yyv1454) { - yyv1454 = yyv1454[:yyj1454] - yyc1454 = true - } else if yyj1454 == 0 && yyv1454 == nil { - yyv1454 = []PodSecurityPolicy{} - yyc1454 = true - } - } - yyh1454.End() - if yyc1454 { - *v = yyv1454 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngressRule, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1458 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1459 := &yyv1458 - yy1459.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngressRule, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1460 := *v - yyh1460, yyl1460 := z.DecSliceHelperStart() - var yyc1460 bool - if yyl1460 == 0 { - if yyv1460 == nil { - yyv1460 = []NetworkPolicyIngressRule{} - yyc1460 = true - } else if len(yyv1460) != 0 { - yyv1460 = yyv1460[:0] - yyc1460 = true - } - } else if yyl1460 > 0 { - var yyrr1460, yyrl1460 int - var yyrt1460 bool - if yyl1460 > cap(yyv1460) { - - yyrg1460 := len(yyv1460) > 0 - yyv21460 := yyv1460 - yyrl1460, yyrt1460 = z.DecInferLen(yyl1460, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1460 { - if yyrl1460 <= cap(yyv1460) { - yyv1460 = yyv1460[:yyrl1460] - } else { - yyv1460 = make([]NetworkPolicyIngressRule, yyrl1460) - } - } else { - yyv1460 = make([]NetworkPolicyIngressRule, yyrl1460) - } - yyc1460 = true - yyrr1460 = len(yyv1460) - if yyrg1460 { - copy(yyv1460, yyv21460) - } - } else if yyl1460 != len(yyv1460) { - yyv1460 = yyv1460[:yyl1460] - yyc1460 = true - } - yyj1460 := 0 - for ; yyj1460 < yyrr1460; yyj1460++ { - yyh1460.ElemContainerState(yyj1460) - if r.TryDecodeAsNil() { - yyv1460[yyj1460] = NetworkPolicyIngressRule{} - } else { - yyv1461 := &yyv1460[yyj1460] - yyv1461.CodecDecodeSelf(d) - } - - } - if yyrt1460 { - for ; yyj1460 < yyl1460; yyj1460++ { - yyv1460 = append(yyv1460, NetworkPolicyIngressRule{}) - yyh1460.ElemContainerState(yyj1460) - if r.TryDecodeAsNil() { - yyv1460[yyj1460] = NetworkPolicyIngressRule{} - } else { - yyv1462 := &yyv1460[yyj1460] - yyv1462.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1460 := 0 - for ; !r.CheckBreak(); yyj1460++ { - - if yyj1460 >= len(yyv1460) { - yyv1460 = append(yyv1460, NetworkPolicyIngressRule{}) // var yyz1460 NetworkPolicyIngressRule - yyc1460 = true - } - yyh1460.ElemContainerState(yyj1460) - if yyj1460 < len(yyv1460) { - if r.TryDecodeAsNil() { - yyv1460[yyj1460] = NetworkPolicyIngressRule{} - } else { - yyv1463 := &yyv1460[yyj1460] - yyv1463.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1460 < len(yyv1460) { - yyv1460 = yyv1460[:yyj1460] - yyc1460 = true - } else if yyj1460 == 0 && yyv1460 == nil { - yyv1460 = []NetworkPolicyIngressRule{} - yyc1460 = true - } - } - yyh1460.End() - if yyc1460 { - *v = yyv1460 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1464 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1465 := &yyv1464 - yy1465.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1466 := *v - yyh1466, yyl1466 := z.DecSliceHelperStart() - var yyc1466 bool - if yyl1466 == 0 { - if yyv1466 == nil { - yyv1466 = []NetworkPolicyPort{} - yyc1466 = true - } else if len(yyv1466) != 0 { - yyv1466 = yyv1466[:0] - yyc1466 = true - } - } else if yyl1466 > 0 { - var yyrr1466, yyrl1466 int - var yyrt1466 bool - if yyl1466 > cap(yyv1466) { - - yyrg1466 := len(yyv1466) > 0 - yyv21466 := yyv1466 - yyrl1466, yyrt1466 = z.DecInferLen(yyl1466, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1466 { - if yyrl1466 <= cap(yyv1466) { - yyv1466 = yyv1466[:yyrl1466] - } else { - yyv1466 = make([]NetworkPolicyPort, yyrl1466) - } - } else { - yyv1466 = make([]NetworkPolicyPort, yyrl1466) - } - yyc1466 = true - yyrr1466 = len(yyv1466) - if yyrg1466 { - copy(yyv1466, yyv21466) - } - } else if yyl1466 != len(yyv1466) { - yyv1466 = yyv1466[:yyl1466] - yyc1466 = true - } - yyj1466 := 0 - for ; yyj1466 < yyrr1466; yyj1466++ { - yyh1466.ElemContainerState(yyj1466) - if r.TryDecodeAsNil() { - yyv1466[yyj1466] = NetworkPolicyPort{} - } else { - yyv1467 := &yyv1466[yyj1466] - yyv1467.CodecDecodeSelf(d) - } - - } - if yyrt1466 { - for ; yyj1466 < yyl1466; yyj1466++ { - yyv1466 = append(yyv1466, NetworkPolicyPort{}) - yyh1466.ElemContainerState(yyj1466) - if r.TryDecodeAsNil() { - yyv1466[yyj1466] = NetworkPolicyPort{} - } else { - yyv1468 := &yyv1466[yyj1466] - yyv1468.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1466 := 0 - for ; !r.CheckBreak(); yyj1466++ { - - if yyj1466 >= len(yyv1466) { - yyv1466 = append(yyv1466, NetworkPolicyPort{}) // var yyz1466 NetworkPolicyPort - yyc1466 = true - } - yyh1466.ElemContainerState(yyj1466) - if yyj1466 < len(yyv1466) { - if r.TryDecodeAsNil() { - yyv1466[yyj1466] = NetworkPolicyPort{} - } else { - yyv1469 := &yyv1466[yyj1466] - yyv1469.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1466 < len(yyv1466) { - yyv1466 = yyv1466[:yyj1466] - yyc1466 = true - } else if yyj1466 == 0 && yyv1466 == nil { - yyv1466 = []NetworkPolicyPort{} - yyc1466 = true - } - } - yyh1466.End() - if yyc1466 { - *v = yyv1466 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1470 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1471 := &yyv1470 - yy1471.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1472 := *v - yyh1472, yyl1472 := z.DecSliceHelperStart() - var yyc1472 bool - if yyl1472 == 0 { - if yyv1472 == nil { - yyv1472 = []NetworkPolicyPeer{} - yyc1472 = true - } else if len(yyv1472) != 0 { - yyv1472 = yyv1472[:0] - yyc1472 = true - } - } else if yyl1472 > 0 { - var yyrr1472, yyrl1472 int - var yyrt1472 bool - if yyl1472 > cap(yyv1472) { - - yyrg1472 := len(yyv1472) > 0 - yyv21472 := yyv1472 - yyrl1472, yyrt1472 = z.DecInferLen(yyl1472, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1472 { - if yyrl1472 <= cap(yyv1472) { - yyv1472 = yyv1472[:yyrl1472] - } else { - yyv1472 = make([]NetworkPolicyPeer, yyrl1472) - } - } else { - yyv1472 = make([]NetworkPolicyPeer, yyrl1472) - } - yyc1472 = true - yyrr1472 = len(yyv1472) - if yyrg1472 { - copy(yyv1472, yyv21472) - } - } else if yyl1472 != len(yyv1472) { - yyv1472 = yyv1472[:yyl1472] - yyc1472 = true - } - yyj1472 := 0 - for ; yyj1472 < yyrr1472; yyj1472++ { - yyh1472.ElemContainerState(yyj1472) - if r.TryDecodeAsNil() { - yyv1472[yyj1472] = NetworkPolicyPeer{} - } else { - yyv1473 := &yyv1472[yyj1472] - yyv1473.CodecDecodeSelf(d) - } - - } - if yyrt1472 { - for ; yyj1472 < yyl1472; yyj1472++ { - yyv1472 = append(yyv1472, NetworkPolicyPeer{}) - yyh1472.ElemContainerState(yyj1472) - if r.TryDecodeAsNil() { - yyv1472[yyj1472] = NetworkPolicyPeer{} - } else { - yyv1474 := &yyv1472[yyj1472] - yyv1474.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1472 := 0 - for ; !r.CheckBreak(); yyj1472++ { - - if yyj1472 >= len(yyv1472) { - yyv1472 = append(yyv1472, NetworkPolicyPeer{}) // var yyz1472 NetworkPolicyPeer - yyc1472 = true - } - yyh1472.ElemContainerState(yyj1472) - if yyj1472 < len(yyv1472) { - if r.TryDecodeAsNil() { - yyv1472[yyj1472] = NetworkPolicyPeer{} - } else { - yyv1475 := &yyv1472[yyj1472] - yyv1475.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1472 < len(yyv1472) { - yyv1472 = yyv1472[:yyj1472] - yyc1472 = true - } else if yyj1472 == 0 && yyv1472 == nil { - yyv1472 = []NetworkPolicyPeer{} - yyc1472 = true - } - } - yyh1472.End() - if yyc1472 { - *v = yyv1472 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1476 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1477 := &yyv1476 - yy1477.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1478 := *v - yyh1478, yyl1478 := z.DecSliceHelperStart() - var yyc1478 bool - if yyl1478 == 0 { - if yyv1478 == nil { - yyv1478 = []NetworkPolicy{} - yyc1478 = true - } else if len(yyv1478) != 0 { - yyv1478 = yyv1478[:0] - yyc1478 = true - } - } else if yyl1478 > 0 { - var yyrr1478, yyrl1478 int - var yyrt1478 bool - if yyl1478 > cap(yyv1478) { - - yyrg1478 := len(yyv1478) > 0 - yyv21478 := yyv1478 - yyrl1478, yyrt1478 = z.DecInferLen(yyl1478, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1478 { - if yyrl1478 <= cap(yyv1478) { - yyv1478 = yyv1478[:yyrl1478] - } else { - yyv1478 = make([]NetworkPolicy, yyrl1478) - } - } else { - yyv1478 = make([]NetworkPolicy, yyrl1478) - } - yyc1478 = true - yyrr1478 = len(yyv1478) - if yyrg1478 { - copy(yyv1478, yyv21478) - } - } else if yyl1478 != len(yyv1478) { - yyv1478 = yyv1478[:yyl1478] - yyc1478 = true - } - yyj1478 := 0 - for ; yyj1478 < yyrr1478; yyj1478++ { - yyh1478.ElemContainerState(yyj1478) - if r.TryDecodeAsNil() { - yyv1478[yyj1478] = NetworkPolicy{} - } else { - yyv1479 := &yyv1478[yyj1478] - yyv1479.CodecDecodeSelf(d) - } - - } - if yyrt1478 { - for ; yyj1478 < yyl1478; yyj1478++ { - yyv1478 = append(yyv1478, NetworkPolicy{}) - yyh1478.ElemContainerState(yyj1478) - if r.TryDecodeAsNil() { - yyv1478[yyj1478] = NetworkPolicy{} - } else { - yyv1480 := &yyv1478[yyj1478] - yyv1480.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1478 := 0 - for ; !r.CheckBreak(); yyj1478++ { - - if yyj1478 >= len(yyv1478) { - yyv1478 = append(yyv1478, NetworkPolicy{}) // var yyz1478 NetworkPolicy - yyc1478 = true - } - yyh1478.ElemContainerState(yyj1478) - if yyj1478 < len(yyv1478) { - if r.TryDecodeAsNil() { - yyv1478[yyj1478] = NetworkPolicy{} - } else { - yyv1481 := &yyv1478[yyj1478] - yyv1481.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1478 < len(yyv1478) { - yyv1478 = yyv1478[:yyj1478] - yyc1478 = true - } else if yyj1478 == 0 && yyv1478 == nil { - yyv1478 = []NetworkPolicy{} - yyc1478 = true - } - } - yyh1478.End() - if yyc1478 { - *v = yyv1478 - } -} - -func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1482 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1483 := &yyv1482 - yy1483.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1484 := *v - yyh1484, yyl1484 := z.DecSliceHelperStart() - var yyc1484 bool - if yyl1484 == 0 { - if yyv1484 == nil { - yyv1484 = []StorageClass{} - yyc1484 = true - } else if len(yyv1484) != 0 { - yyv1484 = yyv1484[:0] - yyc1484 = true - } - } else if yyl1484 > 0 { - var yyrr1484, yyrl1484 int - var yyrt1484 bool - if yyl1484 > cap(yyv1484) { - - yyrg1484 := len(yyv1484) > 0 - yyv21484 := yyv1484 - yyrl1484, yyrt1484 = z.DecInferLen(yyl1484, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1484 { - if yyrl1484 <= cap(yyv1484) { - yyv1484 = yyv1484[:yyrl1484] - } else { - yyv1484 = make([]StorageClass, yyrl1484) - } - } else { - yyv1484 = make([]StorageClass, yyrl1484) - } - yyc1484 = true - yyrr1484 = len(yyv1484) - if yyrg1484 { - copy(yyv1484, yyv21484) - } - } else if yyl1484 != len(yyv1484) { - yyv1484 = yyv1484[:yyl1484] - yyc1484 = true - } - yyj1484 := 0 - for ; yyj1484 < yyrr1484; yyj1484++ { - yyh1484.ElemContainerState(yyj1484) - if r.TryDecodeAsNil() { - yyv1484[yyj1484] = StorageClass{} - } else { - yyv1485 := &yyv1484[yyj1484] - yyv1485.CodecDecodeSelf(d) - } - - } - if yyrt1484 { - for ; yyj1484 < yyl1484; yyj1484++ { - yyv1484 = append(yyv1484, StorageClass{}) - yyh1484.ElemContainerState(yyj1484) - if r.TryDecodeAsNil() { - yyv1484[yyj1484] = StorageClass{} - } else { - yyv1486 := &yyv1484[yyj1484] - yyv1486.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1484 := 0 - for ; !r.CheckBreak(); yyj1484++ { - - if yyj1484 >= len(yyv1484) { - yyv1484 = append(yyv1484, StorageClass{}) // var yyz1484 StorageClass - yyc1484 = true - } - yyh1484.ElemContainerState(yyj1484) - if yyj1484 < len(yyv1484) { - if r.TryDecodeAsNil() { - yyv1484[yyj1484] = StorageClass{} - } else { - yyv1487 := &yyv1484[yyj1484] - yyv1487.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1484 < len(yyv1484) { - yyv1484 = yyv1484[:yyj1484] - yyc1484 = true - } else if yyj1484 == 0 && yyv1484 == nil { - yyv1484 = []StorageClass{} - yyc1484 = true - } - } - yyh1484.End() - if yyc1484 { - *v = yyv1484 - } -} diff --git a/pkg/apis/extensions/v1beta1/generated.pb.go b/pkg/apis/extensions/v1beta1/generated.pb.go index 90b78b4eb11..04b190aa265 100644 --- a/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/pkg/apis/extensions/v1beta1/generated.pb.go @@ -88,8 +88,6 @@ limitations under the License. Scale ScaleSpec ScaleStatus - StorageClass - StorageClassList SubresourceReference SupplementalGroupsStrategyOptions ThirdPartyResource @@ -397,41 +395,33 @@ func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } func (*ScaleStatus) ProtoMessage() {} func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } -func (m *StorageClass) Reset() { *m = StorageClass{} } -func (*StorageClass) ProtoMessage() {} -func (*StorageClass) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } - -func (m *StorageClassList) Reset() { *m = StorageClassList{} } -func (*StorageClassList) ProtoMessage() {} -func (*StorageClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } - func (m *SubresourceReference) Reset() { *m = SubresourceReference{} } func (*SubresourceReference) ProtoMessage() {} -func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } +func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} } func (*SupplementalGroupsStrategyOptions) ProtoMessage() {} func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{66} + return fileDescriptorGenerated, []int{64} } func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} } func (*ThirdPartyResource) ProtoMessage() {} -func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} } +func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} } func (*ThirdPartyResourceData) ProtoMessage() {} -func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } +func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} } func (*ThirdPartyResourceDataList) ProtoMessage() {} func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{69} + return fileDescriptorGenerated, []int{67} } func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} } func (*ThirdPartyResourceList) ProtoMessage() {} -func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} } +func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } func init() { proto.RegisterType((*APIVersion)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.APIVersion") @@ -497,8 +487,6 @@ func init() { proto.RegisterType((*Scale)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.Scale") proto.RegisterType((*ScaleSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ScaleSpec") proto.RegisterType((*ScaleStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ScaleStatus") - proto.RegisterType((*StorageClass)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.StorageClass") - proto.RegisterType((*StorageClassList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.StorageClassList") proto.RegisterType((*SubresourceReference)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.SubresourceReference") proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.SupplementalGroupsStrategyOptions") proto.RegisterType((*ThirdPartyResource)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.ThirdPartyResource") @@ -2944,91 +2932,6 @@ func (m *ScaleStatus) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *StorageClass) 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 *StorageClass) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n72, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n72 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Provisioner))) - i += copy(data[i:], m.Provisioner) - if len(m.Parameters) > 0 { - for k := range m.Parameters { - data[i] = 0x1a - i++ - v := m.Parameters[k] - mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - i = encodeVarintGenerated(data, i, uint64(mapSize)) - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(k))) - i += copy(data[i:], k) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(v))) - i += copy(data[i:], v) - } - } - return i, nil -} - -func (m *StorageClassList) 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 *StorageClassList) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n73, err := m.ListMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n73 - if len(m.Items) > 0 { - for _, msg := range m.Items { - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(msg.Size())) - n, err := msg.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n - } - } - return i, nil -} - func (m *SubresourceReference) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -3115,11 +3018,11 @@ func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n74, err := m.ObjectMeta.MarshalTo(data[i:]) + n72, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n74 + i += n72 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Description))) @@ -3157,11 +3060,11 @@ func (m *ThirdPartyResourceData) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n75, err := m.ObjectMeta.MarshalTo(data[i:]) + n73, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n75 + i += n73 if m.Data != nil { data[i] = 0x12 i++ @@ -3189,11 +3092,11 @@ func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n76, err := m.ListMeta.MarshalTo(data[i:]) + n74, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n76 + i += n74 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3227,11 +3130,11 @@ func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n77, err := m.ListMeta.MarshalTo(data[i:]) + n75, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n77 + i += n75 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -4133,38 +4036,6 @@ func (m *ScaleStatus) Size() (n int) { return n } -func (m *StorageClass) Size() (n int) { - var l int - _ = l - l = m.ObjectMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = len(m.Provisioner) - n += 1 + l + sovGenerated(uint64(l)) - if len(m.Parameters) > 0 { - for k, v := range m.Parameters { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) - } - } - return n -} - -func (m *StorageClassList) Size() (n int) { - var l int - _ = l - l = m.ListMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - if len(m.Items) > 0 { - for _, e := range m.Items { - l = e.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - } - return n -} - func (m *SubresourceReference) Size() (n int) { var l int _ = l @@ -5030,39 +4901,6 @@ func (this *ScaleStatus) String() string { }, "") return s } -func (this *StorageClass) String() string { - if this == nil { - return "nil" - } - keysForParameters := make([]string, 0, len(this.Parameters)) - for k := range this.Parameters { - keysForParameters = append(keysForParameters, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForParameters) - mapStringForParameters := "map[string]string{" - for _, k := range keysForParameters { - mapStringForParameters += fmt.Sprintf("%v: %v,", k, this.Parameters[k]) - } - mapStringForParameters += "}" - s := strings.Join([]string{`&StorageClass{`, - `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, - `Provisioner:` + fmt.Sprintf("%v", this.Provisioner) + `,`, - `Parameters:` + mapStringForParameters + `,`, - `}`, - }, "") - return s -} -func (this *StorageClassList) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&StorageClassList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`, - `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StorageClass", "StorageClass", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} func (this *SubresourceReference) String() string { if this == nil { return "nil" @@ -13214,337 +13052,6 @@ func (m *ScaleStatus) Unmarshal(data []byte) error { } return nil } -func (m *StorageClass) 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: StorageClass: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StorageClass: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", 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 err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provisioner", 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.Provisioner = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Parameters", 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 - } - var keykey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - keykey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey := string(data[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - var valuekey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - valuekey |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue := string(data[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - if m.Parameters == nil { - m.Parameters = make(map[string]string) - } - m.Parameters[mapkey] = mapvalue - 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 (m *StorageClassList) 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: StorageClassList: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StorageClassList: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", 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 err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Items", 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 - } - m.Items = append(m.Items, StorageClass{}) - if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { - return err - } - 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 (m *SubresourceReference) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -14400,256 +13907,251 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 4015 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5c, 0xdb, 0x8f, 0x1c, 0x47, - 0x57, 0xcf, 0xcc, 0xec, 0x65, 0xa6, 0xf6, 0xea, 0xf2, 0xda, 0x9e, 0x6c, 0x12, 0x3b, 0xe9, 0x88, - 0x90, 0x88, 0x78, 0x16, 0x9b, 0x24, 0x38, 0x76, 0xe2, 0x64, 0x67, 0x2f, 0xb6, 0x93, 0x5d, 0x7b, - 0x52, 0xb3, 0x76, 0x42, 0xee, 0xbd, 0x33, 0xb5, 0xb3, 0xed, 0xed, 0x99, 0x9e, 0xf4, 0x65, 0xbd, - 0x13, 0x84, 0x12, 0x04, 0x48, 0xbc, 0x24, 0xe4, 0x8d, 0x48, 0xc0, 0x03, 0x12, 0x88, 0x07, 0x44, - 0x04, 0x12, 0x52, 0x1e, 0x78, 0x01, 0x24, 0x84, 0x79, 0x40, 0x84, 0x9b, 0xe0, 0x85, 0x04, 0x82, - 0x20, 0xfa, 0xfe, 0x85, 0x7c, 0x9f, 0xf4, 0x7d, 0xa7, 0xaa, 0xab, 0xbb, 0xab, 0x7a, 0xba, 0xc7, - 0xee, 0xd9, 0x8b, 0xf4, 0xe9, 0x7b, 0x58, 0xc5, 0x5d, 0xe7, 0x9c, 0xdf, 0x39, 0x55, 0x75, 0xea, - 0x9c, 0x53, 0x97, 0x09, 0x7a, 0x71, 0xe7, 0x82, 0x53, 0x31, 0xac, 0x85, 0x1d, 0x6f, 0x93, 0xda, - 0x1d, 0xea, 0x52, 0x67, 0xa1, 0xbb, 0xd3, 0x5a, 0xd0, 0xbb, 0x86, 0xb3, 0x40, 0xf7, 0x5c, 0xda, - 0x71, 0x0c, 0xab, 0xe3, 0x2c, 0xec, 0x9e, 0xdb, 0xa4, 0xae, 0x7e, 0x6e, 0xa1, 0x45, 0x3b, 0xd4, - 0xd6, 0x5d, 0xda, 0xac, 0x74, 0x6d, 0xcb, 0xb5, 0xf0, 0x59, 0x5f,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70, 0x9f, 0x8e, - 0xcb, 0x44, 0xfc, 0x14, 0xb6, 0x26, 0xa3, 0x10, 0x15, 0x94, 0x55, 0x1c, 0x62, 0xe7, 0x9f, 0x56, - 0x71, 0x2c, 0xa9, 0x64, 0x12, 0xe7, 0x67, 0x10, 0x62, 0x63, 0x1e, 0xab, 0x37, 0x42, 0x88, 0x65, - 0x95, 0x4c, 0xe2, 0xfc, 0x50, 0xf5, 0x9d, 0x11, 0xa8, 0xea, 0xf0, 0x4b, 0xa7, 0xc7, 0x7e, 0xdd, - 0xf1, 0x38, 0xc0, 0x9d, 0x59, 0x1a, 0xcc, 0x4a, 0xee, 0x85, 0xa5, 0xad, 0xa3, 0xa9, 0xab, 0x96, - 0xe3, 0xd6, 0x58, 0x4a, 0x66, 0x79, 0x0b, 0x3f, 0x82, 0x0a, 0xe0, 0x9c, 0x62, 0x27, 0x32, 0x21, - 0xcc, 0x2e, 0x30, 0xe7, 0x65, 0xed, 0x9c, 0xac, 0xef, 0x09, 0xbf, 0x8e, 0xc8, 0xe0, 0x97, 0xac, - 0x5d, 0xbb, 0x82, 0xc6, 0x45, 0x5e, 0x94, 0x81, 0x0a, 0x83, 0x81, 0x0a, 0x09, 0x40, 0x7f, 0x92, - 0x07, 0x24, 0x3f, 0x8d, 0x1c, 0x62, 0x42, 0x78, 0x5b, 0x49, 0x08, 0x17, 0x87, 0x4b, 0xb5, 0xa9, - 0x09, 0xa0, 0x19, 0x4b, 0x00, 0x2f, 0x0c, 0x89, 0x3f, 0x38, 0xe0, 0x7f, 0x91, 0x43, 0xd3, 0x6a, - 0xd2, 0x67, 0x11, 0x85, 0xad, 0x21, 0xa3, 0x41, 0xaf, 0x47, 0x1b, 0xfe, 0x30, 0xa2, 0xd4, 0x23, - 0x12, 0x91, 0xf9, 0x30, 0x0d, 0xc5, 0x98, 0x3b, 0x88, 0x41, 0xa9, 0xa4, 0x18, 0xcd, 0xae, 0x4e, - 0x2a, 0xfe, 0xd5, 0x09, 0x18, 0xea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00, 0x00, + // 3921 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x1b, 0x4d, 0x8f, 0x1c, 0x47, + 0x35, 0x33, 0xb3, 0x1f, 0x33, 0xb5, 0x1f, 0x5e, 0x97, 0xd7, 0xf6, 0x64, 0x93, 0xd8, 0x49, 0x47, + 0x84, 0x44, 0xc4, 0xb3, 0xd8, 0x24, 0xc1, 0x71, 0x12, 0x27, 0x3b, 0xfb, 0x61, 0x3b, 0xd9, 0xb5, + 0x27, 0x35, 0x6b, 0x27, 0xe4, 0x93, 0xde, 0x99, 0xda, 0xd9, 0xf6, 0xf6, 0x4c, 0x4f, 0xfa, 0x63, + 0xbd, 0x13, 0x84, 0x08, 0x02, 0x24, 0x2e, 0x09, 0xb9, 0x11, 0x09, 0x38, 0x20, 0x81, 0x38, 0x20, + 0x22, 0x90, 0x90, 0x72, 0xe0, 0x02, 0x48, 0x08, 0x73, 0x40, 0x04, 0x04, 0x82, 0x0b, 0x09, 0x04, + 0x41, 0xc4, 0x5f, 0x08, 0x48, 0xf0, 0xaa, 0xba, 0xba, 0xbb, 0xaa, 0xa7, 0x7b, 0xec, 0x99, 0xfd, + 0x90, 0x10, 0x87, 0x95, 0xdd, 0xf5, 0x3e, 0xeb, 0xd5, 0xab, 0xf7, 0x5e, 0x55, 0xbd, 0x41, 0x8f, + 0x6d, 0x9e, 0x76, 0x4a, 0x86, 0x35, 0xbb, 0xe9, 0xad, 0x51, 0xbb, 0x45, 0x5d, 0xea, 0xcc, 0xb6, + 0x37, 0x1b, 0xb3, 0x7a, 0xdb, 0x70, 0x66, 0xe9, 0xb6, 0x4b, 0x5b, 0x8e, 0x61, 0xb5, 0x9c, 0xd9, + 0xad, 0x93, 0x6b, 0xd4, 0xd5, 0x4f, 0xce, 0x36, 0x68, 0x8b, 0xda, 0xba, 0x4b, 0xeb, 0xa5, 0xb6, + 0x6d, 0xb9, 0x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 0xb7, 0x5a, 0xeb, 0x46, 0x23, + 0xf2, 0x76, 0x12, 0x32, 0x26, 0x92, 0x90, 0x99, 0x45, 0x74, 0x34, 0x45, 0x7b, 0x3c, 0x85, 0x72, + 0x9b, 0xb4, 0xe3, 0x9b, 0x95, 0xb0, 0xff, 0xe2, 0x69, 0xb9, 0x90, 0x28, 0x88, 0x2a, 0xe0, 0x4c, + 0xf6, 0x74, 0x46, 0x7b, 0x6b, 0x58, 0x76, 0x36, 0x1e, 0x87, 0xef, 0x45, 0x79, 0x1b, 0x46, 0x8c, + 0x9a, 0xee, 0x88, 0x00, 0xc5, 0x23, 0x29, 0x11, 0x63, 0x24, 0x84, 0x2a, 0x11, 0x3b, 0xbb, 0x4f, + 0x11, 0x3b, 0xb7, 0xcb, 0x11, 0x1b, 0x5b, 0x30, 0x09, 0x97, 0xd5, 0xd9, 0x8d, 0x4e, 0x71, 0x88, + 0x33, 0x9f, 0xdb, 0xc1, 0xce, 0xf6, 0x19, 0x45, 0x02, 0x83, 0x11, 0x12, 0x0a, 0xc1, 0x73, 0xe8, + 0x40, 0xd3, 0x68, 0x11, 0xaa, 0xd7, 0x3b, 0x55, 0x5a, 0xb3, 0x5a, 0x75, 0xa7, 0x38, 0xcc, 0xcd, + 0x7c, 0x54, 0x10, 0x1d, 0x58, 0x51, 0xc1, 0x24, 0x8e, 0x8f, 0x97, 0xd1, 0xb4, 0x4d, 0xb7, 0x0c, + 0xa6, 0xc6, 0x79, 0xd8, 0xce, 0x96, 0xdd, 0x59, 0x36, 0x9a, 0x86, 0x5b, 0x1c, 0xf1, 0xcb, 0x78, + 0xe0, 0x31, 0x4d, 0x12, 0xe0, 0x24, 0x91, 0x0a, 0xdf, 0x83, 0x46, 0xda, 0xba, 0xe7, 0x40, 0xac, + 0x1f, 0x05, 0xfa, 0x7c, 0x14, 0x98, 0x2a, 0x7c, 0x94, 0x08, 0x28, 0x94, 0xcd, 0xb2, 0x97, 0xe7, + 0x77, 0xc3, 0xcb, 0x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0x0f, 0xa5, 0x14, 0x0d, 0xb3, + 0xa7, 0x96, 0x20, 0x22, 0xec, 0x48, 0x03, 0x76, 0x82, 0x97, 0xee, 0xf4, 0x19, 0x5b, 0xe2, 0x73, + 0x67, 0xf3, 0x5c, 0xb7, 0xad, 0xa6, 0xd8, 0xeb, 0x3b, 0x93, 0x42, 0xa9, 0x1d, 0xcd, 0x73, 0x09, + 0xb8, 0x12, 0xce, 0x5b, 0xfb, 0x43, 0x06, 0x1d, 0x54, 0x30, 0xf7, 0xa3, 0x88, 0xd2, 0xd5, 0x22, + 0xea, 0xd1, 0x9d, 0xcc, 0x2c, 0xa5, 0x9c, 0xfa, 0x6a, 0x36, 0x36, 0x2f, 0x66, 0x01, 0x48, 0xcc, + 0x63, 0x6d, 0xab, 0x5e, 0xdd, 0xcd, 0x2e, 0x2d, 0xbf, 0x2c, 0x8b, 0x98, 0x12, 0x59, 0x02, 0xfe, + 0x22, 0x98, 0x97, 0x75, 0x82, 0x38, 0x6d, 0xbd, 0x46, 0xab, 0xbb, 0xd9, 0x6b, 0x70, 0x98, 0x3d, + 0xb6, 0x5e, 0x8c, 0xb3, 0x26, 0xdd, 0xd2, 0xb4, 0x1f, 0xc7, 0x97, 0x98, 0x39, 0x19, 0x7e, 0x1a, + 0xe5, 0x79, 0x5b, 0x6e, 0xcd, 0x32, 0x45, 0x24, 0x7b, 0x90, 0xad, 0x56, 0x45, 0x8c, 0x41, 0x14, + 0xfd, 0x58, 0xcf, 0x13, 0x4c, 0x80, 0x48, 0x42, 0x36, 0x78, 0x19, 0x0d, 0xb5, 0x07, 0xbf, 0xe7, + 0xe2, 0x17, 0x1b, 0xfc, 0x72, 0x8b, 0x73, 0xd1, 0xfe, 0x1d, 0x57, 0x9b, 0x97, 0xc6, 0xce, 0xee, + 0xaf, 0x60, 0x98, 0x81, 0x53, 0x57, 0xd1, 0x46, 0xa3, 0xe2, 0xba, 0x67, 0xc0, 0xbc, 0x9b, 0x16, + 0x49, 0xa2, 0x33,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, 0xfc, 0x9f, 0x27, 0x87, + 0xd7, 0x1a, 0x39, 0xee, 0xbd, 0x47, 0x04, 0xcd, 0xe4, 0xaa, 0x02, 0x25, 0x31, 0xec, 0x19, 0x88, + 0x9f, 0x8a, 0xb0, 0xbe, 0x6e, 0xe3, 0x7f, 0x91, 0x41, 0xd3, 0x49, 0x4d, 0x99, 0xac, 0xf3, 0x66, + 0xd3, 0x10, 0x5d, 0x24, 0x52, 0xe7, 0xcd, 0x53, 0x30, 0x46, 0x38, 0x24, 0xfc, 0xfd, 0x53, 0x36, + 0xf5, 0xf7, 0x4f, 0x70, 0xe4, 0x05, 0x53, 0x05, 0xf7, 0xd1, 0x39, 0xb5, 0x7f, 0x21, 0xfa, 0x31, + 0x38, 0x91, 0xb0, 0x78, 0xaf, 0x55, 0xa4, 0x8f, 0xb8, 0xc4, 0x8e, 0x9a, 0xa0, 0x24, 0x55, 0x65, + 0x3c, 0xed, 0x97, 0x19, 0x74, 0xd7, 0x0d, 0x8b, 0x69, 0x5c, 0x56, 0xc2, 0x43, 0x29, 0x16, 0x1e, + 0x8e, 0xa5, 0x33, 0xd8, 0xc7, 0x3e, 0xf7, 0x37, 0xb2, 0x08, 0xaf, 0x6e, 0x18, 0x76, 0xbd, 0xa2, + 0xdb, 0x70, 0x38, 0x15, 0x13, 0xdc, 0xc3, 0x80, 0x01, 0x16, 0xaf, 0x53, 0xa7, 0x66, 0x1b, 0xdc, + 0x48, 0x62, 0x39, 0x43, 0x8b, 0x2f, 0x44, 0x20, 0x22, 0xe3, 0x41, 0x51, 0x9b, 0x17, 0xb5, 0x62, + 0xd0, 0xac, 0xd3, 0x6f, 0xf1, 0x17, 0x79, 0x40, 0xb4, 0x3f, 0xc4, 0x00, 0xec, 0xcb, 0x80, 0xb9, + 0xf6, 0x26, 0x84, 0xfb, 0x6e, 0x83, 0x2c, 0xf8, 0xad, 0x28, 0x7b, 0x65, 0x94, 0xdb, 0xd1, 0x10, + 0xe7, 0xca, 0xac, 0x31, 0xee, 0x5f, 0x4e, 0x32, 0x89, 0x84, 0x8f, 0x6a, 0x1f, 0x66, 0xd0, 0x4c, + 0xb2, 0x4a, 0xfb, 0x51, 0x73, 0x5f, 0x55, 0x6b, 0xee, 0x7e, 0x0f, 0x78, 0xc9, 0x8a, 0xa7, 0xd4, + 0xdf, 0xef, 0x27, 0x1a, 0x7f, 0x3f, 0x66, 0xb9, 0xae, 0xce, 0x72, 0x6e, 0xc7, 0xb3, 0x4c, 0x9e, + 0x61, 0xf9, 0xbe, 0xeb, 0x7f, 0x3d, 0x76, 0xcb, 0xbb, 0xf0, 0xf7, 0x27, 0xf8, 0x7b, 0xed, 0x83, + 0x63, 0x99, 0xeb, 0xf0, 0xf7, 0x2e, 0xfc, 0xfd, 0x05, 0xfe, 0xde, 0xfc, 0xdb, 0xb1, 0x5b, 0x9e, + 0x1b, 0x15, 0x3c, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x58, 0xd8, 0xcd, 0xc3, 0x5b, 0x44, 0x00, + 0x00, } diff --git a/pkg/apis/extensions/v1beta1/generated.proto b/pkg/apis/extensions/v1beta1/generated.proto index 494fee02ef3..d0c891c8db2 100644 --- a/pkg/apis/extensions/v1beta1/generated.proto +++ b/pkg/apis/extensions/v1beta1/generated.proto @@ -945,34 +945,6 @@ message ScaleStatus { optional string targetSelector = 3; } -// StorageClass describes the parameters for a class of storage for -// which PersistentVolumes can be dynamically provisioned. -// -// StorageClasses are non-namespaced; the name of the storage class -// according to etcd is in ObjectMeta.Name. -message StorageClass { - // Standard object's metadata. - // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata - optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; - - // Provisioner indicates the type of the provisioner. - optional string provisioner = 2; - - // Parameters holds the parameters for the provisioner that should - // create volumes of this storage class. - map parameters = 3; -} - -// StorageClassList is a collection of storage classes. -message StorageClassList { - // Standard list metadata - // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata - optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; - - // Items is the list of StorageClasses - repeated StorageClass items = 2; -} - // SubresourceReference contains enough information to let you inspect or modify the referred subresource. message SubresourceReference { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index 576aad7bd7a..9adca162dcc 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -21048,727 +21048,15 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1759 := z.EncBinary() - _ = yym1759 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1760 := !z.EncBinary() - yy2arr1760 := z.EncBasicHandle().StructToArray - var yyq1760 [5]bool - _, _, _ = yysep1760, yyq1760, yy2arr1760 - const yyr1760 bool = false - yyq1760[0] = x.Kind != "" - yyq1760[1] = x.APIVersion != "" - yyq1760[2] = true - yyq1760[4] = len(x.Parameters) != 0 - var yynn1760 int - if yyr1760 || yy2arr1760 { - r.EncodeArrayStart(5) - } else { - yynn1760 = 1 - for _, b := range yyq1760 { - if b { - yynn1760++ - } - } - r.EncodeMapStart(yynn1760) - yynn1760 = 0 - } - if yyr1760 || yy2arr1760 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1760[0] { - yym1762 := z.EncBinary() - _ = yym1762 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1760[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1763 := z.EncBinary() - _ = yym1763 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1760 || yy2arr1760 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1760[1] { - yym1765 := z.EncBinary() - _ = yym1765 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1760[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1766 := z.EncBinary() - _ = yym1766 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1760 || yy2arr1760 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1760[2] { - yy1768 := &x.ObjectMeta - yy1768.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1760[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1769 := &x.ObjectMeta - yy1769.CodecEncodeSelf(e) - } - } - if yyr1760 || yy2arr1760 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1771 := z.EncBinary() - _ = yym1771 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("provisioner")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1772 := z.EncBinary() - _ = yym1772 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) - } - } - if yyr1760 || yy2arr1760 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1760[4] { - if x.Parameters == nil { - r.EncodeNil() - } else { - yym1774 := z.EncBinary() - _ = yym1774 - if false { - } else { - z.F.EncMapStringStringV(x.Parameters, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1760[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("parameters")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Parameters == nil { - r.EncodeNil() - } else { - yym1775 := z.EncBinary() - _ = yym1775 - if false { - } else { - z.F.EncMapStringStringV(x.Parameters, false, e) - } - } - } - } - if yyr1760 || yy2arr1760 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1776 := z.DecBinary() - _ = yym1776 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1777 := r.ContainerType() - if yyct1777 == codecSelferValueTypeMap1234 { - yyl1777 := r.ReadMapStart() - if yyl1777 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1777, d) - } - } else if yyct1777 == codecSelferValueTypeArray1234 { - yyl1777 := r.ReadArrayStart() - if yyl1777 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1777, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1778Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1778Slc - var yyhl1778 bool = l >= 0 - for yyj1778 := 0; ; yyj1778++ { - if yyhl1778 { - if yyj1778 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1778Slc = r.DecodeBytes(yys1778Slc, true, true) - yys1778 := string(yys1778Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1778 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv1781 := &x.ObjectMeta - yyv1781.CodecDecodeSelf(d) - } - case "provisioner": - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - case "parameters": - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv1783 := &x.Parameters - yym1784 := z.DecBinary() - _ = yym1784 - if false { - } else { - z.F.DecMapStringStringX(yyv1783, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1778) - } // end switch yys1778 - } // end for yyj1778 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1785 int - var yyb1785 bool - var yyhl1785 bool = l >= 0 - yyj1785++ - if yyhl1785 { - yyb1785 = yyj1785 > l - } else { - yyb1785 = r.CheckBreak() - } - if yyb1785 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1785++ - if yyhl1785 { - yyb1785 = yyj1785 > l - } else { - yyb1785 = r.CheckBreak() - } - if yyb1785 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1785++ - if yyhl1785 { - yyb1785 = yyj1785 > l - } else { - yyb1785 = r.CheckBreak() - } - if yyb1785 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv1788 := &x.ObjectMeta - yyv1788.CodecDecodeSelf(d) - } - yyj1785++ - if yyhl1785 { - yyb1785 = yyj1785 > l - } else { - yyb1785 = r.CheckBreak() - } - if yyb1785 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - yyj1785++ - if yyhl1785 { - yyb1785 = yyj1785 > l - } else { - yyb1785 = r.CheckBreak() - } - if yyb1785 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv1790 := &x.Parameters - yym1791 := z.DecBinary() - _ = yym1791 - if false { - } else { - z.F.DecMapStringStringX(yyv1790, false, d) - } - } - for { - yyj1785++ - if yyhl1785 { - yyb1785 = yyj1785 > l - } else { - yyb1785 = r.CheckBreak() - } - if yyb1785 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1785-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1792 := z.EncBinary() - _ = yym1792 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1793 := !z.EncBinary() - yy2arr1793 := z.EncBasicHandle().StructToArray - var yyq1793 [4]bool - _, _, _ = yysep1793, yyq1793, yy2arr1793 - const yyr1793 bool = false - yyq1793[0] = x.Kind != "" - yyq1793[1] = x.APIVersion != "" - yyq1793[2] = true - var yynn1793 int - if yyr1793 || yy2arr1793 { - r.EncodeArrayStart(4) - } else { - yynn1793 = 1 - for _, b := range yyq1793 { - if b { - yynn1793++ - } - } - r.EncodeMapStart(yynn1793) - yynn1793 = 0 - } - if yyr1793 || yy2arr1793 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1793[0] { - yym1795 := z.EncBinary() - _ = yym1795 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1793[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1796 := z.EncBinary() - _ = yym1796 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1793 || yy2arr1793 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1793[1] { - yym1798 := z.EncBinary() - _ = yym1798 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1793[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1799 := z.EncBinary() - _ = yym1799 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1793 || yy2arr1793 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1793[2] { - yy1801 := &x.ListMeta - yym1802 := z.EncBinary() - _ = yym1802 - if false { - } else if z.HasExtensions() && z.EncExt(yy1801) { - } else { - z.EncFallback(yy1801) - } - } else { - r.EncodeNil() - } - } else { - if yyq1793[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1803 := &x.ListMeta - yym1804 := z.EncBinary() - _ = yym1804 - if false { - } else if z.HasExtensions() && z.EncExt(yy1803) { - } else { - z.EncFallback(yy1803) - } - } - } - if yyr1793 || yy2arr1793 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1806 := z.EncBinary() - _ = yym1806 - if false { - } else { - h.encSliceStorageClass(([]StorageClass)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1807 := z.EncBinary() - _ = yym1807 - if false { - } else { - h.encSliceStorageClass(([]StorageClass)(x.Items), e) - } - } - } - if yyr1793 || yy2arr1793 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1808 := z.DecBinary() - _ = yym1808 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1809 := r.ContainerType() - if yyct1809 == codecSelferValueTypeMap1234 { - yyl1809 := r.ReadMapStart() - if yyl1809 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1809, d) - } - } else if yyct1809 == codecSelferValueTypeArray1234 { - yyl1809 := r.ReadArrayStart() - if yyl1809 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1809, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1810Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1810Slc - var yyhl1810 bool = l >= 0 - for yyj1810 := 0; ; yyj1810++ { - if yyhl1810 { - if yyj1810 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1810Slc = r.DecodeBytes(yys1810Slc, true, true) - yys1810 := string(yys1810Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1810 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1813 := &x.ListMeta - yym1814 := z.DecBinary() - _ = yym1814 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1813) { - } else { - z.DecFallback(yyv1813, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1815 := &x.Items - yym1816 := z.DecBinary() - _ = yym1816 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv1815), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1810) - } // end switch yys1810 - } // end for yyj1810 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1817 int - var yyb1817 bool - var yyhl1817 bool = l >= 0 - yyj1817++ - if yyhl1817 { - yyb1817 = yyj1817 > l - } else { - yyb1817 = r.CheckBreak() - } - if yyb1817 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1817++ - if yyhl1817 { - yyb1817 = yyj1817 > l - } else { - yyb1817 = r.CheckBreak() - } - if yyb1817 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1817++ - if yyhl1817 { - yyb1817 = yyj1817 > l - } else { - yyb1817 = r.CheckBreak() - } - if yyb1817 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1820 := &x.ListMeta - yym1821 := z.DecBinary() - _ = yym1821 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1820) { - } else { - z.DecFallback(yyv1820, false) - } - } - yyj1817++ - if yyhl1817 { - yyb1817 = yyj1817 > l - } else { - yyb1817 = r.CheckBreak() - } - if yyb1817 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1822 := &x.Items - yym1823 := z.DecBinary() - _ = yym1823 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv1822), d) - } - } - for { - yyj1817++ - if yyhl1817 { - yyb1817 = yyj1817 > l - } else { - yyb1817 = r.CheckBreak() - } - if yyb1817 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1817-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1824 := range v { + for _, yyv1759 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1825 := &yyv1824 - yy1825.CodecEncodeSelf(e) + yy1760 := &yyv1759 + yy1760.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21778,83 +21066,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1826 := *v - yyh1826, yyl1826 := z.DecSliceHelperStart() - var yyc1826 bool - if yyl1826 == 0 { - if yyv1826 == nil { - yyv1826 = []CustomMetricTarget{} - yyc1826 = true - } else if len(yyv1826) != 0 { - yyv1826 = yyv1826[:0] - yyc1826 = true + yyv1761 := *v + yyh1761, yyl1761 := z.DecSliceHelperStart() + var yyc1761 bool + if yyl1761 == 0 { + if yyv1761 == nil { + yyv1761 = []CustomMetricTarget{} + yyc1761 = true + } else if len(yyv1761) != 0 { + yyv1761 = yyv1761[:0] + yyc1761 = true } - } else if yyl1826 > 0 { - var yyrr1826, yyrl1826 int - var yyrt1826 bool - if yyl1826 > cap(yyv1826) { + } else if yyl1761 > 0 { + var yyrr1761, yyrl1761 int + var yyrt1761 bool + if yyl1761 > cap(yyv1761) { - yyrg1826 := len(yyv1826) > 0 - yyv21826 := yyv1826 - yyrl1826, yyrt1826 = z.DecInferLen(yyl1826, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1826 { - if yyrl1826 <= cap(yyv1826) { - yyv1826 = yyv1826[:yyrl1826] + yyrg1761 := len(yyv1761) > 0 + yyv21761 := yyv1761 + yyrl1761, yyrt1761 = z.DecInferLen(yyl1761, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1761 { + if yyrl1761 <= cap(yyv1761) { + yyv1761 = yyv1761[:yyrl1761] } else { - yyv1826 = make([]CustomMetricTarget, yyrl1826) + yyv1761 = make([]CustomMetricTarget, yyrl1761) } } else { - yyv1826 = make([]CustomMetricTarget, yyrl1826) + yyv1761 = make([]CustomMetricTarget, yyrl1761) } - yyc1826 = true - yyrr1826 = len(yyv1826) - if yyrg1826 { - copy(yyv1826, yyv21826) + yyc1761 = true + yyrr1761 = len(yyv1761) + if yyrg1761 { + copy(yyv1761, yyv21761) } - } else if yyl1826 != len(yyv1826) { - yyv1826 = yyv1826[:yyl1826] - yyc1826 = true + } else if yyl1761 != len(yyv1761) { + yyv1761 = yyv1761[:yyl1761] + yyc1761 = true } - yyj1826 := 0 - for ; yyj1826 < yyrr1826; yyj1826++ { - yyh1826.ElemContainerState(yyj1826) + yyj1761 := 0 + for ; yyj1761 < yyrr1761; yyj1761++ { + yyh1761.ElemContainerState(yyj1761) if r.TryDecodeAsNil() { - yyv1826[yyj1826] = CustomMetricTarget{} + yyv1761[yyj1761] = CustomMetricTarget{} } else { - yyv1827 := &yyv1826[yyj1826] - yyv1827.CodecDecodeSelf(d) + yyv1762 := &yyv1761[yyj1761] + yyv1762.CodecDecodeSelf(d) } } - if yyrt1826 { - for ; yyj1826 < yyl1826; yyj1826++ { - yyv1826 = append(yyv1826, CustomMetricTarget{}) - yyh1826.ElemContainerState(yyj1826) + if yyrt1761 { + for ; yyj1761 < yyl1761; yyj1761++ { + yyv1761 = append(yyv1761, CustomMetricTarget{}) + yyh1761.ElemContainerState(yyj1761) if r.TryDecodeAsNil() { - yyv1826[yyj1826] = CustomMetricTarget{} + yyv1761[yyj1761] = CustomMetricTarget{} } else { - yyv1828 := &yyv1826[yyj1826] - yyv1828.CodecDecodeSelf(d) + yyv1763 := &yyv1761[yyj1761] + yyv1763.CodecDecodeSelf(d) } } } } else { - yyj1826 := 0 - for ; !r.CheckBreak(); yyj1826++ { + yyj1761 := 0 + for ; !r.CheckBreak(); yyj1761++ { - if yyj1826 >= len(yyv1826) { - yyv1826 = append(yyv1826, CustomMetricTarget{}) // var yyz1826 CustomMetricTarget - yyc1826 = true + if yyj1761 >= len(yyv1761) { + yyv1761 = append(yyv1761, CustomMetricTarget{}) // var yyz1761 CustomMetricTarget + yyc1761 = true } - yyh1826.ElemContainerState(yyj1826) - if yyj1826 < len(yyv1826) { + yyh1761.ElemContainerState(yyj1761) + if yyj1761 < len(yyv1761) { if r.TryDecodeAsNil() { - yyv1826[yyj1826] = CustomMetricTarget{} + yyv1761[yyj1761] = CustomMetricTarget{} } else { - yyv1829 := &yyv1826[yyj1826] - yyv1829.CodecDecodeSelf(d) + yyv1764 := &yyv1761[yyj1761] + yyv1764.CodecDecodeSelf(d) } } else { @@ -21862,17 +21150,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1826 < len(yyv1826) { - yyv1826 = yyv1826[:yyj1826] - yyc1826 = true - } else if yyj1826 == 0 && yyv1826 == nil { - yyv1826 = []CustomMetricTarget{} - yyc1826 = true + if yyj1761 < len(yyv1761) { + yyv1761 = yyv1761[:yyj1761] + yyc1761 = true + } else if yyj1761 == 0 && yyv1761 == nil { + yyv1761 = []CustomMetricTarget{} + yyc1761 = true } } - yyh1826.End() - if yyc1826 { - *v = yyv1826 + yyh1761.End() + if yyc1761 { + *v = yyv1761 } } @@ -21881,10 +21169,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1830 := range v { + for _, yyv1765 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1831 := &yyv1830 - yy1831.CodecEncodeSelf(e) + yy1766 := &yyv1765 + yy1766.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21894,83 +21182,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1832 := *v - yyh1832, yyl1832 := z.DecSliceHelperStart() - var yyc1832 bool - if yyl1832 == 0 { - if yyv1832 == nil { - yyv1832 = []CustomMetricCurrentStatus{} - yyc1832 = true - } else if len(yyv1832) != 0 { - yyv1832 = yyv1832[:0] - yyc1832 = true + yyv1767 := *v + yyh1767, yyl1767 := z.DecSliceHelperStart() + var yyc1767 bool + if yyl1767 == 0 { + if yyv1767 == nil { + yyv1767 = []CustomMetricCurrentStatus{} + yyc1767 = true + } else if len(yyv1767) != 0 { + yyv1767 = yyv1767[:0] + yyc1767 = true } - } else if yyl1832 > 0 { - var yyrr1832, yyrl1832 int - var yyrt1832 bool - if yyl1832 > cap(yyv1832) { + } else if yyl1767 > 0 { + var yyrr1767, yyrl1767 int + var yyrt1767 bool + if yyl1767 > cap(yyv1767) { - yyrg1832 := len(yyv1832) > 0 - yyv21832 := yyv1832 - yyrl1832, yyrt1832 = z.DecInferLen(yyl1832, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1832 { - if yyrl1832 <= cap(yyv1832) { - yyv1832 = yyv1832[:yyrl1832] + yyrg1767 := len(yyv1767) > 0 + yyv21767 := yyv1767 + yyrl1767, yyrt1767 = z.DecInferLen(yyl1767, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1767 { + if yyrl1767 <= cap(yyv1767) { + yyv1767 = yyv1767[:yyrl1767] } else { - yyv1832 = make([]CustomMetricCurrentStatus, yyrl1832) + yyv1767 = make([]CustomMetricCurrentStatus, yyrl1767) } } else { - yyv1832 = make([]CustomMetricCurrentStatus, yyrl1832) + yyv1767 = make([]CustomMetricCurrentStatus, yyrl1767) } - yyc1832 = true - yyrr1832 = len(yyv1832) - if yyrg1832 { - copy(yyv1832, yyv21832) + yyc1767 = true + yyrr1767 = len(yyv1767) + if yyrg1767 { + copy(yyv1767, yyv21767) } - } else if yyl1832 != len(yyv1832) { - yyv1832 = yyv1832[:yyl1832] - yyc1832 = true + } else if yyl1767 != len(yyv1767) { + yyv1767 = yyv1767[:yyl1767] + yyc1767 = true } - yyj1832 := 0 - for ; yyj1832 < yyrr1832; yyj1832++ { - yyh1832.ElemContainerState(yyj1832) + yyj1767 := 0 + for ; yyj1767 < yyrr1767; yyj1767++ { + yyh1767.ElemContainerState(yyj1767) if r.TryDecodeAsNil() { - yyv1832[yyj1832] = CustomMetricCurrentStatus{} + yyv1767[yyj1767] = CustomMetricCurrentStatus{} } else { - yyv1833 := &yyv1832[yyj1832] - yyv1833.CodecDecodeSelf(d) + yyv1768 := &yyv1767[yyj1767] + yyv1768.CodecDecodeSelf(d) } } - if yyrt1832 { - for ; yyj1832 < yyl1832; yyj1832++ { - yyv1832 = append(yyv1832, CustomMetricCurrentStatus{}) - yyh1832.ElemContainerState(yyj1832) + if yyrt1767 { + for ; yyj1767 < yyl1767; yyj1767++ { + yyv1767 = append(yyv1767, CustomMetricCurrentStatus{}) + yyh1767.ElemContainerState(yyj1767) if r.TryDecodeAsNil() { - yyv1832[yyj1832] = CustomMetricCurrentStatus{} + yyv1767[yyj1767] = CustomMetricCurrentStatus{} } else { - yyv1834 := &yyv1832[yyj1832] - yyv1834.CodecDecodeSelf(d) + yyv1769 := &yyv1767[yyj1767] + yyv1769.CodecDecodeSelf(d) } } } } else { - yyj1832 := 0 - for ; !r.CheckBreak(); yyj1832++ { + yyj1767 := 0 + for ; !r.CheckBreak(); yyj1767++ { - if yyj1832 >= len(yyv1832) { - yyv1832 = append(yyv1832, CustomMetricCurrentStatus{}) // var yyz1832 CustomMetricCurrentStatus - yyc1832 = true + if yyj1767 >= len(yyv1767) { + yyv1767 = append(yyv1767, CustomMetricCurrentStatus{}) // var yyz1767 CustomMetricCurrentStatus + yyc1767 = true } - yyh1832.ElemContainerState(yyj1832) - if yyj1832 < len(yyv1832) { + yyh1767.ElemContainerState(yyj1767) + if yyj1767 < len(yyv1767) { if r.TryDecodeAsNil() { - yyv1832[yyj1832] = CustomMetricCurrentStatus{} + yyv1767[yyj1767] = CustomMetricCurrentStatus{} } else { - yyv1835 := &yyv1832[yyj1832] - yyv1835.CodecDecodeSelf(d) + yyv1770 := &yyv1767[yyj1767] + yyv1770.CodecDecodeSelf(d) } } else { @@ -21978,17 +21266,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1832 < len(yyv1832) { - yyv1832 = yyv1832[:yyj1832] - yyc1832 = true - } else if yyj1832 == 0 && yyv1832 == nil { - yyv1832 = []CustomMetricCurrentStatus{} - yyc1832 = true + if yyj1767 < len(yyv1767) { + yyv1767 = yyv1767[:yyj1767] + yyc1767 = true + } else if yyj1767 == 0 && yyv1767 == nil { + yyv1767 = []CustomMetricCurrentStatus{} + yyc1767 = true } } - yyh1832.End() - if yyc1832 { - *v = yyv1832 + yyh1767.End() + if yyc1767 { + *v = yyv1767 } } @@ -21997,10 +21285,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1836 := range v { + for _, yyv1771 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1837 := &yyv1836 - yy1837.CodecEncodeSelf(e) + yy1772 := &yyv1771 + yy1772.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22010,83 +21298,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1838 := *v - yyh1838, yyl1838 := z.DecSliceHelperStart() - var yyc1838 bool - if yyl1838 == 0 { - if yyv1838 == nil { - yyv1838 = []HorizontalPodAutoscaler{} - yyc1838 = true - } else if len(yyv1838) != 0 { - yyv1838 = yyv1838[:0] - yyc1838 = true + yyv1773 := *v + yyh1773, yyl1773 := z.DecSliceHelperStart() + var yyc1773 bool + if yyl1773 == 0 { + if yyv1773 == nil { + yyv1773 = []HorizontalPodAutoscaler{} + yyc1773 = true + } else if len(yyv1773) != 0 { + yyv1773 = yyv1773[:0] + yyc1773 = true } - } else if yyl1838 > 0 { - var yyrr1838, yyrl1838 int - var yyrt1838 bool - if yyl1838 > cap(yyv1838) { + } else if yyl1773 > 0 { + var yyrr1773, yyrl1773 int + var yyrt1773 bool + if yyl1773 > cap(yyv1773) { - yyrg1838 := len(yyv1838) > 0 - yyv21838 := yyv1838 - yyrl1838, yyrt1838 = z.DecInferLen(yyl1838, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1838 { - if yyrl1838 <= cap(yyv1838) { - yyv1838 = yyv1838[:yyrl1838] + yyrg1773 := len(yyv1773) > 0 + yyv21773 := yyv1773 + yyrl1773, yyrt1773 = z.DecInferLen(yyl1773, z.DecBasicHandle().MaxInitLen, 376) + if yyrt1773 { + if yyrl1773 <= cap(yyv1773) { + yyv1773 = yyv1773[:yyrl1773] } else { - yyv1838 = make([]HorizontalPodAutoscaler, yyrl1838) + yyv1773 = make([]HorizontalPodAutoscaler, yyrl1773) } } else { - yyv1838 = make([]HorizontalPodAutoscaler, yyrl1838) + yyv1773 = make([]HorizontalPodAutoscaler, yyrl1773) } - yyc1838 = true - yyrr1838 = len(yyv1838) - if yyrg1838 { - copy(yyv1838, yyv21838) + yyc1773 = true + yyrr1773 = len(yyv1773) + if yyrg1773 { + copy(yyv1773, yyv21773) } - } else if yyl1838 != len(yyv1838) { - yyv1838 = yyv1838[:yyl1838] - yyc1838 = true + } else if yyl1773 != len(yyv1773) { + yyv1773 = yyv1773[:yyl1773] + yyc1773 = true } - yyj1838 := 0 - for ; yyj1838 < yyrr1838; yyj1838++ { - yyh1838.ElemContainerState(yyj1838) + yyj1773 := 0 + for ; yyj1773 < yyrr1773; yyj1773++ { + yyh1773.ElemContainerState(yyj1773) if r.TryDecodeAsNil() { - yyv1838[yyj1838] = HorizontalPodAutoscaler{} + yyv1773[yyj1773] = HorizontalPodAutoscaler{} } else { - yyv1839 := &yyv1838[yyj1838] - yyv1839.CodecDecodeSelf(d) + yyv1774 := &yyv1773[yyj1773] + yyv1774.CodecDecodeSelf(d) } } - if yyrt1838 { - for ; yyj1838 < yyl1838; yyj1838++ { - yyv1838 = append(yyv1838, HorizontalPodAutoscaler{}) - yyh1838.ElemContainerState(yyj1838) + if yyrt1773 { + for ; yyj1773 < yyl1773; yyj1773++ { + yyv1773 = append(yyv1773, HorizontalPodAutoscaler{}) + yyh1773.ElemContainerState(yyj1773) if r.TryDecodeAsNil() { - yyv1838[yyj1838] = HorizontalPodAutoscaler{} + yyv1773[yyj1773] = HorizontalPodAutoscaler{} } else { - yyv1840 := &yyv1838[yyj1838] - yyv1840.CodecDecodeSelf(d) + yyv1775 := &yyv1773[yyj1773] + yyv1775.CodecDecodeSelf(d) } } } } else { - yyj1838 := 0 - for ; !r.CheckBreak(); yyj1838++ { + yyj1773 := 0 + for ; !r.CheckBreak(); yyj1773++ { - if yyj1838 >= len(yyv1838) { - yyv1838 = append(yyv1838, HorizontalPodAutoscaler{}) // var yyz1838 HorizontalPodAutoscaler - yyc1838 = true + if yyj1773 >= len(yyv1773) { + yyv1773 = append(yyv1773, HorizontalPodAutoscaler{}) // var yyz1773 HorizontalPodAutoscaler + yyc1773 = true } - yyh1838.ElemContainerState(yyj1838) - if yyj1838 < len(yyv1838) { + yyh1773.ElemContainerState(yyj1773) + if yyj1773 < len(yyv1773) { if r.TryDecodeAsNil() { - yyv1838[yyj1838] = HorizontalPodAutoscaler{} + yyv1773[yyj1773] = HorizontalPodAutoscaler{} } else { - yyv1841 := &yyv1838[yyj1838] - yyv1841.CodecDecodeSelf(d) + yyv1776 := &yyv1773[yyj1773] + yyv1776.CodecDecodeSelf(d) } } else { @@ -22094,17 +21382,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1838 < len(yyv1838) { - yyv1838 = yyv1838[:yyj1838] - yyc1838 = true - } else if yyj1838 == 0 && yyv1838 == nil { - yyv1838 = []HorizontalPodAutoscaler{} - yyc1838 = true + if yyj1773 < len(yyv1773) { + yyv1773 = yyv1773[:yyj1773] + yyc1773 = true + } else if yyj1773 == 0 && yyv1773 == nil { + yyv1773 = []HorizontalPodAutoscaler{} + yyc1773 = true } } - yyh1838.End() - if yyc1838 { - *v = yyv1838 + yyh1773.End() + if yyc1773 { + *v = yyv1773 } } @@ -22113,10 +21401,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1842 := range v { + for _, yyv1777 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1843 := &yyv1842 - yy1843.CodecEncodeSelf(e) + yy1778 := &yyv1777 + yy1778.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22126,83 +21414,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1844 := *v - yyh1844, yyl1844 := z.DecSliceHelperStart() - var yyc1844 bool - if yyl1844 == 0 { - if yyv1844 == nil { - yyv1844 = []APIVersion{} - yyc1844 = true - } else if len(yyv1844) != 0 { - yyv1844 = yyv1844[:0] - yyc1844 = true + yyv1779 := *v + yyh1779, yyl1779 := z.DecSliceHelperStart() + var yyc1779 bool + if yyl1779 == 0 { + if yyv1779 == nil { + yyv1779 = []APIVersion{} + yyc1779 = true + } else if len(yyv1779) != 0 { + yyv1779 = yyv1779[:0] + yyc1779 = true } - } else if yyl1844 > 0 { - var yyrr1844, yyrl1844 int - var yyrt1844 bool - if yyl1844 > cap(yyv1844) { + } else if yyl1779 > 0 { + var yyrr1779, yyrl1779 int + var yyrt1779 bool + if yyl1779 > cap(yyv1779) { - yyrg1844 := len(yyv1844) > 0 - yyv21844 := yyv1844 - yyrl1844, yyrt1844 = z.DecInferLen(yyl1844, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1844 { - if yyrl1844 <= cap(yyv1844) { - yyv1844 = yyv1844[:yyrl1844] + yyrg1779 := len(yyv1779) > 0 + yyv21779 := yyv1779 + yyrl1779, yyrt1779 = z.DecInferLen(yyl1779, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1779 { + if yyrl1779 <= cap(yyv1779) { + yyv1779 = yyv1779[:yyrl1779] } else { - yyv1844 = make([]APIVersion, yyrl1844) + yyv1779 = make([]APIVersion, yyrl1779) } } else { - yyv1844 = make([]APIVersion, yyrl1844) + yyv1779 = make([]APIVersion, yyrl1779) } - yyc1844 = true - yyrr1844 = len(yyv1844) - if yyrg1844 { - copy(yyv1844, yyv21844) + yyc1779 = true + yyrr1779 = len(yyv1779) + if yyrg1779 { + copy(yyv1779, yyv21779) } - } else if yyl1844 != len(yyv1844) { - yyv1844 = yyv1844[:yyl1844] - yyc1844 = true + } else if yyl1779 != len(yyv1779) { + yyv1779 = yyv1779[:yyl1779] + yyc1779 = true } - yyj1844 := 0 - for ; yyj1844 < yyrr1844; yyj1844++ { - yyh1844.ElemContainerState(yyj1844) + yyj1779 := 0 + for ; yyj1779 < yyrr1779; yyj1779++ { + yyh1779.ElemContainerState(yyj1779) if r.TryDecodeAsNil() { - yyv1844[yyj1844] = APIVersion{} + yyv1779[yyj1779] = APIVersion{} } else { - yyv1845 := &yyv1844[yyj1844] - yyv1845.CodecDecodeSelf(d) + yyv1780 := &yyv1779[yyj1779] + yyv1780.CodecDecodeSelf(d) } } - if yyrt1844 { - for ; yyj1844 < yyl1844; yyj1844++ { - yyv1844 = append(yyv1844, APIVersion{}) - yyh1844.ElemContainerState(yyj1844) + if yyrt1779 { + for ; yyj1779 < yyl1779; yyj1779++ { + yyv1779 = append(yyv1779, APIVersion{}) + yyh1779.ElemContainerState(yyj1779) if r.TryDecodeAsNil() { - yyv1844[yyj1844] = APIVersion{} + yyv1779[yyj1779] = APIVersion{} } else { - yyv1846 := &yyv1844[yyj1844] - yyv1846.CodecDecodeSelf(d) + yyv1781 := &yyv1779[yyj1779] + yyv1781.CodecDecodeSelf(d) } } } } else { - yyj1844 := 0 - for ; !r.CheckBreak(); yyj1844++ { + yyj1779 := 0 + for ; !r.CheckBreak(); yyj1779++ { - if yyj1844 >= len(yyv1844) { - yyv1844 = append(yyv1844, APIVersion{}) // var yyz1844 APIVersion - yyc1844 = true + if yyj1779 >= len(yyv1779) { + yyv1779 = append(yyv1779, APIVersion{}) // var yyz1779 APIVersion + yyc1779 = true } - yyh1844.ElemContainerState(yyj1844) - if yyj1844 < len(yyv1844) { + yyh1779.ElemContainerState(yyj1779) + if yyj1779 < len(yyv1779) { if r.TryDecodeAsNil() { - yyv1844[yyj1844] = APIVersion{} + yyv1779[yyj1779] = APIVersion{} } else { - yyv1847 := &yyv1844[yyj1844] - yyv1847.CodecDecodeSelf(d) + yyv1782 := &yyv1779[yyj1779] + yyv1782.CodecDecodeSelf(d) } } else { @@ -22210,17 +21498,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1844 < len(yyv1844) { - yyv1844 = yyv1844[:yyj1844] - yyc1844 = true - } else if yyj1844 == 0 && yyv1844 == nil { - yyv1844 = []APIVersion{} - yyc1844 = true + if yyj1779 < len(yyv1779) { + yyv1779 = yyv1779[:yyj1779] + yyc1779 = true + } else if yyj1779 == 0 && yyv1779 == nil { + yyv1779 = []APIVersion{} + yyc1779 = true } } - yyh1844.End() - if yyc1844 { - *v = yyv1844 + yyh1779.End() + if yyc1779 { + *v = yyv1779 } } @@ -22229,10 +21517,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1848 := range v { + for _, yyv1783 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1849 := &yyv1848 - yy1849.CodecEncodeSelf(e) + yy1784 := &yyv1783 + yy1784.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22242,83 +21530,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1850 := *v - yyh1850, yyl1850 := z.DecSliceHelperStart() - var yyc1850 bool - if yyl1850 == 0 { - if yyv1850 == nil { - yyv1850 = []ThirdPartyResource{} - yyc1850 = true - } else if len(yyv1850) != 0 { - yyv1850 = yyv1850[:0] - yyc1850 = true + yyv1785 := *v + yyh1785, yyl1785 := z.DecSliceHelperStart() + var yyc1785 bool + if yyl1785 == 0 { + if yyv1785 == nil { + yyv1785 = []ThirdPartyResource{} + yyc1785 = true + } else if len(yyv1785) != 0 { + yyv1785 = yyv1785[:0] + yyc1785 = true } - } else if yyl1850 > 0 { - var yyrr1850, yyrl1850 int - var yyrt1850 bool - if yyl1850 > cap(yyv1850) { + } else if yyl1785 > 0 { + var yyrr1785, yyrl1785 int + var yyrt1785 bool + if yyl1785 > cap(yyv1785) { - yyrg1850 := len(yyv1850) > 0 - yyv21850 := yyv1850 - yyrl1850, yyrt1850 = z.DecInferLen(yyl1850, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1850 { - if yyrl1850 <= cap(yyv1850) { - yyv1850 = yyv1850[:yyrl1850] + yyrg1785 := len(yyv1785) > 0 + yyv21785 := yyv1785 + yyrl1785, yyrt1785 = z.DecInferLen(yyl1785, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1785 { + if yyrl1785 <= cap(yyv1785) { + yyv1785 = yyv1785[:yyrl1785] } else { - yyv1850 = make([]ThirdPartyResource, yyrl1850) + yyv1785 = make([]ThirdPartyResource, yyrl1785) } } else { - yyv1850 = make([]ThirdPartyResource, yyrl1850) + yyv1785 = make([]ThirdPartyResource, yyrl1785) } - yyc1850 = true - yyrr1850 = len(yyv1850) - if yyrg1850 { - copy(yyv1850, yyv21850) + yyc1785 = true + yyrr1785 = len(yyv1785) + if yyrg1785 { + copy(yyv1785, yyv21785) } - } else if yyl1850 != len(yyv1850) { - yyv1850 = yyv1850[:yyl1850] - yyc1850 = true + } else if yyl1785 != len(yyv1785) { + yyv1785 = yyv1785[:yyl1785] + yyc1785 = true } - yyj1850 := 0 - for ; yyj1850 < yyrr1850; yyj1850++ { - yyh1850.ElemContainerState(yyj1850) + yyj1785 := 0 + for ; yyj1785 < yyrr1785; yyj1785++ { + yyh1785.ElemContainerState(yyj1785) if r.TryDecodeAsNil() { - yyv1850[yyj1850] = ThirdPartyResource{} + yyv1785[yyj1785] = ThirdPartyResource{} } else { - yyv1851 := &yyv1850[yyj1850] - yyv1851.CodecDecodeSelf(d) + yyv1786 := &yyv1785[yyj1785] + yyv1786.CodecDecodeSelf(d) } } - if yyrt1850 { - for ; yyj1850 < yyl1850; yyj1850++ { - yyv1850 = append(yyv1850, ThirdPartyResource{}) - yyh1850.ElemContainerState(yyj1850) + if yyrt1785 { + for ; yyj1785 < yyl1785; yyj1785++ { + yyv1785 = append(yyv1785, ThirdPartyResource{}) + yyh1785.ElemContainerState(yyj1785) if r.TryDecodeAsNil() { - yyv1850[yyj1850] = ThirdPartyResource{} + yyv1785[yyj1785] = ThirdPartyResource{} } else { - yyv1852 := &yyv1850[yyj1850] - yyv1852.CodecDecodeSelf(d) + yyv1787 := &yyv1785[yyj1785] + yyv1787.CodecDecodeSelf(d) } } } } else { - yyj1850 := 0 - for ; !r.CheckBreak(); yyj1850++ { + yyj1785 := 0 + for ; !r.CheckBreak(); yyj1785++ { - if yyj1850 >= len(yyv1850) { - yyv1850 = append(yyv1850, ThirdPartyResource{}) // var yyz1850 ThirdPartyResource - yyc1850 = true + if yyj1785 >= len(yyv1785) { + yyv1785 = append(yyv1785, ThirdPartyResource{}) // var yyz1785 ThirdPartyResource + yyc1785 = true } - yyh1850.ElemContainerState(yyj1850) - if yyj1850 < len(yyv1850) { + yyh1785.ElemContainerState(yyj1785) + if yyj1785 < len(yyv1785) { if r.TryDecodeAsNil() { - yyv1850[yyj1850] = ThirdPartyResource{} + yyv1785[yyj1785] = ThirdPartyResource{} } else { - yyv1853 := &yyv1850[yyj1850] - yyv1853.CodecDecodeSelf(d) + yyv1788 := &yyv1785[yyj1785] + yyv1788.CodecDecodeSelf(d) } } else { @@ -22326,17 +21614,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1850 < len(yyv1850) { - yyv1850 = yyv1850[:yyj1850] - yyc1850 = true - } else if yyj1850 == 0 && yyv1850 == nil { - yyv1850 = []ThirdPartyResource{} - yyc1850 = true + if yyj1785 < len(yyv1785) { + yyv1785 = yyv1785[:yyj1785] + yyc1785 = true + } else if yyj1785 == 0 && yyv1785 == nil { + yyv1785 = []ThirdPartyResource{} + yyc1785 = true } } - yyh1850.End() - if yyc1850 { - *v = yyv1850 + yyh1785.End() + if yyc1785 { + *v = yyv1785 } } @@ -22345,10 +21633,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1854 := range v { + for _, yyv1789 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1855 := &yyv1854 - yy1855.CodecEncodeSelf(e) + yy1790 := &yyv1789 + yy1790.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22358,83 +21646,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1856 := *v - yyh1856, yyl1856 := z.DecSliceHelperStart() - var yyc1856 bool - if yyl1856 == 0 { - if yyv1856 == nil { - yyv1856 = []Deployment{} - yyc1856 = true - } else if len(yyv1856) != 0 { - yyv1856 = yyv1856[:0] - yyc1856 = true + yyv1791 := *v + yyh1791, yyl1791 := z.DecSliceHelperStart() + var yyc1791 bool + if yyl1791 == 0 { + if yyv1791 == nil { + yyv1791 = []Deployment{} + yyc1791 = true + } else if len(yyv1791) != 0 { + yyv1791 = yyv1791[:0] + yyc1791 = true } - } else if yyl1856 > 0 { - var yyrr1856, yyrl1856 int - var yyrt1856 bool - if yyl1856 > cap(yyv1856) { + } else if yyl1791 > 0 { + var yyrr1791, yyrl1791 int + var yyrt1791 bool + if yyl1791 > cap(yyv1791) { - yyrg1856 := len(yyv1856) > 0 - yyv21856 := yyv1856 - yyrl1856, yyrt1856 = z.DecInferLen(yyl1856, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1856 { - if yyrl1856 <= cap(yyv1856) { - yyv1856 = yyv1856[:yyrl1856] + yyrg1791 := len(yyv1791) > 0 + yyv21791 := yyv1791 + yyrl1791, yyrt1791 = z.DecInferLen(yyl1791, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1791 { + if yyrl1791 <= cap(yyv1791) { + yyv1791 = yyv1791[:yyrl1791] } else { - yyv1856 = make([]Deployment, yyrl1856) + yyv1791 = make([]Deployment, yyrl1791) } } else { - yyv1856 = make([]Deployment, yyrl1856) + yyv1791 = make([]Deployment, yyrl1791) } - yyc1856 = true - yyrr1856 = len(yyv1856) - if yyrg1856 { - copy(yyv1856, yyv21856) + yyc1791 = true + yyrr1791 = len(yyv1791) + if yyrg1791 { + copy(yyv1791, yyv21791) } - } else if yyl1856 != len(yyv1856) { - yyv1856 = yyv1856[:yyl1856] - yyc1856 = true + } else if yyl1791 != len(yyv1791) { + yyv1791 = yyv1791[:yyl1791] + yyc1791 = true } - yyj1856 := 0 - for ; yyj1856 < yyrr1856; yyj1856++ { - yyh1856.ElemContainerState(yyj1856) + yyj1791 := 0 + for ; yyj1791 < yyrr1791; yyj1791++ { + yyh1791.ElemContainerState(yyj1791) if r.TryDecodeAsNil() { - yyv1856[yyj1856] = Deployment{} + yyv1791[yyj1791] = Deployment{} } else { - yyv1857 := &yyv1856[yyj1856] - yyv1857.CodecDecodeSelf(d) + yyv1792 := &yyv1791[yyj1791] + yyv1792.CodecDecodeSelf(d) } } - if yyrt1856 { - for ; yyj1856 < yyl1856; yyj1856++ { - yyv1856 = append(yyv1856, Deployment{}) - yyh1856.ElemContainerState(yyj1856) + if yyrt1791 { + for ; yyj1791 < yyl1791; yyj1791++ { + yyv1791 = append(yyv1791, Deployment{}) + yyh1791.ElemContainerState(yyj1791) if r.TryDecodeAsNil() { - yyv1856[yyj1856] = Deployment{} + yyv1791[yyj1791] = Deployment{} } else { - yyv1858 := &yyv1856[yyj1856] - yyv1858.CodecDecodeSelf(d) + yyv1793 := &yyv1791[yyj1791] + yyv1793.CodecDecodeSelf(d) } } } } else { - yyj1856 := 0 - for ; !r.CheckBreak(); yyj1856++ { + yyj1791 := 0 + for ; !r.CheckBreak(); yyj1791++ { - if yyj1856 >= len(yyv1856) { - yyv1856 = append(yyv1856, Deployment{}) // var yyz1856 Deployment - yyc1856 = true + if yyj1791 >= len(yyv1791) { + yyv1791 = append(yyv1791, Deployment{}) // var yyz1791 Deployment + yyc1791 = true } - yyh1856.ElemContainerState(yyj1856) - if yyj1856 < len(yyv1856) { + yyh1791.ElemContainerState(yyj1791) + if yyj1791 < len(yyv1791) { if r.TryDecodeAsNil() { - yyv1856[yyj1856] = Deployment{} + yyv1791[yyj1791] = Deployment{} } else { - yyv1859 := &yyv1856[yyj1856] - yyv1859.CodecDecodeSelf(d) + yyv1794 := &yyv1791[yyj1791] + yyv1794.CodecDecodeSelf(d) } } else { @@ -22442,17 +21730,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1856 < len(yyv1856) { - yyv1856 = yyv1856[:yyj1856] - yyc1856 = true - } else if yyj1856 == 0 && yyv1856 == nil { - yyv1856 = []Deployment{} - yyc1856 = true + if yyj1791 < len(yyv1791) { + yyv1791 = yyv1791[:yyj1791] + yyc1791 = true + } else if yyj1791 == 0 && yyv1791 == nil { + yyv1791 = []Deployment{} + yyc1791 = true } } - yyh1856.End() - if yyc1856 { - *v = yyv1856 + yyh1791.End() + if yyc1791 { + *v = yyv1791 } } @@ -22461,10 +21749,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1860 := range v { + for _, yyv1795 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1861 := &yyv1860 - yy1861.CodecEncodeSelf(e) + yy1796 := &yyv1795 + yy1796.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22474,12 +21762,1284 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r + yyv1797 := *v + yyh1797, yyl1797 := z.DecSliceHelperStart() + var yyc1797 bool + if yyl1797 == 0 { + if yyv1797 == nil { + yyv1797 = []DaemonSet{} + yyc1797 = true + } else if len(yyv1797) != 0 { + yyv1797 = yyv1797[:0] + yyc1797 = true + } + } else if yyl1797 > 0 { + var yyrr1797, yyrl1797 int + var yyrt1797 bool + if yyl1797 > cap(yyv1797) { + + yyrg1797 := len(yyv1797) > 0 + yyv21797 := yyv1797 + yyrl1797, yyrt1797 = z.DecInferLen(yyl1797, z.DecBasicHandle().MaxInitLen, 752) + if yyrt1797 { + if yyrl1797 <= cap(yyv1797) { + yyv1797 = yyv1797[:yyrl1797] + } else { + yyv1797 = make([]DaemonSet, yyrl1797) + } + } else { + yyv1797 = make([]DaemonSet, yyrl1797) + } + yyc1797 = true + yyrr1797 = len(yyv1797) + if yyrg1797 { + copy(yyv1797, yyv21797) + } + } else if yyl1797 != len(yyv1797) { + yyv1797 = yyv1797[:yyl1797] + yyc1797 = true + } + yyj1797 := 0 + for ; yyj1797 < yyrr1797; yyj1797++ { + yyh1797.ElemContainerState(yyj1797) + if r.TryDecodeAsNil() { + yyv1797[yyj1797] = DaemonSet{} + } else { + yyv1798 := &yyv1797[yyj1797] + yyv1798.CodecDecodeSelf(d) + } + + } + if yyrt1797 { + for ; yyj1797 < yyl1797; yyj1797++ { + yyv1797 = append(yyv1797, DaemonSet{}) + yyh1797.ElemContainerState(yyj1797) + if r.TryDecodeAsNil() { + yyv1797[yyj1797] = DaemonSet{} + } else { + yyv1799 := &yyv1797[yyj1797] + yyv1799.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1797 := 0 + for ; !r.CheckBreak(); yyj1797++ { + + if yyj1797 >= len(yyv1797) { + yyv1797 = append(yyv1797, DaemonSet{}) // var yyz1797 DaemonSet + yyc1797 = true + } + yyh1797.ElemContainerState(yyj1797) + if yyj1797 < len(yyv1797) { + if r.TryDecodeAsNil() { + yyv1797[yyj1797] = DaemonSet{} + } else { + yyv1800 := &yyv1797[yyj1797] + yyv1800.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1797 < len(yyv1797) { + yyv1797 = yyv1797[:yyj1797] + yyc1797 = true + } else if yyj1797 == 0 && yyv1797 == nil { + yyv1797 = []DaemonSet{} + yyc1797 = true + } + } + yyh1797.End() + if yyc1797 { + *v = yyv1797 + } +} + +func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1801 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1802 := &yyv1801 + yy1802.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1803 := *v + yyh1803, yyl1803 := z.DecSliceHelperStart() + var yyc1803 bool + if yyl1803 == 0 { + if yyv1803 == nil { + yyv1803 = []ThirdPartyResourceData{} + yyc1803 = true + } else if len(yyv1803) != 0 { + yyv1803 = yyv1803[:0] + yyc1803 = true + } + } else if yyl1803 > 0 { + var yyrr1803, yyrl1803 int + var yyrt1803 bool + if yyl1803 > cap(yyv1803) { + + yyrg1803 := len(yyv1803) > 0 + yyv21803 := yyv1803 + yyrl1803, yyrt1803 = z.DecInferLen(yyl1803, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1803 { + if yyrl1803 <= cap(yyv1803) { + yyv1803 = yyv1803[:yyrl1803] + } else { + yyv1803 = make([]ThirdPartyResourceData, yyrl1803) + } + } else { + yyv1803 = make([]ThirdPartyResourceData, yyrl1803) + } + yyc1803 = true + yyrr1803 = len(yyv1803) + if yyrg1803 { + copy(yyv1803, yyv21803) + } + } else if yyl1803 != len(yyv1803) { + yyv1803 = yyv1803[:yyl1803] + yyc1803 = true + } + yyj1803 := 0 + for ; yyj1803 < yyrr1803; yyj1803++ { + yyh1803.ElemContainerState(yyj1803) + if r.TryDecodeAsNil() { + yyv1803[yyj1803] = ThirdPartyResourceData{} + } else { + yyv1804 := &yyv1803[yyj1803] + yyv1804.CodecDecodeSelf(d) + } + + } + if yyrt1803 { + for ; yyj1803 < yyl1803; yyj1803++ { + yyv1803 = append(yyv1803, ThirdPartyResourceData{}) + yyh1803.ElemContainerState(yyj1803) + if r.TryDecodeAsNil() { + yyv1803[yyj1803] = ThirdPartyResourceData{} + } else { + yyv1805 := &yyv1803[yyj1803] + yyv1805.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1803 := 0 + for ; !r.CheckBreak(); yyj1803++ { + + if yyj1803 >= len(yyv1803) { + yyv1803 = append(yyv1803, ThirdPartyResourceData{}) // var yyz1803 ThirdPartyResourceData + yyc1803 = true + } + yyh1803.ElemContainerState(yyj1803) + if yyj1803 < len(yyv1803) { + if r.TryDecodeAsNil() { + yyv1803[yyj1803] = ThirdPartyResourceData{} + } else { + yyv1806 := &yyv1803[yyj1803] + yyv1806.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1803 < len(yyv1803) { + yyv1803 = yyv1803[:yyj1803] + yyc1803 = true + } else if yyj1803 == 0 && yyv1803 == nil { + yyv1803 = []ThirdPartyResourceData{} + yyc1803 = true + } + } + yyh1803.End() + if yyc1803 { + *v = yyv1803 + } +} + +func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1807 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1808 := &yyv1807 + yy1808.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1809 := *v + yyh1809, yyl1809 := z.DecSliceHelperStart() + var yyc1809 bool + if yyl1809 == 0 { + if yyv1809 == nil { + yyv1809 = []Job{} + yyc1809 = true + } else if len(yyv1809) != 0 { + yyv1809 = yyv1809[:0] + yyc1809 = true + } + } else if yyl1809 > 0 { + var yyrr1809, yyrl1809 int + var yyrt1809 bool + if yyl1809 > cap(yyv1809) { + + yyrg1809 := len(yyv1809) > 0 + yyv21809 := yyv1809 + yyrl1809, yyrt1809 = z.DecInferLen(yyl1809, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1809 { + if yyrl1809 <= cap(yyv1809) { + yyv1809 = yyv1809[:yyrl1809] + } else { + yyv1809 = make([]Job, yyrl1809) + } + } else { + yyv1809 = make([]Job, yyrl1809) + } + yyc1809 = true + yyrr1809 = len(yyv1809) + if yyrg1809 { + copy(yyv1809, yyv21809) + } + } else if yyl1809 != len(yyv1809) { + yyv1809 = yyv1809[:yyl1809] + yyc1809 = true + } + yyj1809 := 0 + for ; yyj1809 < yyrr1809; yyj1809++ { + yyh1809.ElemContainerState(yyj1809) + if r.TryDecodeAsNil() { + yyv1809[yyj1809] = Job{} + } else { + yyv1810 := &yyv1809[yyj1809] + yyv1810.CodecDecodeSelf(d) + } + + } + if yyrt1809 { + for ; yyj1809 < yyl1809; yyj1809++ { + yyv1809 = append(yyv1809, Job{}) + yyh1809.ElemContainerState(yyj1809) + if r.TryDecodeAsNil() { + yyv1809[yyj1809] = Job{} + } else { + yyv1811 := &yyv1809[yyj1809] + yyv1811.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1809 := 0 + for ; !r.CheckBreak(); yyj1809++ { + + if yyj1809 >= len(yyv1809) { + yyv1809 = append(yyv1809, Job{}) // var yyz1809 Job + yyc1809 = true + } + yyh1809.ElemContainerState(yyj1809) + if yyj1809 < len(yyv1809) { + if r.TryDecodeAsNil() { + yyv1809[yyj1809] = Job{} + } else { + yyv1812 := &yyv1809[yyj1809] + yyv1812.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1809 < len(yyv1809) { + yyv1809 = yyv1809[:yyj1809] + yyc1809 = true + } else if yyj1809 == 0 && yyv1809 == nil { + yyv1809 = []Job{} + yyc1809 = true + } + } + yyh1809.End() + if yyc1809 { + *v = yyv1809 + } +} + +func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1813 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1814 := &yyv1813 + yy1814.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1815 := *v + yyh1815, yyl1815 := z.DecSliceHelperStart() + var yyc1815 bool + if yyl1815 == 0 { + if yyv1815 == nil { + yyv1815 = []JobCondition{} + yyc1815 = true + } else if len(yyv1815) != 0 { + yyv1815 = yyv1815[:0] + yyc1815 = true + } + } else if yyl1815 > 0 { + var yyrr1815, yyrl1815 int + var yyrt1815 bool + if yyl1815 > cap(yyv1815) { + + yyrg1815 := len(yyv1815) > 0 + yyv21815 := yyv1815 + yyrl1815, yyrt1815 = z.DecInferLen(yyl1815, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1815 { + if yyrl1815 <= cap(yyv1815) { + yyv1815 = yyv1815[:yyrl1815] + } else { + yyv1815 = make([]JobCondition, yyrl1815) + } + } else { + yyv1815 = make([]JobCondition, yyrl1815) + } + yyc1815 = true + yyrr1815 = len(yyv1815) + if yyrg1815 { + copy(yyv1815, yyv21815) + } + } else if yyl1815 != len(yyv1815) { + yyv1815 = yyv1815[:yyl1815] + yyc1815 = true + } + yyj1815 := 0 + for ; yyj1815 < yyrr1815; yyj1815++ { + yyh1815.ElemContainerState(yyj1815) + if r.TryDecodeAsNil() { + yyv1815[yyj1815] = JobCondition{} + } else { + yyv1816 := &yyv1815[yyj1815] + yyv1816.CodecDecodeSelf(d) + } + + } + if yyrt1815 { + for ; yyj1815 < yyl1815; yyj1815++ { + yyv1815 = append(yyv1815, JobCondition{}) + yyh1815.ElemContainerState(yyj1815) + if r.TryDecodeAsNil() { + yyv1815[yyj1815] = JobCondition{} + } else { + yyv1817 := &yyv1815[yyj1815] + yyv1817.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1815 := 0 + for ; !r.CheckBreak(); yyj1815++ { + + if yyj1815 >= len(yyv1815) { + yyv1815 = append(yyv1815, JobCondition{}) // var yyz1815 JobCondition + yyc1815 = true + } + yyh1815.ElemContainerState(yyj1815) + if yyj1815 < len(yyv1815) { + if r.TryDecodeAsNil() { + yyv1815[yyj1815] = JobCondition{} + } else { + yyv1818 := &yyv1815[yyj1815] + yyv1818.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1815 < len(yyv1815) { + yyv1815 = yyv1815[:yyj1815] + yyc1815 = true + } else if yyj1815 == 0 && yyv1815 == nil { + yyv1815 = []JobCondition{} + yyc1815 = true + } + } + yyh1815.End() + if yyc1815 { + *v = yyv1815 + } +} + +func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1819 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1820 := &yyv1819 + yy1820.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1821 := *v + yyh1821, yyl1821 := z.DecSliceHelperStart() + var yyc1821 bool + if yyl1821 == 0 { + if yyv1821 == nil { + yyv1821 = []Ingress{} + yyc1821 = true + } else if len(yyv1821) != 0 { + yyv1821 = yyv1821[:0] + yyc1821 = true + } + } else if yyl1821 > 0 { + var yyrr1821, yyrl1821 int + var yyrt1821 bool + if yyl1821 > cap(yyv1821) { + + yyrg1821 := len(yyv1821) > 0 + yyv21821 := yyv1821 + yyrl1821, yyrt1821 = z.DecInferLen(yyl1821, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1821 { + if yyrl1821 <= cap(yyv1821) { + yyv1821 = yyv1821[:yyrl1821] + } else { + yyv1821 = make([]Ingress, yyrl1821) + } + } else { + yyv1821 = make([]Ingress, yyrl1821) + } + yyc1821 = true + yyrr1821 = len(yyv1821) + if yyrg1821 { + copy(yyv1821, yyv21821) + } + } else if yyl1821 != len(yyv1821) { + yyv1821 = yyv1821[:yyl1821] + yyc1821 = true + } + yyj1821 := 0 + for ; yyj1821 < yyrr1821; yyj1821++ { + yyh1821.ElemContainerState(yyj1821) + if r.TryDecodeAsNil() { + yyv1821[yyj1821] = Ingress{} + } else { + yyv1822 := &yyv1821[yyj1821] + yyv1822.CodecDecodeSelf(d) + } + + } + if yyrt1821 { + for ; yyj1821 < yyl1821; yyj1821++ { + yyv1821 = append(yyv1821, Ingress{}) + yyh1821.ElemContainerState(yyj1821) + if r.TryDecodeAsNil() { + yyv1821[yyj1821] = Ingress{} + } else { + yyv1823 := &yyv1821[yyj1821] + yyv1823.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1821 := 0 + for ; !r.CheckBreak(); yyj1821++ { + + if yyj1821 >= len(yyv1821) { + yyv1821 = append(yyv1821, Ingress{}) // var yyz1821 Ingress + yyc1821 = true + } + yyh1821.ElemContainerState(yyj1821) + if yyj1821 < len(yyv1821) { + if r.TryDecodeAsNil() { + yyv1821[yyj1821] = Ingress{} + } else { + yyv1824 := &yyv1821[yyj1821] + yyv1824.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1821 < len(yyv1821) { + yyv1821 = yyv1821[:yyj1821] + yyc1821 = true + } else if yyj1821 == 0 && yyv1821 == nil { + yyv1821 = []Ingress{} + yyc1821 = true + } + } + yyh1821.End() + if yyc1821 { + *v = yyv1821 + } +} + +func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1825 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1826 := &yyv1825 + yy1826.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1827 := *v + yyh1827, yyl1827 := z.DecSliceHelperStart() + var yyc1827 bool + if yyl1827 == 0 { + if yyv1827 == nil { + yyv1827 = []IngressTLS{} + yyc1827 = true + } else if len(yyv1827) != 0 { + yyv1827 = yyv1827[:0] + yyc1827 = true + } + } else if yyl1827 > 0 { + var yyrr1827, yyrl1827 int + var yyrt1827 bool + if yyl1827 > cap(yyv1827) { + + yyrg1827 := len(yyv1827) > 0 + yyv21827 := yyv1827 + yyrl1827, yyrt1827 = z.DecInferLen(yyl1827, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1827 { + if yyrl1827 <= cap(yyv1827) { + yyv1827 = yyv1827[:yyrl1827] + } else { + yyv1827 = make([]IngressTLS, yyrl1827) + } + } else { + yyv1827 = make([]IngressTLS, yyrl1827) + } + yyc1827 = true + yyrr1827 = len(yyv1827) + if yyrg1827 { + copy(yyv1827, yyv21827) + } + } else if yyl1827 != len(yyv1827) { + yyv1827 = yyv1827[:yyl1827] + yyc1827 = true + } + yyj1827 := 0 + for ; yyj1827 < yyrr1827; yyj1827++ { + yyh1827.ElemContainerState(yyj1827) + if r.TryDecodeAsNil() { + yyv1827[yyj1827] = IngressTLS{} + } else { + yyv1828 := &yyv1827[yyj1827] + yyv1828.CodecDecodeSelf(d) + } + + } + if yyrt1827 { + for ; yyj1827 < yyl1827; yyj1827++ { + yyv1827 = append(yyv1827, IngressTLS{}) + yyh1827.ElemContainerState(yyj1827) + if r.TryDecodeAsNil() { + yyv1827[yyj1827] = IngressTLS{} + } else { + yyv1829 := &yyv1827[yyj1827] + yyv1829.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1827 := 0 + for ; !r.CheckBreak(); yyj1827++ { + + if yyj1827 >= len(yyv1827) { + yyv1827 = append(yyv1827, IngressTLS{}) // var yyz1827 IngressTLS + yyc1827 = true + } + yyh1827.ElemContainerState(yyj1827) + if yyj1827 < len(yyv1827) { + if r.TryDecodeAsNil() { + yyv1827[yyj1827] = IngressTLS{} + } else { + yyv1830 := &yyv1827[yyj1827] + yyv1830.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1827 < len(yyv1827) { + yyv1827 = yyv1827[:yyj1827] + yyc1827 = true + } else if yyj1827 == 0 && yyv1827 == nil { + yyv1827 = []IngressTLS{} + yyc1827 = true + } + } + yyh1827.End() + if yyc1827 { + *v = yyv1827 + } +} + +func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1831 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1832 := &yyv1831 + yy1832.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1833 := *v + yyh1833, yyl1833 := z.DecSliceHelperStart() + var yyc1833 bool + if yyl1833 == 0 { + if yyv1833 == nil { + yyv1833 = []IngressRule{} + yyc1833 = true + } else if len(yyv1833) != 0 { + yyv1833 = yyv1833[:0] + yyc1833 = true + } + } else if yyl1833 > 0 { + var yyrr1833, yyrl1833 int + var yyrt1833 bool + if yyl1833 > cap(yyv1833) { + + yyrg1833 := len(yyv1833) > 0 + yyv21833 := yyv1833 + yyrl1833, yyrt1833 = z.DecInferLen(yyl1833, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1833 { + if yyrl1833 <= cap(yyv1833) { + yyv1833 = yyv1833[:yyrl1833] + } else { + yyv1833 = make([]IngressRule, yyrl1833) + } + } else { + yyv1833 = make([]IngressRule, yyrl1833) + } + yyc1833 = true + yyrr1833 = len(yyv1833) + if yyrg1833 { + copy(yyv1833, yyv21833) + } + } else if yyl1833 != len(yyv1833) { + yyv1833 = yyv1833[:yyl1833] + yyc1833 = true + } + yyj1833 := 0 + for ; yyj1833 < yyrr1833; yyj1833++ { + yyh1833.ElemContainerState(yyj1833) + if r.TryDecodeAsNil() { + yyv1833[yyj1833] = IngressRule{} + } else { + yyv1834 := &yyv1833[yyj1833] + yyv1834.CodecDecodeSelf(d) + } + + } + if yyrt1833 { + for ; yyj1833 < yyl1833; yyj1833++ { + yyv1833 = append(yyv1833, IngressRule{}) + yyh1833.ElemContainerState(yyj1833) + if r.TryDecodeAsNil() { + yyv1833[yyj1833] = IngressRule{} + } else { + yyv1835 := &yyv1833[yyj1833] + yyv1835.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1833 := 0 + for ; !r.CheckBreak(); yyj1833++ { + + if yyj1833 >= len(yyv1833) { + yyv1833 = append(yyv1833, IngressRule{}) // var yyz1833 IngressRule + yyc1833 = true + } + yyh1833.ElemContainerState(yyj1833) + if yyj1833 < len(yyv1833) { + if r.TryDecodeAsNil() { + yyv1833[yyj1833] = IngressRule{} + } else { + yyv1836 := &yyv1833[yyj1833] + yyv1836.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1833 < len(yyv1833) { + yyv1833 = yyv1833[:yyj1833] + yyc1833 = true + } else if yyj1833 == 0 && yyv1833 == nil { + yyv1833 = []IngressRule{} + yyc1833 = true + } + } + yyh1833.End() + if yyc1833 { + *v = yyv1833 + } +} + +func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1837 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1838 := &yyv1837 + yy1838.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1839 := *v + yyh1839, yyl1839 := z.DecSliceHelperStart() + var yyc1839 bool + if yyl1839 == 0 { + if yyv1839 == nil { + yyv1839 = []HTTPIngressPath{} + yyc1839 = true + } else if len(yyv1839) != 0 { + yyv1839 = yyv1839[:0] + yyc1839 = true + } + } else if yyl1839 > 0 { + var yyrr1839, yyrl1839 int + var yyrt1839 bool + if yyl1839 > cap(yyv1839) { + + yyrg1839 := len(yyv1839) > 0 + yyv21839 := yyv1839 + yyrl1839, yyrt1839 = z.DecInferLen(yyl1839, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1839 { + if yyrl1839 <= cap(yyv1839) { + yyv1839 = yyv1839[:yyrl1839] + } else { + yyv1839 = make([]HTTPIngressPath, yyrl1839) + } + } else { + yyv1839 = make([]HTTPIngressPath, yyrl1839) + } + yyc1839 = true + yyrr1839 = len(yyv1839) + if yyrg1839 { + copy(yyv1839, yyv21839) + } + } else if yyl1839 != len(yyv1839) { + yyv1839 = yyv1839[:yyl1839] + yyc1839 = true + } + yyj1839 := 0 + for ; yyj1839 < yyrr1839; yyj1839++ { + yyh1839.ElemContainerState(yyj1839) + if r.TryDecodeAsNil() { + yyv1839[yyj1839] = HTTPIngressPath{} + } else { + yyv1840 := &yyv1839[yyj1839] + yyv1840.CodecDecodeSelf(d) + } + + } + if yyrt1839 { + for ; yyj1839 < yyl1839; yyj1839++ { + yyv1839 = append(yyv1839, HTTPIngressPath{}) + yyh1839.ElemContainerState(yyj1839) + if r.TryDecodeAsNil() { + yyv1839[yyj1839] = HTTPIngressPath{} + } else { + yyv1841 := &yyv1839[yyj1839] + yyv1841.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1839 := 0 + for ; !r.CheckBreak(); yyj1839++ { + + if yyj1839 >= len(yyv1839) { + yyv1839 = append(yyv1839, HTTPIngressPath{}) // var yyz1839 HTTPIngressPath + yyc1839 = true + } + yyh1839.ElemContainerState(yyj1839) + if yyj1839 < len(yyv1839) { + if r.TryDecodeAsNil() { + yyv1839[yyj1839] = HTTPIngressPath{} + } else { + yyv1842 := &yyv1839[yyj1839] + yyv1842.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1839 < len(yyv1839) { + yyv1839 = yyv1839[:yyj1839] + yyc1839 = true + } else if yyj1839 == 0 && yyv1839 == nil { + yyv1839 = []HTTPIngressPath{} + yyc1839 = true + } + } + yyh1839.End() + if yyc1839 { + *v = yyv1839 + } +} + +func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequirement, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1843 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1844 := &yyv1843 + yy1844.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequirement, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1845 := *v + yyh1845, yyl1845 := z.DecSliceHelperStart() + var yyc1845 bool + if yyl1845 == 0 { + if yyv1845 == nil { + yyv1845 = []LabelSelectorRequirement{} + yyc1845 = true + } else if len(yyv1845) != 0 { + yyv1845 = yyv1845[:0] + yyc1845 = true + } + } else if yyl1845 > 0 { + var yyrr1845, yyrl1845 int + var yyrt1845 bool + if yyl1845 > cap(yyv1845) { + + yyrg1845 := len(yyv1845) > 0 + yyv21845 := yyv1845 + yyrl1845, yyrt1845 = z.DecInferLen(yyl1845, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1845 { + if yyrl1845 <= cap(yyv1845) { + yyv1845 = yyv1845[:yyrl1845] + } else { + yyv1845 = make([]LabelSelectorRequirement, yyrl1845) + } + } else { + yyv1845 = make([]LabelSelectorRequirement, yyrl1845) + } + yyc1845 = true + yyrr1845 = len(yyv1845) + if yyrg1845 { + copy(yyv1845, yyv21845) + } + } else if yyl1845 != len(yyv1845) { + yyv1845 = yyv1845[:yyl1845] + yyc1845 = true + } + yyj1845 := 0 + for ; yyj1845 < yyrr1845; yyj1845++ { + yyh1845.ElemContainerState(yyj1845) + if r.TryDecodeAsNil() { + yyv1845[yyj1845] = LabelSelectorRequirement{} + } else { + yyv1846 := &yyv1845[yyj1845] + yyv1846.CodecDecodeSelf(d) + } + + } + if yyrt1845 { + for ; yyj1845 < yyl1845; yyj1845++ { + yyv1845 = append(yyv1845, LabelSelectorRequirement{}) + yyh1845.ElemContainerState(yyj1845) + if r.TryDecodeAsNil() { + yyv1845[yyj1845] = LabelSelectorRequirement{} + } else { + yyv1847 := &yyv1845[yyj1845] + yyv1847.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1845 := 0 + for ; !r.CheckBreak(); yyj1845++ { + + if yyj1845 >= len(yyv1845) { + yyv1845 = append(yyv1845, LabelSelectorRequirement{}) // var yyz1845 LabelSelectorRequirement + yyc1845 = true + } + yyh1845.ElemContainerState(yyj1845) + if yyj1845 < len(yyv1845) { + if r.TryDecodeAsNil() { + yyv1845[yyj1845] = LabelSelectorRequirement{} + } else { + yyv1848 := &yyv1845[yyj1845] + yyv1848.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1845 < len(yyv1845) { + yyv1845 = yyv1845[:yyj1845] + yyc1845 = true + } else if yyj1845 == 0 && yyv1845 == nil { + yyv1845 = []LabelSelectorRequirement{} + yyc1845 = true + } + } + yyh1845.End() + if yyc1845 { + *v = yyv1845 + } +} + +func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1849 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1850 := &yyv1849 + yy1850.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1851 := *v + yyh1851, yyl1851 := z.DecSliceHelperStart() + var yyc1851 bool + if yyl1851 == 0 { + if yyv1851 == nil { + yyv1851 = []ReplicaSet{} + yyc1851 = true + } else if len(yyv1851) != 0 { + yyv1851 = yyv1851[:0] + yyc1851 = true + } + } else if yyl1851 > 0 { + var yyrr1851, yyrl1851 int + var yyrt1851 bool + if yyl1851 > cap(yyv1851) { + + yyrg1851 := len(yyv1851) > 0 + yyv21851 := yyv1851 + yyrl1851, yyrt1851 = z.DecInferLen(yyl1851, z.DecBasicHandle().MaxInitLen, 768) + if yyrt1851 { + if yyrl1851 <= cap(yyv1851) { + yyv1851 = yyv1851[:yyrl1851] + } else { + yyv1851 = make([]ReplicaSet, yyrl1851) + } + } else { + yyv1851 = make([]ReplicaSet, yyrl1851) + } + yyc1851 = true + yyrr1851 = len(yyv1851) + if yyrg1851 { + copy(yyv1851, yyv21851) + } + } else if yyl1851 != len(yyv1851) { + yyv1851 = yyv1851[:yyl1851] + yyc1851 = true + } + yyj1851 := 0 + for ; yyj1851 < yyrr1851; yyj1851++ { + yyh1851.ElemContainerState(yyj1851) + if r.TryDecodeAsNil() { + yyv1851[yyj1851] = ReplicaSet{} + } else { + yyv1852 := &yyv1851[yyj1851] + yyv1852.CodecDecodeSelf(d) + } + + } + if yyrt1851 { + for ; yyj1851 < yyl1851; yyj1851++ { + yyv1851 = append(yyv1851, ReplicaSet{}) + yyh1851.ElemContainerState(yyj1851) + if r.TryDecodeAsNil() { + yyv1851[yyj1851] = ReplicaSet{} + } else { + yyv1853 := &yyv1851[yyj1851] + yyv1853.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1851 := 0 + for ; !r.CheckBreak(); yyj1851++ { + + if yyj1851 >= len(yyv1851) { + yyv1851 = append(yyv1851, ReplicaSet{}) // var yyz1851 ReplicaSet + yyc1851 = true + } + yyh1851.ElemContainerState(yyj1851) + if yyj1851 < len(yyv1851) { + if r.TryDecodeAsNil() { + yyv1851[yyj1851] = ReplicaSet{} + } else { + yyv1854 := &yyv1851[yyj1851] + yyv1854.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1851 < len(yyv1851) { + yyv1851 = yyv1851[:yyj1851] + yyc1851 = true + } else if yyj1851 == 0 && yyv1851 == nil { + yyv1851 = []ReplicaSet{} + yyc1851 = true + } + } + yyh1851.End() + if yyc1851 { + *v = yyv1851 + } +} + +func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1855 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1856 := z.EncBinary() + _ = yym1856 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1855) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1855)) + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1857 := *v + yyh1857, yyl1857 := z.DecSliceHelperStart() + var yyc1857 bool + if yyl1857 == 0 { + if yyv1857 == nil { + yyv1857 = []pkg2_v1.Capability{} + yyc1857 = true + } else if len(yyv1857) != 0 { + yyv1857 = yyv1857[:0] + yyc1857 = true + } + } else if yyl1857 > 0 { + var yyrr1857, yyrl1857 int + var yyrt1857 bool + if yyl1857 > cap(yyv1857) { + + yyrl1857, yyrt1857 = z.DecInferLen(yyl1857, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1857 { + if yyrl1857 <= cap(yyv1857) { + yyv1857 = yyv1857[:yyrl1857] + } else { + yyv1857 = make([]pkg2_v1.Capability, yyrl1857) + } + } else { + yyv1857 = make([]pkg2_v1.Capability, yyrl1857) + } + yyc1857 = true + yyrr1857 = len(yyv1857) + } else if yyl1857 != len(yyv1857) { + yyv1857 = yyv1857[:yyl1857] + yyc1857 = true + } + yyj1857 := 0 + for ; yyj1857 < yyrr1857; yyj1857++ { + yyh1857.ElemContainerState(yyj1857) + if r.TryDecodeAsNil() { + yyv1857[yyj1857] = "" + } else { + yyv1857[yyj1857] = pkg2_v1.Capability(r.DecodeString()) + } + + } + if yyrt1857 { + for ; yyj1857 < yyl1857; yyj1857++ { + yyv1857 = append(yyv1857, "") + yyh1857.ElemContainerState(yyj1857) + if r.TryDecodeAsNil() { + yyv1857[yyj1857] = "" + } else { + yyv1857[yyj1857] = pkg2_v1.Capability(r.DecodeString()) + } + + } + } + + } else { + yyj1857 := 0 + for ; !r.CheckBreak(); yyj1857++ { + + if yyj1857 >= len(yyv1857) { + yyv1857 = append(yyv1857, "") // var yyz1857 pkg2_v1.Capability + yyc1857 = true + } + yyh1857.ElemContainerState(yyj1857) + if yyj1857 < len(yyv1857) { + if r.TryDecodeAsNil() { + yyv1857[yyj1857] = "" + } else { + yyv1857[yyj1857] = pkg2_v1.Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj1857 < len(yyv1857) { + yyv1857 = yyv1857[:yyj1857] + yyc1857 = true + } else if yyj1857 == 0 && yyv1857 == nil { + yyv1857 = []pkg2_v1.Capability{} + yyc1857 = true + } + } + yyh1857.End() + if yyc1857 { + *v = yyv1857 + } +} + +func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1861 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv1861.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yyv1862 := *v yyh1862, yyl1862 := z.DecSliceHelperStart() var yyc1862 bool if yyl1862 == 0 { if yyv1862 == nil { - yyv1862 = []DaemonSet{} + yyv1862 = []FSType{} yyc1862 = true } else if len(yyv1862) != 0 { yyv1862 = yyv1862[:0] @@ -22490,23 +23050,18 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) var yyrt1862 bool if yyl1862 > cap(yyv1862) { - yyrg1862 := len(yyv1862) > 0 - yyv21862 := yyv1862 - yyrl1862, yyrt1862 = z.DecInferLen(yyl1862, z.DecBasicHandle().MaxInitLen, 752) + yyrl1862, yyrt1862 = z.DecInferLen(yyl1862, z.DecBasicHandle().MaxInitLen, 16) if yyrt1862 { if yyrl1862 <= cap(yyv1862) { yyv1862 = yyv1862[:yyrl1862] } else { - yyv1862 = make([]DaemonSet, yyrl1862) + yyv1862 = make([]FSType, yyrl1862) } } else { - yyv1862 = make([]DaemonSet, yyrl1862) + yyv1862 = make([]FSType, yyrl1862) } yyc1862 = true yyrr1862 = len(yyv1862) - if yyrg1862 { - copy(yyv1862, yyv21862) - } } else if yyl1862 != len(yyv1862) { yyv1862 = yyv1862[:yyl1862] yyc1862 = true @@ -22515,22 +23070,20 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; yyj1862 < yyrr1862; yyj1862++ { yyh1862.ElemContainerState(yyj1862) if r.TryDecodeAsNil() { - yyv1862[yyj1862] = DaemonSet{} + yyv1862[yyj1862] = "" } else { - yyv1863 := &yyv1862[yyj1862] - yyv1863.CodecDecodeSelf(d) + yyv1862[yyj1862] = FSType(r.DecodeString()) } } if yyrt1862 { for ; yyj1862 < yyl1862; yyj1862++ { - yyv1862 = append(yyv1862, DaemonSet{}) + yyv1862 = append(yyv1862, "") yyh1862.ElemContainerState(yyj1862) if r.TryDecodeAsNil() { - yyv1862[yyj1862] = DaemonSet{} + yyv1862[yyj1862] = "" } else { - yyv1864 := &yyv1862[yyj1862] - yyv1864.CodecDecodeSelf(d) + yyv1862[yyj1862] = FSType(r.DecodeString()) } } @@ -22541,16 +23094,15 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj1862++ { if yyj1862 >= len(yyv1862) { - yyv1862 = append(yyv1862, DaemonSet{}) // var yyz1862 DaemonSet + yyv1862 = append(yyv1862, "") // var yyz1862 FSType yyc1862 = true } yyh1862.ElemContainerState(yyj1862) if yyj1862 < len(yyv1862) { if r.TryDecodeAsNil() { - yyv1862[yyj1862] = DaemonSet{} + yyv1862[yyj1862] = "" } else { - yyv1865 := &yyv1862[yyj1862] - yyv1865.CodecDecodeSelf(d) + yyv1862[yyj1862] = FSType(r.DecodeString()) } } else { @@ -22562,7 +23114,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyv1862 = yyv1862[:yyj1862] yyc1862 = true } else if yyj1862 == 0 && yyv1862 == nil { - yyv1862 = []DaemonSet{} + yyv1862 = []FSType{} yyc1862 = true } } @@ -22572,7 +23124,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } -func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22585,7 +23137,7 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22595,7 +23147,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD var yyc1868 bool if yyl1868 == 0 { if yyv1868 == nil { - yyv1868 = []ThirdPartyResourceData{} + yyv1868 = []HostPortRange{} yyc1868 = true } else if len(yyv1868) != 0 { yyv1868 = yyv1868[:0] @@ -22608,15 +23160,15 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD yyrg1868 := len(yyv1868) > 0 yyv21868 := yyv1868 - yyrl1868, yyrt1868 = z.DecInferLen(yyl1868, z.DecBasicHandle().MaxInitLen, 280) + yyrl1868, yyrt1868 = z.DecInferLen(yyl1868, z.DecBasicHandle().MaxInitLen, 8) if yyrt1868 { if yyrl1868 <= cap(yyv1868) { yyv1868 = yyv1868[:yyrl1868] } else { - yyv1868 = make([]ThirdPartyResourceData, yyrl1868) + yyv1868 = make([]HostPortRange, yyrl1868) } } else { - yyv1868 = make([]ThirdPartyResourceData, yyrl1868) + yyv1868 = make([]HostPortRange, yyrl1868) } yyc1868 = true yyrr1868 = len(yyv1868) @@ -22631,7 +23183,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD for ; yyj1868 < yyrr1868; yyj1868++ { yyh1868.ElemContainerState(yyj1868) if r.TryDecodeAsNil() { - yyv1868[yyj1868] = ThirdPartyResourceData{} + yyv1868[yyj1868] = HostPortRange{} } else { yyv1869 := &yyv1868[yyj1868] yyv1869.CodecDecodeSelf(d) @@ -22640,10 +23192,10 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } if yyrt1868 { for ; yyj1868 < yyl1868; yyj1868++ { - yyv1868 = append(yyv1868, ThirdPartyResourceData{}) + yyv1868 = append(yyv1868, HostPortRange{}) yyh1868.ElemContainerState(yyj1868) if r.TryDecodeAsNil() { - yyv1868[yyj1868] = ThirdPartyResourceData{} + yyv1868[yyj1868] = HostPortRange{} } else { yyv1870 := &yyv1868[yyj1868] yyv1870.CodecDecodeSelf(d) @@ -22657,13 +23209,13 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD for ; !r.CheckBreak(); yyj1868++ { if yyj1868 >= len(yyv1868) { - yyv1868 = append(yyv1868, ThirdPartyResourceData{}) // var yyz1868 ThirdPartyResourceData + yyv1868 = append(yyv1868, HostPortRange{}) // var yyz1868 HostPortRange yyc1868 = true } yyh1868.ElemContainerState(yyj1868) if yyj1868 < len(yyv1868) { if r.TryDecodeAsNil() { - yyv1868[yyj1868] = ThirdPartyResourceData{} + yyv1868[yyj1868] = HostPortRange{} } else { yyv1871 := &yyv1868[yyj1868] yyv1871.CodecDecodeSelf(d) @@ -22678,7 +23230,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD yyv1868 = yyv1868[:yyj1868] yyc1868 = true } else if yyj1868 == 0 && yyv1868 == nil { - yyv1868 = []ThirdPartyResourceData{} + yyv1868 = []HostPortRange{} yyc1868 = true } } @@ -22688,7 +23240,7 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } -func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22701,7 +23253,7 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22711,7 +23263,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { var yyc1874 bool if yyl1874 == 0 { if yyv1874 == nil { - yyv1874 = []Job{} + yyv1874 = []IDRange{} yyc1874 = true } else if len(yyv1874) != 0 { yyv1874 = yyv1874[:0] @@ -22724,15 +23276,15 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { yyrg1874 := len(yyv1874) > 0 yyv21874 := yyv1874 - yyrl1874, yyrt1874 = z.DecInferLen(yyl1874, z.DecBasicHandle().MaxInitLen, 824) + yyrl1874, yyrt1874 = z.DecInferLen(yyl1874, z.DecBasicHandle().MaxInitLen, 16) if yyrt1874 { if yyrl1874 <= cap(yyv1874) { yyv1874 = yyv1874[:yyrl1874] } else { - yyv1874 = make([]Job, yyrl1874) + yyv1874 = make([]IDRange, yyrl1874) } } else { - yyv1874 = make([]Job, yyrl1874) + yyv1874 = make([]IDRange, yyrl1874) } yyc1874 = true yyrr1874 = len(yyv1874) @@ -22747,7 +23299,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { for ; yyj1874 < yyrr1874; yyj1874++ { yyh1874.ElemContainerState(yyj1874) if r.TryDecodeAsNil() { - yyv1874[yyj1874] = Job{} + yyv1874[yyj1874] = IDRange{} } else { yyv1875 := &yyv1874[yyj1874] yyv1875.CodecDecodeSelf(d) @@ -22756,10 +23308,10 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } if yyrt1874 { for ; yyj1874 < yyl1874; yyj1874++ { - yyv1874 = append(yyv1874, Job{}) + yyv1874 = append(yyv1874, IDRange{}) yyh1874.ElemContainerState(yyj1874) if r.TryDecodeAsNil() { - yyv1874[yyj1874] = Job{} + yyv1874[yyj1874] = IDRange{} } else { yyv1876 := &yyv1874[yyj1874] yyv1876.CodecDecodeSelf(d) @@ -22773,13 +23325,13 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj1874++ { if yyj1874 >= len(yyv1874) { - yyv1874 = append(yyv1874, Job{}) // var yyz1874 Job + yyv1874 = append(yyv1874, IDRange{}) // var yyz1874 IDRange yyc1874 = true } yyh1874.ElemContainerState(yyj1874) if yyj1874 < len(yyv1874) { if r.TryDecodeAsNil() { - yyv1874[yyj1874] = Job{} + yyv1874[yyj1874] = IDRange{} } else { yyv1877 := &yyv1874[yyj1874] yyv1877.CodecDecodeSelf(d) @@ -22794,7 +23346,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { yyv1874 = yyv1874[:yyj1874] yyc1874 = true } else if yyj1874 == 0 && yyv1874 == nil { - yyv1874 = []Job{} + yyv1874 = []IDRange{} yyc1874 = true } } @@ -22804,7 +23356,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22817,7 +23369,7 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22827,7 +23379,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De var yyc1880 bool if yyl1880 == 0 { if yyv1880 == nil { - yyv1880 = []JobCondition{} + yyv1880 = []PodSecurityPolicy{} yyc1880 = true } else if len(yyv1880) != 0 { yyv1880 = yyv1880[:0] @@ -22840,15 +23392,15 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De yyrg1880 := len(yyv1880) > 0 yyv21880 := yyv1880 - yyrl1880, yyrt1880 = z.DecInferLen(yyl1880, z.DecBasicHandle().MaxInitLen, 112) + yyrl1880, yyrt1880 = z.DecInferLen(yyl1880, z.DecBasicHandle().MaxInitLen, 552) if yyrt1880 { if yyrl1880 <= cap(yyv1880) { yyv1880 = yyv1880[:yyrl1880] } else { - yyv1880 = make([]JobCondition, yyrl1880) + yyv1880 = make([]PodSecurityPolicy, yyrl1880) } } else { - yyv1880 = make([]JobCondition, yyrl1880) + yyv1880 = make([]PodSecurityPolicy, yyrl1880) } yyc1880 = true yyrr1880 = len(yyv1880) @@ -22863,7 +23415,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De for ; yyj1880 < yyrr1880; yyj1880++ { yyh1880.ElemContainerState(yyj1880) if r.TryDecodeAsNil() { - yyv1880[yyj1880] = JobCondition{} + yyv1880[yyj1880] = PodSecurityPolicy{} } else { yyv1881 := &yyv1880[yyj1880] yyv1881.CodecDecodeSelf(d) @@ -22872,10 +23424,10 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } if yyrt1880 { for ; yyj1880 < yyl1880; yyj1880++ { - yyv1880 = append(yyv1880, JobCondition{}) + yyv1880 = append(yyv1880, PodSecurityPolicy{}) yyh1880.ElemContainerState(yyj1880) if r.TryDecodeAsNil() { - yyv1880[yyj1880] = JobCondition{} + yyv1880[yyj1880] = PodSecurityPolicy{} } else { yyv1882 := &yyv1880[yyj1880] yyv1882.CodecDecodeSelf(d) @@ -22889,13 +23441,13 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De for ; !r.CheckBreak(); yyj1880++ { if yyj1880 >= len(yyv1880) { - yyv1880 = append(yyv1880, JobCondition{}) // var yyz1880 JobCondition + yyv1880 = append(yyv1880, PodSecurityPolicy{}) // var yyz1880 PodSecurityPolicy yyc1880 = true } yyh1880.ElemContainerState(yyj1880) if yyj1880 < len(yyv1880) { if r.TryDecodeAsNil() { - yyv1880[yyj1880] = JobCondition{} + yyv1880[yyj1880] = PodSecurityPolicy{} } else { yyv1883 := &yyv1880[yyj1880] yyv1883.CodecDecodeSelf(d) @@ -22910,7 +23462,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De yyv1880 = yyv1880[:yyj1880] yyc1880 = true } else if yyj1880 == 0 && yyv1880 == nil { - yyv1880 = []JobCondition{} + yyv1880 = []PodSecurityPolicy{} yyc1880 = true } } @@ -22920,7 +23472,7 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } -func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngressRule, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22933,7 +23485,7 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngressRule, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22943,7 +23495,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { var yyc1886 bool if yyl1886 == 0 { if yyv1886 == nil { - yyv1886 = []Ingress{} + yyv1886 = []NetworkPolicyIngressRule{} yyc1886 = true } else if len(yyv1886) != 0 { yyv1886 = yyv1886[:0] @@ -22956,15 +23508,15 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyrg1886 := len(yyv1886) > 0 yyv21886 := yyv1886 - yyrl1886, yyrt1886 = z.DecInferLen(yyl1886, z.DecBasicHandle().MaxInitLen, 336) + yyrl1886, yyrt1886 = z.DecInferLen(yyl1886, z.DecBasicHandle().MaxInitLen, 48) if yyrt1886 { if yyrl1886 <= cap(yyv1886) { yyv1886 = yyv1886[:yyrl1886] } else { - yyv1886 = make([]Ingress, yyrl1886) + yyv1886 = make([]NetworkPolicyIngressRule, yyrl1886) } } else { - yyv1886 = make([]Ingress, yyrl1886) + yyv1886 = make([]NetworkPolicyIngressRule, yyrl1886) } yyc1886 = true yyrr1886 = len(yyv1886) @@ -22979,7 +23531,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; yyj1886 < yyrr1886; yyj1886++ { yyh1886.ElemContainerState(yyj1886) if r.TryDecodeAsNil() { - yyv1886[yyj1886] = Ingress{} + yyv1886[yyj1886] = NetworkPolicyIngressRule{} } else { yyv1887 := &yyv1886[yyj1886] yyv1887.CodecDecodeSelf(d) @@ -22988,10 +23540,10 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } if yyrt1886 { for ; yyj1886 < yyl1886; yyj1886++ { - yyv1886 = append(yyv1886, Ingress{}) + yyv1886 = append(yyv1886, NetworkPolicyIngressRule{}) yyh1886.ElemContainerState(yyj1886) if r.TryDecodeAsNil() { - yyv1886[yyj1886] = Ingress{} + yyv1886[yyj1886] = NetworkPolicyIngressRule{} } else { yyv1888 := &yyv1886[yyj1886] yyv1888.CodecDecodeSelf(d) @@ -23005,13 +23557,13 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj1886++ { if yyj1886 >= len(yyv1886) { - yyv1886 = append(yyv1886, Ingress{}) // var yyz1886 Ingress + yyv1886 = append(yyv1886, NetworkPolicyIngressRule{}) // var yyz1886 NetworkPolicyIngressRule yyc1886 = true } yyh1886.ElemContainerState(yyj1886) if yyj1886 < len(yyv1886) { if r.TryDecodeAsNil() { - yyv1886[yyj1886] = Ingress{} + yyv1886[yyj1886] = NetworkPolicyIngressRule{} } else { yyv1889 := &yyv1886[yyj1886] yyv1889.CodecDecodeSelf(d) @@ -23026,7 +23578,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyv1886 = yyv1886[:yyj1886] yyc1886 = true } else if yyj1886 == 0 && yyv1886 == nil { - yyv1886 = []Ingress{} + yyv1886 = []NetworkPolicyIngressRule{} yyc1886 = true } } @@ -23036,7 +23588,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -23049,7 +23601,7 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -23059,7 +23611,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode var yyc1892 bool if yyl1892 == 0 { if yyv1892 == nil { - yyv1892 = []IngressTLS{} + yyv1892 = []NetworkPolicyPort{} yyc1892 = true } else if len(yyv1892) != 0 { yyv1892 = yyv1892[:0] @@ -23072,15 +23624,15 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyrg1892 := len(yyv1892) > 0 yyv21892 := yyv1892 - yyrl1892, yyrt1892 = z.DecInferLen(yyl1892, z.DecBasicHandle().MaxInitLen, 40) + yyrl1892, yyrt1892 = z.DecInferLen(yyl1892, z.DecBasicHandle().MaxInitLen, 16) if yyrt1892 { if yyrl1892 <= cap(yyv1892) { yyv1892 = yyv1892[:yyrl1892] } else { - yyv1892 = make([]IngressTLS, yyrl1892) + yyv1892 = make([]NetworkPolicyPort, yyrl1892) } } else { - yyv1892 = make([]IngressTLS, yyrl1892) + yyv1892 = make([]NetworkPolicyPort, yyrl1892) } yyc1892 = true yyrr1892 = len(yyv1892) @@ -23095,7 +23647,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; yyj1892 < yyrr1892; yyj1892++ { yyh1892.ElemContainerState(yyj1892) if r.TryDecodeAsNil() { - yyv1892[yyj1892] = IngressTLS{} + yyv1892[yyj1892] = NetworkPolicyPort{} } else { yyv1893 := &yyv1892[yyj1892] yyv1893.CodecDecodeSelf(d) @@ -23104,10 +23656,10 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } if yyrt1892 { for ; yyj1892 < yyl1892; yyj1892++ { - yyv1892 = append(yyv1892, IngressTLS{}) + yyv1892 = append(yyv1892, NetworkPolicyPort{}) yyh1892.ElemContainerState(yyj1892) if r.TryDecodeAsNil() { - yyv1892[yyj1892] = IngressTLS{} + yyv1892[yyj1892] = NetworkPolicyPort{} } else { yyv1894 := &yyv1892[yyj1892] yyv1894.CodecDecodeSelf(d) @@ -23121,13 +23673,13 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; !r.CheckBreak(); yyj1892++ { if yyj1892 >= len(yyv1892) { - yyv1892 = append(yyv1892, IngressTLS{}) // var yyz1892 IngressTLS + yyv1892 = append(yyv1892, NetworkPolicyPort{}) // var yyz1892 NetworkPolicyPort yyc1892 = true } yyh1892.ElemContainerState(yyj1892) if yyj1892 < len(yyv1892) { if r.TryDecodeAsNil() { - yyv1892[yyj1892] = IngressTLS{} + yyv1892[yyj1892] = NetworkPolicyPort{} } else { yyv1895 := &yyv1892[yyj1892] yyv1895.CodecDecodeSelf(d) @@ -23142,7 +23694,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyv1892 = yyv1892[:yyj1892] yyc1892 = true } else if yyj1892 == 0 && yyv1892 == nil { - yyv1892 = []IngressTLS{} + yyv1892 = []NetworkPolicyPort{} yyc1892 = true } } @@ -23152,7 +23704,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -23165,7 +23717,7 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -23175,7 +23727,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco var yyc1898 bool if yyl1898 == 0 { if yyv1898 == nil { - yyv1898 = []IngressRule{} + yyv1898 = []NetworkPolicyPeer{} yyc1898 = true } else if len(yyv1898) != 0 { yyv1898 = yyv1898[:0] @@ -23188,15 +23740,15 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyrg1898 := len(yyv1898) > 0 yyv21898 := yyv1898 - yyrl1898, yyrt1898 = z.DecInferLen(yyl1898, z.DecBasicHandle().MaxInitLen, 24) + yyrl1898, yyrt1898 = z.DecInferLen(yyl1898, z.DecBasicHandle().MaxInitLen, 16) if yyrt1898 { if yyrl1898 <= cap(yyv1898) { yyv1898 = yyv1898[:yyrl1898] } else { - yyv1898 = make([]IngressRule, yyrl1898) + yyv1898 = make([]NetworkPolicyPeer, yyrl1898) } } else { - yyv1898 = make([]IngressRule, yyrl1898) + yyv1898 = make([]NetworkPolicyPeer, yyrl1898) } yyc1898 = true yyrr1898 = len(yyv1898) @@ -23211,7 +23763,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; yyj1898 < yyrr1898; yyj1898++ { yyh1898.ElemContainerState(yyj1898) if r.TryDecodeAsNil() { - yyv1898[yyj1898] = IngressRule{} + yyv1898[yyj1898] = NetworkPolicyPeer{} } else { yyv1899 := &yyv1898[yyj1898] yyv1899.CodecDecodeSelf(d) @@ -23220,10 +23772,10 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } if yyrt1898 { for ; yyj1898 < yyl1898; yyj1898++ { - yyv1898 = append(yyv1898, IngressRule{}) + yyv1898 = append(yyv1898, NetworkPolicyPeer{}) yyh1898.ElemContainerState(yyj1898) if r.TryDecodeAsNil() { - yyv1898[yyj1898] = IngressRule{} + yyv1898[yyj1898] = NetworkPolicyPeer{} } else { yyv1900 := &yyv1898[yyj1898] yyv1900.CodecDecodeSelf(d) @@ -23237,13 +23789,13 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; !r.CheckBreak(); yyj1898++ { if yyj1898 >= len(yyv1898) { - yyv1898 = append(yyv1898, IngressRule{}) // var yyz1898 IngressRule + yyv1898 = append(yyv1898, NetworkPolicyPeer{}) // var yyz1898 NetworkPolicyPeer yyc1898 = true } yyh1898.ElemContainerState(yyj1898) if yyj1898 < len(yyv1898) { if r.TryDecodeAsNil() { - yyv1898[yyj1898] = IngressRule{} + yyv1898[yyj1898] = NetworkPolicyPeer{} } else { yyv1901 := &yyv1898[yyj1898] yyv1901.CodecDecodeSelf(d) @@ -23258,7 +23810,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyv1898 = yyv1898[:yyj1898] yyc1898 = true } else if yyj1898 == 0 && yyv1898 == nil { - yyv1898 = []IngressRule{} + yyv1898 = []NetworkPolicyPeer{} yyc1898 = true } } @@ -23268,7 +23820,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -23281,7 +23833,7 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -23291,7 +23843,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 var yyc1904 bool if yyl1904 == 0 { if yyv1904 == nil { - yyv1904 = []HTTPIngressPath{} + yyv1904 = []NetworkPolicy{} yyc1904 = true } else if len(yyv1904) != 0 { yyv1904 = yyv1904[:0] @@ -23304,15 +23856,15 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyrg1904 := len(yyv1904) > 0 yyv21904 := yyv1904 - yyrl1904, yyrt1904 = z.DecInferLen(yyl1904, z.DecBasicHandle().MaxInitLen, 64) + yyrl1904, yyrt1904 = z.DecInferLen(yyl1904, z.DecBasicHandle().MaxInitLen, 312) if yyrt1904 { if yyrl1904 <= cap(yyv1904) { yyv1904 = yyv1904[:yyrl1904] } else { - yyv1904 = make([]HTTPIngressPath, yyrl1904) + yyv1904 = make([]NetworkPolicy, yyrl1904) } } else { - yyv1904 = make([]HTTPIngressPath, yyrl1904) + yyv1904 = make([]NetworkPolicy, yyrl1904) } yyc1904 = true yyrr1904 = len(yyv1904) @@ -23327,7 +23879,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; yyj1904 < yyrr1904; yyj1904++ { yyh1904.ElemContainerState(yyj1904) if r.TryDecodeAsNil() { - yyv1904[yyj1904] = HTTPIngressPath{} + yyv1904[yyj1904] = NetworkPolicy{} } else { yyv1905 := &yyv1904[yyj1904] yyv1905.CodecDecodeSelf(d) @@ -23336,10 +23888,10 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } if yyrt1904 { for ; yyj1904 < yyl1904; yyj1904++ { - yyv1904 = append(yyv1904, HTTPIngressPath{}) + yyv1904 = append(yyv1904, NetworkPolicy{}) yyh1904.ElemContainerState(yyj1904) if r.TryDecodeAsNil() { - yyv1904[yyj1904] = HTTPIngressPath{} + yyv1904[yyj1904] = NetworkPolicy{} } else { yyv1906 := &yyv1904[yyj1904] yyv1906.CodecDecodeSelf(d) @@ -23353,13 +23905,13 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; !r.CheckBreak(); yyj1904++ { if yyj1904 >= len(yyv1904) { - yyv1904 = append(yyv1904, HTTPIngressPath{}) // var yyz1904 HTTPIngressPath + yyv1904 = append(yyv1904, NetworkPolicy{}) // var yyz1904 NetworkPolicy yyc1904 = true } yyh1904.ElemContainerState(yyj1904) if yyj1904 < len(yyv1904) { if r.TryDecodeAsNil() { - yyv1904[yyj1904] = HTTPIngressPath{} + yyv1904[yyj1904] = NetworkPolicy{} } else { yyv1907 := &yyv1904[yyj1904] yyv1907.CodecDecodeSelf(d) @@ -23374,7 +23926,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyv1904 = yyv1904[:yyj1904] yyc1904 = true } else if yyj1904 == 0 && yyv1904 == nil { - yyv1904 = []HTTPIngressPath{} + yyv1904 = []NetworkPolicy{} yyc1904 = true } } @@ -23383,1383 +23935,3 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 *v = yyv1904 } } - -func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequirement, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1908 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1909 := &yyv1908 - yy1909.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequirement, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1910 := *v - yyh1910, yyl1910 := z.DecSliceHelperStart() - var yyc1910 bool - if yyl1910 == 0 { - if yyv1910 == nil { - yyv1910 = []LabelSelectorRequirement{} - yyc1910 = true - } else if len(yyv1910) != 0 { - yyv1910 = yyv1910[:0] - yyc1910 = true - } - } else if yyl1910 > 0 { - var yyrr1910, yyrl1910 int - var yyrt1910 bool - if yyl1910 > cap(yyv1910) { - - yyrg1910 := len(yyv1910) > 0 - yyv21910 := yyv1910 - yyrl1910, yyrt1910 = z.DecInferLen(yyl1910, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1910 { - if yyrl1910 <= cap(yyv1910) { - yyv1910 = yyv1910[:yyrl1910] - } else { - yyv1910 = make([]LabelSelectorRequirement, yyrl1910) - } - } else { - yyv1910 = make([]LabelSelectorRequirement, yyrl1910) - } - yyc1910 = true - yyrr1910 = len(yyv1910) - if yyrg1910 { - copy(yyv1910, yyv21910) - } - } else if yyl1910 != len(yyv1910) { - yyv1910 = yyv1910[:yyl1910] - yyc1910 = true - } - yyj1910 := 0 - for ; yyj1910 < yyrr1910; yyj1910++ { - yyh1910.ElemContainerState(yyj1910) - if r.TryDecodeAsNil() { - yyv1910[yyj1910] = LabelSelectorRequirement{} - } else { - yyv1911 := &yyv1910[yyj1910] - yyv1911.CodecDecodeSelf(d) - } - - } - if yyrt1910 { - for ; yyj1910 < yyl1910; yyj1910++ { - yyv1910 = append(yyv1910, LabelSelectorRequirement{}) - yyh1910.ElemContainerState(yyj1910) - if r.TryDecodeAsNil() { - yyv1910[yyj1910] = LabelSelectorRequirement{} - } else { - yyv1912 := &yyv1910[yyj1910] - yyv1912.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1910 := 0 - for ; !r.CheckBreak(); yyj1910++ { - - if yyj1910 >= len(yyv1910) { - yyv1910 = append(yyv1910, LabelSelectorRequirement{}) // var yyz1910 LabelSelectorRequirement - yyc1910 = true - } - yyh1910.ElemContainerState(yyj1910) - if yyj1910 < len(yyv1910) { - if r.TryDecodeAsNil() { - yyv1910[yyj1910] = LabelSelectorRequirement{} - } else { - yyv1913 := &yyv1910[yyj1910] - yyv1913.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1910 < len(yyv1910) { - yyv1910 = yyv1910[:yyj1910] - yyc1910 = true - } else if yyj1910 == 0 && yyv1910 == nil { - yyv1910 = []LabelSelectorRequirement{} - yyc1910 = true - } - } - yyh1910.End() - if yyc1910 { - *v = yyv1910 - } -} - -func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1914 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1915 := &yyv1914 - yy1915.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1916 := *v - yyh1916, yyl1916 := z.DecSliceHelperStart() - var yyc1916 bool - if yyl1916 == 0 { - if yyv1916 == nil { - yyv1916 = []ReplicaSet{} - yyc1916 = true - } else if len(yyv1916) != 0 { - yyv1916 = yyv1916[:0] - yyc1916 = true - } - } else if yyl1916 > 0 { - var yyrr1916, yyrl1916 int - var yyrt1916 bool - if yyl1916 > cap(yyv1916) { - - yyrg1916 := len(yyv1916) > 0 - yyv21916 := yyv1916 - yyrl1916, yyrt1916 = z.DecInferLen(yyl1916, z.DecBasicHandle().MaxInitLen, 768) - if yyrt1916 { - if yyrl1916 <= cap(yyv1916) { - yyv1916 = yyv1916[:yyrl1916] - } else { - yyv1916 = make([]ReplicaSet, yyrl1916) - } - } else { - yyv1916 = make([]ReplicaSet, yyrl1916) - } - yyc1916 = true - yyrr1916 = len(yyv1916) - if yyrg1916 { - copy(yyv1916, yyv21916) - } - } else if yyl1916 != len(yyv1916) { - yyv1916 = yyv1916[:yyl1916] - yyc1916 = true - } - yyj1916 := 0 - for ; yyj1916 < yyrr1916; yyj1916++ { - yyh1916.ElemContainerState(yyj1916) - if r.TryDecodeAsNil() { - yyv1916[yyj1916] = ReplicaSet{} - } else { - yyv1917 := &yyv1916[yyj1916] - yyv1917.CodecDecodeSelf(d) - } - - } - if yyrt1916 { - for ; yyj1916 < yyl1916; yyj1916++ { - yyv1916 = append(yyv1916, ReplicaSet{}) - yyh1916.ElemContainerState(yyj1916) - if r.TryDecodeAsNil() { - yyv1916[yyj1916] = ReplicaSet{} - } else { - yyv1918 := &yyv1916[yyj1916] - yyv1918.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1916 := 0 - for ; !r.CheckBreak(); yyj1916++ { - - if yyj1916 >= len(yyv1916) { - yyv1916 = append(yyv1916, ReplicaSet{}) // var yyz1916 ReplicaSet - yyc1916 = true - } - yyh1916.ElemContainerState(yyj1916) - if yyj1916 < len(yyv1916) { - if r.TryDecodeAsNil() { - yyv1916[yyj1916] = ReplicaSet{} - } else { - yyv1919 := &yyv1916[yyj1916] - yyv1919.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1916 < len(yyv1916) { - yyv1916 = yyv1916[:yyj1916] - yyc1916 = true - } else if yyj1916 == 0 && yyv1916 == nil { - yyv1916 = []ReplicaSet{} - yyc1916 = true - } - } - yyh1916.End() - if yyc1916 { - *v = yyv1916 - } -} - -func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1920 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1921 := z.EncBinary() - _ = yym1921 - if false { - } else if z.HasExtensions() && z.EncExt(yyv1920) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1920)) - } - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1922 := *v - yyh1922, yyl1922 := z.DecSliceHelperStart() - var yyc1922 bool - if yyl1922 == 0 { - if yyv1922 == nil { - yyv1922 = []pkg2_v1.Capability{} - yyc1922 = true - } else if len(yyv1922) != 0 { - yyv1922 = yyv1922[:0] - yyc1922 = true - } - } else if yyl1922 > 0 { - var yyrr1922, yyrl1922 int - var yyrt1922 bool - if yyl1922 > cap(yyv1922) { - - yyrl1922, yyrt1922 = z.DecInferLen(yyl1922, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1922 { - if yyrl1922 <= cap(yyv1922) { - yyv1922 = yyv1922[:yyrl1922] - } else { - yyv1922 = make([]pkg2_v1.Capability, yyrl1922) - } - } else { - yyv1922 = make([]pkg2_v1.Capability, yyrl1922) - } - yyc1922 = true - yyrr1922 = len(yyv1922) - } else if yyl1922 != len(yyv1922) { - yyv1922 = yyv1922[:yyl1922] - yyc1922 = true - } - yyj1922 := 0 - for ; yyj1922 < yyrr1922; yyj1922++ { - yyh1922.ElemContainerState(yyj1922) - if r.TryDecodeAsNil() { - yyv1922[yyj1922] = "" - } else { - yyv1922[yyj1922] = pkg2_v1.Capability(r.DecodeString()) - } - - } - if yyrt1922 { - for ; yyj1922 < yyl1922; yyj1922++ { - yyv1922 = append(yyv1922, "") - yyh1922.ElemContainerState(yyj1922) - if r.TryDecodeAsNil() { - yyv1922[yyj1922] = "" - } else { - yyv1922[yyj1922] = pkg2_v1.Capability(r.DecodeString()) - } - - } - } - - } else { - yyj1922 := 0 - for ; !r.CheckBreak(); yyj1922++ { - - if yyj1922 >= len(yyv1922) { - yyv1922 = append(yyv1922, "") // var yyz1922 pkg2_v1.Capability - yyc1922 = true - } - yyh1922.ElemContainerState(yyj1922) - if yyj1922 < len(yyv1922) { - if r.TryDecodeAsNil() { - yyv1922[yyj1922] = "" - } else { - yyv1922[yyj1922] = pkg2_v1.Capability(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj1922 < len(yyv1922) { - yyv1922 = yyv1922[:yyj1922] - yyc1922 = true - } else if yyj1922 == 0 && yyv1922 == nil { - yyv1922 = []pkg2_v1.Capability{} - yyc1922 = true - } - } - yyh1922.End() - if yyc1922 { - *v = yyv1922 - } -} - -func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1926 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1926.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1927 := *v - yyh1927, yyl1927 := z.DecSliceHelperStart() - var yyc1927 bool - if yyl1927 == 0 { - if yyv1927 == nil { - yyv1927 = []FSType{} - yyc1927 = true - } else if len(yyv1927) != 0 { - yyv1927 = yyv1927[:0] - yyc1927 = true - } - } else if yyl1927 > 0 { - var yyrr1927, yyrl1927 int - var yyrt1927 bool - if yyl1927 > cap(yyv1927) { - - yyrl1927, yyrt1927 = z.DecInferLen(yyl1927, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1927 { - if yyrl1927 <= cap(yyv1927) { - yyv1927 = yyv1927[:yyrl1927] - } else { - yyv1927 = make([]FSType, yyrl1927) - } - } else { - yyv1927 = make([]FSType, yyrl1927) - } - yyc1927 = true - yyrr1927 = len(yyv1927) - } else if yyl1927 != len(yyv1927) { - yyv1927 = yyv1927[:yyl1927] - yyc1927 = true - } - yyj1927 := 0 - for ; yyj1927 < yyrr1927; yyj1927++ { - yyh1927.ElemContainerState(yyj1927) - if r.TryDecodeAsNil() { - yyv1927[yyj1927] = "" - } else { - yyv1927[yyj1927] = FSType(r.DecodeString()) - } - - } - if yyrt1927 { - for ; yyj1927 < yyl1927; yyj1927++ { - yyv1927 = append(yyv1927, "") - yyh1927.ElemContainerState(yyj1927) - if r.TryDecodeAsNil() { - yyv1927[yyj1927] = "" - } else { - yyv1927[yyj1927] = FSType(r.DecodeString()) - } - - } - } - - } else { - yyj1927 := 0 - for ; !r.CheckBreak(); yyj1927++ { - - if yyj1927 >= len(yyv1927) { - yyv1927 = append(yyv1927, "") // var yyz1927 FSType - yyc1927 = true - } - yyh1927.ElemContainerState(yyj1927) - if yyj1927 < len(yyv1927) { - if r.TryDecodeAsNil() { - yyv1927[yyj1927] = "" - } else { - yyv1927[yyj1927] = FSType(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj1927 < len(yyv1927) { - yyv1927 = yyv1927[:yyj1927] - yyc1927 = true - } else if yyj1927 == 0 && yyv1927 == nil { - yyv1927 = []FSType{} - yyc1927 = true - } - } - yyh1927.End() - if yyc1927 { - *v = yyv1927 - } -} - -func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1931 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1932 := &yyv1931 - yy1932.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1933 := *v - yyh1933, yyl1933 := z.DecSliceHelperStart() - var yyc1933 bool - if yyl1933 == 0 { - if yyv1933 == nil { - yyv1933 = []HostPortRange{} - yyc1933 = true - } else if len(yyv1933) != 0 { - yyv1933 = yyv1933[:0] - yyc1933 = true - } - } else if yyl1933 > 0 { - var yyrr1933, yyrl1933 int - var yyrt1933 bool - if yyl1933 > cap(yyv1933) { - - yyrg1933 := len(yyv1933) > 0 - yyv21933 := yyv1933 - yyrl1933, yyrt1933 = z.DecInferLen(yyl1933, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1933 { - if yyrl1933 <= cap(yyv1933) { - yyv1933 = yyv1933[:yyrl1933] - } else { - yyv1933 = make([]HostPortRange, yyrl1933) - } - } else { - yyv1933 = make([]HostPortRange, yyrl1933) - } - yyc1933 = true - yyrr1933 = len(yyv1933) - if yyrg1933 { - copy(yyv1933, yyv21933) - } - } else if yyl1933 != len(yyv1933) { - yyv1933 = yyv1933[:yyl1933] - yyc1933 = true - } - yyj1933 := 0 - for ; yyj1933 < yyrr1933; yyj1933++ { - yyh1933.ElemContainerState(yyj1933) - if r.TryDecodeAsNil() { - yyv1933[yyj1933] = HostPortRange{} - } else { - yyv1934 := &yyv1933[yyj1933] - yyv1934.CodecDecodeSelf(d) - } - - } - if yyrt1933 { - for ; yyj1933 < yyl1933; yyj1933++ { - yyv1933 = append(yyv1933, HostPortRange{}) - yyh1933.ElemContainerState(yyj1933) - if r.TryDecodeAsNil() { - yyv1933[yyj1933] = HostPortRange{} - } else { - yyv1935 := &yyv1933[yyj1933] - yyv1935.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1933 := 0 - for ; !r.CheckBreak(); yyj1933++ { - - if yyj1933 >= len(yyv1933) { - yyv1933 = append(yyv1933, HostPortRange{}) // var yyz1933 HostPortRange - yyc1933 = true - } - yyh1933.ElemContainerState(yyj1933) - if yyj1933 < len(yyv1933) { - if r.TryDecodeAsNil() { - yyv1933[yyj1933] = HostPortRange{} - } else { - yyv1936 := &yyv1933[yyj1933] - yyv1936.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1933 < len(yyv1933) { - yyv1933 = yyv1933[:yyj1933] - yyc1933 = true - } else if yyj1933 == 0 && yyv1933 == nil { - yyv1933 = []HostPortRange{} - yyc1933 = true - } - } - yyh1933.End() - if yyc1933 { - *v = yyv1933 - } -} - -func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1937 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1938 := &yyv1937 - yy1938.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1939 := *v - yyh1939, yyl1939 := z.DecSliceHelperStart() - var yyc1939 bool - if yyl1939 == 0 { - if yyv1939 == nil { - yyv1939 = []IDRange{} - yyc1939 = true - } else if len(yyv1939) != 0 { - yyv1939 = yyv1939[:0] - yyc1939 = true - } - } else if yyl1939 > 0 { - var yyrr1939, yyrl1939 int - var yyrt1939 bool - if yyl1939 > cap(yyv1939) { - - yyrg1939 := len(yyv1939) > 0 - yyv21939 := yyv1939 - yyrl1939, yyrt1939 = z.DecInferLen(yyl1939, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1939 { - if yyrl1939 <= cap(yyv1939) { - yyv1939 = yyv1939[:yyrl1939] - } else { - yyv1939 = make([]IDRange, yyrl1939) - } - } else { - yyv1939 = make([]IDRange, yyrl1939) - } - yyc1939 = true - yyrr1939 = len(yyv1939) - if yyrg1939 { - copy(yyv1939, yyv21939) - } - } else if yyl1939 != len(yyv1939) { - yyv1939 = yyv1939[:yyl1939] - yyc1939 = true - } - yyj1939 := 0 - for ; yyj1939 < yyrr1939; yyj1939++ { - yyh1939.ElemContainerState(yyj1939) - if r.TryDecodeAsNil() { - yyv1939[yyj1939] = IDRange{} - } else { - yyv1940 := &yyv1939[yyj1939] - yyv1940.CodecDecodeSelf(d) - } - - } - if yyrt1939 { - for ; yyj1939 < yyl1939; yyj1939++ { - yyv1939 = append(yyv1939, IDRange{}) - yyh1939.ElemContainerState(yyj1939) - if r.TryDecodeAsNil() { - yyv1939[yyj1939] = IDRange{} - } else { - yyv1941 := &yyv1939[yyj1939] - yyv1941.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1939 := 0 - for ; !r.CheckBreak(); yyj1939++ { - - if yyj1939 >= len(yyv1939) { - yyv1939 = append(yyv1939, IDRange{}) // var yyz1939 IDRange - yyc1939 = true - } - yyh1939.ElemContainerState(yyj1939) - if yyj1939 < len(yyv1939) { - if r.TryDecodeAsNil() { - yyv1939[yyj1939] = IDRange{} - } else { - yyv1942 := &yyv1939[yyj1939] - yyv1942.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1939 < len(yyv1939) { - yyv1939 = yyv1939[:yyj1939] - yyc1939 = true - } else if yyj1939 == 0 && yyv1939 == nil { - yyv1939 = []IDRange{} - yyc1939 = true - } - } - yyh1939.End() - if yyc1939 { - *v = yyv1939 - } -} - -func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1943 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1944 := &yyv1943 - yy1944.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1945 := *v - yyh1945, yyl1945 := z.DecSliceHelperStart() - var yyc1945 bool - if yyl1945 == 0 { - if yyv1945 == nil { - yyv1945 = []PodSecurityPolicy{} - yyc1945 = true - } else if len(yyv1945) != 0 { - yyv1945 = yyv1945[:0] - yyc1945 = true - } - } else if yyl1945 > 0 { - var yyrr1945, yyrl1945 int - var yyrt1945 bool - if yyl1945 > cap(yyv1945) { - - yyrg1945 := len(yyv1945) > 0 - yyv21945 := yyv1945 - yyrl1945, yyrt1945 = z.DecInferLen(yyl1945, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1945 { - if yyrl1945 <= cap(yyv1945) { - yyv1945 = yyv1945[:yyrl1945] - } else { - yyv1945 = make([]PodSecurityPolicy, yyrl1945) - } - } else { - yyv1945 = make([]PodSecurityPolicy, yyrl1945) - } - yyc1945 = true - yyrr1945 = len(yyv1945) - if yyrg1945 { - copy(yyv1945, yyv21945) - } - } else if yyl1945 != len(yyv1945) { - yyv1945 = yyv1945[:yyl1945] - yyc1945 = true - } - yyj1945 := 0 - for ; yyj1945 < yyrr1945; yyj1945++ { - yyh1945.ElemContainerState(yyj1945) - if r.TryDecodeAsNil() { - yyv1945[yyj1945] = PodSecurityPolicy{} - } else { - yyv1946 := &yyv1945[yyj1945] - yyv1946.CodecDecodeSelf(d) - } - - } - if yyrt1945 { - for ; yyj1945 < yyl1945; yyj1945++ { - yyv1945 = append(yyv1945, PodSecurityPolicy{}) - yyh1945.ElemContainerState(yyj1945) - if r.TryDecodeAsNil() { - yyv1945[yyj1945] = PodSecurityPolicy{} - } else { - yyv1947 := &yyv1945[yyj1945] - yyv1947.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1945 := 0 - for ; !r.CheckBreak(); yyj1945++ { - - if yyj1945 >= len(yyv1945) { - yyv1945 = append(yyv1945, PodSecurityPolicy{}) // var yyz1945 PodSecurityPolicy - yyc1945 = true - } - yyh1945.ElemContainerState(yyj1945) - if yyj1945 < len(yyv1945) { - if r.TryDecodeAsNil() { - yyv1945[yyj1945] = PodSecurityPolicy{} - } else { - yyv1948 := &yyv1945[yyj1945] - yyv1948.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1945 < len(yyv1945) { - yyv1945 = yyv1945[:yyj1945] - yyc1945 = true - } else if yyj1945 == 0 && yyv1945 == nil { - yyv1945 = []PodSecurityPolicy{} - yyc1945 = true - } - } - yyh1945.End() - if yyc1945 { - *v = yyv1945 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngressRule, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1949 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1950 := &yyv1949 - yy1950.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngressRule, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1951 := *v - yyh1951, yyl1951 := z.DecSliceHelperStart() - var yyc1951 bool - if yyl1951 == 0 { - if yyv1951 == nil { - yyv1951 = []NetworkPolicyIngressRule{} - yyc1951 = true - } else if len(yyv1951) != 0 { - yyv1951 = yyv1951[:0] - yyc1951 = true - } - } else if yyl1951 > 0 { - var yyrr1951, yyrl1951 int - var yyrt1951 bool - if yyl1951 > cap(yyv1951) { - - yyrg1951 := len(yyv1951) > 0 - yyv21951 := yyv1951 - yyrl1951, yyrt1951 = z.DecInferLen(yyl1951, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1951 { - if yyrl1951 <= cap(yyv1951) { - yyv1951 = yyv1951[:yyrl1951] - } else { - yyv1951 = make([]NetworkPolicyIngressRule, yyrl1951) - } - } else { - yyv1951 = make([]NetworkPolicyIngressRule, yyrl1951) - } - yyc1951 = true - yyrr1951 = len(yyv1951) - if yyrg1951 { - copy(yyv1951, yyv21951) - } - } else if yyl1951 != len(yyv1951) { - yyv1951 = yyv1951[:yyl1951] - yyc1951 = true - } - yyj1951 := 0 - for ; yyj1951 < yyrr1951; yyj1951++ { - yyh1951.ElemContainerState(yyj1951) - if r.TryDecodeAsNil() { - yyv1951[yyj1951] = NetworkPolicyIngressRule{} - } else { - yyv1952 := &yyv1951[yyj1951] - yyv1952.CodecDecodeSelf(d) - } - - } - if yyrt1951 { - for ; yyj1951 < yyl1951; yyj1951++ { - yyv1951 = append(yyv1951, NetworkPolicyIngressRule{}) - yyh1951.ElemContainerState(yyj1951) - if r.TryDecodeAsNil() { - yyv1951[yyj1951] = NetworkPolicyIngressRule{} - } else { - yyv1953 := &yyv1951[yyj1951] - yyv1953.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1951 := 0 - for ; !r.CheckBreak(); yyj1951++ { - - if yyj1951 >= len(yyv1951) { - yyv1951 = append(yyv1951, NetworkPolicyIngressRule{}) // var yyz1951 NetworkPolicyIngressRule - yyc1951 = true - } - yyh1951.ElemContainerState(yyj1951) - if yyj1951 < len(yyv1951) { - if r.TryDecodeAsNil() { - yyv1951[yyj1951] = NetworkPolicyIngressRule{} - } else { - yyv1954 := &yyv1951[yyj1951] - yyv1954.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1951 < len(yyv1951) { - yyv1951 = yyv1951[:yyj1951] - yyc1951 = true - } else if yyj1951 == 0 && yyv1951 == nil { - yyv1951 = []NetworkPolicyIngressRule{} - yyc1951 = true - } - } - yyh1951.End() - if yyc1951 { - *v = yyv1951 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1955 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1956 := &yyv1955 - yy1956.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1957 := *v - yyh1957, yyl1957 := z.DecSliceHelperStart() - var yyc1957 bool - if yyl1957 == 0 { - if yyv1957 == nil { - yyv1957 = []NetworkPolicyPort{} - yyc1957 = true - } else if len(yyv1957) != 0 { - yyv1957 = yyv1957[:0] - yyc1957 = true - } - } else if yyl1957 > 0 { - var yyrr1957, yyrl1957 int - var yyrt1957 bool - if yyl1957 > cap(yyv1957) { - - yyrg1957 := len(yyv1957) > 0 - yyv21957 := yyv1957 - yyrl1957, yyrt1957 = z.DecInferLen(yyl1957, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1957 { - if yyrl1957 <= cap(yyv1957) { - yyv1957 = yyv1957[:yyrl1957] - } else { - yyv1957 = make([]NetworkPolicyPort, yyrl1957) - } - } else { - yyv1957 = make([]NetworkPolicyPort, yyrl1957) - } - yyc1957 = true - yyrr1957 = len(yyv1957) - if yyrg1957 { - copy(yyv1957, yyv21957) - } - } else if yyl1957 != len(yyv1957) { - yyv1957 = yyv1957[:yyl1957] - yyc1957 = true - } - yyj1957 := 0 - for ; yyj1957 < yyrr1957; yyj1957++ { - yyh1957.ElemContainerState(yyj1957) - if r.TryDecodeAsNil() { - yyv1957[yyj1957] = NetworkPolicyPort{} - } else { - yyv1958 := &yyv1957[yyj1957] - yyv1958.CodecDecodeSelf(d) - } - - } - if yyrt1957 { - for ; yyj1957 < yyl1957; yyj1957++ { - yyv1957 = append(yyv1957, NetworkPolicyPort{}) - yyh1957.ElemContainerState(yyj1957) - if r.TryDecodeAsNil() { - yyv1957[yyj1957] = NetworkPolicyPort{} - } else { - yyv1959 := &yyv1957[yyj1957] - yyv1959.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1957 := 0 - for ; !r.CheckBreak(); yyj1957++ { - - if yyj1957 >= len(yyv1957) { - yyv1957 = append(yyv1957, NetworkPolicyPort{}) // var yyz1957 NetworkPolicyPort - yyc1957 = true - } - yyh1957.ElemContainerState(yyj1957) - if yyj1957 < len(yyv1957) { - if r.TryDecodeAsNil() { - yyv1957[yyj1957] = NetworkPolicyPort{} - } else { - yyv1960 := &yyv1957[yyj1957] - yyv1960.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1957 < len(yyv1957) { - yyv1957 = yyv1957[:yyj1957] - yyc1957 = true - } else if yyj1957 == 0 && yyv1957 == nil { - yyv1957 = []NetworkPolicyPort{} - yyc1957 = true - } - } - yyh1957.End() - if yyc1957 { - *v = yyv1957 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1961 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1962 := &yyv1961 - yy1962.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1963 := *v - yyh1963, yyl1963 := z.DecSliceHelperStart() - var yyc1963 bool - if yyl1963 == 0 { - if yyv1963 == nil { - yyv1963 = []NetworkPolicyPeer{} - yyc1963 = true - } else if len(yyv1963) != 0 { - yyv1963 = yyv1963[:0] - yyc1963 = true - } - } else if yyl1963 > 0 { - var yyrr1963, yyrl1963 int - var yyrt1963 bool - if yyl1963 > cap(yyv1963) { - - yyrg1963 := len(yyv1963) > 0 - yyv21963 := yyv1963 - yyrl1963, yyrt1963 = z.DecInferLen(yyl1963, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1963 { - if yyrl1963 <= cap(yyv1963) { - yyv1963 = yyv1963[:yyrl1963] - } else { - yyv1963 = make([]NetworkPolicyPeer, yyrl1963) - } - } else { - yyv1963 = make([]NetworkPolicyPeer, yyrl1963) - } - yyc1963 = true - yyrr1963 = len(yyv1963) - if yyrg1963 { - copy(yyv1963, yyv21963) - } - } else if yyl1963 != len(yyv1963) { - yyv1963 = yyv1963[:yyl1963] - yyc1963 = true - } - yyj1963 := 0 - for ; yyj1963 < yyrr1963; yyj1963++ { - yyh1963.ElemContainerState(yyj1963) - if r.TryDecodeAsNil() { - yyv1963[yyj1963] = NetworkPolicyPeer{} - } else { - yyv1964 := &yyv1963[yyj1963] - yyv1964.CodecDecodeSelf(d) - } - - } - if yyrt1963 { - for ; yyj1963 < yyl1963; yyj1963++ { - yyv1963 = append(yyv1963, NetworkPolicyPeer{}) - yyh1963.ElemContainerState(yyj1963) - if r.TryDecodeAsNil() { - yyv1963[yyj1963] = NetworkPolicyPeer{} - } else { - yyv1965 := &yyv1963[yyj1963] - yyv1965.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1963 := 0 - for ; !r.CheckBreak(); yyj1963++ { - - if yyj1963 >= len(yyv1963) { - yyv1963 = append(yyv1963, NetworkPolicyPeer{}) // var yyz1963 NetworkPolicyPeer - yyc1963 = true - } - yyh1963.ElemContainerState(yyj1963) - if yyj1963 < len(yyv1963) { - if r.TryDecodeAsNil() { - yyv1963[yyj1963] = NetworkPolicyPeer{} - } else { - yyv1966 := &yyv1963[yyj1963] - yyv1966.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1963 < len(yyv1963) { - yyv1963 = yyv1963[:yyj1963] - yyc1963 = true - } else if yyj1963 == 0 && yyv1963 == nil { - yyv1963 = []NetworkPolicyPeer{} - yyc1963 = true - } - } - yyh1963.End() - if yyc1963 { - *v = yyv1963 - } -} - -func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1967 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1968 := &yyv1967 - yy1968.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1969 := *v - yyh1969, yyl1969 := z.DecSliceHelperStart() - var yyc1969 bool - if yyl1969 == 0 { - if yyv1969 == nil { - yyv1969 = []NetworkPolicy{} - yyc1969 = true - } else if len(yyv1969) != 0 { - yyv1969 = yyv1969[:0] - yyc1969 = true - } - } else if yyl1969 > 0 { - var yyrr1969, yyrl1969 int - var yyrt1969 bool - if yyl1969 > cap(yyv1969) { - - yyrg1969 := len(yyv1969) > 0 - yyv21969 := yyv1969 - yyrl1969, yyrt1969 = z.DecInferLen(yyl1969, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1969 { - if yyrl1969 <= cap(yyv1969) { - yyv1969 = yyv1969[:yyrl1969] - } else { - yyv1969 = make([]NetworkPolicy, yyrl1969) - } - } else { - yyv1969 = make([]NetworkPolicy, yyrl1969) - } - yyc1969 = true - yyrr1969 = len(yyv1969) - if yyrg1969 { - copy(yyv1969, yyv21969) - } - } else if yyl1969 != len(yyv1969) { - yyv1969 = yyv1969[:yyl1969] - yyc1969 = true - } - yyj1969 := 0 - for ; yyj1969 < yyrr1969; yyj1969++ { - yyh1969.ElemContainerState(yyj1969) - if r.TryDecodeAsNil() { - yyv1969[yyj1969] = NetworkPolicy{} - } else { - yyv1970 := &yyv1969[yyj1969] - yyv1970.CodecDecodeSelf(d) - } - - } - if yyrt1969 { - for ; yyj1969 < yyl1969; yyj1969++ { - yyv1969 = append(yyv1969, NetworkPolicy{}) - yyh1969.ElemContainerState(yyj1969) - if r.TryDecodeAsNil() { - yyv1969[yyj1969] = NetworkPolicy{} - } else { - yyv1971 := &yyv1969[yyj1969] - yyv1971.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1969 := 0 - for ; !r.CheckBreak(); yyj1969++ { - - if yyj1969 >= len(yyv1969) { - yyv1969 = append(yyv1969, NetworkPolicy{}) // var yyz1969 NetworkPolicy - yyc1969 = true - } - yyh1969.ElemContainerState(yyj1969) - if yyj1969 < len(yyv1969) { - if r.TryDecodeAsNil() { - yyv1969[yyj1969] = NetworkPolicy{} - } else { - yyv1972 := &yyv1969[yyj1969] - yyv1972.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1969 < len(yyv1969) { - yyv1969 = yyv1969[:yyj1969] - yyc1969 = true - } else if yyj1969 == 0 && yyv1969 == nil { - yyv1969 = []NetworkPolicy{} - yyc1969 = true - } - } - yyh1969.End() - if yyc1969 { - *v = yyv1969 - } -} - -func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1973 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1974 := &yyv1973 - yy1974.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1975 := *v - yyh1975, yyl1975 := z.DecSliceHelperStart() - var yyc1975 bool - if yyl1975 == 0 { - if yyv1975 == nil { - yyv1975 = []StorageClass{} - yyc1975 = true - } else if len(yyv1975) != 0 { - yyv1975 = yyv1975[:0] - yyc1975 = true - } - } else if yyl1975 > 0 { - var yyrr1975, yyrl1975 int - var yyrt1975 bool - if yyl1975 > cap(yyv1975) { - - yyrg1975 := len(yyv1975) > 0 - yyv21975 := yyv1975 - yyrl1975, yyrt1975 = z.DecInferLen(yyl1975, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1975 { - if yyrl1975 <= cap(yyv1975) { - yyv1975 = yyv1975[:yyrl1975] - } else { - yyv1975 = make([]StorageClass, yyrl1975) - } - } else { - yyv1975 = make([]StorageClass, yyrl1975) - } - yyc1975 = true - yyrr1975 = len(yyv1975) - if yyrg1975 { - copy(yyv1975, yyv21975) - } - } else if yyl1975 != len(yyv1975) { - yyv1975 = yyv1975[:yyl1975] - yyc1975 = true - } - yyj1975 := 0 - for ; yyj1975 < yyrr1975; yyj1975++ { - yyh1975.ElemContainerState(yyj1975) - if r.TryDecodeAsNil() { - yyv1975[yyj1975] = StorageClass{} - } else { - yyv1976 := &yyv1975[yyj1975] - yyv1976.CodecDecodeSelf(d) - } - - } - if yyrt1975 { - for ; yyj1975 < yyl1975; yyj1975++ { - yyv1975 = append(yyv1975, StorageClass{}) - yyh1975.ElemContainerState(yyj1975) - if r.TryDecodeAsNil() { - yyv1975[yyj1975] = StorageClass{} - } else { - yyv1977 := &yyv1975[yyj1975] - yyv1977.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1975 := 0 - for ; !r.CheckBreak(); yyj1975++ { - - if yyj1975 >= len(yyv1975) { - yyv1975 = append(yyv1975, StorageClass{}) // var yyz1975 StorageClass - yyc1975 = true - } - yyh1975.ElemContainerState(yyj1975) - if yyj1975 < len(yyv1975) { - if r.TryDecodeAsNil() { - yyv1975[yyj1975] = StorageClass{} - } else { - yyv1978 := &yyv1975[yyj1975] - yyv1978.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1975 < len(yyv1975) { - yyv1975 = yyv1975[:yyj1975] - yyc1975 = true - } else if yyj1975 == 0 && yyv1975 == nil { - yyv1975 = []StorageClass{} - yyc1975 = true - } - } - yyh1975.End() - if yyc1975 { - *v = yyv1975 - } -} diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index f3918db6218..4b1e22ba575 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -675,27 +675,6 @@ func (ScaleStatus) SwaggerDoc() map[string]string { return map_ScaleStatus } -var map_StorageClass = map[string]string{ - "": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", - "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "provisioner": "Provisioner indicates the type of the provisioner.", - "parameters": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", -} - -func (StorageClass) SwaggerDoc() map[string]string { - return map_StorageClass -} - -var map_StorageClassList = map[string]string{ - "": "StorageClassList is a collection of storage classes.", - "metadata": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "items": "Items is the list of StorageClasses", -} - -func (StorageClassList) SwaggerDoc() map[string]string { - return map_StorageClassList -} - var map_SubresourceReference = map[string]string{ "": "SubresourceReference contains enough information to let you inspect or modify the referred subresource.", "kind": "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", diff --git a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index e8f960c76ca..70d33c1029c 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -163,10 +163,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_extensions_ScaleSpec_To_v1beta1_ScaleSpec, Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus, Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus, - Convert_v1beta1_StorageClass_To_extensions_StorageClass, - Convert_extensions_StorageClass_To_v1beta1_StorageClass, - Convert_v1beta1_StorageClassList_To_extensions_StorageClassList, - Convert_extensions_StorageClassList_To_v1beta1_StorageClassList, Convert_v1beta1_SupplementalGroupsStrategyOptions_To_extensions_SupplementalGroupsStrategyOptions, Convert_extensions_SupplementalGroupsStrategyOptions_To_v1beta1_SupplementalGroupsStrategyOptions, Convert_v1beta1_ThirdPartyResource_To_extensions_ThirdPartyResource, @@ -2424,90 +2420,6 @@ func Convert_extensions_ScaleSpec_To_v1beta1_ScaleSpec(in *extensions.ScaleSpec, return autoConvert_extensions_ScaleSpec_To_v1beta1_ScaleSpec(in, out, s) } -func autoConvert_v1beta1_StorageClass_To_extensions_StorageClass(in *StorageClass, out *extensions.StorageClass, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - // TODO: Inefficient conversion - can we improve it? - if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { - return err - } - out.Provisioner = in.Provisioner - out.Parameters = in.Parameters - return nil -} - -func Convert_v1beta1_StorageClass_To_extensions_StorageClass(in *StorageClass, out *extensions.StorageClass, s conversion.Scope) error { - return autoConvert_v1beta1_StorageClass_To_extensions_StorageClass(in, out, s) -} - -func autoConvert_extensions_StorageClass_To_v1beta1_StorageClass(in *extensions.StorageClass, out *StorageClass, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - // TODO: Inefficient conversion - can we improve it? - if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { - return err - } - out.Provisioner = in.Provisioner - out.Parameters = in.Parameters - return nil -} - -func Convert_extensions_StorageClass_To_v1beta1_StorageClass(in *extensions.StorageClass, out *StorageClass, s conversion.Scope) error { - return autoConvert_extensions_StorageClass_To_v1beta1_StorageClass(in, out, s) -} - -func autoConvert_v1beta1_StorageClassList_To_extensions_StorageClassList(in *StorageClassList, out *extensions.StorageClassList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]extensions.StorageClass, len(*in)) - for i := range *in { - if err := Convert_v1beta1_StorageClass_To_extensions_StorageClass(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.Items = nil - } - return nil -} - -func Convert_v1beta1_StorageClassList_To_extensions_StorageClassList(in *StorageClassList, out *extensions.StorageClassList, s conversion.Scope) error { - return autoConvert_v1beta1_StorageClassList_To_extensions_StorageClassList(in, out, s) -} - -func autoConvert_extensions_StorageClassList_To_v1beta1_StorageClassList(in *extensions.StorageClassList, out *StorageClassList, s conversion.Scope) error { - if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { - return err - } - if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { - return err - } - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]StorageClass, len(*in)) - for i := range *in { - if err := Convert_extensions_StorageClass_To_v1beta1_StorageClass(&(*in)[i], &(*out)[i], s); err != nil { - return err - } - } - } else { - out.Items = nil - } - return nil -} - -func Convert_extensions_StorageClassList_To_v1beta1_StorageClassList(in *extensions.StorageClassList, out *StorageClassList, s conversion.Scope) error { - return autoConvert_extensions_StorageClassList_To_v1beta1_StorageClassList(in, out, s) -} - func autoConvert_v1beta1_SupplementalGroupsStrategyOptions_To_extensions_SupplementalGroupsStrategyOptions(in *SupplementalGroupsStrategyOptions, out *extensions.SupplementalGroupsStrategyOptions, s conversion.Scope) error { out.Rule = extensions.SupplementalGroupsStrategyType(in.Rule) if in.Ranges != nil { diff --git a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index 9185262e188..7d1539ed6c4 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -100,8 +100,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Scale, InType: reflect.TypeOf(&Scale{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClass, InType: reflect.TypeOf(&StorageClass{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClassList, InType: reflect.TypeOf(&StorageClassList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubresourceReference, InType: reflect.TypeOf(&SubresourceReference{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SupplementalGroupsStrategyOptions, InType: reflect.TypeOf(&SupplementalGroupsStrategyOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResource, InType: reflect.TypeOf(&ThirdPartyResource{})}, @@ -1339,49 +1337,6 @@ func DeepCopy_v1beta1_ScaleStatus(in interface{}, out interface{}, c *conversion } } -func DeepCopy_v1beta1_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*StorageClass) - out := out.(*StorageClass) - out.TypeMeta = in.TypeMeta - if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { - return err - } - out.Provisioner = in.Provisioner - if in.Parameters != nil { - in, out := &in.Parameters, &out.Parameters - *out = make(map[string]string) - for key, val := range *in { - (*out)[key] = val - } - } else { - out.Parameters = nil - } - return nil - } -} - -func DeepCopy_v1beta1_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*StorageClassList) - out := out.(*StorageClassList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]StorageClass, len(*in)) - for i := range *in { - if err := DeepCopy_v1beta1_StorageClass(&(*in)[i], &(*out)[i], c); err != nil { - return err - } - } - } else { - out.Items = nil - } - return nil - } -} - func DeepCopy_v1beta1_SubresourceReference(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SubresourceReference) diff --git a/pkg/apis/extensions/zz_generated.deepcopy.go b/pkg/apis/extensions/zz_generated.deepcopy.go index 151c2c0f7b8..89ff863f6ea 100644 --- a/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/zz_generated.deepcopy.go @@ -86,8 +86,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Scale, InType: reflect.TypeOf(&Scale{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClass, InType: reflect.TypeOf(&StorageClass{})}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClassList, InType: reflect.TypeOf(&StorageClassList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_SupplementalGroupsStrategyOptions, InType: reflect.TypeOf(&SupplementalGroupsStrategyOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResource, InType: reflect.TypeOf(&ThirdPartyResource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceData, InType: reflect.TypeOf(&ThirdPartyResourceData{})}, @@ -981,49 +979,6 @@ func DeepCopy_extensions_ScaleStatus(in interface{}, out interface{}, c *convers } } -func DeepCopy_extensions_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*StorageClass) - out := out.(*StorageClass) - out.TypeMeta = in.TypeMeta - if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { - return err - } - out.Provisioner = in.Provisioner - if in.Parameters != nil { - in, out := &in.Parameters, &out.Parameters - *out = make(map[string]string) - for key, val := range *in { - (*out)[key] = val - } - } else { - out.Parameters = nil - } - return nil - } -} - -func DeepCopy_extensions_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*StorageClassList) - out := out.(*StorageClassList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]StorageClass, len(*in)) - for i := range *in { - if err := DeepCopy_extensions_StorageClass(&(*in)[i], &(*out)[i], c); err != nil { - return err - } - } - } else { - out.Items = nil - } - return nil - } -} - func DeepCopy_extensions_SupplementalGroupsStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SupplementalGroupsStrategyOptions) diff --git a/pkg/apis/storage/types.generated.go b/pkg/apis/storage/types.generated.go new file mode 100644 index 00000000000..25c4b04c86a --- /dev/null +++ b/pkg/apis/storage/types.generated.go @@ -0,0 +1,900 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// ************************************************************ +// DO NOT EDIT. +// THIS FILE IS AUTO-GENERATED BY codecgen. +// ************************************************************ + +package storage + +import ( + "errors" + "fmt" + codec1978 "github.com/ugorji/go/codec" + pkg2_api "k8s.io/kubernetes/pkg/api" + pkg1_unversioned "k8s.io/kubernetes/pkg/api/unversioned" + pkg3_types "k8s.io/kubernetes/pkg/types" + "reflect" + "runtime" + time "time" +) + +const ( + // ----- content types ---- + codecSelferC_UTF81234 = 1 + codecSelferC_RAW1234 = 0 + // ----- value types used ---- + codecSelferValueTypeArray1234 = 10 + codecSelferValueTypeMap1234 = 9 + // ----- containerStateValues ---- + codecSelfer_containerMapKey1234 = 2 + codecSelfer_containerMapValue1234 = 3 + codecSelfer_containerMapEnd1234 = 4 + codecSelfer_containerArrayElem1234 = 6 + codecSelfer_containerArrayEnd1234 = 7 +) + +var ( + codecSelferBitsize1234 = uint8(reflect.TypeOf(uint(0)).Bits()) + codecSelferOnlyMapOrArrayEncodeToStructErr1234 = errors.New(`only encoded map or array can be decoded into a struct`) +) + +type codecSelfer1234 struct{} + +func init() { + if codec1978.GenVersion != 5 { + _, file, _, _ := runtime.Caller(0) + err := fmt.Errorf("codecgen version mismatch: current: %v, need %v. Re-generate file: %v", + 5, codec1978.GenVersion, file) + panic(err) + } + if false { // reference the types, but skip this branch at build/run time + var v0 pkg2_api.ObjectMeta + var v1 pkg1_unversioned.TypeMeta + var v2 pkg3_types.UID + var v3 time.Time + _, _, _, _ = v0, v1, v2, v3 + } +} + +func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[4] = len(x.Parameters) != 0 + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(5) + } else { + yynn2 = 1 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta + yy11.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym13 := z.EncBinary() + _ = yym13 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("provisioner")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym14 := z.EncBinary() + _ = yym14 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + if x.Parameters == nil { + r.EncodeNil() + } else { + yym16 := z.EncBinary() + _ = yym16 + if false { + } else { + z.F.EncMapStringStringV(x.Parameters, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("parameters")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Parameters == nil { + r.EncodeNil() + } else { + yym17 := z.EncBinary() + _ = yym17 + if false { + } else { + z.F.EncMapStringStringV(x.Parameters, false, e) + } + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym18 := z.DecBinary() + _ = yym18 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl19, d) + } + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl19, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys20 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "provisioner": + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + case "parameters": + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv25 := &x.Parameters + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + z.F.DecMapStringStringX(yyv25, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj27 int + var yyb27 bool + var yyhl27 bool = l >= 0 + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv30 := &x.ObjectMeta + yyv30.CodecDecodeSelf(d) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv32 := &x.Parameters + yym33 := z.DecBinary() + _ = yym33 + if false { + } else { + z.F.DecMapStringStringX(yyv32, false, d) + } + } + for { + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj27-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym34 := z.EncBinary() + _ = yym34 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep35 := !z.EncBinary() + yy2arr35 := z.EncBasicHandle().StructToArray + var yyq35 [4]bool + _, _, _ = yysep35, yyq35, yy2arr35 + const yyr35 bool = false + yyq35[0] = x.Kind != "" + yyq35[1] = x.APIVersion != "" + yyq35[2] = true + var yynn35 int + if yyr35 || yy2arr35 { + r.EncodeArrayStart(4) + } else { + yynn35 = 1 + for _, b := range yyq35 { + if b { + yynn35++ + } + } + r.EncodeMapStart(yynn35) + yynn35 = 0 + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq35[0] { + yym37 := z.EncBinary() + _ = yym37 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq35[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym38 := z.EncBinary() + _ = yym38 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq35[1] { + yym40 := z.EncBinary() + _ = yym40 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq35[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym41 := z.EncBinary() + _ = yym41 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq35[2] { + yy43 := &x.ListMeta + yym44 := z.EncBinary() + _ = yym44 + if false { + } else if z.HasExtensions() && z.EncExt(yy43) { + } else { + z.EncFallback(yy43) + } + } else { + r.EncodeNil() + } + } else { + if yyq35[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy45 := &x.ListMeta + yym46 := z.EncBinary() + _ = yym46 + if false { + } else if z.HasExtensions() && z.EncExt(yy45) { + } else { + z.EncFallback(yy45) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym48 := z.EncBinary() + _ = yym48 + if false { + } else { + h.encSliceStorageClass(([]StorageClass)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym49 := z.EncBinary() + _ = yym49 + if false { + } else { + h.encSliceStorageClass(([]StorageClass)(x.Items), e) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym50 := z.DecBinary() + _ = yym50 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct51 := r.ContainerType() + if yyct51 == codecSelferValueTypeMap1234 { + yyl51 := r.ReadMapStart() + if yyl51 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl51, d) + } + } else if yyct51 == codecSelferValueTypeArray1234 { + yyl51 := r.ReadArrayStart() + if yyl51 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl51, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys52Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys52Slc + var yyhl52 bool = l >= 0 + for yyj52 := 0; ; yyj52++ { + if yyhl52 { + if yyj52 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys52Slc = r.DecodeBytes(yys52Slc, true, true) + yys52 := string(yys52Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys52 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv55 := &x.ListMeta + yym56 := z.DecBinary() + _ = yym56 + if false { + } else if z.HasExtensions() && z.DecExt(yyv55) { + } else { + z.DecFallback(yyv55, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv57 := &x.Items + yym58 := z.DecBinary() + _ = yym58 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv57), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys52) + } // end switch yys52 + } // end for yyj52 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj59 int + var yyb59 bool + var yyhl59 bool = l >= 0 + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv62 := &x.ListMeta + yym63 := z.DecBinary() + _ = yym63 + if false { + } else if z.HasExtensions() && z.DecExt(yyv62) { + } else { + z.DecFallback(yyv62, false) + } + } + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv64 := &x.Items + yym65 := z.DecBinary() + _ = yym65 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv64), d) + } + } + for { + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj59-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv66 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy67 := &yyv66 + yy67.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv68 := *v + yyh68, yyl68 := z.DecSliceHelperStart() + var yyc68 bool + if yyl68 == 0 { + if yyv68 == nil { + yyv68 = []StorageClass{} + yyc68 = true + } else if len(yyv68) != 0 { + yyv68 = yyv68[:0] + yyc68 = true + } + } else if yyl68 > 0 { + var yyrr68, yyrl68 int + var yyrt68 bool + if yyl68 > cap(yyv68) { + + yyrg68 := len(yyv68) > 0 + yyv268 := yyv68 + yyrl68, yyrt68 = z.DecInferLen(yyl68, z.DecBasicHandle().MaxInitLen, 280) + if yyrt68 { + if yyrl68 <= cap(yyv68) { + yyv68 = yyv68[:yyrl68] + } else { + yyv68 = make([]StorageClass, yyrl68) + } + } else { + yyv68 = make([]StorageClass, yyrl68) + } + yyc68 = true + yyrr68 = len(yyv68) + if yyrg68 { + copy(yyv68, yyv268) + } + } else if yyl68 != len(yyv68) { + yyv68 = yyv68[:yyl68] + yyc68 = true + } + yyj68 := 0 + for ; yyj68 < yyrr68; yyj68++ { + yyh68.ElemContainerState(yyj68) + if r.TryDecodeAsNil() { + yyv68[yyj68] = StorageClass{} + } else { + yyv69 := &yyv68[yyj68] + yyv69.CodecDecodeSelf(d) + } + + } + if yyrt68 { + for ; yyj68 < yyl68; yyj68++ { + yyv68 = append(yyv68, StorageClass{}) + yyh68.ElemContainerState(yyj68) + if r.TryDecodeAsNil() { + yyv68[yyj68] = StorageClass{} + } else { + yyv70 := &yyv68[yyj68] + yyv70.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj68 := 0 + for ; !r.CheckBreak(); yyj68++ { + + if yyj68 >= len(yyv68) { + yyv68 = append(yyv68, StorageClass{}) // var yyz68 StorageClass + yyc68 = true + } + yyh68.ElemContainerState(yyj68) + if yyj68 < len(yyv68) { + if r.TryDecodeAsNil() { + yyv68[yyj68] = StorageClass{} + } else { + yyv71 := &yyv68[yyj68] + yyv71.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj68 < len(yyv68) { + yyv68 = yyv68[:yyj68] + yyc68 = true + } else if yyj68 == 0 && yyv68 == nil { + yyv68 = []StorageClass{} + yyc68 = true + } + } + yyh68.End() + if yyc68 { + *v = yyv68 + } +} diff --git a/pkg/apis/storage/v1beta1/generated.pb.go b/pkg/apis/storage/v1beta1/generated.pb.go new file mode 100644 index 00000000000..ef2f23d635a --- /dev/null +++ b/pkg/apis/storage/v1beta1/generated.pb.go @@ -0,0 +1,729 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by protoc-gen-gogo. +// source: k8s.io/kubernetes/pkg/apis/storage/v1beta1/generated.proto +// DO NOT EDIT! + +/* + Package v1beta1 is a generated protocol buffer package. + + It is generated from these files: + k8s.io/kubernetes/pkg/apis/storage/v1beta1/generated.proto + + It has these top-level messages: + StorageClass + StorageClassList +*/ +package v1beta1 + +import proto "github.com/gogo/protobuf/proto" +import fmt "fmt" +import math "math" + +import strings "strings" +import reflect "reflect" +import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + +import io "io" + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + +func (m *StorageClass) Reset() { *m = StorageClass{} } +func (*StorageClass) ProtoMessage() {} +func (*StorageClass) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } + +func (m *StorageClassList) Reset() { *m = StorageClassList{} } +func (*StorageClassList) ProtoMessage() {} +func (*StorageClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } + +func init() { + proto.RegisterType((*StorageClass)(nil), "k8s.io.kubernetes.pkg.apis.storage.v1beta1.StorageClass") + proto.RegisterType((*StorageClassList)(nil), "k8s.io.kubernetes.pkg.apis.storage.v1beta1.StorageClassList") +} +func (m *StorageClass) 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 *StorageClass) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) + n1, err := m.ObjectMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n1 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Provisioner))) + i += copy(data[i:], m.Provisioner) + if len(m.Parameters) > 0 { + for k := range m.Parameters { + data[i] = 0x1a + i++ + v := m.Parameters[k] + mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + i = encodeVarintGenerated(data, i, uint64(mapSize)) + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(k))) + i += copy(data[i:], k) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(v))) + i += copy(data[i:], v) + } + } + return i, nil +} + +func (m *StorageClassList) 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 *StorageClassList) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) + n2, err := m.ListMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n2 + if len(m.Items) > 0 { + for _, msg := range m.Items { + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n + } + } + return i, nil +} + +func encodeFixed64Generated(data []byte, offset int, v uint64) int { + data[offset] = uint8(v) + data[offset+1] = uint8(v >> 8) + data[offset+2] = uint8(v >> 16) + data[offset+3] = uint8(v >> 24) + data[offset+4] = uint8(v >> 32) + data[offset+5] = uint8(v >> 40) + data[offset+6] = uint8(v >> 48) + data[offset+7] = uint8(v >> 56) + return offset + 8 +} +func encodeFixed32Generated(data []byte, offset int, v uint32) int { + data[offset] = uint8(v) + data[offset+1] = uint8(v >> 8) + data[offset+2] = uint8(v >> 16) + data[offset+3] = uint8(v >> 24) + return offset + 4 +} +func encodeVarintGenerated(data []byte, offset int, v uint64) int { + for v >= 1<<7 { + data[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + data[offset] = uint8(v) + return offset + 1 +} +func (m *StorageClass) Size() (n int) { + var l int + _ = l + l = m.ObjectMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Provisioner) + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Parameters) > 0 { + for k, v := range m.Parameters { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) + } + } + return n +} + +func (m *StorageClassList) Size() (n int) { + var l int + _ = l + l = m.ListMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Items) > 0 { + for _, e := range m.Items { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func sovGenerated(x uint64) (n int) { + for { + n++ + x >>= 7 + if x == 0 { + break + } + } + return n +} +func sozGenerated(x uint64) (n int) { + return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (this *StorageClass) String() string { + if this == nil { + return "nil" + } + keysForParameters := make([]string, 0, len(this.Parameters)) + for k := range this.Parameters { + keysForParameters = append(keysForParameters, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForParameters) + mapStringForParameters := "map[string]string{" + for _, k := range keysForParameters { + mapStringForParameters += fmt.Sprintf("%v: %v,", k, this.Parameters[k]) + } + mapStringForParameters += "}" + s := strings.Join([]string{`&StorageClass{`, + `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, + `Provisioner:` + fmt.Sprintf("%v", this.Provisioner) + `,`, + `Parameters:` + mapStringForParameters + `,`, + `}`, + }, "") + return s +} +func (this *StorageClassList) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&StorageClassList{`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`, + `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StorageClass", "StorageClass", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func valueToStringGenerated(v interface{}) string { + rv := reflect.ValueOf(v) + if rv.IsNil() { + return "nil" + } + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("*%v", pv) +} +func (m *StorageClass) 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: StorageClass: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StorageClass: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", 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 err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Provisioner", 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.Provisioner = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parameters", 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 + } + var keykey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + keykey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapkey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey := string(data[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + var valuekey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + valuekey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapvalue |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue := string(data[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + if m.Parameters == nil { + m.Parameters = make(map[string]string) + } + m.Parameters[mapkey] = mapvalue + 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 (m *StorageClassList) 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: StorageClassList: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StorageClassList: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", 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 err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Items", 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 + } + m.Items = append(m.Items, StorageClass{}) + if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + 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 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if data[iNdEx-1] < 0x80 { + break + } + } + return iNdEx, nil + case 1: + iNdEx += 8 + return iNdEx, nil + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + iNdEx += length + if length < 0 { + return 0, ErrInvalidLengthGenerated + } + return iNdEx, nil + case 3: + for { + var innerWire uint64 + var start int = iNdEx + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + innerWire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + innerWireType := int(innerWire & 0x7) + if innerWireType == 4 { + break + } + next, err := skipGenerated(data[start:]) + if err != nil { + return 0, err + } + iNdEx = start + next + } + return iNdEx, nil + case 4: + return iNdEx, nil + case 5: + iNdEx += 4 + return iNdEx, nil + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + } + panic("unreachable") +} + +var ( + ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") +) + +var fileDescriptorGenerated = []byte{ + // 455 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x92, 0x4d, 0x6b, 0x13, 0x41, + 0x18, 0xc7, 0xb3, 0x09, 0xc1, 0x76, 0xa2, 0x18, 0x46, 0x0f, 0x61, 0x0f, 0x69, 0xe9, 0xa9, 0x8a, + 0x9d, 0x21, 0x85, 0x42, 0x28, 0x78, 0x59, 0x11, 0x14, 0x14, 0xcb, 0x7a, 0x11, 0xa1, 0x87, 0xd9, + 0xe4, 0x71, 0x1d, 0x37, 0xbb, 0xb3, 0xcc, 0xcb, 0x42, 0xc1, 0x83, 0x1f, 0xc1, 0x8f, 0x95, 0x63, + 0x8e, 0x1e, 0xa4, 0x68, 0xfd, 0x22, 0xce, 0xbe, 0xd8, 0x5d, 0xb2, 0x59, 0x11, 0x0f, 0x0f, 0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 0xff, 0xff, 0x86, + 0x21, 0xa9, 0x43, 0xef, 0x03, 0x00, 0x00, +} diff --git a/pkg/apis/storage/v1beta1/generated.proto b/pkg/apis/storage/v1beta1/generated.proto new file mode 100644 index 00000000000..dbcdcc3c030 --- /dev/null +++ b/pkg/apis/storage/v1beta1/generated.proto @@ -0,0 +1,60 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = 'proto2'; + +package k8s.io.kubernetes.pkg.apis.storage.v1beta1; + +import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; +import "k8s.io/kubernetes/pkg/api/unversioned/generated.proto"; +import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; +import "k8s.io/kubernetes/pkg/runtime/generated.proto"; +import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; + +// Package-wide variables from generator "generated". +option go_package = "v1beta1"; + +// StorageClass describes the parameters for a class of storage for +// which PersistentVolumes can be dynamically provisioned. +// +// StorageClasses are non-namespaced; the name of the storage class +// according to etcd is in ObjectMeta.Name. +message StorageClass { + // Standard object's metadata. + // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; + + // Provisioner indicates the type of the provisioner. + optional string provisioner = 2; + + // Parameters holds the parameters for the provisioner that should + // create volumes of this storage class. + map parameters = 3; +} + +// StorageClassList is a collection of storage classes. +message StorageClassList { + // Standard list metadata + // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; + + // Items is the list of StorageClasses + repeated StorageClass items = 2; +} + diff --git a/pkg/apis/storage/v1beta1/types.generated.go b/pkg/apis/storage/v1beta1/types.generated.go new file mode 100644 index 00000000000..7f59ec8f5c4 --- /dev/null +++ b/pkg/apis/storage/v1beta1/types.generated.go @@ -0,0 +1,900 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// ************************************************************ +// DO NOT EDIT. +// THIS FILE IS AUTO-GENERATED BY codecgen. +// ************************************************************ + +package v1beta1 + +import ( + "errors" + "fmt" + codec1978 "github.com/ugorji/go/codec" + pkg1_unversioned "k8s.io/kubernetes/pkg/api/unversioned" + pkg2_v1 "k8s.io/kubernetes/pkg/api/v1" + pkg3_types "k8s.io/kubernetes/pkg/types" + "reflect" + "runtime" + time "time" +) + +const ( + // ----- content types ---- + codecSelferC_UTF81234 = 1 + codecSelferC_RAW1234 = 0 + // ----- value types used ---- + codecSelferValueTypeArray1234 = 10 + codecSelferValueTypeMap1234 = 9 + // ----- containerStateValues ---- + codecSelfer_containerMapKey1234 = 2 + codecSelfer_containerMapValue1234 = 3 + codecSelfer_containerMapEnd1234 = 4 + codecSelfer_containerArrayElem1234 = 6 + codecSelfer_containerArrayEnd1234 = 7 +) + +var ( + codecSelferBitsize1234 = uint8(reflect.TypeOf(uint(0)).Bits()) + codecSelferOnlyMapOrArrayEncodeToStructErr1234 = errors.New(`only encoded map or array can be decoded into a struct`) +) + +type codecSelfer1234 struct{} + +func init() { + if codec1978.GenVersion != 5 { + _, file, _, _ := runtime.Caller(0) + err := fmt.Errorf("codecgen version mismatch: current: %v, need %v. Re-generate file: %v", + 5, codec1978.GenVersion, file) + panic(err) + } + if false { // reference the types, but skip this branch at build/run time + var v0 pkg1_unversioned.TypeMeta + var v1 pkg2_v1.ObjectMeta + var v2 pkg3_types.UID + var v3 time.Time + _, _, _, _ = v0, v1, v2, v3 + } +} + +func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[4] = len(x.Parameters) != 0 + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(5) + } else { + yynn2 = 1 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta + yy11.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym13 := z.EncBinary() + _ = yym13 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("provisioner")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym14 := z.EncBinary() + _ = yym14 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + if x.Parameters == nil { + r.EncodeNil() + } else { + yym16 := z.EncBinary() + _ = yym16 + if false { + } else { + z.F.EncMapStringStringV(x.Parameters, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("parameters")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Parameters == nil { + r.EncodeNil() + } else { + yym17 := z.EncBinary() + _ = yym17 + if false { + } else { + z.F.EncMapStringStringV(x.Parameters, false, e) + } + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym18 := z.DecBinary() + _ = yym18 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl19, d) + } + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl19, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys20 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "provisioner": + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + case "parameters": + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv25 := &x.Parameters + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + z.F.DecMapStringStringX(yyv25, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj27 int + var yyb27 bool + var yyhl27 bool = l >= 0 + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv30 := &x.ObjectMeta + yyv30.CodecDecodeSelf(d) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv32 := &x.Parameters + yym33 := z.DecBinary() + _ = yym33 + if false { + } else { + z.F.DecMapStringStringX(yyv32, false, d) + } + } + for { + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l + } else { + yyb27 = r.CheckBreak() + } + if yyb27 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj27-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym34 := z.EncBinary() + _ = yym34 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep35 := !z.EncBinary() + yy2arr35 := z.EncBasicHandle().StructToArray + var yyq35 [4]bool + _, _, _ = yysep35, yyq35, yy2arr35 + const yyr35 bool = false + yyq35[0] = x.Kind != "" + yyq35[1] = x.APIVersion != "" + yyq35[2] = true + var yynn35 int + if yyr35 || yy2arr35 { + r.EncodeArrayStart(4) + } else { + yynn35 = 1 + for _, b := range yyq35 { + if b { + yynn35++ + } + } + r.EncodeMapStart(yynn35) + yynn35 = 0 + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq35[0] { + yym37 := z.EncBinary() + _ = yym37 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq35[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym38 := z.EncBinary() + _ = yym38 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq35[1] { + yym40 := z.EncBinary() + _ = yym40 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq35[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym41 := z.EncBinary() + _ = yym41 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq35[2] { + yy43 := &x.ListMeta + yym44 := z.EncBinary() + _ = yym44 + if false { + } else if z.HasExtensions() && z.EncExt(yy43) { + } else { + z.EncFallback(yy43) + } + } else { + r.EncodeNil() + } + } else { + if yyq35[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy45 := &x.ListMeta + yym46 := z.EncBinary() + _ = yym46 + if false { + } else if z.HasExtensions() && z.EncExt(yy45) { + } else { + z.EncFallback(yy45) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym48 := z.EncBinary() + _ = yym48 + if false { + } else { + h.encSliceStorageClass(([]StorageClass)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym49 := z.EncBinary() + _ = yym49 + if false { + } else { + h.encSliceStorageClass(([]StorageClass)(x.Items), e) + } + } + } + if yyr35 || yy2arr35 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym50 := z.DecBinary() + _ = yym50 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct51 := r.ContainerType() + if yyct51 == codecSelferValueTypeMap1234 { + yyl51 := r.ReadMapStart() + if yyl51 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl51, d) + } + } else if yyct51 == codecSelferValueTypeArray1234 { + yyl51 := r.ReadArrayStart() + if yyl51 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl51, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys52Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys52Slc + var yyhl52 bool = l >= 0 + for yyj52 := 0; ; yyj52++ { + if yyhl52 { + if yyj52 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys52Slc = r.DecodeBytes(yys52Slc, true, true) + yys52 := string(yys52Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys52 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv55 := &x.ListMeta + yym56 := z.DecBinary() + _ = yym56 + if false { + } else if z.HasExtensions() && z.DecExt(yyv55) { + } else { + z.DecFallback(yyv55, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv57 := &x.Items + yym58 := z.DecBinary() + _ = yym58 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv57), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys52) + } // end switch yys52 + } // end for yyj52 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj59 int + var yyb59 bool + var yyhl59 bool = l >= 0 + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv62 := &x.ListMeta + yym63 := z.DecBinary() + _ = yym63 + if false { + } else if z.HasExtensions() && z.DecExt(yyv62) { + } else { + z.DecFallback(yyv62, false) + } + } + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv64 := &x.Items + yym65 := z.DecBinary() + _ = yym65 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv64), d) + } + } + for { + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l + } else { + yyb59 = r.CheckBreak() + } + if yyb59 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj59-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv66 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy67 := &yyv66 + yy67.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv68 := *v + yyh68, yyl68 := z.DecSliceHelperStart() + var yyc68 bool + if yyl68 == 0 { + if yyv68 == nil { + yyv68 = []StorageClass{} + yyc68 = true + } else if len(yyv68) != 0 { + yyv68 = yyv68[:0] + yyc68 = true + } + } else if yyl68 > 0 { + var yyrr68, yyrl68 int + var yyrt68 bool + if yyl68 > cap(yyv68) { + + yyrg68 := len(yyv68) > 0 + yyv268 := yyv68 + yyrl68, yyrt68 = z.DecInferLen(yyl68, z.DecBasicHandle().MaxInitLen, 280) + if yyrt68 { + if yyrl68 <= cap(yyv68) { + yyv68 = yyv68[:yyrl68] + } else { + yyv68 = make([]StorageClass, yyrl68) + } + } else { + yyv68 = make([]StorageClass, yyrl68) + } + yyc68 = true + yyrr68 = len(yyv68) + if yyrg68 { + copy(yyv68, yyv268) + } + } else if yyl68 != len(yyv68) { + yyv68 = yyv68[:yyl68] + yyc68 = true + } + yyj68 := 0 + for ; yyj68 < yyrr68; yyj68++ { + yyh68.ElemContainerState(yyj68) + if r.TryDecodeAsNil() { + yyv68[yyj68] = StorageClass{} + } else { + yyv69 := &yyv68[yyj68] + yyv69.CodecDecodeSelf(d) + } + + } + if yyrt68 { + for ; yyj68 < yyl68; yyj68++ { + yyv68 = append(yyv68, StorageClass{}) + yyh68.ElemContainerState(yyj68) + if r.TryDecodeAsNil() { + yyv68[yyj68] = StorageClass{} + } else { + yyv70 := &yyv68[yyj68] + yyv70.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj68 := 0 + for ; !r.CheckBreak(); yyj68++ { + + if yyj68 >= len(yyv68) { + yyv68 = append(yyv68, StorageClass{}) // var yyz68 StorageClass + yyc68 = true + } + yyh68.ElemContainerState(yyj68) + if yyj68 < len(yyv68) { + if r.TryDecodeAsNil() { + yyv68[yyj68] = StorageClass{} + } else { + yyv71 := &yyv68[yyj68] + yyv71.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj68 < len(yyv68) { + yyv68 = yyv68[:yyj68] + yyc68 = true + } else if yyj68 == 0 && yyv68 == nil { + yyv68 = []StorageClass{} + yyc68 = true + } + } + yyh68.End() + if yyc68 { + *v = yyv68 + } +} diff --git a/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go b/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go new file mode 100644 index 00000000000..e8362e381ff --- /dev/null +++ b/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go @@ -0,0 +1,51 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1beta1 + +// This file contains a collection of methods that can be used from go-restful to +// generate Swagger API documentation for its models. Please read this PR for more +// information on the implementation: https://github.com/emicklei/go-restful/pull/215 +// +// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if +// they are on one line! For multiple line or blocks that you want to ignore use ---. +// Any context after a --- is ignored. +// +// Those methods can be generated by using hack/update-generated-swagger-docs.sh + +// AUTO-GENERATED FUNCTIONS START HERE +var map_StorageClass = map[string]string{ + "": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", + "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "provisioner": "Provisioner indicates the type of the provisioner.", + "parameters": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", +} + +func (StorageClass) SwaggerDoc() map[string]string { + return map_StorageClass +} + +var map_StorageClassList = map[string]string{ + "": "StorageClassList is a collection of storage classes.", + "metadata": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "items": "Items is the list of StorageClasses", +} + +func (StorageClassList) SwaggerDoc() map[string]string { + return map_StorageClassList +} + +// AUTO-GENERATED FUNCTIONS END HERE diff --git a/pkg/apis/storage/v1beta1/zz_generated.conversion.go b/pkg/apis/storage/v1beta1/zz_generated.conversion.go new file mode 100644 index 00000000000..521b0535f4d --- /dev/null +++ b/pkg/apis/storage/v1beta1/zz_generated.conversion.go @@ -0,0 +1,127 @@ +// +build !ignore_autogenerated + +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by conversion-gen. Do not edit it manually! + +package v1beta1 + +import ( + api "k8s.io/kubernetes/pkg/api" + storage "k8s.io/kubernetes/pkg/apis/storage" + conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" +) + +func init() { + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( + Convert_v1beta1_StorageClass_To_storage_StorageClass, + Convert_storage_StorageClass_To_v1beta1_StorageClass, + Convert_v1beta1_StorageClassList_To_storage_StorageClassList, + Convert_storage_StorageClassList_To_v1beta1_StorageClassList, + ) +} + +func autoConvert_v1beta1_StorageClass_To_storage_StorageClass(in *StorageClass, out *storage.StorageClass, s conversion.Scope) error { + if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { + return err + } + // TODO: Inefficient conversion - can we improve it? + if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { + return err + } + out.Provisioner = in.Provisioner + out.Parameters = in.Parameters + return nil +} + +func Convert_v1beta1_StorageClass_To_storage_StorageClass(in *StorageClass, out *storage.StorageClass, s conversion.Scope) error { + return autoConvert_v1beta1_StorageClass_To_storage_StorageClass(in, out, s) +} + +func autoConvert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageClass, out *StorageClass, s conversion.Scope) error { + if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { + return err + } + // TODO: Inefficient conversion - can we improve it? + if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { + return err + } + out.Provisioner = in.Provisioner + out.Parameters = in.Parameters + return nil +} + +func Convert_storage_StorageClass_To_v1beta1_StorageClass(in *storage.StorageClass, out *StorageClass, s conversion.Scope) error { + return autoConvert_storage_StorageClass_To_v1beta1_StorageClass(in, out, s) +} + +func autoConvert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageClassList, out *storage.StorageClassList, s conversion.Scope) error { + if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { + return err + } + if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { + return err + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]storage.StorageClass, len(*in)) + for i := range *in { + if err := Convert_v1beta1_StorageClass_To_storage_StorageClass(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil +} + +func Convert_v1beta1_StorageClassList_To_storage_StorageClassList(in *StorageClassList, out *storage.StorageClassList, s conversion.Scope) error { + return autoConvert_v1beta1_StorageClassList_To_storage_StorageClassList(in, out, s) +} + +func autoConvert_storage_StorageClassList_To_v1beta1_StorageClassList(in *storage.StorageClassList, out *StorageClassList, s conversion.Scope) error { + if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { + return err + } + if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { + return err + } + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StorageClass, len(*in)) + for i := range *in { + if err := Convert_storage_StorageClass_To_v1beta1_StorageClass(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil +} + +func Convert_storage_StorageClassList_To_v1beta1_StorageClassList(in *storage.StorageClassList, out *StorageClassList, s conversion.Scope) error { + return autoConvert_storage_StorageClassList_To_v1beta1_StorageClassList(in, out, s) +} diff --git a/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go b/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go new file mode 100644 index 00000000000..d9e7ed09560 --- /dev/null +++ b/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go @@ -0,0 +1,84 @@ +// +build !ignore_autogenerated + +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by deepcopy-gen. Do not edit it manually! + +package v1beta1 + +import ( + v1 "k8s.io/kubernetes/pkg/api/v1" + conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" + reflect "reflect" +) + +func init() { + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClass, InType: reflect.TypeOf(&StorageClass{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClassList, InType: reflect.TypeOf(&StorageClassList{})}, + ) +} + +func DeepCopy_v1beta1_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*StorageClass) + out := out.(*StorageClass) + out.TypeMeta = in.TypeMeta + if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { + return err + } + out.Provisioner = in.Provisioner + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]string) + for key, val := range *in { + (*out)[key] = val + } + } else { + out.Parameters = nil + } + return nil + } +} + +func DeepCopy_v1beta1_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*StorageClassList) + out := out.(*StorageClassList) + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StorageClass, len(*in)) + for i := range *in { + if err := DeepCopy_v1beta1_StorageClass(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil + } +} diff --git a/pkg/apis/storage/zz_generated.deepcopy.go b/pkg/apis/storage/zz_generated.deepcopy.go new file mode 100644 index 00000000000..75426697813 --- /dev/null +++ b/pkg/apis/storage/zz_generated.deepcopy.go @@ -0,0 +1,84 @@ +// +build !ignore_autogenerated + +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by deepcopy-gen. Do not edit it manually! + +package storage + +import ( + api "k8s.io/kubernetes/pkg/api" + conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" + reflect "reflect" +) + +func init() { + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_storage_StorageClass, InType: reflect.TypeOf(&StorageClass{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_storage_StorageClassList, InType: reflect.TypeOf(&StorageClassList{})}, + ) +} + +func DeepCopy_storage_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*StorageClass) + out := out.(*StorageClass) + out.TypeMeta = in.TypeMeta + if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { + return err + } + out.Provisioner = in.Provisioner + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]string) + for key, val := range *in { + (*out)[key] = val + } + } else { + out.Parameters = nil + } + return nil + } +} + +func DeepCopy_storage_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*StorageClassList) + out := out.(*StorageClassList) + out.TypeMeta = in.TypeMeta + out.ListMeta = in.ListMeta + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StorageClass, len(*in)) + for i := range *in { + if err := DeepCopy_storage_StorageClass(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil + } +} diff --git a/pkg/client/clientset_generated/internalclientset/clientset.go b/pkg/client/clientset_generated/internalclientset/clientset.go index df75ef10fa4..b2d96d3a2b4 100644 --- a/pkg/client/clientset_generated/internalclientset/clientset.go +++ b/pkg/client/clientset_generated/internalclientset/clientset.go @@ -26,6 +26,7 @@ import ( unversionedcore "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/unversioned" unversionedextensions "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned" unversionedrbac "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned" + unversionedstorage "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned" restclient "k8s.io/kubernetes/pkg/client/restclient" discovery "k8s.io/kubernetes/pkg/client/typed/discovery" "k8s.io/kubernetes/pkg/util/flowcontrol" @@ -41,6 +42,7 @@ type Interface interface { Certificates() unversionedcertificates.CertificatesInterface Extensions() unversionedextensions.ExtensionsInterface Rbac() unversionedrbac.RbacInterface + Storage() unversionedstorage.StorageInterface } // Clientset contains the clients for groups. Each group has exactly one @@ -55,6 +57,7 @@ type Clientset struct { *unversionedcertificates.CertificatesClient *unversionedextensions.ExtensionsClient *unversionedrbac.RbacClient + *unversionedstorage.StorageClient } // Core retrieves the CoreClient @@ -121,6 +124,14 @@ func (c *Clientset) Rbac() unversionedrbac.RbacInterface { return c.RbacClient } +// Storage retrieves the StorageClient +func (c *Clientset) Storage() unversionedstorage.StorageInterface { + if c == nil { + return nil + } + return c.StorageClient +} + // Discovery retrieves the DiscoveryClient func (c *Clientset) Discovery() discovery.DiscoveryInterface { return c.DiscoveryClient @@ -166,6 +177,10 @@ func NewForConfig(c *restclient.Config) (*Clientset, error) { if err != nil { return nil, err } + clientset.StorageClient, err = unversionedstorage.NewForConfig(&configShallowCopy) + if err != nil { + return nil, err + } clientset.DiscoveryClient, err = discovery.NewDiscoveryClientForConfig(&configShallowCopy) if err != nil { @@ -187,6 +202,7 @@ func NewForConfigOrDie(c *restclient.Config) *Clientset { clientset.CertificatesClient = unversionedcertificates.NewForConfigOrDie(c) clientset.ExtensionsClient = unversionedextensions.NewForConfigOrDie(c) clientset.RbacClient = unversionedrbac.NewForConfigOrDie(c) + clientset.StorageClient = unversionedstorage.NewForConfigOrDie(c) clientset.DiscoveryClient = discovery.NewDiscoveryClientForConfigOrDie(c) return &clientset @@ -203,6 +219,7 @@ func New(c *restclient.RESTClient) *Clientset { clientset.CertificatesClient = unversionedcertificates.New(c) clientset.ExtensionsClient = unversionedextensions.New(c) clientset.RbacClient = unversionedrbac.New(c) + clientset.StorageClient = unversionedstorage.New(c) clientset.DiscoveryClient = discovery.NewDiscoveryClient(c) return &clientset diff --git a/pkg/client/clientset_generated/internalclientset/fake/clientset_generated.go b/pkg/client/clientset_generated/internalclientset/fake/clientset_generated.go index ddb94f8fc46..c64972c04f0 100644 --- a/pkg/client/clientset_generated/internalclientset/fake/clientset_generated.go +++ b/pkg/client/clientset_generated/internalclientset/fake/clientset_generated.go @@ -36,6 +36,8 @@ import ( fakeunversionedextensions "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake" unversionedrbac "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned" fakeunversionedrbac "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/rbac/unversioned/fake" + unversionedstorage "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned" + fakeunversionedstorage "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake" "k8s.io/kubernetes/pkg/client/testing/core" "k8s.io/kubernetes/pkg/client/typed/discovery" fakediscovery "k8s.io/kubernetes/pkg/client/typed/discovery/fake" @@ -115,3 +117,8 @@ func (c *Clientset) Extensions() unversionedextensions.ExtensionsInterface { func (c *Clientset) Rbac() unversionedrbac.RbacInterface { return &fakeunversionedrbac.FakeRbac{Fake: &c.Fake} } + +// Storage retrieves the StorageClient +func (c *Clientset) Storage() unversionedstorage.StorageInterface { + return &fakeunversionedstorage.FakeStorage{Fake: &c.Fake} +} diff --git a/pkg/client/clientset_generated/internalclientset/import_known_versions.go b/pkg/client/clientset_generated/internalclientset/import_known_versions.go index 40ce7958f75..bb9fee83031 100644 --- a/pkg/client/clientset_generated/internalclientset/import_known_versions.go +++ b/pkg/client/clientset_generated/internalclientset/import_known_versions.go @@ -32,6 +32,7 @@ import ( _ "k8s.io/kubernetes/pkg/apis/extensions/install" _ "k8s.io/kubernetes/pkg/apis/policy/install" _ "k8s.io/kubernetes/pkg/apis/rbac/install" + _ "k8s.io/kubernetes/pkg/apis/storage/install" ) func init() { diff --git a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/extensions_client.go b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/extensions_client.go index 7ad44194f90..5454ea783ed 100644 --- a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/extensions_client.go +++ b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/extensions_client.go @@ -30,7 +30,6 @@ type ExtensionsInterface interface { PodSecurityPoliciesGetter ReplicaSetsGetter ScalesGetter - StorageClassesGetter ThirdPartyResourcesGetter } @@ -63,10 +62,6 @@ func (c *ExtensionsClient) Scales(namespace string) ScaleInterface { return newScales(c, namespace) } -func (c *ExtensionsClient) StorageClasses() StorageClassInterface { - return newStorageClasses(c) -} - func (c *ExtensionsClient) ThirdPartyResources() ThirdPartyResourceInterface { return newThirdPartyResources(c) } diff --git a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_extensions_client.go b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_extensions_client.go index cb3bc074d73..809e80ed8af 100644 --- a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_extensions_client.go +++ b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_extensions_client.go @@ -50,10 +50,6 @@ func (c *FakeExtensions) Scales(namespace string) unversioned.ScaleInterface { return &FakeScales{c, namespace} } -func (c *FakeExtensions) StorageClasses() unversioned.StorageClassInterface { - return &FakeStorageClasses{c} -} - func (c *FakeExtensions) ThirdPartyResources() unversioned.ThirdPartyResourceInterface { return &FakeThirdPartyResources{c} } diff --git a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_storageclass.go b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_storageclass.go deleted file mode 100644 index bc9b856b03a..00000000000 --- a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/fake/fake_storageclass.go +++ /dev/null @@ -1,109 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package fake - -import ( - api "k8s.io/kubernetes/pkg/api" - unversioned "k8s.io/kubernetes/pkg/api/unversioned" - extensions "k8s.io/kubernetes/pkg/apis/extensions" - core "k8s.io/kubernetes/pkg/client/testing/core" - labels "k8s.io/kubernetes/pkg/labels" - watch "k8s.io/kubernetes/pkg/watch" -) - -// FakeStorageClasses implements StorageClassInterface -type FakeStorageClasses struct { - Fake *FakeExtensions -} - -var storageclassesResource = unversioned.GroupVersionResource{Group: "extensions", Version: "", Resource: "storageclasses"} - -func (c *FakeStorageClasses) Create(storageClass *extensions.StorageClass) (result *extensions.StorageClass, err error) { - obj, err := c.Fake. - Invokes(core.NewRootCreateAction(storageclassesResource, storageClass), &extensions.StorageClass{}) - if obj == nil { - return nil, err - } - return obj.(*extensions.StorageClass), err -} - -func (c *FakeStorageClasses) Update(storageClass *extensions.StorageClass) (result *extensions.StorageClass, err error) { - obj, err := c.Fake. - Invokes(core.NewRootUpdateAction(storageclassesResource, storageClass), &extensions.StorageClass{}) - if obj == nil { - return nil, err - } - return obj.(*extensions.StorageClass), err -} - -func (c *FakeStorageClasses) Delete(name string, options *api.DeleteOptions) error { - _, err := c.Fake. - Invokes(core.NewRootDeleteAction(storageclassesResource, name), &extensions.StorageClass{}) - return err -} - -func (c *FakeStorageClasses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { - action := core.NewRootDeleteCollectionAction(storageclassesResource, listOptions) - - _, err := c.Fake.Invokes(action, &extensions.StorageClassList{}) - return err -} - -func (c *FakeStorageClasses) Get(name string) (result *extensions.StorageClass, err error) { - obj, err := c.Fake. - Invokes(core.NewRootGetAction(storageclassesResource, name), &extensions.StorageClass{}) - if obj == nil { - return nil, err - } - return obj.(*extensions.StorageClass), err -} - -func (c *FakeStorageClasses) List(opts api.ListOptions) (result *extensions.StorageClassList, err error) { - obj, err := c.Fake. - Invokes(core.NewRootListAction(storageclassesResource, opts), &extensions.StorageClassList{}) - if obj == nil { - return nil, err - } - - label := opts.LabelSelector - if label == nil { - label = labels.Everything() - } - list := &extensions.StorageClassList{} - for _, item := range obj.(*extensions.StorageClassList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested storageClasses. -func (c *FakeStorageClasses) Watch(opts api.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(core.NewRootWatchAction(storageclassesResource, opts)) -} - -// Patch applies the patch and returns the patched storageClass. -func (c *FakeStorageClasses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *extensions.StorageClass, err error) { - obj, err := c.Fake. - Invokes(core.NewRootPatchSubresourceAction(storageclassesResource, name, data, subresources...), &extensions.StorageClass{}) - if obj == nil { - return nil, err - } - return obj.(*extensions.StorageClass), err -} diff --git a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/generated_expansion.go b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/generated_expansion.go index 34401f543b6..d818910a59a 100644 --- a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/generated_expansion.go +++ b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/generated_expansion.go @@ -24,6 +24,4 @@ type PodSecurityPolicyExpansion interface{} type ReplicaSetExpansion interface{} -type StorageClassExpansion interface{} - type ThirdPartyResourceExpansion interface{} diff --git a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/storageclass.go b/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/storageclass.go deleted file mode 100644 index 0a145b0fde8..00000000000 --- a/pkg/client/clientset_generated/internalclientset/typed/extensions/unversioned/storageclass.go +++ /dev/null @@ -1,141 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package unversioned - -import ( - api "k8s.io/kubernetes/pkg/api" - extensions "k8s.io/kubernetes/pkg/apis/extensions" - watch "k8s.io/kubernetes/pkg/watch" -) - -// StorageClassesGetter has a method to return a StorageClassInterface. -// A group's client should implement this interface. -type StorageClassesGetter interface { - StorageClasses() StorageClassInterface -} - -// StorageClassInterface has methods to work with StorageClass resources. -type StorageClassInterface interface { - Create(*extensions.StorageClass) (*extensions.StorageClass, error) - Update(*extensions.StorageClass) (*extensions.StorageClass, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error - Get(name string) (*extensions.StorageClass, error) - List(opts api.ListOptions) (*extensions.StorageClassList, error) - Watch(opts api.ListOptions) (watch.Interface, error) - Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *extensions.StorageClass, err error) - StorageClassExpansion -} - -// storageClasses implements StorageClassInterface -type storageClasses struct { - client *ExtensionsClient -} - -// newStorageClasses returns a StorageClasses -func newStorageClasses(c *ExtensionsClient) *storageClasses { - return &storageClasses{ - client: c, - } -} - -// Create takes the representation of a storageClass and creates it. Returns the server's representation of the storageClass, and an error, if there is any. -func (c *storageClasses) Create(storageClass *extensions.StorageClass) (result *extensions.StorageClass, err error) { - result = &extensions.StorageClass{} - err = c.client.Post(). - Resource("storageclasses"). - Body(storageClass). - Do(). - Into(result) - return -} - -// Update takes the representation of a storageClass and updates it. Returns the server's representation of the storageClass, and an error, if there is any. -func (c *storageClasses) Update(storageClass *extensions.StorageClass) (result *extensions.StorageClass, err error) { - result = &extensions.StorageClass{} - err = c.client.Put(). - Resource("storageclasses"). - Name(storageClass.Name). - Body(storageClass). - Do(). - Into(result) - return -} - -// Delete takes name of the storageClass and deletes it. Returns an error if one occurs. -func (c *storageClasses) Delete(name string, options *api.DeleteOptions) error { - return c.client.Delete(). - Resource("storageclasses"). - Name(name). - Body(options). - Do(). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *storageClasses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { - return c.client.Delete(). - Resource("storageclasses"). - VersionedParams(&listOptions, api.ParameterCodec). - Body(options). - Do(). - Error() -} - -// Get takes name of the storageClass, and returns the corresponding storageClass object, and an error if there is any. -func (c *storageClasses) Get(name string) (result *extensions.StorageClass, err error) { - result = &extensions.StorageClass{} - err = c.client.Get(). - Resource("storageclasses"). - Name(name). - Do(). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of StorageClasses that match those selectors. -func (c *storageClasses) List(opts api.ListOptions) (result *extensions.StorageClassList, err error) { - result = &extensions.StorageClassList{} - err = c.client.Get(). - Resource("storageclasses"). - VersionedParams(&opts, api.ParameterCodec). - Do(). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested storageClasses. -func (c *storageClasses) Watch(opts api.ListOptions) (watch.Interface, error) { - return c.client.Get(). - Prefix("watch"). - Resource("storageclasses"). - VersionedParams(&opts, api.ParameterCodec). - Watch() -} - -// Patch applies the patch and returns the patched storageClass. -func (c *storageClasses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *extensions.StorageClass, err error) { - result = &extensions.StorageClass{} - err = c.client.Patch(pt). - Resource("storageclasses"). - SubResource(subresources...). - Name(name). - Body(data). - Do(). - Into(result) - return -} diff --git a/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/doc.go b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/doc.go new file mode 100644 index 00000000000..1e6a8ff827b --- /dev/null +++ b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package is generated by client-gen with the default arguments. + +// This package has the automatically generated typed clients. +package unversioned diff --git a/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/doc.go b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/doc.go new file mode 100644 index 00000000000..083f78f3a40 --- /dev/null +++ b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package is generated by client-gen with the default arguments. + +// Package fake has the automatically generated clients. +package fake diff --git a/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/fake_storage_client.go b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/fake_storage_client.go new file mode 100644 index 00000000000..7b2c0762302 --- /dev/null +++ b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/fake_storage_client.go @@ -0,0 +1,37 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package fake + +import ( + unversioned "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned" + restclient "k8s.io/kubernetes/pkg/client/restclient" + core "k8s.io/kubernetes/pkg/client/testing/core" +) + +type FakeStorage struct { + *core.Fake +} + +func (c *FakeStorage) StorageClasses() unversioned.StorageClassInterface { + return &FakeStorageClasses{c} +} + +// GetRESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *FakeStorage) GetRESTClient() *restclient.RESTClient { + return nil +} diff --git a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_storageclass.go b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/fake_storageclass.go similarity index 71% rename from pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_storageclass.go rename to pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/fake_storageclass.go index e565d2fecfd..b62b137f80a 100644 --- a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_storageclass.go +++ b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/fake/fake_storageclass.go @@ -19,7 +19,7 @@ package fake import ( api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" - v1beta1 "k8s.io/kubernetes/pkg/apis/extensions/v1beta1" + storage "k8s.io/kubernetes/pkg/apis/storage" core "k8s.io/kubernetes/pkg/client/testing/core" labels "k8s.io/kubernetes/pkg/labels" watch "k8s.io/kubernetes/pkg/watch" @@ -27,54 +27,54 @@ import ( // FakeStorageClasses implements StorageClassInterface type FakeStorageClasses struct { - Fake *FakeExtensions + Fake *FakeStorage } -var storageclassesResource = unversioned.GroupVersionResource{Group: "extensions", Version: "v1beta1", Resource: "storageclasses"} +var storageclassesResource = unversioned.GroupVersionResource{Group: "storage.k8s.io", Version: "", Resource: "storageclasses"} -func (c *FakeStorageClasses) Create(storageClass *v1beta1.StorageClass) (result *v1beta1.StorageClass, err error) { +func (c *FakeStorageClasses) Create(storageClass *storage.StorageClass) (result *storage.StorageClass, err error) { obj, err := c.Fake. - Invokes(core.NewRootCreateAction(storageclassesResource, storageClass), &v1beta1.StorageClass{}) + Invokes(core.NewRootCreateAction(storageclassesResource, storageClass), &storage.StorageClass{}) if obj == nil { return nil, err } - return obj.(*v1beta1.StorageClass), err + return obj.(*storage.StorageClass), err } -func (c *FakeStorageClasses) Update(storageClass *v1beta1.StorageClass) (result *v1beta1.StorageClass, err error) { +func (c *FakeStorageClasses) Update(storageClass *storage.StorageClass) (result *storage.StorageClass, err error) { obj, err := c.Fake. - Invokes(core.NewRootUpdateAction(storageclassesResource, storageClass), &v1beta1.StorageClass{}) + Invokes(core.NewRootUpdateAction(storageclassesResource, storageClass), &storage.StorageClass{}) if obj == nil { return nil, err } - return obj.(*v1beta1.StorageClass), err + return obj.(*storage.StorageClass), err } func (c *FakeStorageClasses) Delete(name string, options *api.DeleteOptions) error { _, err := c.Fake. - Invokes(core.NewRootDeleteAction(storageclassesResource, name), &v1beta1.StorageClass{}) + Invokes(core.NewRootDeleteAction(storageclassesResource, name), &storage.StorageClass{}) return err } func (c *FakeStorageClasses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { action := core.NewRootDeleteCollectionAction(storageclassesResource, listOptions) - _, err := c.Fake.Invokes(action, &v1beta1.StorageClassList{}) + _, err := c.Fake.Invokes(action, &storage.StorageClassList{}) return err } -func (c *FakeStorageClasses) Get(name string) (result *v1beta1.StorageClass, err error) { +func (c *FakeStorageClasses) Get(name string) (result *storage.StorageClass, err error) { obj, err := c.Fake. - Invokes(core.NewRootGetAction(storageclassesResource, name), &v1beta1.StorageClass{}) + Invokes(core.NewRootGetAction(storageclassesResource, name), &storage.StorageClass{}) if obj == nil { return nil, err } - return obj.(*v1beta1.StorageClass), err + return obj.(*storage.StorageClass), err } -func (c *FakeStorageClasses) List(opts api.ListOptions) (result *v1beta1.StorageClassList, err error) { +func (c *FakeStorageClasses) List(opts api.ListOptions) (result *storage.StorageClassList, err error) { obj, err := c.Fake. - Invokes(core.NewRootListAction(storageclassesResource, opts), &v1beta1.StorageClassList{}) + Invokes(core.NewRootListAction(storageclassesResource, opts), &storage.StorageClassList{}) if obj == nil { return nil, err } @@ -83,8 +83,8 @@ func (c *FakeStorageClasses) List(opts api.ListOptions) (result *v1beta1.Storage if label == nil { label = labels.Everything() } - list := &v1beta1.StorageClassList{} - for _, item := range obj.(*v1beta1.StorageClassList).Items { + list := &storage.StorageClassList{} + for _, item := range obj.(*storage.StorageClassList).Items { if label.Matches(labels.Set(item.Labels)) { list.Items = append(list.Items, item) } @@ -99,11 +99,11 @@ func (c *FakeStorageClasses) Watch(opts api.ListOptions) (watch.Interface, error } // Patch applies the patch and returns the patched storageClass. -func (c *FakeStorageClasses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.StorageClass, err error) { +func (c *FakeStorageClasses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *storage.StorageClass, err error) { obj, err := c.Fake. - Invokes(core.NewRootPatchSubresourceAction(storageclassesResource, name, data, subresources...), &v1beta1.StorageClass{}) + Invokes(core.NewRootPatchSubresourceAction(storageclassesResource, name, data, subresources...), &storage.StorageClass{}) if obj == nil { return nil, err } - return obj.(*v1beta1.StorageClass), err + return obj.(*storage.StorageClass), err } diff --git a/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/generated_expansion.go b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/generated_expansion.go new file mode 100644 index 00000000000..3d0155b2077 --- /dev/null +++ b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/generated_expansion.go @@ -0,0 +1,19 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package unversioned + +type StorageClassExpansion interface{} diff --git a/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/storage_client.go b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/storage_client.go new file mode 100644 index 00000000000..9c65356b9c1 --- /dev/null +++ b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/storage_client.go @@ -0,0 +1,101 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package unversioned + +import ( + api "k8s.io/kubernetes/pkg/api" + registered "k8s.io/kubernetes/pkg/apimachinery/registered" + restclient "k8s.io/kubernetes/pkg/client/restclient" +) + +type StorageInterface interface { + GetRESTClient() *restclient.RESTClient + StorageClassesGetter +} + +// StorageClient is used to interact with features provided by the Storage group. +type StorageClient struct { + *restclient.RESTClient +} + +func (c *StorageClient) StorageClasses() StorageClassInterface { + return newStorageClasses(c) +} + +// NewForConfig creates a new StorageClient for the given config. +func NewForConfig(c *restclient.Config) (*StorageClient, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + client, err := restclient.RESTClientFor(&config) + if err != nil { + return nil, err + } + return &StorageClient{client}, nil +} + +// NewForConfigOrDie creates a new StorageClient for the given config and +// panics if there is an error in the config. +func NewForConfigOrDie(c *restclient.Config) *StorageClient { + client, err := NewForConfig(c) + if err != nil { + panic(err) + } + return client +} + +// New creates a new StorageClient for the given RESTClient. +func New(c *restclient.RESTClient) *StorageClient { + return &StorageClient{c} +} + +func setConfigDefaults(config *restclient.Config) error { + // if storage group is not registered, return an error + g, err := registered.Group("storage.k8s.io") + if err != nil { + return err + } + config.APIPath = "/apis" + if config.UserAgent == "" { + config.UserAgent = restclient.DefaultKubernetesUserAgent() + } + // TODO: Unconditionally set the config.Version, until we fix the config. + //if config.Version == "" { + copyGroupVersion := g.GroupVersion + config.GroupVersion = ©GroupVersion + //} + + config.NegotiatedSerializer = api.Codecs + + if config.QPS == 0 { + config.QPS = 5 + } + if config.Burst == 0 { + config.Burst = 10 + } + return nil +} + +// GetRESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *StorageClient) GetRESTClient() *restclient.RESTClient { + if c == nil { + return nil + } + return c.RESTClient +} diff --git a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/storageclass.go b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/storageclass.go similarity index 77% rename from pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/storageclass.go rename to pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/storageclass.go index 803fe9dadd2..63795b6a25a 100644 --- a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/storageclass.go +++ b/pkg/client/clientset_generated/internalclientset/typed/storage/unversioned/storageclass.go @@ -14,11 +14,11 @@ See the License for the specific language governing permissions and limitations under the License. */ -package v1beta1 +package unversioned import ( api "k8s.io/kubernetes/pkg/api" - v1beta1 "k8s.io/kubernetes/pkg/apis/extensions/v1beta1" + storage "k8s.io/kubernetes/pkg/apis/storage" watch "k8s.io/kubernetes/pkg/watch" ) @@ -30,32 +30,32 @@ type StorageClassesGetter interface { // StorageClassInterface has methods to work with StorageClass resources. type StorageClassInterface interface { - Create(*v1beta1.StorageClass) (*v1beta1.StorageClass, error) - Update(*v1beta1.StorageClass) (*v1beta1.StorageClass, error) + Create(*storage.StorageClass) (*storage.StorageClass, error) + Update(*storage.StorageClass) (*storage.StorageClass, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error - Get(name string) (*v1beta1.StorageClass, error) - List(opts api.ListOptions) (*v1beta1.StorageClassList, error) + Get(name string) (*storage.StorageClass, error) + List(opts api.ListOptions) (*storage.StorageClassList, error) Watch(opts api.ListOptions) (watch.Interface, error) - Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.StorageClass, err error) + Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *storage.StorageClass, err error) StorageClassExpansion } // storageClasses implements StorageClassInterface type storageClasses struct { - client *ExtensionsClient + client *StorageClient } // newStorageClasses returns a StorageClasses -func newStorageClasses(c *ExtensionsClient) *storageClasses { +func newStorageClasses(c *StorageClient) *storageClasses { return &storageClasses{ client: c, } } // Create takes the representation of a storageClass and creates it. Returns the server's representation of the storageClass, and an error, if there is any. -func (c *storageClasses) Create(storageClass *v1beta1.StorageClass) (result *v1beta1.StorageClass, err error) { - result = &v1beta1.StorageClass{} +func (c *storageClasses) Create(storageClass *storage.StorageClass) (result *storage.StorageClass, err error) { + result = &storage.StorageClass{} err = c.client.Post(). Resource("storageclasses"). Body(storageClass). @@ -65,8 +65,8 @@ func (c *storageClasses) Create(storageClass *v1beta1.StorageClass) (result *v1b } // Update takes the representation of a storageClass and updates it. Returns the server's representation of the storageClass, and an error, if there is any. -func (c *storageClasses) Update(storageClass *v1beta1.StorageClass) (result *v1beta1.StorageClass, err error) { - result = &v1beta1.StorageClass{} +func (c *storageClasses) Update(storageClass *storage.StorageClass) (result *storage.StorageClass, err error) { + result = &storage.StorageClass{} err = c.client.Put(). Resource("storageclasses"). Name(storageClass.Name). @@ -97,8 +97,8 @@ func (c *storageClasses) DeleteCollection(options *api.DeleteOptions, listOption } // Get takes name of the storageClass, and returns the corresponding storageClass object, and an error if there is any. -func (c *storageClasses) Get(name string) (result *v1beta1.StorageClass, err error) { - result = &v1beta1.StorageClass{} +func (c *storageClasses) Get(name string) (result *storage.StorageClass, err error) { + result = &storage.StorageClass{} err = c.client.Get(). Resource("storageclasses"). Name(name). @@ -108,8 +108,8 @@ func (c *storageClasses) Get(name string) (result *v1beta1.StorageClass, err err } // List takes label and field selectors, and returns the list of StorageClasses that match those selectors. -func (c *storageClasses) List(opts api.ListOptions) (result *v1beta1.StorageClassList, err error) { - result = &v1beta1.StorageClassList{} +func (c *storageClasses) List(opts api.ListOptions) (result *storage.StorageClassList, err error) { + result = &storage.StorageClassList{} err = c.client.Get(). Resource("storageclasses"). VersionedParams(&opts, api.ParameterCodec). @@ -128,8 +128,8 @@ func (c *storageClasses) Watch(opts api.ListOptions) (watch.Interface, error) { } // Patch applies the patch and returns the patched storageClass. -func (c *storageClasses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.StorageClass, err error) { - result = &v1beta1.StorageClass{} +func (c *storageClasses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *storage.StorageClass, err error) { + result = &storage.StorageClass{} err = c.client.Patch(pt). Resource("storageclasses"). SubResource(subresources...). diff --git a/pkg/client/clientset_generated/release_1_4/import_known_versions.go b/pkg/client/clientset_generated/release_1_4/import_known_versions.go index 6aba97230e1..5b4cd6e3f7c 100644 --- a/pkg/client/clientset_generated/release_1_4/import_known_versions.go +++ b/pkg/client/clientset_generated/release_1_4/import_known_versions.go @@ -27,6 +27,7 @@ import ( _ "k8s.io/kubernetes/pkg/apis/batch/install" _ "k8s.io/kubernetes/pkg/apis/extensions/install" _ "k8s.io/kubernetes/pkg/apis/policy/install" + _ "k8s.io/kubernetes/pkg/apis/storage/install" ) func init() { diff --git a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/extensions_client.go b/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/extensions_client.go index e5b3def55d5..9f796cbb7ea 100644 --- a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/extensions_client.go +++ b/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/extensions_client.go @@ -32,7 +32,6 @@ type ExtensionsInterface interface { PodSecurityPoliciesGetter ReplicaSetsGetter ScalesGetter - StorageClassesGetter ThirdPartyResourcesGetter } @@ -69,10 +68,6 @@ func (c *ExtensionsClient) Scales(namespace string) ScaleInterface { return newScales(c, namespace) } -func (c *ExtensionsClient) StorageClasses() StorageClassInterface { - return newStorageClasses(c) -} - func (c *ExtensionsClient) ThirdPartyResources() ThirdPartyResourceInterface { return newThirdPartyResources(c) } diff --git a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_extensions_client.go b/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_extensions_client.go index 4b334c77261..7674a7a094f 100644 --- a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_extensions_client.go +++ b/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/fake/fake_extensions_client.go @@ -54,10 +54,6 @@ func (c *FakeExtensions) Scales(namespace string) v1beta1.ScaleInterface { return &FakeScales{c, namespace} } -func (c *FakeExtensions) StorageClasses() v1beta1.StorageClassInterface { - return &FakeStorageClasses{c} -} - func (c *FakeExtensions) ThirdPartyResources() v1beta1.ThirdPartyResourceInterface { return &FakeThirdPartyResources{c} } diff --git a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/generated_expansion.go b/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/generated_expansion.go index ece8b6c7aec..60cf61d4b26 100644 --- a/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/generated_expansion.go +++ b/pkg/client/clientset_generated/release_1_4/typed/extensions/v1beta1/generated_expansion.go @@ -26,6 +26,4 @@ type PodSecurityPolicyExpansion interface{} type ReplicaSetExpansion interface{} -type StorageClassExpansion interface{} - type ThirdPartyResourceExpansion interface{}