diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 19d57ba85f5..83c3cd9cfc9 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -176,6 +176,771 @@ } ] }, + { + "path": "/api/v1/namespaces/{namespace}/configmaps", + "description": "API at /api/v1", + "operations": [ + { + "type": "v1.ConfigMapList", + "method": "GET", + "summary": "list or watch objects of kind ConfigMap", + "nickname": "listNamespacedConfigMap", + "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": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.ConfigMapList" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1.ConfigMap", + "method": "POST", + "summary": "create a ConfigMap", + "nickname": "createNamespacedConfigMap", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "v1.ConfigMap", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.ConfigMap" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of ConfigMap", + "nickname": "deletecollectionNamespacedConfigMap", + "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": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/watch/namespaces/{namespace}/configmaps", + "description": "API at /api/v1", + "operations": [ + { + "type": "json.WatchEvent", + "method": "GET", + "summary": "watch individual changes to a list of ConfigMap", + "nickname": "watchNamespacedConfigMapList", + "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": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/namespaces/{namespace}/configmaps/{name}", + "description": "API at /api/v1", + "operations": [ + { + "type": "v1.ConfigMap", + "method": "GET", + "summary": "read the specified ConfigMap", + "nickname": "readNamespacedConfigMap", + "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": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ConfigMap", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.ConfigMap" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1.ConfigMap", + "method": "PUT", + "summary": "replace the specified ConfigMap", + "nickname": "replaceNamespacedConfigMap", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "v1.ConfigMap", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ConfigMap", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.ConfigMap" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1.ConfigMap", + "method": "PATCH", + "summary": "partially update the specified ConfigMap", + "nickname": "patchNamespacedConfigMap", + "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": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ConfigMap", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.ConfigMap" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete a ConfigMap", + "nickname": "deleteNamespacedConfigMap", + "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": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ConfigMap", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/watch/namespaces/{namespace}/configmaps/{name}", + "description": "API at /api/v1", + "operations": [ + { + "type": "json.WatchEvent", + "method": "GET", + "summary": "watch changes to an object of kind ConfigMap", + "nickname": "watchNamespacedConfigMap", + "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": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ConfigMap", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/configmaps", + "description": "API at /api/v1", + "operations": [ + { + "type": "v1.ConfigMapList", + "method": "GET", + "summary": "list or watch objects of kind ConfigMap", + "nickname": "listConfigMap", + "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": "v1.ConfigMapList" + } + ], + "produces": [ + "application/json", + "application/yaml" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/watch/configmaps", + "description": "API at /api/v1", + "operations": [ + { + "type": "json.WatchEvent", + "method": "GET", + "summary": "watch individual changes to a list of ConfigMap", + "nickname": "watchConfigMapList", + "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": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1/namespaces/{namespace}/endpoints", "description": "API at /api/v1", @@ -13024,12 +13789,9 @@ } } }, - "v1.EndpointsList": { - "id": "v1.EndpointsList", - "description": "EndpointsList is a list of endpoints.", - "required": [ - "items" - ], + "v1.ConfigMapList": { + "id": "v1.ConfigMapList", + "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", "properties": { "kind": { "type": "string", @@ -13041,23 +13803,20 @@ }, "metadata": { "$ref": "unversioned.ListMeta", - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" + "description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { "type": "array", "items": { - "$ref": "v1.Endpoints" + "$ref": "v1.ConfigMap" }, - "description": "List of endpoints." + "description": "Items is the list of ConfigMaps." } } }, - "v1.Endpoints": { - "id": "v1.Endpoints", - "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", - "required": [ - "subsets" - ], + "v1.ConfigMap": { + "id": "v1.ConfigMap", + "description": "ConfigMap holds configuration data for pods to consume.", "properties": { "kind": { "type": "string", @@ -13071,78 +13830,9 @@ "$ref": "v1.ObjectMeta", "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, - "subsets": { - "type": "array", - "items": { - "$ref": "v1.EndpointSubset" - }, - "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service." - } - } - }, - "v1.EndpointSubset": { - "id": "v1.EndpointSubset", - "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", - "properties": { - "addresses": { - "type": "array", - "items": { - "$ref": "v1.EndpointAddress" - }, - "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize." - }, - "notReadyAddresses": { - "type": "array", - "items": { - "$ref": "v1.EndpointAddress" - }, - "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check." - }, - "ports": { - "type": "array", - "items": { - "$ref": "v1.EndpointPort" - }, - "description": "Port numbers available on the related IP addresses." - } - } - }, - "v1.EndpointAddress": { - "id": "v1.EndpointAddress", - "description": "EndpointAddress is a tuple that describes single IP address.", - "required": [ - "ip" - ], - "properties": { - "ip": { - "type": "string", - "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24)." - }, - "targetRef": { - "$ref": "v1.ObjectReference", - "description": "Reference to object providing the endpoint." - } - } - }, - "v1.EndpointPort": { - "id": "v1.EndpointPort", - "description": "EndpointPort is a tuple that describes a single port.", - "required": [ - "port" - ], - "properties": { - "name": { - "type": "string", - "description": "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined." - }, - "port": { - "type": "integer", - "format": "int32", - "description": "The port number of the endpoint." - }, - "protocol": { - "type": "string", - "description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP." + "data": { + "type": "any", + "description": "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot." } } }, @@ -13273,6 +13963,128 @@ } } }, + "v1.EndpointsList": { + "id": "v1.EndpointsList", + "description": "EndpointsList is a list of endpoints.", + "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#types-kinds" + }, + "items": { + "type": "array", + "items": { + "$ref": "v1.Endpoints" + }, + "description": "List of endpoints." + } + } + }, + "v1.Endpoints": { + "id": "v1.Endpoints", + "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", + "required": [ + "subsets" + ], + "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" + }, + "subsets": { + "type": "array", + "items": { + "$ref": "v1.EndpointSubset" + }, + "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service." + } + } + }, + "v1.EndpointSubset": { + "id": "v1.EndpointSubset", + "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", + "properties": { + "addresses": { + "type": "array", + "items": { + "$ref": "v1.EndpointAddress" + }, + "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize." + }, + "notReadyAddresses": { + "type": "array", + "items": { + "$ref": "v1.EndpointAddress" + }, + "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check." + }, + "ports": { + "type": "array", + "items": { + "$ref": "v1.EndpointPort" + }, + "description": "Port numbers available on the related IP addresses." + } + } + }, + "v1.EndpointAddress": { + "id": "v1.EndpointAddress", + "description": "EndpointAddress is a tuple that describes single IP address.", + "required": [ + "ip" + ], + "properties": { + "ip": { + "type": "string", + "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24)." + }, + "targetRef": { + "$ref": "v1.ObjectReference", + "description": "Reference to object providing the endpoint." + } + } + }, + "v1.EndpointPort": { + "id": "v1.EndpointPort", + "description": "EndpointPort is a tuple that describes a single port.", + "required": [ + "port" + ], + "properties": { + "name": { + "type": "string", + "description": "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port number of the endpoint." + }, + "protocol": { + "type": "string", + "description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP." + } + } + }, "v1.EventList": { "id": "v1.EventList", "description": "EventList is a list of events.", diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index c4b8f4ff9ab..fabe7daecab 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -4,771 +4,6 @@ "basePath": "https://10.10.10.10:6443", "resourcePath": "/apis/extensions/v1beta1", "apis": [ - { - "path": "/apis/extensions/v1beta1/namespaces/{namespace}/configmaps", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "v1beta1.ConfigMapList", - "method": "GET", - "summary": "list or watch objects of kind ConfigMap", - "nickname": "listNamespacedConfigMap", - "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": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.ConfigMapList" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "v1beta1.ConfigMap", - "method": "POST", - "summary": "create a ConfigMap", - "nickname": "createNamespacedConfigMap", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ConfigMap", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.ConfigMap" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "unversioned.Status", - "method": "DELETE", - "summary": "delete collection of ConfigMap", - "nickname": "deletecollectionNamespacedConfigMap", - "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": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "unversioned.Status" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/configmaps", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "json.WatchEvent", - "method": "GET", - "summary": "watch individual changes to a list of ConfigMap", - "nickname": "watchNamespacedConfigMapList", - "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": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "json.WatchEvent" - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/namespaces/{namespace}/configmaps/{name}", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "v1beta1.ConfigMap", - "method": "GET", - "summary": "read the specified ConfigMap", - "nickname": "readNamespacedConfigMap", - "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": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ConfigMap", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.ConfigMap" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "v1beta1.ConfigMap", - "method": "PUT", - "summary": "replace the specified ConfigMap", - "nickname": "replaceNamespacedConfigMap", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ConfigMap", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ConfigMap", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.ConfigMap" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "v1beta1.ConfigMap", - "method": "PATCH", - "summary": "partially update the specified ConfigMap", - "nickname": "patchNamespacedConfigMap", - "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": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ConfigMap", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta1.ConfigMap" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ] - }, - { - "type": "unversioned.Status", - "method": "DELETE", - "summary": "delete a ConfigMap", - "nickname": "deleteNamespacedConfigMap", - "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": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ConfigMap", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "unversioned.Status" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/watch/namespaces/{namespace}/configmaps/{name}", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "json.WatchEvent", - "method": "GET", - "summary": "watch changes to an object of kind ConfigMap", - "nickname": "watchNamespacedConfigMap", - "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": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ConfigMap", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "json.WatchEvent" - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/configmaps", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "v1beta1.ConfigMapList", - "method": "GET", - "summary": "list or watch objects of kind ConfigMap", - "nickname": "listConfigMap", - "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.ConfigMapList" - } - ], - "produces": [ - "application/json", - "application/yaml" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/apis/extensions/v1beta1/watch/configmaps", - "description": "API at /apis/extensions/v1beta1", - "operations": [ - { - "type": "json.WatchEvent", - "method": "GET", - "summary": "watch individual changes to a list of ConfigMap", - "nickname": "watchConfigMapList", - "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": "json.WatchEvent" - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers", "description": "API at /apis/extensions/v1beta1", @@ -3429,9 +2664,12 @@ } ], "models": { - "v1beta1.ConfigMapList": { - "id": "v1beta1.ConfigMapList", - "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", + "v1beta1.HorizontalPodAutoscalerList": { + "id": "v1beta1.HorizontalPodAutoscalerList", + "description": "list of horizontal pod autoscaler objects.", + "required": [ + "items" + ], "properties": { "kind": { "type": "string", @@ -3443,14 +2681,14 @@ }, "metadata": { "$ref": "unversioned.ListMeta", - "description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" + "description": "Standard list metadata." }, "items": { "type": "array", "items": { - "$ref": "v1beta1.ConfigMap" + "$ref": "v1beta1.HorizontalPodAutoscaler" }, - "description": "Items is the list of ConfigMaps." + "description": "list of horizontal pod autoscaler objects." } } }, @@ -3468,9 +2706,9 @@ } } }, - "v1beta1.ConfigMap": { - "id": "v1beta1.ConfigMap", - "description": "ConfigMap holds configuration data for pods to consume.", + "v1beta1.HorizontalPodAutoscaler": { + "id": "v1beta1.HorizontalPodAutoscaler", + "description": "configuration of a horizontal pod autoscaler.", "properties": { "kind": { "type": "string", @@ -3482,11 +2720,15 @@ }, "metadata": { "$ref": "v1.ObjectMeta", - "description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata." + "description": "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, - "data": { - "type": "any", - "description": "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot." + "spec": { + "$ref": "v1beta1.HorizontalPodAutoscalerSpec", + "description": "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status." + }, + "status": { + "$ref": "v1beta1.HorizontalPodAutoscalerStatus", + "description": "current information about the autoscaler." } } }, @@ -3546,6 +2788,103 @@ } } }, + "v1beta1.HorizontalPodAutoscalerSpec": { + "id": "v1beta1.HorizontalPodAutoscalerSpec", + "description": "specification of a horizontal pod autoscaler.", + "required": [ + "scaleRef", + "maxReplicas" + ], + "properties": { + "scaleRef": { + "$ref": "v1beta1.SubresourceReference", + "description": "reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec." + }, + "minReplicas": { + "type": "integer", + "format": "int32", + "description": "lower limit for the number of pods that can be set by the autoscaler, default 1." + }, + "maxReplicas": { + "type": "integer", + "format": "int32", + "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas." + }, + "cpuUtilization": { + "$ref": "v1beta1.CPUTargetUtilization", + "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources." + } + } + }, + "v1beta1.SubresourceReference": { + "id": "v1beta1.SubresourceReference", + "description": "SubresourceReference contains enough information to let you inspect or modify the referred subresource.", + "properties": { + "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" + }, + "apiVersion": { + "type": "string", + "description": "API version of the referent" + }, + "subresource": { + "type": "string", + "description": "Subresource name of the referent" + } + } + }, + "v1beta1.CPUTargetUtilization": { + "id": "v1beta1.CPUTargetUtilization", + "required": [ + "targetPercentage" + ], + "properties": { + "targetPercentage": { + "type": "integer", + "format": "int32", + "description": "fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use." + } + } + }, + "v1beta1.HorizontalPodAutoscalerStatus": { + "id": "v1beta1.HorizontalPodAutoscalerStatus", + "description": "current status of a horizontal pod autoscaler", + "required": [ + "currentReplicas", + "desiredReplicas" + ], + "properties": { + "observedGeneration": { + "type": "integer", + "format": "int64", + "description": "most recent generation observed by this autoscaler." + }, + "lastScaleTime": { + "type": "string", + "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." + }, + "currentReplicas": { + "type": "integer", + "format": "int32", + "description": "current number of replicas of pods managed by this autoscaler." + }, + "desiredReplicas": { + "type": "integer", + "format": "int32", + "description": "desired number of replicas of pods managed by this autoscaler." + }, + "currentCPUUtilizationPercentage": { + "type": "integer", + "format": "int32", + "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU." + } + } + }, "unversioned.Status": { "id": "unversioned.Status", "description": "Status is a return value for calls that don't return other objects.", @@ -3673,157 +3012,6 @@ } } }, - "v1beta1.HorizontalPodAutoscalerList": { - "id": "v1beta1.HorizontalPodAutoscalerList", - "description": "list of horizontal pod autoscaler objects.", - "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." - }, - "items": { - "type": "array", - "items": { - "$ref": "v1beta1.HorizontalPodAutoscaler" - }, - "description": "list of horizontal pod autoscaler objects." - } - } - }, - "v1beta1.HorizontalPodAutoscaler": { - "id": "v1beta1.HorizontalPodAutoscaler", - "description": "configuration of a horizontal pod autoscaler.", - "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 metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" - }, - "spec": { - "$ref": "v1beta1.HorizontalPodAutoscalerSpec", - "description": "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "v1beta1.HorizontalPodAutoscalerStatus", - "description": "current information about the autoscaler." - } - } - }, - "v1beta1.HorizontalPodAutoscalerSpec": { - "id": "v1beta1.HorizontalPodAutoscalerSpec", - "description": "specification of a horizontal pod autoscaler.", - "required": [ - "scaleRef", - "maxReplicas" - ], - "properties": { - "scaleRef": { - "$ref": "v1beta1.SubresourceReference", - "description": "reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec." - }, - "minReplicas": { - "type": "integer", - "format": "int32", - "description": "lower limit for the number of pods that can be set by the autoscaler, default 1." - }, - "maxReplicas": { - "type": "integer", - "format": "int32", - "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas." - }, - "cpuUtilization": { - "$ref": "v1beta1.CPUTargetUtilization", - "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources." - } - } - }, - "v1beta1.SubresourceReference": { - "id": "v1beta1.SubresourceReference", - "description": "SubresourceReference contains enough information to let you inspect or modify the referred subresource.", - "properties": { - "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" - }, - "apiVersion": { - "type": "string", - "description": "API version of the referent" - }, - "subresource": { - "type": "string", - "description": "Subresource name of the referent" - } - } - }, - "v1beta1.CPUTargetUtilization": { - "id": "v1beta1.CPUTargetUtilization", - "required": [ - "targetPercentage" - ], - "properties": { - "targetPercentage": { - "type": "integer", - "format": "int32", - "description": "fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use." - } - } - }, - "v1beta1.HorizontalPodAutoscalerStatus": { - "id": "v1beta1.HorizontalPodAutoscalerStatus", - "description": "current status of a horizontal pod autoscaler", - "required": [ - "currentReplicas", - "desiredReplicas" - ], - "properties": { - "observedGeneration": { - "type": "integer", - "format": "int64", - "description": "most recent generation observed by this autoscaler." - }, - "lastScaleTime": { - "type": "string", - "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." - }, - "currentReplicas": { - "type": "integer", - "format": "int32", - "description": "current number of replicas of pods managed by this autoscaler." - }, - "desiredReplicas": { - "type": "integer", - "format": "int32", - "description": "desired number of replicas of pods managed by this autoscaler." - }, - "currentCPUUtilizationPercentage": { - "type": "integer", - "format": "int32", - "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU." - } - } - }, "v1beta1.IngressList": { "id": "v1beta1.IngressList", "description": "IngressList is a collection of Ingress.", diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index f2e589cf5c0..6f6b585da9e 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -390,12 +390,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • v1beta1.IngressList

  • -
  • -

    v1beta1.ConfigMap

    -
  • -
  • -

    v1beta1.ConfigMapList

    -
  • @@ -1614,37 +1608,6 @@ Both these may change in the future. Incoming requests are matched against the h - -
    -

    v1beta1.CPUTargetUtilization

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

    targetPercentage

    fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use.

    true

    integer (int32)

    -

    v1.LoadBalancerStatus

    @@ -1679,6 +1642,37 @@ Both these may change in the future. Incoming requests are matched against the h +
    +
    +

    v1beta1.CPUTargetUtilization

    + +++++++ + + + + + + + + + + + + + + + + + + +
    NameDescriptionRequiredSchemaDefault

    targetPercentage

    fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use.

    true

    integer (int32)

    +

    v1.Container

    @@ -1930,61 +1924,6 @@ Both these may change in the future. Incoming requests are matched against the h -
    -
    -

    v1beta1.ConfigMap

    -
    -

    ConfigMap holds configuration data for pods to consume.

    -
    - ------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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 metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.

    false

    v1.ObjectMeta

    data

    Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.

    false

    any

    -

    v1.ObjectMeta

    @@ -2531,40 +2470,6 @@ Populated by the system when a graceful deletion is requested. Read-only. More i -
    -
    -

    v1.FlockerVolumeSource

    -
    -

    Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.

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

    datasetName

    Required: the volume name. This is going to be store on metadata → name on the payload for Flocker

    true

    string

    -

    v1.AWSElasticBlockStoreVolumeSource

    @@ -2664,6 +2569,81 @@ Populated by the system when a graceful deletion is requested. Read-only. More i +
    +
    +

    v1.FlockerVolumeSource

    +
    +

    Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.

    +
    + +++++++ + + + + + + + + + + + + + + + + + + +
    NameDescriptionRequiredSchemaDefault

    datasetName

    Required: the volume name. This is going to be store on metadata → name on the payload for Flocker

    true

    string

    + +
    +
    +

    unversioned.ListMeta

    +
    +

    ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

    +
    + +++++++ + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameDescriptionRequiredSchemaDefault

    selfLink

    SelfLink is a URL representing this object. Populated by the system. Read-only.

    false

    string

    resourceVersion

    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

    false

    string

    +

    v1beta1.HorizontalPodAutoscalerSpec

    @@ -2719,102 +2699,6 @@ Populated by the system when a graceful deletion is requested. Read-only. More i -
    -
    -

    v1beta1.ConfigMapList

    -
    -

    ConfigMapList is a resource containing a list of ConfigMap objects.

    -
    - ------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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

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

    false

    unversioned.ListMeta

    items

    Items is the list of ConfigMaps.

    false

    v1beta1.ConfigMap array

    - -
    -
    -

    unversioned.ListMeta

    -
    -

    ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

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

    selfLink

    SelfLink is a URL representing this object. Populated by the system. Read-only.

    false

    string

    resourceVersion

    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

    false

    string

    -

    v1beta1.LabelSelectorRequirement

    @@ -4573,8 +4457,8 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
    - + \ No newline at end of file diff --git a/docs/api-reference/extensions/v1beta1/operations.html b/docs/api-reference/extensions/v1beta1/operations.html index f2edc2e3936..bdd29bf8894 100755 --- a/docs/api-reference/extensions/v1beta1/operations.html +++ b/docs/api-reference/extensions/v1beta1/operations.html @@ -437,10 +437,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    list or watch objects of kind ConfigMap

    +

    list or watch objects of kind HorizontalPodAutoscaler

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

    200

    success

    -

    v1beta1.ConfigMapList

    +

    v1beta1.HorizontalPodAutoscalerList

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

    list or watch objects of kind HorizontalPodAutoscaler

    +

    list or watch objects of kind Ingress

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

    200

    success

    -

    v1beta1.HorizontalPodAutoscalerList

    +

    v1beta1.IngressList

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

    list or watch objects of kind Ingress

    +

    list or watch objects of kind Job

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

    200

    success

    -

    v1beta1.IngressList

    +

    v1beta1.JobList

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

    list or watch objects of kind Job

    +

    list or watch objects of kind HorizontalPodAutoscaler

    -
    GET /apis/extensions/v1beta1/jobs
    +
    GET /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
    @@ -933,6 +933,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

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

    200

    success

    -

    v1beta1.JobList

    +

    v1beta1.HorizontalPodAutoscalerList

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

    list or watch objects of kind ConfigMap

    +

    delete collection of HorizontalPodAutoscaler

    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/configmaps
    +
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
    @@ -1104,7 +1112,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.ConfigMapList

    +

    unversioned.Status

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

    delete collection of ConfigMap

    +

    create a HorizontalPodAutoscaler

    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/configmaps
    +
    POST /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
    @@ -1182,43 +1190,11 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    -

    string

    +

    BodyParameter

    +

    body

    - - -

    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)

    +

    true

    +

    v1beta1.HorizontalPodAutoscaler

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

    200

    success

    -

    unversioned.Status

    +

    v1beta1.HorizontalPodAutoscaler

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

    create a ConfigMap

    +

    read the specified HorizontalPodAutoscaler

    -
    POST /apis/extensions/v1beta1/namespaces/{namespace}/configmaps
    +
    GET /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    @@ -1330,122 +1306,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1beta1.ConfigMap

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    -

    string

    - - - - - -
    -
    -

    Responses

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

    200

    success

    v1beta1.ConfigMap

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    read the specified ConfigMap

    -
    -
    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/configmaps/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    PathParameter

    name

    name of the ConfigMap

    name of the HorizontalPodAutoscaler

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1beta1.HorizontalPodAutoscaler

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apisextensionsv1beta1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified HorizontalPodAutoscaler

    +
    +
    +
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    +
    +
    +
    +

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1beta1.HorizontalPodAutoscaler

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the HorizontalPodAutoscaler

    true

    string

    200

    success

    v1beta1.ConfigMap

    v1beta1.HorizontalPodAutoscaler

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

    replace the specified ConfigMap

    +

    delete a HorizontalPodAutoscaler

    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/configmaps/{name}
    +
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    @@ -1582,130 +1566,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.ConfigMap

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    -

    string

    - - - -

    PathParameter

    -

    name

    -

    name of the ConfigMap

    -

    true

    -

    string

    - - - - - -
    -
    -

    Responses

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

    200

    success

    v1beta1.ConfigMap

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    delete a ConfigMap

    -
    -
    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/configmaps/{name}
    -
    -
    -
    -

    Parameters

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

    Responses

    +

    Responses

    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    name

    name of the ConfigMap

    name of the HorizontalPodAutoscaler

    true

    string

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    partially update the specified ConfigMap

    +

    partially update the specified HorizontalPodAutoscaler

    -
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/configmaps/{name}
    +
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    -

    Parameters

    +

    Parameters

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

    PathParameter

    name

    name of the ConfigMap

    name of the HorizontalPodAutoscaler

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1beta1.HorizontalPodAutoscaler

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apisextensionsv1beta1

      +
    • +
    +
    +
    +
    +
    +

    replace status of the specified HorizontalPodAutoscaler

    +
    +
    +
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status
    +
    +
    +
    +

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1beta1.HorizontalPodAutoscaler

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the HorizontalPodAutoscaler

    true

    string

    200

    success

    v1beta1.ConfigMap

    v1beta1.HorizontalPodAutoscaler

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

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      +

      /

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

    list or watch objects of kind HorizontalPodAutoscaler

    +

    list or watch objects of kind Ingress

    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
    +
    GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
    @@ -2026,7 +2010,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.HorizontalPodAutoscalerList

    +

    v1beta1.IngressList

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

    delete collection of HorizontalPodAutoscaler

    +

    delete collection of Ingress

    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
    +
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
    @@ -2215,10 +2199,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    create a HorizontalPodAutoscaler

    +

    create a Ingress

    -
    POST /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
    +
    POST /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
    @@ -2256,7 +2240,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    200

    success

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    read the specified HorizontalPodAutoscaler

    +

    read the specified Ingress

    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    +
    GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    @@ -2394,7 +2378,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the HorizontalPodAutoscaler

    +

    name of the Ingress

    true

    string

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

    200

    success

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    replace the specified HorizontalPodAutoscaler

    +

    replace the specified Ingress

    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    +
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    @@ -2504,7 +2488,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    PathParameter

    name

    -

    name of the HorizontalPodAutoscaler

    +

    name of the Ingress

    true

    string

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

    200

    success

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    delete a HorizontalPodAutoscaler

    +

    delete a Ingress

    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    +
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    @@ -2642,7 +2626,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the HorizontalPodAutoscaler

    +

    name of the Ingress

    true

    string

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

    partially update the specified HorizontalPodAutoscaler

    +

    partially update the specified Ingress

    -
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
    +
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    @@ -2766,7 +2750,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the HorizontalPodAutoscaler

    +

    name of the Ingress

    true

    string

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

    200

    success

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    replace status of the specified HorizontalPodAutoscaler

    +

    replace status of the specified Ingress

    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status
    +
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status
    @@ -2882,7 +2866,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    PathParameter

    name

    -

    name of the HorizontalPodAutoscaler

    +

    name of the Ingress

    true

    string

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

    200

    success

    -

    v1beta1.HorizontalPodAutoscaler

    +

    v1beta1.Ingress

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

    list or watch objects of kind Ingress

    +

    list or watch objects of kind Job

    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
    +
    GET /apis/extensions/v1beta1/namespaces/{namespace}/jobs
    @@ -3072,7 +3056,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1beta1.IngressList

    +

    v1beta1.JobList

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

    delete collection of Ingress

    +

    delete collection of Job

    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
    +
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/jobs
    @@ -3261,10 +3245,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    create a Ingress

    +

    create a Job

    -
    POST /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
    +
    POST /apis/extensions/v1beta1/namespaces/{namespace}/jobs
    @@ -3302,7 +3286,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    200

    success

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    read the specified Ingress

    +

    read the specified Job

    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    +
    GET /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    @@ -3440,7 +3424,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Ingress

    +

    name of the Job

    true

    string

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

    200

    success

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    replace the specified Ingress

    +

    replace the specified Job

    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    +
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    @@ -3550,7 +3534,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    PathParameter

    name

    -

    name of the Ingress

    +

    name of the Job

    true

    string

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

    200

    success

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    delete a Ingress

    +

    delete a Job

    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    +
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    @@ -3688,7 +3672,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Ingress

    +

    name of the Job

    true

    string

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

    partially update the specified Ingress

    +

    partially update the specified Job

    -
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
    +
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    @@ -3812,7 +3796,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Ingress

    +

    name of the Job

    true

    string

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

    200

    success

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    replace status of the specified Ingress

    +

    replace status of the specified Job

    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status
    +
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status
    @@ -3928,7 +3912,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    PathParameter

    name

    -

    name of the Ingress

    +

    name of the Job

    true

    string

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

    200

    success

    -

    v1beta1.Ingress

    +

    v1beta1.Job

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

    list or watch objects of kind Job

    +

    read scale of the specified Scale

    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/jobs
    +
    GET /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale
    @@ -4048,49 +4032,17 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    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

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    +

    name

    +

    name of the Scale

    true

    string

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

    200

    success

    -

    v1beta1.JobList

    +

    v1beta1.Scale

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

    delete collection of Job

    +

    replace scale of the specified Scale

    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/jobs
    +
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale
    @@ -4196,43 +4148,11 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    -

    string

    +

    BodyParameter

    +

    body

    - - -

    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)

    +

    true

    +

    v1beta1.Scale

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

    string

    + +

    PathParameter

    +

    name

    +

    name of the Scale

    +

    true

    +

    string

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

    200

    success

    -

    unversioned.Status

    +

    v1beta1.Scale

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

    create a Job

    +

    partially update scale of the specified Scale

    -
    POST /apis/extensions/v1beta1/namespaces/{namespace}/jobs
    +
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale
    @@ -4348,7 +4276,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1beta1.Job

    +

    unversioned.Patch

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

    string

    + +

    PathParameter

    +

    name

    +

    name of the Scale

    +

    true

    +

    string

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

    200

    success

    -

    v1beta1.Job

    +

    v1beta1.Scale

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

    read the specified Job

    +

    watch individual changes to a list of HorizontalPodAutoscaler

    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    +
    GET /apis/extensions/v1beta1/watch/horizontalpodautoscalers
    @@ -4461,34 +4403,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

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    string

    -

    PathParameter

    -

    name

    -

    name of the Job

    -

    true

    -

    string

    +

    QueryParameter

    +

    timeoutSeconds

    +

    Timeout for the list/watch call.

    +

    false

    +

    integer (int32)

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

    200

    success

    -

    v1beta1.Job

    +

    json.WatchEvent

    @@ -4537,9 +4487,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • application/json

  • -
  • -

    application/yaml

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

    replace the specified Job

    +

    watch individual changes to a list of Ingress

    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    +
    GET /apis/extensions/v1beta1/watch/ingresses
    @@ -4592,29 +4539,45 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1beta1.Job

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    labelSelector

    +

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

    +

    false

    string

    -

    PathParameter

    -

    name

    -

    name of the Job

    -

    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)

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

    200

    success

    -

    v1beta1.Job

    +

    json.WatchEvent

    @@ -4661,9 +4624,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • application/json

  • -
  • -

    application/yaml

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

    delete a Job

    +

    watch individual changes to a list of Job

    -
    DELETE /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    +
    GET /apis/extensions/v1beta1/watch/jobs
    @@ -4716,29 +4676,45 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1.DeleteOptions

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    labelSelector

    +

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

    +

    false

    string

    -

    PathParameter

    -

    name

    -

    name of the Job

    -

    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)

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

    200

    success

    -

    unversioned.Status

    +

    json.WatchEvent

    @@ -4785,9 +4761,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • application/json

  • -
  • -

    application/yaml

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

    partially update the specified Job

    +

    watch individual changes to a list of HorizontalPodAutoscaler

    -
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}
    +
    GET /apis/extensions/v1beta1/watch/namespaces/{namespace}/horizontalpodautoscalers
    @@ -4840,11 +4813,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

    -

    unversioned.Patch

    + + +

    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)

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

    string

    - -

    PathParameter

    -

    name

    -

    name of the Job

    -

    true

    -

    string

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

    200

    success

    -

    v1beta1.Job

    +

    json.WatchEvent

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

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      +

      /

    @@ -4915,9 +4906,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • application/json

  • -
  • -

    application/yaml

    -
  • @@ -4933,1491 +4921,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    replace status of the specified Job

    -
    -
    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1beta1.Job

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Job

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1beta1.Job

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    read scale of the specified Scale

    -
    -
    -
    GET /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Scale

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1beta1.Scale

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    replace scale of the specified Scale

    -
    -
    -
    PUT /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1beta1.Scale

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Scale

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1beta1.Scale

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    partially update scale of the specified Scale

    -
    -
    -
    PATCH /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Scale

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1beta1.Scale

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of ConfigMap

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/configmaps
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of ConfigMap

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/namespaces/{namespace}/configmaps
    -
    -
    -
    -

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch changes to an object of kind ConfigMap

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/namespaces/{namespace}/configmaps/{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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ConfigMap

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of HorizontalPodAutoscaler

    -
    -
    -
    GET /apis/extensions/v1beta1/watch/namespaces/{namespace}/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)

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apisextensionsv1beta1

      -
    • -
    -
    -
    -
    -

    watch changes to an object of kind HorizontalPodAutoscaler

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

    • @@ -7171,7 +5674,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    diff --git a/docs/api-reference/v1/definitions.html b/docs/api-reference/v1/definitions.html index 42892763dc3..116e183e975 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -1184,6 +1184,61 @@ Examples:
    +
    +
    +

    v1.ConfigMapList

    +
    +

    ConfigMapList is a resource containing a list of ConfigMap objects.

    +
    + +++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    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

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

    false

    unversioned.ListMeta

    items

    Items is the list of ConfigMaps.

    false

    v1.ConfigMap array

    +

    v1.PersistentVolumeStatus

    @@ -1335,6 +1390,61 @@ Examples:
    +
    +
    +

    v1.ConfigMap

    +
    +

    ConfigMap holds configuration data for pods to consume.

    +
    + +++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    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

    data

    Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.

    false

    any

    +

    v1.Capabilities

    @@ -7145,7 +7255,7 @@ The resulting set of endpoints can be viewed as:
    diff --git a/docs/api-reference/v1/operations.html b/docs/api-reference/v1/operations.html index a8bc0828e79..8dd41e99cfa 100755 --- a/docs/api-reference/v1/operations.html +++ b/docs/api-reference/v1/operations.html @@ -685,10 +685,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    list or watch objects of kind Endpoints

    +

    list or watch objects of kind ConfigMap

    -
    GET /api/v1/endpoints
    +
    GET /api/v1/configmaps
    @@ -784,7 +784,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.EndpointsList

    +

    v1.ConfigMapList

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

    list or watch objects of kind Event

    +

    list or watch objects of kind Endpoints

    -
    GET /api/v1/events
    +
    GET /api/v1/endpoints
    @@ -924,7 +924,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.EventList

    +

    v1.EndpointsList

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

    list or watch objects of kind LimitRange

    +

    list or watch objects of kind Event

    -
    GET /api/v1/limitranges
    +
    GET /api/v1/events
    @@ -1064,7 +1064,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.LimitRangeList

    +

    v1.EventList

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

    list or watch objects of kind Namespace

    +

    list or watch objects of kind LimitRange

    -
    GET /api/v1/namespaces
    +
    GET /api/v1/limitranges
    @@ -1204,7 +1204,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.NamespaceList

    +

    v1.LimitRangeList

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

    delete collection of Namespace

    +

    list or watch objects of kind Namespace

    -
    DELETE /api/v1/namespaces
    +
    GET /api/v1/namespaces
    @@ -1344,7 +1344,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    v1.NamespaceList

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

    create a Namespace

    +

    delete collection of Namespace

    -
    POST /api/v1/namespaces
    +
    DELETE /api/v1/namespaces
    @@ -1422,230 +1422,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1.Namespace

    - - - - - -
    -
    -

    Responses

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

    200

    success

    v1.Namespace

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    create a Binding

    -
    -
    -
    POST /api/v1/namespaces/{namespace}/bindings
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Binding

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Binding

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    list or watch objects of kind Endpoints

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/endpoints
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - @@ -1685,6 +1461,222 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } + +
    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.

    integer (int32)

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a Namespace

    +
    +
    +
    POST /api/v1/namespaces
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Namespace

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Namespace

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a Binding

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/bindings
    +
    +
    +
    +

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Binding

    PathParameter

    namespace

    200

    success

    v1.EndpointsList

    v1.Binding

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

    delete collection of Endpoints

    +

    list or watch objects of kind ConfigMap

    -
    DELETE /api/v1/namespaces/{namespace}/endpoints
    +
    GET /api/v1/namespaces/{namespace}/configmaps
    @@ -1864,7 +1856,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    v1.ConfigMapList

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

    create a Endpoints

    +

    delete collection of ConfigMap

    -
    POST /api/v1/namespaces/{namespace}/endpoints
    +
    DELETE /api/v1/namespaces/{namespace}/configmaps
    @@ -1942,632 +1934,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1.Endpoints

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    -

    string

    - - - - - -
    -
    -

    Responses

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

    200

    success

    v1.Endpoints

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified Endpoints

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/endpoints/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Endpoints

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified Endpoints

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/endpoints/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Endpoints

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Endpoints

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete a Endpoints

    -
    -
    -
    DELETE /api/v1/namespaces/{namespace}/endpoints/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified Endpoints

    -
    -
    -
    PATCH /api/v1/namespaces/{namespace}/endpoints/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Endpoints

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    list or watch objects of kind Event

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/events
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - @@ -2618,6 +1984,626 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    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.

    +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a ConfigMap

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/configmaps
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.ConfigMap

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ConfigMap

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified ConfigMap

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/configmaps/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ConfigMap

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ConfigMap

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified ConfigMap

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/configmaps/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.ConfigMap

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ConfigMap

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ConfigMap

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a ConfigMap

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/configmaps/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ConfigMap

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    partially update the specified ConfigMap

    +
    +
    +
    PATCH /api/v1/namespaces/{namespace}/configmaps/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ConfigMap

    true

    string

    +

    Responses

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

    200

    success

    -

    v1.EventList

    +

    v1.ConfigMap

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

    delete collection of Event

    +

    list or watch objects of kind Endpoints

    -
    DELETE /api/v1/namespaces/{namespace}/events
    +
    GET /api/v1/namespaces/{namespace}/endpoints
    @@ -2786,7 +2778,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    v1.EndpointsList

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

    create a Event

    +

    delete collection of Endpoints

    -
    POST /api/v1/namespaces/{namespace}/events
    +
    DELETE /api/v1/namespaces/{namespace}/endpoints
    @@ -2864,632 +2856,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1.Event

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    -

    string

    - - - - - -
    -
    -

    Responses

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

    200

    success

    v1.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified Event

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/events/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified Event

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/events/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Event

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete a Event

    -
    -
    -
    DELETE /api/v1/namespaces/{namespace}/events/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified Event

    -
    -
    -
    PATCH /api/v1/namespaces/{namespace}/events/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Event

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    list or watch objects of kind LimitRange

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/limitranges
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - @@ -3540,6 +2906,626 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    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.

    +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a Endpoints

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/endpoints
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Endpoints

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Endpoints

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified Endpoints

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/endpoints/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Endpoints

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified Endpoints

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/endpoints/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Endpoints

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Endpoints

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a Endpoints

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/endpoints/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    partially update the specified Endpoints

    +
    +
    +
    PATCH /api/v1/namespaces/{namespace}/endpoints/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Endpoints

    true

    string

    +

    Responses

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

    200

    success

    -

    v1.LimitRangeList

    +

    v1.Endpoints

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

    delete collection of LimitRange

    +

    list or watch objects of kind Event

    -
    DELETE /api/v1/namespaces/{namespace}/limitranges
    +
    GET /api/v1/namespaces/{namespace}/events
    @@ -3708,7 +3700,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    v1.EventList

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

    create a LimitRange

    +

    delete collection of Event

    -
    POST /api/v1/namespaces/{namespace}/limitranges
    +
    DELETE /api/v1/namespaces/{namespace}/events
    @@ -3786,632 +3778,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1.LimitRange

    - - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    -

    string

    - - - - - -
    -
    -

    Responses

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

    200

    success

    v1.LimitRange

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified LimitRange

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/limitranges/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the LimitRange

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.LimitRange

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified LimitRange

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/limitranges/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.LimitRange

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the LimitRange

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.LimitRange

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete a LimitRange

    -
    -
    -
    DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the LimitRange

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified LimitRange

    -
    -
    -
    PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the LimitRange

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.LimitRange

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    list or watch objects of kind PersistentVolumeClaim

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/persistentvolumeclaims
    -
    -
    -
    -

    Parameters

    - -------- - - - - - - - - - - - - - - - - - - - - @@ -4462,6 +3828,626 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    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.

    +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a Event

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/events
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Event

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Event

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified Event

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/events/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Event

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified Event

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/events/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Event

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Event

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a Event

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/events/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    partially update the specified Event

    +
    +
    +
    PATCH /api/v1/namespaces/{namespace}/events/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Event

    true

    string

    +

    Responses

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

    200

    success

    -

    v1.PersistentVolumeClaimList

    +

    v1.Event

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

    delete collection of PersistentVolumeClaim

    +

    list or watch objects of kind LimitRange

    -
    DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims
    +
    GET /api/v1/namespaces/{namespace}/limitranges
    @@ -4630,7 +4622,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    v1.LimitRangeList

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

    create a PersistentVolumeClaim

    +

    delete collection of LimitRange

    -
    POST /api/v1/namespaces/{namespace}/persistentvolumeclaims
    +
    DELETE /api/v1/namespaces/{namespace}/limitranges
    @@ -4708,11 +4700,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

    -

    v1.PersistentVolumeClaim

    + + +

    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)

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

    200

    success

    -

    v1.PersistentVolumeClaim

    +

    unversioned.Status

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

    read the specified PersistentVolumeClaim

    +

    create a LimitRange

    -
    GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    +
    POST /api/v1/namespaces/{namespace}/limitranges
    @@ -4824,6 +4848,122 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

    BodyParameter

    +

    body

    + +

    true

    +

    v1.LimitRange

    + + + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + + + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.LimitRange

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified LimitRange

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/limitranges/{name}
    +
    +
    +
    +

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    PathParameter

    name

    name of the PersistentVolumeClaim

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PersistentVolumeClaim

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified PersistentVolumeClaim

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PersistentVolumeClaim

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PersistentVolumeClaim

    name of the LimitRange

    true

    string

    200

    success

    v1.PersistentVolumeClaim

    v1.LimitRange

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

    delete a PersistentVolumeClaim

    +

    replace the specified LimitRange

    -
    DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    +
    PUT /api/v1/namespaces/{namespace}/limitranges/{name}
    @@ -5084,6 +5100,130 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    +

    v1.LimitRange

    + + + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    +

    name

    +

    name of the LimitRange

    +

    true

    +

    string

    + + + + + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.LimitRange

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a LimitRange

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
    +
    +
    +
    +

    Parameters

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

    Responses

    +

    Responses

    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    name

    name of the PersistentVolumeClaim

    name of the LimitRange

    true

    string

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    partially update the specified PersistentVolumeClaim

    +

    partially update the specified LimitRange

    -
    PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    +
    PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
    -

    Parameters

    +

    Parameters

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

    PathParameter

    name

    name of the PersistentVolumeClaim

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PersistentVolumeClaim

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace status of the specified PersistentVolumeClaim

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PersistentVolumeClaim

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PersistentVolumeClaim

    name of the LimitRange

    true

    string

    200

    success

    v1.PersistentVolumeClaim

    v1.LimitRange

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

    list or watch objects of kind Pod

    +

    list or watch objects of kind PersistentVolumeClaim

    -
    GET /api/v1/namespaces/{namespace}/pods
    +
    GET /api/v1/namespaces/{namespace}/persistentvolumeclaims
    @@ -5528,7 +5544,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.PodList

    +

    v1.PersistentVolumeClaimList

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

    delete collection of Pod

    +

    delete collection of PersistentVolumeClaim

    -
    DELETE /api/v1/namespaces/{namespace}/pods
    +
    DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims
    @@ -5717,10 +5733,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    create a Pod

    +

    create a PersistentVolumeClaim

    -
    POST /api/v1/namespaces/{namespace}/pods
    +
    POST /api/v1/namespaces/{namespace}/persistentvolumeclaims
    @@ -5758,7 +5774,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

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

    200

    success

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

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

    read the specified Pod

    +

    read the specified PersistentVolumeClaim

    -
    GET /api/v1/namespaces/{namespace}/pods/{name}
    +
    GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -5896,7 +5912,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolumeClaim

    true

    string

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

    200

    success

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

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

    replace the specified Pod

    +

    replace the specified PersistentVolumeClaim

    -
    PUT /api/v1/namespaces/{namespace}/pods/{name}
    +
    PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -6006,7 +6022,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

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

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolumeClaim

    true

    string

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

    200

    success

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

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

    delete a Pod

    +

    delete a PersistentVolumeClaim

    -
    DELETE /api/v1/namespaces/{namespace}/pods/{name}
    +
    DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -6144,7 +6160,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolumeClaim

    true

    string

    @@ -6213,6 +6229,1052 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +

    partially update the specified PersistentVolumeClaim

    +
    +
    +
    PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PersistentVolumeClaim

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.PersistentVolumeClaim

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace status of the specified PersistentVolumeClaim

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PersistentVolumeClaim

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PersistentVolumeClaim

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.PersistentVolumeClaim

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind Pod

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/pods
    +
    +
    +
    +

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.PodList

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete collection of Pod

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/pods
    +
    +
    +
    +

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a Pod

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/pods
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Pod

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Pod

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified Pod

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Pod

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified Pod

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/pods/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Pod

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Pod

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a Pod

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/pods/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +

    partially update the specified Pod

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

    @@ -7207,913 +8269,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect GET requests to portforward of Pod

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/pods/{name}/portforward
    -
    -
    -
    -

    Parameters

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

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect POST requests to portforward of Pod

    -
    -
    -
    POST /api/v1/namespaces/{namespace}/pods/{name}/portforward
    -
    -
    -
    -

    Parameters

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

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect GET requests to proxy of Pod

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect PUT requests to proxy of Pod

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect DELETE requests to proxy of Pod

    -
    -
    -
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect POST requests to proxy of Pod

    -
    -
    -
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect GET requests to proxy of Pod

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    PathParameter

    path

    path to the resource

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    connect PUT requests to proxy of Pod

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    PathParameter

    path

    path to the resource

    true

    string

    - -
    -
    -

    Responses

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

    default

    success

    string

    -

    Consumes

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    connect DELETE requests to proxy of Pod

    +

    connect GET requests to portforward of Pod

    -
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}/portforward
    @@ -8176,14 +8334,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    path

    -

    Path is the URL path to use for the current proxy request to pod.

    -

    false

    -

    string

    - - -

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

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

    string

    - -

    PathParameter

    -

    path

    -

    path to the resource

    -

    true

    -

    string

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

    connect POST requests to proxy of Pod

    +

    connect POST requests to portforward of Pod

    -
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    POST /api/v1/namespaces/{namespace}/pods/{name}/portforward
    @@ -8297,14 +8439,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    path

    -

    Path is the URL path to use for the current proxy request to pod.

    -

    false

    -

    string

    - - -

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

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

    string

    - -

    PathParameter

    -

    path

    -

    path to the resource

    -

    true

    -

    string

    - - @@ -8389,6 +8515,942 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +

    connect GET requests to proxy of Pod

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect PUT requests to proxy of Pod

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect DELETE requests to proxy of Pod

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect POST requests to proxy of Pod

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect GET requests to proxy of Pod

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    PathParameter

    path

    path to the resource

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect PUT requests to proxy of Pod

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    PathParameter

    path

    path to the resource

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect DELETE requests to proxy of Pod

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    PathParameter

    path

    path to the resource

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect POST requests to proxy of Pod

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    PathParameter

    path

    path to the resource

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +

    replace status of the specified Pod

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

    Parameters

    +

    Parameters

    @@ -8452,1076 +9514,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -
    -
    -

    Responses

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

    200

    success

    v1.Pod

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    list or watch objects of kind PodTemplate

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/podtemplates
    -
    -
    -
    -

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PodTemplateList

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete collection of PodTemplate

    -
    -
    -
    DELETE /api/v1/namespaces/{namespace}/podtemplates
    -
    -
    -
    -

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    create a PodTemplate

    -
    -
    -
    POST /api/v1/namespaces/{namespace}/podtemplates
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PodTemplate

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PodTemplate

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified PodTemplate

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/podtemplates/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PodTemplate

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PodTemplate

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified PodTemplate

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/podtemplates/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PodTemplate

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PodTemplate

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PodTemplate

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete a PodTemplate

    -
    -
    -
    DELETE /api/v1/namespaces/{namespace}/podtemplates/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PodTemplate

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified PodTemplate

    -
    -
    -
    PATCH /api/v1/namespaces/{namespace}/podtemplates/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the PodTemplate

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PodTemplate

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    list or watch objects of kind ReplicationController

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/replicationcontrollers
    -
    -
    -
    -

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    -

    Responses

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

    200

    success

    -

    v1.ReplicationControllerList

    +

    v1.Pod

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

    delete collection of ReplicationController

    +

    list or watch objects of kind PodTemplate

    -
    DELETE /api/v1/namespaces/{namespace}/replicationcontrollers
    +
    GET /api/v1/namespaces/{namespace}/podtemplates
    @@ -9690,7 +9682,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    v1.PodTemplateList

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

    create a ReplicationController

    +

    delete collection of PodTemplate

    -
    POST /api/v1/namespaces/{namespace}/replicationcontrollers
    +
    DELETE /api/v1/namespaces/{namespace}/podtemplates
    @@ -9768,11 +9760,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

    -

    v1.ReplicationController

    + + +

    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)

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

    200

    success

    -

    v1.ReplicationController

    +

    unversioned.Status

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

    read the specified ReplicationController

    +

    create a PodTemplate

    -
    GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    +
    POST /api/v1/namespaces/{namespace}/podtemplates
    @@ -9884,6 +9908,122 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

    BodyParameter

    +

    body

    + +

    true

    +

    v1.PodTemplate

    + + + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + + + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.PodTemplate

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified PodTemplate

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/podtemplates/{name}
    +
    +
    +
    +

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    PathParameter

    name

    name of the ReplicationController

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.ReplicationController

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified ReplicationController

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.ReplicationController

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ReplicationController

    name of the PodTemplate

    true

    string

    200

    success

    v1.ReplicationController

    v1.PodTemplate

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

    delete a ReplicationController

    +

    replace the specified PodTemplate

    -
    DELETE /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    +
    PUT /api/v1/namespaces/{namespace}/podtemplates/{name}
    @@ -10144,6 +10160,130 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    +

    v1.PodTemplate

    + + + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    +

    name

    +

    name of the PodTemplate

    +

    true

    +

    string

    + + + + + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.PodTemplate

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a PodTemplate

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/podtemplates/{name}
    +
    +
    +
    +

    Parameters

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

    Responses

    +

    Responses

    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    name

    name of the ReplicationController

    name of the PodTemplate

    true

    string

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    partially update the specified ReplicationController

    +

    partially update the specified PodTemplate

    -
    PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    +
    PATCH /api/v1/namespaces/{namespace}/podtemplates/{name}
    -

    Parameters

    +

    Parameters

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

    PathParameter

    name

    name of the ReplicationController

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.ReplicationController

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace status of the specified ReplicationController

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.ReplicationController

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ReplicationController

    name of the PodTemplate

    true

    string

    200

    success

    v1.ReplicationController

    v1.PodTemplate

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

    list or watch objects of kind ResourceQuota

    +

    list or watch objects of kind ReplicationController

    -
    GET /api/v1/namespaces/{namespace}/resourcequotas
    +
    GET /api/v1/namespaces/{namespace}/replicationcontrollers
    @@ -10588,7 +10604,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.ResourceQuotaList

    +

    v1.ReplicationControllerList

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

    delete collection of ResourceQuota

    +

    delete collection of ReplicationController

    -
    DELETE /api/v1/namespaces/{namespace}/resourcequotas
    +
    DELETE /api/v1/namespaces/{namespace}/replicationcontrollers
    @@ -10777,10 +10793,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    create a ResourceQuota

    +

    create a ReplicationController

    -
    POST /api/v1/namespaces/{namespace}/resourcequotas
    +
    POST /api/v1/namespaces/{namespace}/replicationcontrollers
    @@ -10818,7 +10834,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    200

    success

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    read the specified ResourceQuota

    +

    read the specified ReplicationController

    -
    GET /api/v1/namespaces/{namespace}/resourcequotas/{name}
    +
    GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    @@ -10956,7 +10972,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the ResourceQuota

    +

    name of the ReplicationController

    true

    string

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

    200

    success

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    replace the specified ResourceQuota

    +

    replace the specified ReplicationController

    -
    PUT /api/v1/namespaces/{namespace}/resourcequotas/{name}
    +
    PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    @@ -11066,7 +11082,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    PathParameter

    name

    -

    name of the ResourceQuota

    +

    name of the ReplicationController

    true

    string

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

    200

    success

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    delete a ResourceQuota

    +

    delete a ReplicationController

    -
    DELETE /api/v1/namespaces/{namespace}/resourcequotas/{name}
    +
    DELETE /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    @@ -11204,7 +11220,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the ResourceQuota

    +

    name of the ReplicationController

    true

    string

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

    partially update the specified ResourceQuota

    +

    partially update the specified ReplicationController

    -
    PATCH /api/v1/namespaces/{namespace}/resourcequotas/{name}
    +
    PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}
    @@ -11328,7 +11344,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the ResourceQuota

    +

    name of the ReplicationController

    true

    string

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

    200

    success

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    replace status of the specified ResourceQuota

    +

    replace status of the specified ReplicationController

    -
    PUT /api/v1/namespaces/{namespace}/resourcequotas/{name}/status
    +
    PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status
    @@ -11444,7 +11460,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    PathParameter

    name

    -

    name of the ResourceQuota

    +

    name of the ReplicationController

    true

    string

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

    200

    success

    -

    v1.ResourceQuota

    +

    v1.ReplicationController

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

    list or watch objects of kind Secret

    +

    list or watch objects of kind ResourceQuota

    -
    GET /api/v1/namespaces/{namespace}/secrets
    +
    GET /api/v1/namespaces/{namespace}/resourcequotas
    @@ -11634,7 +11650,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.SecretList

    +

    v1.ResourceQuotaList

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

    delete collection of Secret

    +

    delete collection of ResourceQuota

    -
    DELETE /api/v1/namespaces/{namespace}/secrets
    +
    DELETE /api/v1/namespaces/{namespace}/resourcequotas
    @@ -11823,10 +11839,10 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -

    create a Secret

    +

    create a ResourceQuota

    -
    POST /api/v1/namespaces/{namespace}/secrets
    +
    POST /api/v1/namespaces/{namespace}/resourcequotas
    @@ -11864,7 +11880,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.Secret

    +

    v1.ResourceQuota

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

    200

    success

    -

    v1.Secret

    +

    v1.ResourceQuota

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

    read the specified Secret

    +

    read the specified ResourceQuota

    -
    GET /api/v1/namespaces/{namespace}/secrets/{name}
    +
    GET /api/v1/namespaces/{namespace}/resourcequotas/{name}
    @@ -12002,7 +12018,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Secret

    +

    name of the ResourceQuota

    true

    string

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

    200

    success

    -

    v1.Secret

    +

    v1.ResourceQuota

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

    replace the specified Secret

    +

    replace the specified ResourceQuota

    -
    PUT /api/v1/namespaces/{namespace}/secrets/{name}
    +
    PUT /api/v1/namespaces/{namespace}/resourcequotas/{name}
    @@ -12112,7 +12128,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.Secret

    +

    v1.ResourceQuota

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

    PathParameter

    name

    -

    name of the Secret

    +

    name of the ResourceQuota

    true

    string

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

    200

    success

    -

    v1.Secret

    +

    v1.ResourceQuota

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

    delete a Secret

    +

    delete a ResourceQuota

    -
    DELETE /api/v1/namespaces/{namespace}/secrets/{name}
    +
    DELETE /api/v1/namespaces/{namespace}/resourcequotas/{name}
    @@ -12250,7 +12266,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Secret

    +

    name of the ResourceQuota

    true

    string

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

    partially update the specified Secret

    +

    partially update the specified ResourceQuota

    -
    PATCH /api/v1/namespaces/{namespace}/secrets/{name}
    +
    PATCH /api/v1/namespaces/{namespace}/resourcequotas/{name}
    @@ -12374,7 +12390,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Secret

    +

    name of the ResourceQuota

    true

    string

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

    200

    success

    -

    v1.Secret

    +

    v1.ResourceQuota

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

    list or watch objects of kind ServiceAccount

    +

    replace status of the specified ResourceQuota

    -
    GET /api/v1/namespaces/{namespace}/serviceaccounts
    +
    PUT /api/v1/namespaces/{namespace}/resourcequotas/{name}/status
    @@ -12486,43 +12502,11 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    -

    string

    +

    BodyParameter

    +

    body

    - - -

    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)

    +

    true

    +

    v1.ResourceQuota

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

    string

    + +

    PathParameter

    +

    name

    +

    name of the ResourceQuota

    +

    true

    +

    string

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

    200

    success

    -

    v1.ServiceAccountList

    +

    v1.ResourceQuota

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

    delete collection of ServiceAccount

    +

    list or watch objects of kind Secret

    -
    DELETE /api/v1/namespaces/{namespace}/serviceaccounts
    +
    GET /api/v1/namespaces/{namespace}/secrets
    @@ -12704,7 +12696,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    unversioned.Status

    +

    v1.SecretList

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

    create a ServiceAccount

    +

    delete collection of Secret

    -
    POST /api/v1/namespaces/{namespace}/serviceaccounts
    +
    DELETE /api/v1/namespaces/{namespace}/secrets
    @@ -12782,11 +12774,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

    -

    v1.ServiceAccount

    + + +

    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)

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

    200

    success

    -

    v1.ServiceAccount

    +

    unversioned.Status

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

    read the specified ServiceAccount

    +

    create a Secret

    -
    GET /api/v1/namespaces/{namespace}/serviceaccounts/{name}
    +
    POST /api/v1/namespaces/{namespace}/secrets
    @@ -12898,19 +12922,11 @@ 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.

    -

    false

    -

    boolean

    +

    BodyParameter

    +

    body

    - - -

    QueryParameter

    -

    exact

    -

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

    -

    false

    -

    boolean

    +

    true

    +

    v1.Secret

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

    string

    - -

    PathParameter

    -

    name

    -

    name of the ServiceAccount

    -

    true

    -

    string

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

    200

    success

    -

    v1.ServiceAccount

    +

    v1.Secret

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

    replace the specified ServiceAccount

    +

    read the specified Secret

    -
    PUT /api/v1/namespaces/{namespace}/serviceaccounts/{name}
    +
    GET /api/v1/namespaces/{namespace}/secrets/{name}
    @@ -13030,11 +13038,19 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    +

    QueryParameter

    +

    export

    +

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

    +

    false

    +

    boolean

    -

    true

    -

    v1.ServiceAccount

    + + +

    QueryParameter

    +

    exact

    +

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

    +

    false

    +

    boolean

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

    PathParameter

    name

    -

    name of the ServiceAccount

    +

    name of the Secret

    true

    string

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

    200

    success

    -

    v1.ServiceAccount

    +

    v1.Secret

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

    delete a ServiceAccount

    +

    replace the specified Secret

    -
    DELETE /api/v1/namespaces/{namespace}/serviceaccounts/{name}
    +
    PUT /api/v1/namespaces/{namespace}/secrets/{name}
    @@ -13158,7 +13174,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.DeleteOptions

    +

    v1.Secret

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

    PathParameter

    name

    -

    name of the ServiceAccount

    +

    name of the Secret

    true

    string

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

    200

    success

    -

    unversioned.Status

    +

    v1.Secret

    @@ -13241,6 +13257,1052 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +

    delete a Secret

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/secrets/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Secret

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    partially update the specified Secret

    +
    +
    +
    PATCH /api/v1/namespaces/{namespace}/secrets/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Secret

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Secret

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind ServiceAccount

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/serviceaccounts
    +
    +
    +
    +

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ServiceAccountList

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete collection of ServiceAccount

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/serviceaccounts
    +
    +
    +
    +

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a ServiceAccount

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/serviceaccounts
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.ServiceAccount

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ServiceAccount

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified ServiceAccount

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/serviceaccounts/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ServiceAccount

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ServiceAccount

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified ServiceAccount

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/serviceaccounts/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.ServiceAccount

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ServiceAccount

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ServiceAccount

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a ServiceAccount

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/serviceaccounts/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ServiceAccount

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +

    partially update the specified ServiceAccount

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

    @@ -13458,964 +14520,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -
    -
    -

    Responses

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

    200

    success

    v1.ServiceList

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    create a Service

    -
    -
    -
    POST /api/v1/namespaces/{namespace}/services
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Service

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Service

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified Service

    -
    -
    -
    GET /api/v1/namespaces/{namespace}/services/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Service

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Service

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified Service

    -
    -
    -
    PUT /api/v1/namespaces/{namespace}/services/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Service

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Service

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Service

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete a Service

    -
    -
    -
    DELETE /api/v1/namespaces/{namespace}/services/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Service

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified Service

    -
    -
    -
    PATCH /api/v1/namespaces/{namespace}/services/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Service

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Service

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified Namespace

    -
    -
    -
    GET /api/v1/namespaces/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    name

    name of the Namespace

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Namespace

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified Namespace

    -
    -
    -
    PUT /api/v1/namespaces/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Namespace

    PathParameter

    name

    name of the Namespace

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.Namespace

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete a Namespace

    -
    -
    -
    DELETE /api/v1/namespaces/{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 Namespace

    true

    string

    -

    Responses

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

    200

    success

    -

    unversioned.Status

    +

    v1.ServiceList

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

    partially update the specified Namespace

    +

    create a Service

    -
    PATCH /api/v1/namespaces/{name}
    +
    POST /api/v1/namespaces/{namespace}/services
    @@ -14518,13 +14622,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    unversioned.Patch

    +

    v1.Service

    PathParameter

    -

    name

    -

    name of the Namespace

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    true

    string

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

    200

    success

    -

    v1.Namespace

    +

    v1.Service

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

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      +

      /

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

    replace finalize of the specified Namespace

    +

    read the specified Service

    -
    PUT /api/v1/namespaces/{name}/finalize
    +
    GET /api/v1/namespaces/{namespace}/services/{name}
    @@ -14636,17 +14734,17 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    true

    -

    v1.Namespace

    +

    string

    PathParameter

    name

    -

    name of the Namespace

    +

    name of the Service

    true

    string

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

    200

    success

    -

    v1.Namespace

    +

    v1.Service

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

    replace status of the specified Namespace

    +

    replace the specified Service

    -
    PUT /api/v1/namespaces/{name}/status
    +
    PUT /api/v1/namespaces/{namespace}/services/{name}
    @@ -14756,13 +14854,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.Namespace

    +

    v1.Service

    + + + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    PathParameter

    name

    -

    name of the Namespace

    +

    name of the Service

    true

    string

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

    200

    success

    -

    v1.Namespace

    +

    v1.Service

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

    list or watch objects of kind Node

    +

    delete a Service

    -
    GET /api/v1/nodes
    +
    DELETE /api/v1/namespaces/{namespace}/services/{name}
    @@ -14868,45 +14974,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    string

    -

    QueryParameter

    -

    fieldSelector

    -

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

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Service

    +

    true

    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)

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

    200

    success

    -

    v1.NodeList

    +

    unversioned.Status

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

    delete collection of Node

    +

    partially update the specified Service

    -
    DELETE /api/v1/nodes
    +
    PATCH /api/v1/namespaces/{namespace}/services/{name}
    @@ -15008,45 +15090,29 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    +

    BodyParameter

    +

    body

    + +

    true

    +

    unversioned.Patch

    + + + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    string

    -

    QueryParameter

    -

    fieldSelector

    -

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

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Service

    +

    true

    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)

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

    200

    success

    -

    unversioned.Status

    +

    v1.Service

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

    create a Node

    +

    read the specified Namespace

    -
    POST /api/v1/nodes
    +
    GET /api/v1/namespaces/{name}
    @@ -15148,114 +15220,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    BodyParameter

    -

    body

    - -

    true

    -

    v1.Node

    - - - - - -
    -
    -

    Responses

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

    200

    success

    v1.Node

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified Node

    -
    -
    -
    GET /api/v1/nodes/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    PathParameter

    name

    name of the Node

    name of the Namespace

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Namespace

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified Namespace

    +
    +
    +
    PUT /api/v1/namespaces/{name}
    +
    +
    +
    +

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Namespace

    PathParameter

    name

    name of the Namespace

    true

    string

    200

    success

    v1.Node

    v1.Namespace

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

    replace the specified Node

    +

    delete a Namespace

    -
    PUT /api/v1/nodes/{name}
    +
    DELETE /api/v1/namespaces/{name}
    @@ -15384,13 +15464,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.Node

    +

    v1.DeleteOptions

    PathParameter

    name

    -

    name of the Node

    +

    name of the Namespace

    true

    string

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

    200

    success

    -

    v1.Node

    +

    unversioned.Status

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

    delete a Node

    +

    partially update the specified Namespace

    -
    DELETE /api/v1/nodes/{name}
    +
    PATCH /api/v1/namespaces/{name}
    @@ -15500,129 +15580,135 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.DeleteOptions

    - - - -

    PathParameter

    -

    name

    -

    name of the Node

    -

    true

    -

    string

    - - - - - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified Node

    -
    -
    -
    PATCH /api/v1/nodes/{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 Node

    name of the Namespace

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Namespace

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace finalize of the specified Namespace

    +
    +
    +
    PUT /api/v1/namespaces/{name}/finalize
    +
    +
    +
    +

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Namespace

    PathParameter

    name

    name of the Namespace

    true

    string

    200

    success

    v1.Node

    v1.Namespace

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

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      +

      /

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

    replace status of the specified Node

    +

    replace status of the specified Namespace

    -
    PUT /api/v1/nodes/{name}/status
    +
    PUT /api/v1/namespaces/{name}/status
    @@ -15738,13 +15818,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    body

    true

    -

    v1.Node

    +

    v1.Namespace

    PathParameter

    name

    -

    name of the Node

    +

    name of the Namespace

    true

    string

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

    200

    success

    -

    v1.Node

    +

    v1.Namespace

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

    list or watch objects of kind PersistentVolumeClaim

    +

    list or watch objects of kind Node

    -
    GET /api/v1/persistentvolumeclaims
    +
    GET /api/v1/nodes
    @@ -15912,7 +15992,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.PersistentVolumeClaimList

    +

    v1.NodeList

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

    list or watch objects of kind PersistentVolume

    +

    delete collection of Node

    -
    GET /api/v1/persistentvolumes
    +
    DELETE /api/v1/nodes
    @@ -16052,7 +16132,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.PersistentVolumeList

    +

    unversioned.Status

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

    delete collection of PersistentVolume

    +

    create a Node

    -
    DELETE /api/v1/persistentvolumes
    +
    POST /api/v1/nodes
    @@ -16130,6 +16210,708 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

    BodyParameter

    +

    body

    + +

    true

    +

    v1.Node

    + + + + + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Node

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified Node

    +
    +
    +
    GET /api/v1/nodes/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    name

    name of the Node

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Node

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified Node

    +
    +
    +
    PUT /api/v1/nodes/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Node

    PathParameter

    name

    name of the Node

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Node

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete a Node

    +
    +
    +
    DELETE /api/v1/nodes/{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 Node

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    partially update the specified Node

    +
    +
    +
    PATCH /api/v1/nodes/{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 Node

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Node

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace status of the specified Node

    +
    +
    +
    PUT /api/v1/nodes/{name}/status
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Node

    PathParameter

    name

    name of the Node

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Node

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind PersistentVolumeClaim

    +
    +
    +
    GET /api/v1/persistentvolumeclaims
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + @@ -16172,708 +16954,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    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.

    -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    create a PersistentVolume

    -
    -
    -
    POST /api/v1/persistentvolumes
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PersistentVolume

    - -
    -
    -

    Responses

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

    200

    success

    v1.PersistentVolume

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    read the specified PersistentVolume

    -
    -
    -
    GET /api/v1/persistentvolumes/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    export

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

    false

    boolean

    QueryParameter

    exact

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

    false

    boolean

    PathParameter

    name

    name of the PersistentVolume

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PersistentVolume

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace the specified PersistentVolume

    -
    -
    -
    PUT /api/v1/persistentvolumes/{name}
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PersistentVolume

    PathParameter

    name

    name of the PersistentVolume

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PersistentVolume

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    delete a PersistentVolume

    -
    -
    -
    DELETE /api/v1/persistentvolumes/{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 PersistentVolume

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    unversioned.Status

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    partially update the specified PersistentVolume

    -
    -
    -
    PATCH /api/v1/persistentvolumes/{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 PersistentVolume

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    v1.PersistentVolume

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    • -

      application/yaml

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    replace status of the specified PersistentVolume

    -
    -
    -
    PUT /api/v1/persistentvolumes/{name}/status
    -
    -
    -
    -

    Parameters

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

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.PersistentVolume

    PathParameter

    name

    name of the PersistentVolume

    true

    string

    -

    Responses

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

    200

    success

    -

    v1.PersistentVolume

    +

    v1.PersistentVolumeClaimList

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

    list or watch objects of kind Pod

    +

    list or watch objects of kind PersistentVolume

    -
    GET /api/v1/pods
    +
    GET /api/v1/persistentvolumes
    @@ -17034,7 +17114,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.PodList

    +

    v1.PersistentVolumeList

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

    list or watch objects of kind PodTemplate

    +

    delete collection of PersistentVolume

    -
    GET /api/v1/podtemplates
    +
    DELETE /api/v1/persistentvolumes
    @@ -17174,7 +17254,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    v1.PodTemplateList

    +

    unversioned.Status

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

    proxy GET requests to Pod

    +

    create a PersistentVolume

    -
    GET /api/v1/proxy/namespaces/{namespace}/pods/{name}
    +
    POST /api/v1/persistentvolumes
    @@ -17244,19 +17324,19 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    -

    PathParameter

    -

    name

    -

    name of the Pod

    +

    BodyParameter

    +

    body

    +

    true

    -

    string

    +

    v1.PersistentVolume

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

    default

    +

    200

    success

    -

    string

    +

    v1.PersistentVolume

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy PUT requests to Pod

    +

    read the specified PersistentVolume

    -
    PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}
    +
    GET /api/v1/persistentvolumes/{name}
    @@ -17349,17 +17432,33 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    +

    QueryParameter

    +

    export

    +

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

    +

    false

    +

    boolean

    + + + +

    QueryParameter

    +

    exact

    +

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

    +

    false

    +

    boolean

    + + +

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolume

    true

    string

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

    default

    +

    200

    success

    -

    string

    +

    v1.PersistentVolume

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy DELETE requests to Pod

    +

    replace the specified PersistentVolume

    -
    DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}
    +
    PUT /api/v1/persistentvolumes/{name}
    @@ -17454,17 +17556,25 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    +

    BodyParameter

    +

    body

    + +

    true

    +

    v1.PersistentVolume

    + + +

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolume

    true

    string

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

    default

    +

    200

    success

    -

    string

    +

    v1.PersistentVolume

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy POST requests to Pod

    +

    delete a PersistentVolume

    -
    POST /api/v1/proxy/namespaces/{namespace}/pods/{name}
    +
    DELETE /api/v1/persistentvolumes/{name}
    @@ -17559,17 +17672,25 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    +

    BodyParameter

    +

    body

    + +

    true

    +

    v1.DeleteOptions

    + + +

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolume

    true

    string

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

    default

    +

    200

    success

    -

    string

    +

    unversioned.Status

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy GET requests to Pod

    +

    partially update the specified PersistentVolume

    -
    GET /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    +
    PATCH /api/v1/persistentvolumes/{name}
    @@ -17664,25 +17788,25 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    +

    BodyParameter

    +

    body

    + +

    true

    +

    unversioned.Patch

    + + +

    PathParameter

    name

    -

    name of the Pod

    -

    true

    -

    string

    - - - -

    PathParameter

    -

    path

    -

    path to the resource

    +

    name of the PersistentVolume

    true

    string

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

    default

    +

    200

    success

    -

    string

    +

    v1.PersistentVolume

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

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy PUT requests to Pod

    +

    replace status of the specified PersistentVolume

    -
    PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    +
    PUT /api/v1/persistentvolumes/{name}/status
    @@ -17777,25 +17910,25 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    +

    BodyParameter

    +

    body

    + +

    true

    +

    v1.PersistentVolume

    + + +

    PathParameter

    name

    -

    name of the Pod

    -

    true

    -

    string

    - - - -

    PathParameter

    -

    path

    -

    path to the resource

    +

    name of the PersistentVolume

    true

    string

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

    default

    +

    200

    success

    -

    string

    +

    v1.PersistentVolume

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy DELETE requests to Pod

    +

    list or watch objects of kind Pod

    -
    DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    +
    GET /api/v1/pods
    @@ -17890,29 +18026,53 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    -

    PathParameter

    -

    name

    -

    name of the Pod

    -

    true

    +

    QueryParameter

    +

    labelSelector

    +

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

    +

    false

    string

    -

    PathParameter

    -

    path

    -

    path to the resource

    -

    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)

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

    default

    +

    200

    success

    -

    string

    +

    v1.PodList

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy POST requests to Pod

    +

    list or watch objects of kind PodTemplate

    -
    POST /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    +
    GET /api/v1/podtemplates
    @@ -18003,29 +18166,53 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    pretty

    +

    If true, then the output is pretty printed.

    +

    false

    string

    -

    PathParameter

    -

    name

    -

    name of the Pod

    -

    true

    +

    QueryParameter

    +

    labelSelector

    +

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

    +

    false

    string

    -

    PathParameter

    -

    path

    -

    path to the resource

    -

    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)

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

    default

    +

    200

    success

    -

    string

    +

    v1.PodTemplateList

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

      /

      +

      application/json

      +
    • +
    • +

      application/yaml

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

    proxy GET requests to Service

    +

    proxy GET requests to Pod

    -
    GET /api/v1/proxy/namespaces/{namespace}/services/{name}
    +
    GET /api/v1/proxy/namespaces/{namespace}/pods/{name}
    @@ -18126,7 +18316,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy PUT requests to Service

    +

    proxy PUT requests to Pod

    -
    PUT /api/v1/proxy/namespaces/{namespace}/services/{name}
    +
    PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}
    @@ -18231,7 +18421,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy DELETE requests to Service

    +

    proxy DELETE requests to Pod

    -
    DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}
    +
    DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}
    @@ -18336,7 +18526,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy POST requests to Service

    +

    proxy POST requests to Pod

    -
    POST /api/v1/proxy/namespaces/{namespace}/services/{name}
    +
    POST /api/v1/proxy/namespaces/{namespace}/pods/{name}
    @@ -18441,7 +18631,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy GET requests to Service

    +

    proxy GET requests to Pod

    -
    GET /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    +
    GET /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    @@ -18546,7 +18736,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy PUT requests to Service

    +

    proxy PUT requests to Pod

    -
    PUT /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    +
    PUT /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    @@ -18659,7 +18849,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy DELETE requests to Service

    +

    proxy DELETE requests to Pod

    -
    DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    +
    DELETE /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    @@ -18772,7 +18962,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy POST requests to Service

    +

    proxy POST requests to Pod

    -
    POST /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    +
    POST /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}
    @@ -18885,7 +19075,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    name

    -

    name of the Service

    +

    name of the Pod

    true

    string

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

    proxy GET requests to Node

    +

    proxy GET requests to Service

    -
    GET /api/v1/proxy/nodes/{name}
    +
    GET /api/v1/proxy/namespaces/{namespace}/services/{name}
    @@ -18989,8 +19179,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    proxy PUT requests to Node

    +

    proxy PUT requests to Service

    -
    PUT /api/v1/proxy/nodes/{name}
    +
    PUT /api/v1/proxy/namespaces/{namespace}/services/{name}
    @@ -19086,8 +19284,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    proxy DELETE requests to Node

    +

    proxy DELETE requests to Service

    -
    DELETE /api/v1/proxy/nodes/{name}
    +
    DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}
    @@ -19183,8 +19389,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    proxy POST requests to Node

    +

    proxy POST requests to Service

    -
    POST /api/v1/proxy/nodes/{name}
    +
    POST /api/v1/proxy/namespaces/{namespace}/services/{name}
    @@ -19280,8 +19494,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    proxy GET requests to Node

    +

    proxy GET requests to Service

    -
    GET /api/v1/proxy/nodes/{name}/{path}
    +
    GET /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    @@ -19377,8 +19599,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    proxy PUT requests to Node

    +

    proxy PUT requests to Service

    -
    PUT /api/v1/proxy/nodes/{name}/{path}
    +
    PUT /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    @@ -19482,8 +19712,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    proxy DELETE requests to Node

    +

    proxy DELETE requests to Service

    -
    DELETE /api/v1/proxy/nodes/{name}/{path}
    +
    DELETE /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    @@ -19587,8 +19825,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    proxy POST requests to Node

    +

    proxy POST requests to Service

    -
    POST /api/v1/proxy/nodes/{name}/{path}
    +
    POST /api/v1/proxy/namespaces/{namespace}/services/{name}/{path}
    @@ -19692,8 +19938,16 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + +

    PathParameter

    name

    -

    name of the Node

    +

    name of the Service

    true

    string

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

    list or watch objects of kind ReplicationController

    +

    proxy GET requests to Node

    -
    GET /api/v1/replicationcontrollers
    +
    GET /api/v1/proxy/nodes/{name}
    @@ -19796,53 +20050,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    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)

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

    200

    +

    default

    success

    -

    v1.ReplicationControllerList

    +

    string

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

      application/json

      -
    • -
    • -

      application/yaml

      +

      /

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

    list or watch objects of kind ResourceQuota

    +

    proxy PUT requests to Node

    -
    GET /api/v1/resourcequotas
    +
    PUT /api/v1/proxy/nodes/{name}
    @@ -19936,53 +20147,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    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)

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

    200

    +

    default

    success

    -

    v1.ResourceQuotaList

    +

    string

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

      application/json

      -
    • -
    • -

      application/yaml

      +

      /

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

    list or watch objects of kind Secret

    +

    proxy DELETE requests to Node

    -
    GET /api/v1/secrets
    +
    DELETE /api/v1/proxy/nodes/{name}
    @@ -20076,53 +20244,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    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)

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

    200

    +

    default

    success

    -

    v1.SecretList

    +

    string

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

      application/json

      -
    • -
    • -

      application/yaml

      +

      /

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

    list or watch objects of kind ServiceAccount

    +

    proxy POST requests to Node

    -
    GET /api/v1/serviceaccounts
    +
    POST /api/v1/proxy/nodes/{name}
    @@ -20216,53 +20341,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    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)

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

    200

    +

    default

    success

    -

    v1.ServiceAccountList

    +

    string

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

      application/json

      -
    • -
    • -

      application/yaml

      +

      /

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

    list or watch objects of kind Service

    +

    proxy GET requests to Node

    -
    GET /api/v1/services
    +
    GET /api/v1/proxy/nodes/{name}/{path}
    @@ -20356,53 +20438,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    string

    -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    +

    PathParameter

    +

    path

    +

    path to the resource

    +

    true

    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)

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

    200

    +

    default

    success

    -

    v1.ServiceList

    +

    string

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

      application/json

      -
    • -
    • -

      application/yaml

      +

      /

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

    watch individual changes to a list of Endpoints

    +

    proxy PUT requests to Node

    -
    GET /api/v1/watch/endpoints
    +
    PUT /api/v1/proxy/nodes/{name}/{path}
    @@ -20496,53 +20543,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    string

    -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    +

    PathParameter

    +

    path

    +

    path to the resource

    +

    true

    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)

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

    200

    +

    default

    success

    -

    json.WatchEvent

    +

    string

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

      application/json

      +

      /

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

    watch individual changes to a list of Event

    +

    proxy DELETE requests to Node

    -
    GET /api/v1/watch/events
    +
    DELETE /api/v1/proxy/nodes/{name}/{path}
    @@ -20633,53 +20648,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    string

    -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    +

    PathParameter

    +

    path

    +

    path to the resource

    +

    true

    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)

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

    200

    +

    default

    success

    -

    json.WatchEvent

    +

    string

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

      application/json

      +

      /

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

    watch individual changes to a list of LimitRange

    +

    proxy POST requests to Node

    -
    GET /api/v1/watch/limitranges
    +
    POST /api/v1/proxy/nodes/{name}/{path}
    @@ -20770,53 +20753,21 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } -

    QueryParameter

    -

    pretty

    -

    If true, then the output is pretty printed.

    -

    false

    +

    PathParameter

    +

    name

    +

    name of the Node

    +

    true

    string

    -

    QueryParameter

    -

    labelSelector

    -

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

    -

    false

    +

    PathParameter

    +

    path

    +

    path to the resource

    +

    true

    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)

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

    200

    +

    default

    success

    -

    json.WatchEvent

    +

    string

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

      application/json

      +

      /

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

    watch individual changes to a list of Namespace

    +

    list or watch objects of kind ReplicationController

    -
    GET /api/v1/watch/namespaces
    +
    GET /api/v1/replicationcontrollers
    @@ -20977,7 +20928,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    200

    success

    -

    json.WatchEvent

    +

    v1.ReplicationControllerList

    @@ -21000,6 +20951,9 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
  • application/json

  • +
  • +

    application/yaml

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

    watch individual changes to a list of Endpoints

    +

    list or watch objects of kind ResourceQuota

    -
    GET /api/v1/watch/namespaces/{namespace}/endpoints
    +
    GET /api/v1/resourcequotas
    @@ -21091,6 +21045,1251 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

    integer (int32)

    + + + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ResourceQuotaList

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind Secret

    +
    +
    +
    GET /api/v1/secrets
    +
    +
    +
    +

    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

    v1.SecretList

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind ServiceAccount

    +
    +
    +
    GET /api/v1/serviceaccounts
    +
    +
    +
    +

    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

    v1.ServiceAccountList

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind Service

    +
    +
    +
    GET /api/v1/services
    +
    +
    +
    +

    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

    v1.ServiceList

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    • +

      application/yaml

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of ConfigMap

    +
    +
    +
    GET /api/v1/watch/configmaps
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Endpoints

    +
    +
    +
    GET /api/v1/watch/endpoints
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Event

    +
    +
    +
    GET /api/v1/watch/events
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of LimitRange

    +
    +
    +
    GET /api/v1/watch/limitranges
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Namespace

    +
    +
    +
    GET /api/v1/watch/namespaces
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of ConfigMap

    +
    +
    +
    GET /api/v1/watch/namespaces/{namespace}/configmaps
    +
    +
    +
    +

    Parameters

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

    Responses

    +

    Responses

    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

    namespace

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    + +
    +

    watch changes to an object of kind ConfigMap

    +
    +
    +
    GET /api/v1/watch/namespaces/{namespace}/configmaps/{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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ConfigMap

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Endpoints

    +
    +
    +
    GET /api/v1/watch/namespaces/{namespace}/endpoints
    +
    +
    +
    +

    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

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

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

    Responses

    +

    Responses

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

    Consumes

    +

    Consumes

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

    Produces

    +

    Produces

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

    Tags

    +

    Tags

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

    Parameters

    +

    Parameters

    @@ -24380,1529 +25877,6 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    -
    -
    -

    Responses

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of Node

    -
    -
    -
    GET /api/v1/watch/nodes
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch changes to an object of kind Node

    -
    -
    -
    GET /api/v1/watch/nodes/{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 Node

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of PersistentVolumeClaim

    -
    -
    -
    GET /api/v1/watch/persistentvolumeclaims
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of PersistentVolume

    -
    -
    -
    GET /api/v1/watch/persistentvolumes
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch changes to an object of kind PersistentVolume

    -
    -
    -
    GET /api/v1/watch/persistentvolumes/{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 PersistentVolume

    true

    string

    - -
    -
    -

    Responses

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

    200

    success

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of Pod

    -
    -
    -
    GET /api/v1/watch/pods
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of PodTemplate

    -
    -
    -
    GET /api/v1/watch/podtemplates
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of ReplicationController

    -
    -
    -
    GET /api/v1/watch/replicationcontrollers
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of ResourceQuota

    -
    -
    -
    GET /api/v1/watch/resourcequotas
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of Secret

    -
    -
    -
    GET /api/v1/watch/secrets
    -
    -
    -
    -

    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

    json.WatchEvent

    - -
    -
    -

    Consumes

    -
    -
      -
    • -

      /

      -
    • -
    -
    -
    -
    -

    Produces

    -
    -
      -
    • -

      application/json

      -
    • -
    -
    -
    -
    -

    Tags

    -
    -
      -
    • -

      apiv1

      -
    • -
    -
    -
    -
    -
    -

    watch individual changes to a list of ServiceAccount

    -
    -
    -
    GET /api/v1/watch/serviceaccounts
    -
    -
    -
    -

    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

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

    watch individual changes to a list of Service

    +

    watch individual changes to a list of Node

    -
    GET /api/v1/watch/services
    +
    GET /api/v1/watch/nodes
    @@ -26097,12 +26071,1535 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
    +
    +

    watch changes to an object of kind Node

    +
    +
    +
    GET /api/v1/watch/nodes/{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 Node

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of PersistentVolumeClaim

    +
    +
    +
    GET /api/v1/watch/persistentvolumeclaims
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of PersistentVolume

    +
    +
    +
    GET /api/v1/watch/persistentvolumes
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch changes to an object of kind PersistentVolume

    +
    +
    +
    GET /api/v1/watch/persistentvolumes/{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 PersistentVolume

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Pod

    +
    +
    +
    GET /api/v1/watch/pods
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of PodTemplate

    +
    +
    +
    GET /api/v1/watch/podtemplates
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of ReplicationController

    +
    +
    +
    GET /api/v1/watch/replicationcontrollers
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of ResourceQuota

    +
    +
    +
    GET /api/v1/watch/resourcequotas
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Secret

    +
    +
    +
    GET /api/v1/watch/secrets
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of ServiceAccount

    +
    +
    +
    GET /api/v1/watch/serviceaccounts
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    watch individual changes to a list of Service

    +
    +
    +
    GET /api/v1/watch/services
    +
    +
    +
    +

    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

    json.WatchEvent

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    diff --git a/pkg/api/deep_copy_generated.go b/pkg/api/deep_copy_generated.go index 4bd65710dd3..6f39a2bc099 100644 --- a/pkg/api/deep_copy_generated.go +++ b/pkg/api/deep_copy_generated.go @@ -39,7 +39,9 @@ func init() { deepCopy_api_ComponentCondition, deepCopy_api_ComponentStatus, deepCopy_api_ComponentStatusList, + deepCopy_api_ConfigMap, deepCopy_api_ConfigMapKeySelector, + deepCopy_api_ConfigMapList, deepCopy_api_Container, deepCopy_api_ContainerImage, deepCopy_api_ContainerPort, @@ -297,6 +299,25 @@ func deepCopy_api_ComponentStatusList(in ComponentStatusList, out *ComponentStat return nil } +func deepCopy_api_ConfigMap(in ConfigMap, out *ConfigMap, c *conversion.Cloner) error { + if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { + return err + } + if err := deepCopy_api_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil { + return err + } + if in.Data != nil { + in, out := in.Data, &out.Data + *out = make(map[string]string) + for key, val := range in { + (*out)[key] = val + } + } else { + out.Data = nil + } + return nil +} + func deepCopy_api_ConfigMapKeySelector(in ConfigMapKeySelector, out *ConfigMapKeySelector, c *conversion.Cloner) error { if err := deepCopy_api_LocalObjectReference(in.LocalObjectReference, &out.LocalObjectReference, c); err != nil { return err @@ -305,6 +326,27 @@ func deepCopy_api_ConfigMapKeySelector(in ConfigMapKeySelector, out *ConfigMapKe return nil } +func deepCopy_api_ConfigMapList(in ConfigMapList, out *ConfigMapList, c *conversion.Cloner) error { + if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { + return err + } + if err := deepCopy_unversioned_ListMeta(in.ListMeta, &out.ListMeta, c); err != nil { + return err + } + if in.Items != nil { + in, out := in.Items, &out.Items + *out = make([]ConfigMap, len(in)) + for i := range in { + if err := deepCopy_api_ConfigMap(in[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil +} + func deepCopy_api_Container(in Container, out *Container, c *conversion.Cloner) error { out.Name = in.Name out.Image = in.Image diff --git a/pkg/api/types.generated.go b/pkg/api/types.generated.go index 2b37310fa6d..04e2133b14a 100644 --- a/pkg/api/types.generated.go +++ b/pkg/api/types.generated.go @@ -42803,159 +42803,141 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3447 := z.EncBinary() - _ = yym3447 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3448 := z.DecBinary() - _ = yym3448 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3449 := z.EncBinary() - _ = yym3449 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3450 := z.DecBinary() - _ = yym3450 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3451 := z.EncBinary() - _ = yym3451 + yym3447 := z.EncBinary() + _ = yym3447 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3452 := !z.EncBinary() - yy2arr3452 := z.EncBasicHandle().StructToArray - var yyq3452 [4]bool - _, _, _ = yysep3452, yyq3452, yy2arr3452 - const yyr3452 bool = false - yyq3452[2] = x.Message != "" - yyq3452[3] = x.Error != "" - var yynn3452 int - if yyr3452 || yy2arr3452 { + yysep3448 := !z.EncBinary() + yy2arr3448 := z.EncBasicHandle().StructToArray + var yyq3448 [4]bool + _, _, _ = yysep3448, yyq3448, yy2arr3448 + const yyr3448 bool = false + yyq3448[0] = x.Kind != "" + yyq3448[1] = x.APIVersion != "" + yyq3448[2] = true + yyq3448[3] = len(x.Data) != 0 + var yynn3448 int + if yyr3448 || yy2arr3448 { r.EncodeArrayStart(4) } else { - yynn3452 = 2 - for _, b := range yyq3452 { + yynn3448 = 0 + for _, b := range yyq3448 { if b { - yynn3452++ + yynn3448++ } } - r.EncodeMapStart(yynn3452) - yynn3452 = 0 + r.EncodeMapStart(yynn3448) + yynn3448 = 0 } - if yyr3452 || yy2arr3452 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Type.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - if yyr3452 || yy2arr3452 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Status.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Status.CodecEncodeSelf(e) - } - if yyr3452 || yy2arr3452 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3452[2] { - yym3456 := z.EncBinary() - _ = yym3456 + if yyq3448[0] { + yym3450 := z.EncBinary() + _ = yym3450 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3452[2] { + if yyq3448[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3457 := z.EncBinary() - _ = yym3457 + yym3451 := z.EncBinary() + _ = yym3451 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3452 || yy2arr3452 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3452[3] { - yym3459 := z.EncBinary() - _ = yym3459 + if yyq3448[1] { + yym3453 := z.EncBinary() + _ = yym3453 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3452[3] { + if yyq3448[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("error")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3460 := z.EncBinary() - _ = yym3460 + yym3454 := z.EncBinary() + _ = yym3454 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3452 || yy2arr3452 { + if yyr3448 || yy2arr3448 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3448[2] { + yy3456 := &x.ObjectMeta + yy3456.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3448[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3457 := &x.ObjectMeta + yy3457.CodecEncodeSelf(e) + } + } + if yyr3448 || yy2arr3448 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3448[3] { + if x.Data == nil { + r.EncodeNil() + } else { + yym3459 := z.EncBinary() + _ = yym3459 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3448[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("data")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Data == nil { + r.EncodeNil() + } else { + yym3460 := z.EncBinary() + _ = yym3460 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } + } + } + } + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42964,7 +42946,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -42994,7 +42976,7 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -43016,6 +42998,702 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) yys3463 := string(yys3463Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3463 { + 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 = ObjectMeta{} + } else { + yyv3466 := &x.ObjectMeta + yyv3466.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv3467 := &x.Data + yym3468 := z.DecBinary() + _ = yym3468 + if false { + } else { + z.F.DecMapStringStringX(yyv3467, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3463) + } // end switch yys3463 + } // end for yyj3463 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3469 int + var yyb3469 bool + var yyhl3469 bool = l >= 0 + yyj3469++ + if yyhl3469 { + yyb3469 = yyj3469 > l + } else { + yyb3469 = r.CheckBreak() + } + if yyb3469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3469++ + if yyhl3469 { + yyb3469 = yyj3469 > l + } else { + yyb3469 = r.CheckBreak() + } + if yyb3469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3469++ + if yyhl3469 { + yyb3469 = yyj3469 > l + } else { + yyb3469 = r.CheckBreak() + } + if yyb3469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3472 := &x.ObjectMeta + yyv3472.CodecDecodeSelf(d) + } + yyj3469++ + if yyhl3469 { + yyb3469 = yyj3469 > l + } else { + yyb3469 = r.CheckBreak() + } + if yyb3469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv3473 := &x.Data + yym3474 := z.DecBinary() + _ = yym3474 + if false { + } else { + z.F.DecMapStringStringX(yyv3473, false, d) + } + } + for { + yyj3469++ + if yyhl3469 { + yyb3469 = yyj3469 > l + } else { + yyb3469 = r.CheckBreak() + } + if yyb3469 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3469-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3475 := z.EncBinary() + _ = yym3475 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3476 := !z.EncBinary() + yy2arr3476 := z.EncBasicHandle().StructToArray + var yyq3476 [4]bool + _, _, _ = yysep3476, yyq3476, yy2arr3476 + const yyr3476 bool = false + yyq3476[0] = x.Kind != "" + yyq3476[1] = x.APIVersion != "" + yyq3476[2] = true + yyq3476[3] = len(x.Items) != 0 + var yynn3476 int + if yyr3476 || yy2arr3476 { + r.EncodeArrayStart(4) + } else { + yynn3476 = 0 + for _, b := range yyq3476 { + if b { + yynn3476++ + } + } + r.EncodeMapStart(yynn3476) + yynn3476 = 0 + } + if yyr3476 || yy2arr3476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3476[0] { + yym3478 := z.EncBinary() + _ = yym3478 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3476[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3479 := z.EncBinary() + _ = yym3479 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3476 || yy2arr3476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3476[1] { + yym3481 := z.EncBinary() + _ = yym3481 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3476[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3482 := z.EncBinary() + _ = yym3482 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3476 || yy2arr3476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3476[2] { + yy3484 := &x.ListMeta + yym3485 := z.EncBinary() + _ = yym3485 + if false { + } else if z.HasExtensions() && z.EncExt(yy3484) { + } else { + z.EncFallback(yy3484) + } + } else { + r.EncodeNil() + } + } else { + if yyq3476[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3486 := &x.ListMeta + yym3487 := z.EncBinary() + _ = yym3487 + if false { + } else if z.HasExtensions() && z.EncExt(yy3486) { + } else { + z.EncFallback(yy3486) + } + } + } + if yyr3476 || yy2arr3476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3476[3] { + if x.Items == nil { + r.EncodeNil() + } else { + yym3489 := z.EncBinary() + _ = yym3489 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3476[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3490 := z.EncBinary() + _ = yym3490 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + } + } + } + } + if yyr3476 || yy2arr3476 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3491 := z.DecBinary() + _ = yym3491 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3492 := r.ContainerType() + if yyct3492 == codecSelferValueTypeMap1234 { + yyl3492 := r.ReadMapStart() + if yyl3492 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3492, d) + } + } else if yyct3492 == codecSelferValueTypeArray1234 { + yyl3492 := r.ReadArrayStart() + if yyl3492 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3492, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3493Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3493Slc + var yyhl3493 bool = l >= 0 + for yyj3493 := 0; ; yyj3493++ { + if yyhl3493 { + if yyj3493 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3493Slc = r.DecodeBytes(yys3493Slc, true, true) + yys3493 := string(yys3493Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3493 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv3496 := &x.ListMeta + yym3497 := z.DecBinary() + _ = yym3497 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3496) { + } else { + z.DecFallback(yyv3496, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3498 := &x.Items + yym3499 := z.DecBinary() + _ = yym3499 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv3498), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3493) + } // end switch yys3493 + } // end for yyj3493 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3500 int + var yyb3500 bool + var yyhl3500 bool = l >= 0 + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l + } else { + yyb3500 = r.CheckBreak() + } + if yyb3500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l + } else { + yyb3500 = r.CheckBreak() + } + if yyb3500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l + } else { + yyb3500 = r.CheckBreak() + } + if yyb3500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3503 := &x.ListMeta + yym3504 := z.DecBinary() + _ = yym3504 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3503) { + } else { + z.DecFallback(yyv3503, false) + } + } + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l + } else { + yyb3500 = r.CheckBreak() + } + if yyb3500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3505 := &x.Items + yym3506 := z.DecBinary() + _ = yym3506 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv3505), d) + } + } + for { + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l + } else { + yyb3500 = r.CheckBreak() + } + if yyb3500 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3500-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3507 := z.EncBinary() + _ = yym3507 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3508 := z.DecBinary() + _ = yym3508 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3509 := z.EncBinary() + _ = yym3509 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3510 := z.DecBinary() + _ = yym3510 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3511 := z.EncBinary() + _ = yym3511 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3512 := !z.EncBinary() + yy2arr3512 := z.EncBasicHandle().StructToArray + var yyq3512 [4]bool + _, _, _ = yysep3512, yyq3512, yy2arr3512 + const yyr3512 bool = false + yyq3512[2] = x.Message != "" + yyq3512[3] = x.Error != "" + var yynn3512 int + if yyr3512 || yy2arr3512 { + r.EncodeArrayStart(4) + } else { + yynn3512 = 2 + for _, b := range yyq3512 { + if b { + yynn3512++ + } + } + r.EncodeMapStart(yynn3512) + yynn3512 = 0 + } + if yyr3512 || yy2arr3512 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Type.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + if yyr3512 || yy2arr3512 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Status.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Status.CodecEncodeSelf(e) + } + if yyr3512 || yy2arr3512 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3512[2] { + yym3516 := z.EncBinary() + _ = yym3516 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3512[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3517 := z.EncBinary() + _ = yym3517 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr3512 || yy2arr3512 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3512[3] { + yym3519 := z.EncBinary() + _ = yym3519 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3512[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("error")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3520 := z.EncBinary() + _ = yym3520 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + } + } + } + if yyr3512 || yy2arr3512 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3521 := z.DecBinary() + _ = yym3521 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3522 := r.ContainerType() + if yyct3522 == codecSelferValueTypeMap1234 { + yyl3522 := r.ReadMapStart() + if yyl3522 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3522, d) + } + } else if yyct3522 == codecSelferValueTypeArray1234 { + yyl3522 := r.ReadArrayStart() + if yyl3522 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3522, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3523Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3523Slc + var yyhl3523 bool = l >= 0 + for yyj3523 := 0; ; yyj3523++ { + if yyhl3523 { + if yyj3523 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3523Slc = r.DecodeBytes(yys3523Slc, true, true) + yys3523 := string(yys3523Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3523 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -43041,9 +43719,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3463) - } // end switch yys3463 - } // end for yyj3463 + z.DecStructFieldNotFound(-1, yys3523) + } // end switch yys3523 + } // end for yyj3523 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43051,16 +43729,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3468 int - var yyb3468 bool - var yyhl3468 bool = l >= 0 - yyj3468++ - if yyhl3468 { - yyb3468 = yyj3468 > l + var yyj3528 int + var yyb3528 bool + var yyhl3528 bool = l >= 0 + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb3468 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb3468 { + if yyb3528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43070,13 +43748,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj3468++ - if yyhl3468 { - yyb3468 = yyj3468 > l + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb3468 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb3468 { + if yyb3528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43086,13 +43764,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3468++ - if yyhl3468 { - yyb3468 = yyj3468 > l + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb3468 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb3468 { + if yyb3528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43102,13 +43780,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj3468++ - if yyhl3468 { - yyb3468 = yyj3468 > l + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb3468 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb3468 { + if yyb3528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43119,17 +43797,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj3468++ - if yyhl3468 { - yyb3468 = yyj3468 > l + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb3468 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb3468 { + if yyb3528 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3468-1, "") + z.DecStructFieldNotFound(yyj3528-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43141,38 +43819,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3473 := z.EncBinary() - _ = yym3473 + yym3533 := z.EncBinary() + _ = yym3533 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3474 := !z.EncBinary() - yy2arr3474 := z.EncBasicHandle().StructToArray - var yyq3474 [4]bool - _, _, _ = yysep3474, yyq3474, yy2arr3474 - const yyr3474 bool = false - yyq3474[0] = x.Kind != "" - yyq3474[1] = x.APIVersion != "" - yyq3474[2] = true - yyq3474[3] = len(x.Conditions) != 0 - var yynn3474 int - if yyr3474 || yy2arr3474 { + yysep3534 := !z.EncBinary() + yy2arr3534 := z.EncBasicHandle().StructToArray + var yyq3534 [4]bool + _, _, _ = yysep3534, yyq3534, yy2arr3534 + const yyr3534 bool = false + yyq3534[0] = x.Kind != "" + yyq3534[1] = x.APIVersion != "" + yyq3534[2] = true + yyq3534[3] = len(x.Conditions) != 0 + var yynn3534 int + if yyr3534 || yy2arr3534 { r.EncodeArrayStart(4) } else { - yynn3474 = 0 - for _, b := range yyq3474 { + yynn3534 = 0 + for _, b := range yyq3534 { if b { - yynn3474++ + yynn3534++ } } - r.EncodeMapStart(yynn3474) - yynn3474 = 0 + r.EncodeMapStart(yynn3534) + yynn3534 = 0 } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3474[0] { - yym3476 := z.EncBinary() - _ = yym3476 + if yyq3534[0] { + yym3536 := z.EncBinary() + _ = yym3536 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43181,23 +43859,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3474[0] { + if yyq3534[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3477 := z.EncBinary() - _ = yym3477 + yym3537 := z.EncBinary() + _ = yym3537 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3474[1] { - yym3479 := z.EncBinary() - _ = yym3479 + if yyq3534[1] { + yym3539 := z.EncBinary() + _ = yym3539 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43206,43 +43884,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3474[1] { + if yyq3534[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3480 := z.EncBinary() - _ = yym3480 + yym3540 := z.EncBinary() + _ = yym3540 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3474[2] { - yy3482 := &x.ObjectMeta - yy3482.CodecEncodeSelf(e) + if yyq3534[2] { + yy3542 := &x.ObjectMeta + yy3542.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3474[2] { + if yyq3534[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3483 := &x.ObjectMeta - yy3483.CodecEncodeSelf(e) + yy3543 := &x.ObjectMeta + yy3543.CodecEncodeSelf(e) } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3474[3] { + if yyq3534[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3485 := z.EncBinary() - _ = yym3485 + yym3545 := z.EncBinary() + _ = yym3545 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -43252,15 +43930,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3474[3] { + if yyq3534[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3486 := z.EncBinary() - _ = yym3486 + yym3546 := z.EncBinary() + _ = yym3546 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -43268,7 +43946,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43281,25 +43959,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3487 := z.DecBinary() - _ = yym3487 + yym3547 := z.DecBinary() + _ = yym3547 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3488 := r.ContainerType() - if yyct3488 == codecSelferValueTypeMap1234 { - yyl3488 := r.ReadMapStart() - if yyl3488 == 0 { + yyct3548 := r.ContainerType() + if yyct3548 == codecSelferValueTypeMap1234 { + yyl3548 := r.ReadMapStart() + if yyl3548 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3488, d) + x.codecDecodeSelfFromMap(yyl3548, d) } - } else if yyct3488 == codecSelferValueTypeArray1234 { - yyl3488 := r.ReadArrayStart() - if yyl3488 == 0 { + } else if yyct3548 == codecSelferValueTypeArray1234 { + yyl3548 := r.ReadArrayStart() + if yyl3548 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3488, d) + x.codecDecodeSelfFromArray(yyl3548, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43311,12 +43989,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3489Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3489Slc - var yyhl3489 bool = l >= 0 - for yyj3489 := 0; ; yyj3489++ { - if yyhl3489 { - if yyj3489 >= l { + var yys3549Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3549Slc + var yyhl3549 bool = l >= 0 + for yyj3549 := 0; ; yyj3549++ { + if yyhl3549 { + if yyj3549 >= l { break } } else { @@ -43325,10 +44003,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3489Slc = r.DecodeBytes(yys3489Slc, true, true) - yys3489 := string(yys3489Slc) + yys3549Slc = r.DecodeBytes(yys3549Slc, true, true) + yys3549 := string(yys3549Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3489 { + switch yys3549 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43345,25 +44023,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3492 := &x.ObjectMeta - yyv3492.CodecDecodeSelf(d) + yyv3552 := &x.ObjectMeta + yyv3552.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3493 := &x.Conditions - yym3494 := z.DecBinary() - _ = yym3494 + yyv3553 := &x.Conditions + yym3554 := z.DecBinary() + _ = yym3554 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3493), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3553), d) } } default: - z.DecStructFieldNotFound(-1, yys3489) - } // end switch yys3489 - } // end for yyj3489 + z.DecStructFieldNotFound(-1, yys3549) + } // end switch yys3549 + } // end for yyj3549 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43371,16 +44049,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3495 int - var yyb3495 bool - var yyhl3495 bool = l >= 0 - yyj3495++ - if yyhl3495 { - yyb3495 = yyj3495 > l + var yyj3555 int + var yyb3555 bool + var yyhl3555 bool = l >= 0 + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb3495 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb3495 { + if yyb3555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43390,13 +44068,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3495++ - if yyhl3495 { - yyb3495 = yyj3495 > l + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb3495 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb3495 { + if yyb3555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43406,13 +44084,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3495++ - if yyhl3495 { - yyb3495 = yyj3495 > l + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb3495 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb3495 { + if yyb3555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43420,16 +44098,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3498 := &x.ObjectMeta - yyv3498.CodecDecodeSelf(d) + yyv3558 := &x.ObjectMeta + yyv3558.CodecDecodeSelf(d) } - yyj3495++ - if yyhl3495 { - yyb3495 = yyj3495 > l + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb3495 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb3495 { + if yyb3555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43437,26 +44115,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3499 := &x.Conditions - yym3500 := z.DecBinary() - _ = yym3500 + yyv3559 := &x.Conditions + yym3560 := z.DecBinary() + _ = yym3560 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3499), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3559), d) } } for { - yyj3495++ - if yyhl3495 { - yyb3495 = yyj3495 > l + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb3495 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb3495 { + if yyb3555 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3495-1, "") + z.DecStructFieldNotFound(yyj3555-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43468,37 +44146,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3501 := z.EncBinary() - _ = yym3501 + yym3561 := z.EncBinary() + _ = yym3561 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3502 := !z.EncBinary() - yy2arr3502 := z.EncBasicHandle().StructToArray - var yyq3502 [4]bool - _, _, _ = yysep3502, yyq3502, yy2arr3502 - const yyr3502 bool = false - yyq3502[0] = x.Kind != "" - yyq3502[1] = x.APIVersion != "" - yyq3502[2] = true - var yynn3502 int - if yyr3502 || yy2arr3502 { + yysep3562 := !z.EncBinary() + yy2arr3562 := z.EncBasicHandle().StructToArray + var yyq3562 [4]bool + _, _, _ = yysep3562, yyq3562, yy2arr3562 + const yyr3562 bool = false + yyq3562[0] = x.Kind != "" + yyq3562[1] = x.APIVersion != "" + yyq3562[2] = true + var yynn3562 int + if yyr3562 || yy2arr3562 { r.EncodeArrayStart(4) } else { - yynn3502 = 1 - for _, b := range yyq3502 { + yynn3562 = 1 + for _, b := range yyq3562 { if b { - yynn3502++ + yynn3562++ } } - r.EncodeMapStart(yynn3502) - yynn3502 = 0 + r.EncodeMapStart(yynn3562) + yynn3562 = 0 } - if yyr3502 || yy2arr3502 { + if yyr3562 || yy2arr3562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3502[0] { - yym3504 := z.EncBinary() - _ = yym3504 + if yyq3562[0] { + yym3564 := z.EncBinary() + _ = yym3564 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43507,23 +44185,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3502[0] { + if yyq3562[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3505 := z.EncBinary() - _ = yym3505 + yym3565 := z.EncBinary() + _ = yym3565 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3502 || yy2arr3502 { + if yyr3562 || yy2arr3562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3502[1] { - yym3507 := z.EncBinary() - _ = yym3507 + if yyq3562[1] { + yym3567 := z.EncBinary() + _ = yym3567 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43532,54 +44210,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3502[1] { + if yyq3562[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3508 := z.EncBinary() - _ = yym3508 + yym3568 := z.EncBinary() + _ = yym3568 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3502 || yy2arr3502 { + if yyr3562 || yy2arr3562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3502[2] { - yy3510 := &x.ListMeta - yym3511 := z.EncBinary() - _ = yym3511 + if yyq3562[2] { + yy3570 := &x.ListMeta + yym3571 := z.EncBinary() + _ = yym3571 if false { - } else if z.HasExtensions() && z.EncExt(yy3510) { + } else if z.HasExtensions() && z.EncExt(yy3570) { } else { - z.EncFallback(yy3510) + z.EncFallback(yy3570) } } else { r.EncodeNil() } } else { - if yyq3502[2] { + if yyq3562[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3512 := &x.ListMeta - yym3513 := z.EncBinary() - _ = yym3513 + yy3572 := &x.ListMeta + yym3573 := z.EncBinary() + _ = yym3573 if false { - } else if z.HasExtensions() && z.EncExt(yy3512) { + } else if z.HasExtensions() && z.EncExt(yy3572) { } else { - z.EncFallback(yy3512) + z.EncFallback(yy3572) } } } - if yyr3502 || yy2arr3502 { + if yyr3562 || yy2arr3562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3515 := z.EncBinary() - _ = yym3515 + yym3575 := z.EncBinary() + _ = yym3575 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -43592,15 +44270,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3516 := z.EncBinary() - _ = yym3516 + yym3576 := z.EncBinary() + _ = yym3576 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3502 || yy2arr3502 { + if yyr3562 || yy2arr3562 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43613,25 +44291,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3517 := z.DecBinary() - _ = yym3517 + yym3577 := z.DecBinary() + _ = yym3577 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3518 := r.ContainerType() - if yyct3518 == codecSelferValueTypeMap1234 { - yyl3518 := r.ReadMapStart() - if yyl3518 == 0 { + yyct3578 := r.ContainerType() + if yyct3578 == codecSelferValueTypeMap1234 { + yyl3578 := r.ReadMapStart() + if yyl3578 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3518, d) + x.codecDecodeSelfFromMap(yyl3578, d) } - } else if yyct3518 == codecSelferValueTypeArray1234 { - yyl3518 := r.ReadArrayStart() - if yyl3518 == 0 { + } else if yyct3578 == codecSelferValueTypeArray1234 { + yyl3578 := r.ReadArrayStart() + if yyl3578 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3518, d) + x.codecDecodeSelfFromArray(yyl3578, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43643,12 +44321,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3519Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3519Slc - var yyhl3519 bool = l >= 0 - for yyj3519 := 0; ; yyj3519++ { - if yyhl3519 { - if yyj3519 >= l { + var yys3579Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3579Slc + var yyhl3579 bool = l >= 0 + for yyj3579 := 0; ; yyj3579++ { + if yyhl3579 { + if yyj3579 >= l { break } } else { @@ -43657,10 +44335,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3519Slc = r.DecodeBytes(yys3519Slc, true, true) - yys3519 := string(yys3519Slc) + yys3579Slc = r.DecodeBytes(yys3579Slc, true, true) + yys3579 := string(yys3579Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3519 { + switch yys3579 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43677,31 +44355,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3522 := &x.ListMeta - yym3523 := z.DecBinary() - _ = yym3523 + yyv3582 := &x.ListMeta + yym3583 := z.DecBinary() + _ = yym3583 if false { - } else if z.HasExtensions() && z.DecExt(yyv3522) { + } else if z.HasExtensions() && z.DecExt(yyv3582) { } else { - z.DecFallback(yyv3522, false) + z.DecFallback(yyv3582, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3524 := &x.Items - yym3525 := z.DecBinary() - _ = yym3525 + yyv3584 := &x.Items + yym3585 := z.DecBinary() + _ = yym3585 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3524), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3584), d) } } default: - z.DecStructFieldNotFound(-1, yys3519) - } // end switch yys3519 - } // end for yyj3519 + z.DecStructFieldNotFound(-1, yys3579) + } // end switch yys3579 + } // end for yyj3579 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43709,16 +44387,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3526 int - var yyb3526 bool - var yyhl3526 bool = l >= 0 - yyj3526++ - if yyhl3526 { - yyb3526 = yyj3526 > l + var yyj3586 int + var yyb3586 bool + var yyhl3586 bool = l >= 0 + yyj3586++ + if yyhl3586 { + yyb3586 = yyj3586 > l } else { - yyb3526 = r.CheckBreak() + yyb3586 = r.CheckBreak() } - if yyb3526 { + if yyb3586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43728,13 +44406,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3526++ - if yyhl3526 { - yyb3526 = yyj3526 > l + yyj3586++ + if yyhl3586 { + yyb3586 = yyj3586 > l } else { - yyb3526 = r.CheckBreak() + yyb3586 = r.CheckBreak() } - if yyb3526 { + if yyb3586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43744,13 +44422,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3526++ - if yyhl3526 { - yyb3526 = yyj3526 > l + yyj3586++ + if yyhl3586 { + yyb3586 = yyj3586 > l } else { - yyb3526 = r.CheckBreak() + yyb3586 = r.CheckBreak() } - if yyb3526 { + if yyb3586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43758,22 +44436,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3529 := &x.ListMeta - yym3530 := z.DecBinary() - _ = yym3530 + yyv3589 := &x.ListMeta + yym3590 := z.DecBinary() + _ = yym3590 if false { - } else if z.HasExtensions() && z.DecExt(yyv3529) { + } else if z.HasExtensions() && z.DecExt(yyv3589) { } else { - z.DecFallback(yyv3529, false) + z.DecFallback(yyv3589, false) } } - yyj3526++ - if yyhl3526 { - yyb3526 = yyj3526 > l + yyj3586++ + if yyhl3586 { + yyb3586 = yyj3586 > l } else { - yyb3526 = r.CheckBreak() + yyb3586 = r.CheckBreak() } - if yyb3526 { + if yyb3586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43781,26 +44459,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3531 := &x.Items - yym3532 := z.DecBinary() - _ = yym3532 + yyv3591 := &x.Items + yym3592 := z.DecBinary() + _ = yym3592 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3531), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3591), d) } } for { - yyj3526++ - if yyhl3526 { - yyb3526 = yyj3526 > l + yyj3586++ + if yyhl3586 { + yyb3586 = yyj3586 > l } else { - yyb3526 = r.CheckBreak() + yyb3586 = r.CheckBreak() } - if yyb3526 { + if yyb3586 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3526-1, "") + z.DecStructFieldNotFound(yyj3586-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43812,37 +44490,37 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3533 := z.EncBinary() - _ = yym3533 + yym3593 := z.EncBinary() + _ = yym3593 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3534 := !z.EncBinary() - yy2arr3534 := z.EncBasicHandle().StructToArray - var yyq3534 [5]bool - _, _, _ = yysep3534, yyq3534, yy2arr3534 - const yyr3534 bool = false - yyq3534[0] = x.Capabilities != nil - yyq3534[1] = x.Privileged != nil - yyq3534[2] = x.SELinuxOptions != nil - yyq3534[3] = x.RunAsUser != nil - yyq3534[4] = x.RunAsNonRoot != nil - var yynn3534 int - if yyr3534 || yy2arr3534 { + yysep3594 := !z.EncBinary() + yy2arr3594 := z.EncBasicHandle().StructToArray + var yyq3594 [5]bool + _, _, _ = yysep3594, yyq3594, yy2arr3594 + const yyr3594 bool = false + yyq3594[0] = x.Capabilities != nil + yyq3594[1] = x.Privileged != nil + yyq3594[2] = x.SELinuxOptions != nil + yyq3594[3] = x.RunAsUser != nil + yyq3594[4] = x.RunAsNonRoot != nil + var yynn3594 int + if yyr3594 || yy2arr3594 { r.EncodeArrayStart(5) } else { - yynn3534 = 0 - for _, b := range yyq3534 { + yynn3594 = 0 + for _, b := range yyq3594 { if b { - yynn3534++ + yynn3594++ } } - r.EncodeMapStart(yynn3534) - yynn3534 = 0 + r.EncodeMapStart(yynn3594) + yynn3594 = 0 } - if yyr3534 || yy2arr3534 { + if yyr3594 || yy2arr3594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3534[0] { + if yyq3594[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -43852,7 +44530,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3534[0] { + if yyq3594[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -43863,44 +44541,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3534 || yy2arr3534 { + if yyr3594 || yy2arr3594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3534[1] { + if yyq3594[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy3537 := *x.Privileged - yym3538 := z.EncBinary() - _ = yym3538 + yy3597 := *x.Privileged + yym3598 := z.EncBinary() + _ = yym3598 if false { } else { - r.EncodeBool(bool(yy3537)) + r.EncodeBool(bool(yy3597)) } } } else { r.EncodeNil() } } else { - if yyq3534[1] { + if yyq3594[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy3539 := *x.Privileged - yym3540 := z.EncBinary() - _ = yym3540 + yy3599 := *x.Privileged + yym3600 := z.EncBinary() + _ = yym3600 if false { } else { - r.EncodeBool(bool(yy3539)) + r.EncodeBool(bool(yy3599)) } } } } - if yyr3534 || yy2arr3534 { + if yyr3594 || yy2arr3594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3534[2] { + if yyq3594[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -43910,7 +44588,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3534[2] { + if yyq3594[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -43921,77 +44599,77 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3534 || yy2arr3534 { + if yyr3594 || yy2arr3594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3534[3] { + if yyq3594[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy3543 := *x.RunAsUser - yym3544 := z.EncBinary() - _ = yym3544 + yy3603 := *x.RunAsUser + yym3604 := z.EncBinary() + _ = yym3604 if false { } else { - r.EncodeInt(int64(yy3543)) + r.EncodeInt(int64(yy3603)) } } } else { r.EncodeNil() } } else { - if yyq3534[3] { + if yyq3594[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy3545 := *x.RunAsUser - yym3546 := z.EncBinary() - _ = yym3546 + yy3605 := *x.RunAsUser + yym3606 := z.EncBinary() + _ = yym3606 if false { } else { - r.EncodeInt(int64(yy3545)) + r.EncodeInt(int64(yy3605)) } } } } - if yyr3534 || yy2arr3534 { + if yyr3594 || yy2arr3594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3534[4] { + if yyq3594[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3548 := *x.RunAsNonRoot - yym3549 := z.EncBinary() - _ = yym3549 + yy3608 := *x.RunAsNonRoot + yym3609 := z.EncBinary() + _ = yym3609 if false { } else { - r.EncodeBool(bool(yy3548)) + r.EncodeBool(bool(yy3608)) } } } else { r.EncodeNil() } } else { - if yyq3534[4] { + if yyq3594[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3550 := *x.RunAsNonRoot - yym3551 := z.EncBinary() - _ = yym3551 + yy3610 := *x.RunAsNonRoot + yym3611 := z.EncBinary() + _ = yym3611 if false { } else { - r.EncodeBool(bool(yy3550)) + r.EncodeBool(bool(yy3610)) } } } } - if yyr3534 || yy2arr3534 { + if yyr3594 || yy2arr3594 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44004,25 +44682,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3552 := z.DecBinary() - _ = yym3552 + yym3612 := z.DecBinary() + _ = yym3612 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3553 := r.ContainerType() - if yyct3553 == codecSelferValueTypeMap1234 { - yyl3553 := r.ReadMapStart() - if yyl3553 == 0 { + yyct3613 := r.ContainerType() + if yyct3613 == codecSelferValueTypeMap1234 { + yyl3613 := r.ReadMapStart() + if yyl3613 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3553, d) + x.codecDecodeSelfFromMap(yyl3613, d) } - } else if yyct3553 == codecSelferValueTypeArray1234 { - yyl3553 := r.ReadArrayStart() - if yyl3553 == 0 { + } else if yyct3613 == codecSelferValueTypeArray1234 { + yyl3613 := r.ReadArrayStart() + if yyl3613 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3553, d) + x.codecDecodeSelfFromArray(yyl3613, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44034,12 +44712,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3554Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3554Slc - var yyhl3554 bool = l >= 0 - for yyj3554 := 0; ; yyj3554++ { - if yyhl3554 { - if yyj3554 >= l { + var yys3614Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3614Slc + var yyhl3614 bool = l >= 0 + for yyj3614 := 0; ; yyj3614++ { + if yyhl3614 { + if yyj3614 >= l { break } } else { @@ -44048,10 +44726,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3554Slc = r.DecodeBytes(yys3554Slc, true, true) - yys3554 := string(yys3554Slc) + yys3614Slc = r.DecodeBytes(yys3614Slc, true, true) + yys3614 := string(yys3614Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3554 { + switch yys3614 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -44072,8 +44750,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3557 := z.DecBinary() - _ = yym3557 + yym3617 := z.DecBinary() + _ = yym3617 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -44099,8 +44777,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3560 := z.DecBinary() - _ = yym3560 + yym3620 := z.DecBinary() + _ = yym3620 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -44115,17 +44793,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3562 := z.DecBinary() - _ = yym3562 + yym3622 := z.DecBinary() + _ = yym3622 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3554) - } // end switch yys3554 - } // end for yyj3554 + z.DecStructFieldNotFound(-1, yys3614) + } // end switch yys3614 + } // end for yyj3614 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44133,16 +44811,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3563 int - var yyb3563 bool - var yyhl3563 bool = l >= 0 - yyj3563++ - if yyhl3563 { - yyb3563 = yyj3563 > l + var yyj3623 int + var yyb3623 bool + var yyhl3623 bool = l >= 0 + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3563 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3563 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44157,13 +44835,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3563++ - if yyhl3563 { - yyb3563 = yyj3563 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3563 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3563 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44176,20 +44854,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3566 := z.DecBinary() - _ = yym3566 + yym3626 := z.DecBinary() + _ = yym3626 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3563++ - if yyhl3563 { - yyb3563 = yyj3563 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3563 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3563 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44204,13 +44882,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3563++ - if yyhl3563 { - yyb3563 = yyj3563 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3563 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3563 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44223,20 +44901,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3569 := z.DecBinary() - _ = yym3569 + yym3629 := z.DecBinary() + _ = yym3629 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3563++ - if yyhl3563 { - yyb3563 = yyj3563 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3563 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3563 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44249,25 +44927,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3571 := z.DecBinary() - _ = yym3571 + yym3631 := z.DecBinary() + _ = yym3631 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3563++ - if yyhl3563 { - yyb3563 = yyj3563 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3563 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3563 { + if yyb3623 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3563-1, "") + z.DecStructFieldNotFound(yyj3623-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44279,38 +44957,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3572 := z.EncBinary() - _ = yym3572 + yym3632 := z.EncBinary() + _ = yym3632 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3573 := !z.EncBinary() - yy2arr3573 := z.EncBasicHandle().StructToArray - var yyq3573 [4]bool - _, _, _ = yysep3573, yyq3573, yy2arr3573 - const yyr3573 bool = false - yyq3573[0] = x.User != "" - yyq3573[1] = x.Role != "" - yyq3573[2] = x.Type != "" - yyq3573[3] = x.Level != "" - var yynn3573 int - if yyr3573 || yy2arr3573 { + yysep3633 := !z.EncBinary() + yy2arr3633 := z.EncBasicHandle().StructToArray + var yyq3633 [4]bool + _, _, _ = yysep3633, yyq3633, yy2arr3633 + const yyr3633 bool = false + yyq3633[0] = x.User != "" + yyq3633[1] = x.Role != "" + yyq3633[2] = x.Type != "" + yyq3633[3] = x.Level != "" + var yynn3633 int + if yyr3633 || yy2arr3633 { r.EncodeArrayStart(4) } else { - yynn3573 = 0 - for _, b := range yyq3573 { + yynn3633 = 0 + for _, b := range yyq3633 { if b { - yynn3573++ + yynn3633++ } } - r.EncodeMapStart(yynn3573) - yynn3573 = 0 + r.EncodeMapStart(yynn3633) + yynn3633 = 0 } - if yyr3573 || yy2arr3573 { + if yyr3633 || yy2arr3633 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3573[0] { - yym3575 := z.EncBinary() - _ = yym3575 + if yyq3633[0] { + yym3635 := z.EncBinary() + _ = yym3635 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -44319,23 +44997,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3573[0] { + if yyq3633[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3576 := z.EncBinary() - _ = yym3576 + yym3636 := z.EncBinary() + _ = yym3636 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3573 || yy2arr3573 { + if yyr3633 || yy2arr3633 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3573[1] { - yym3578 := z.EncBinary() - _ = yym3578 + if yyq3633[1] { + yym3638 := z.EncBinary() + _ = yym3638 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -44344,23 +45022,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3573[1] { + if yyq3633[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3579 := z.EncBinary() - _ = yym3579 + yym3639 := z.EncBinary() + _ = yym3639 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3573 || yy2arr3573 { + if yyr3633 || yy2arr3633 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3573[2] { - yym3581 := z.EncBinary() - _ = yym3581 + if yyq3633[2] { + yym3641 := z.EncBinary() + _ = yym3641 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -44369,23 +45047,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3573[2] { + if yyq3633[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3582 := z.EncBinary() - _ = yym3582 + yym3642 := z.EncBinary() + _ = yym3642 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3573 || yy2arr3573 { + if yyr3633 || yy2arr3633 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3573[3] { - yym3584 := z.EncBinary() - _ = yym3584 + if yyq3633[3] { + yym3644 := z.EncBinary() + _ = yym3644 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -44394,19 +45072,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3573[3] { + if yyq3633[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3585 := z.EncBinary() - _ = yym3585 + yym3645 := z.EncBinary() + _ = yym3645 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3573 || yy2arr3573 { + if yyr3633 || yy2arr3633 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44419,25 +45097,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3586 := z.DecBinary() - _ = yym3586 + yym3646 := z.DecBinary() + _ = yym3646 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3587 := r.ContainerType() - if yyct3587 == codecSelferValueTypeMap1234 { - yyl3587 := r.ReadMapStart() - if yyl3587 == 0 { + yyct3647 := r.ContainerType() + if yyct3647 == codecSelferValueTypeMap1234 { + yyl3647 := r.ReadMapStart() + if yyl3647 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3587, d) + x.codecDecodeSelfFromMap(yyl3647, d) } - } else if yyct3587 == codecSelferValueTypeArray1234 { - yyl3587 := r.ReadArrayStart() - if yyl3587 == 0 { + } else if yyct3647 == codecSelferValueTypeArray1234 { + yyl3647 := r.ReadArrayStart() + if yyl3647 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3587, d) + x.codecDecodeSelfFromArray(yyl3647, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44449,12 +45127,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3588Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3588Slc - var yyhl3588 bool = l >= 0 - for yyj3588 := 0; ; yyj3588++ { - if yyhl3588 { - if yyj3588 >= l { + var yys3648Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3648Slc + var yyhl3648 bool = l >= 0 + for yyj3648 := 0; ; yyj3648++ { + if yyhl3648 { + if yyj3648 >= l { break } } else { @@ -44463,10 +45141,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3588Slc = r.DecodeBytes(yys3588Slc, true, true) - yys3588 := string(yys3588Slc) + yys3648Slc = r.DecodeBytes(yys3648Slc, true, true) + yys3648 := string(yys3648Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3588 { + switch yys3648 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -44492,9 +45170,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3588) - } // end switch yys3588 - } // end for yyj3588 + z.DecStructFieldNotFound(-1, yys3648) + } // end switch yys3648 + } // end for yyj3648 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44502,16 +45180,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3593 int - var yyb3593 bool - var yyhl3593 bool = l >= 0 - yyj3593++ - if yyhl3593 { - yyb3593 = yyj3593 > l + var yyj3653 int + var yyb3653 bool + var yyhl3653 bool = l >= 0 + yyj3653++ + if yyhl3653 { + yyb3653 = yyj3653 > l } else { - yyb3593 = r.CheckBreak() + yyb3653 = r.CheckBreak() } - if yyb3593 { + if yyb3653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44521,13 +45199,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3593++ - if yyhl3593 { - yyb3593 = yyj3593 > l + yyj3653++ + if yyhl3653 { + yyb3653 = yyj3653 > l } else { - yyb3593 = r.CheckBreak() + yyb3653 = r.CheckBreak() } - if yyb3593 { + if yyb3653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44537,13 +45215,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3593++ - if yyhl3593 { - yyb3593 = yyj3593 > l + yyj3653++ + if yyhl3653 { + yyb3653 = yyj3653 > l } else { - yyb3593 = r.CheckBreak() + yyb3653 = r.CheckBreak() } - if yyb3593 { + if yyb3653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44553,13 +45231,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3593++ - if yyhl3593 { - yyb3593 = yyj3593 > l + yyj3653++ + if yyhl3653 { + yyb3653 = yyj3653 > l } else { - yyb3593 = r.CheckBreak() + yyb3653 = r.CheckBreak() } - if yyb3593 { + if yyb3653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44570,17 +45248,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3593++ - if yyhl3593 { - yyb3593 = yyj3593 > l + yyj3653++ + if yyhl3653 { + yyb3653 = yyj3653 > l } else { - yyb3593 = r.CheckBreak() + yyb3653 = r.CheckBreak() } - if yyb3593 { + if yyb3653 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3593-1, "") + z.DecStructFieldNotFound(yyj3653-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44592,37 +45270,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3598 := z.EncBinary() - _ = yym3598 + yym3658 := z.EncBinary() + _ = yym3658 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3599 := !z.EncBinary() - yy2arr3599 := z.EncBasicHandle().StructToArray - var yyq3599 [5]bool - _, _, _ = yysep3599, yyq3599, yy2arr3599 - const yyr3599 bool = false - yyq3599[0] = x.Kind != "" - yyq3599[1] = x.APIVersion != "" - yyq3599[2] = true - var yynn3599 int - if yyr3599 || yy2arr3599 { + yysep3659 := !z.EncBinary() + yy2arr3659 := z.EncBasicHandle().StructToArray + var yyq3659 [5]bool + _, _, _ = yysep3659, yyq3659, yy2arr3659 + const yyr3659 bool = false + yyq3659[0] = x.Kind != "" + yyq3659[1] = x.APIVersion != "" + yyq3659[2] = true + var yynn3659 int + if yyr3659 || yy2arr3659 { r.EncodeArrayStart(5) } else { - yynn3599 = 2 - for _, b := range yyq3599 { + yynn3659 = 2 + for _, b := range yyq3659 { if b { - yynn3599++ + yynn3659++ } } - r.EncodeMapStart(yynn3599) - yynn3599 = 0 + r.EncodeMapStart(yynn3659) + yynn3659 = 0 } - if yyr3599 || yy2arr3599 { + if yyr3659 || yy2arr3659 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3599[0] { - yym3601 := z.EncBinary() - _ = yym3601 + if yyq3659[0] { + yym3661 := z.EncBinary() + _ = yym3661 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44631,23 +45309,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3599[0] { + if yyq3659[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3602 := z.EncBinary() - _ = yym3602 + yym3662 := z.EncBinary() + _ = yym3662 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3599 || yy2arr3599 { + if yyr3659 || yy2arr3659 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3599[1] { - yym3604 := z.EncBinary() - _ = yym3604 + if yyq3659[1] { + yym3664 := z.EncBinary() + _ = yym3664 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44656,39 +45334,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3599[1] { + if yyq3659[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3605 := z.EncBinary() - _ = yym3605 + yym3665 := z.EncBinary() + _ = yym3665 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3599 || yy2arr3599 { + if yyr3659 || yy2arr3659 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3599[2] { - yy3607 := &x.ObjectMeta - yy3607.CodecEncodeSelf(e) + if yyq3659[2] { + yy3667 := &x.ObjectMeta + yy3667.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3599[2] { + if yyq3659[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3608 := &x.ObjectMeta - yy3608.CodecEncodeSelf(e) + yy3668 := &x.ObjectMeta + yy3668.CodecEncodeSelf(e) } } - if yyr3599 || yy2arr3599 { + if yyr3659 || yy2arr3659 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3610 := z.EncBinary() - _ = yym3610 + yym3670 := z.EncBinary() + _ = yym3670 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -44697,20 +45375,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3611 := z.EncBinary() - _ = yym3611 + yym3671 := z.EncBinary() + _ = yym3671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3599 || yy2arr3599 { + if yyr3659 || yy2arr3659 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3613 := z.EncBinary() - _ = yym3613 + yym3673 := z.EncBinary() + _ = yym3673 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -44723,15 +45401,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3614 := z.EncBinary() - _ = yym3614 + yym3674 := z.EncBinary() + _ = yym3674 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3599 || yy2arr3599 { + if yyr3659 || yy2arr3659 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44744,25 +45422,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3615 := z.DecBinary() - _ = yym3615 + yym3675 := z.DecBinary() + _ = yym3675 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3616 := r.ContainerType() - if yyct3616 == codecSelferValueTypeMap1234 { - yyl3616 := r.ReadMapStart() - if yyl3616 == 0 { + yyct3676 := r.ContainerType() + if yyct3676 == codecSelferValueTypeMap1234 { + yyl3676 := r.ReadMapStart() + if yyl3676 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3616, d) + x.codecDecodeSelfFromMap(yyl3676, d) } - } else if yyct3616 == codecSelferValueTypeArray1234 { - yyl3616 := r.ReadArrayStart() - if yyl3616 == 0 { + } else if yyct3676 == codecSelferValueTypeArray1234 { + yyl3676 := r.ReadArrayStart() + if yyl3676 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3616, d) + x.codecDecodeSelfFromArray(yyl3676, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44774,12 +45452,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3617Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3617Slc - var yyhl3617 bool = l >= 0 - for yyj3617 := 0; ; yyj3617++ { - if yyhl3617 { - if yyj3617 >= l { + var yys3677Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3677Slc + var yyhl3677 bool = l >= 0 + for yyj3677 := 0; ; yyj3677++ { + if yyhl3677 { + if yyj3677 >= l { break } } else { @@ -44788,10 +45466,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3617Slc = r.DecodeBytes(yys3617Slc, true, true) - yys3617 := string(yys3617Slc) + yys3677Slc = r.DecodeBytes(yys3677Slc, true, true) + yys3677 := string(yys3677Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3617 { + switch yys3677 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44808,8 +45486,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3620 := &x.ObjectMeta - yyv3620.CodecDecodeSelf(d) + yyv3680 := &x.ObjectMeta + yyv3680.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -44821,18 +45499,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3622 := &x.Data - yym3623 := z.DecBinary() - _ = yym3623 + yyv3682 := &x.Data + yym3683 := z.DecBinary() + _ = yym3683 if false { } else { - *yyv3622 = r.DecodeBytes(*(*[]byte)(yyv3622), false, false) + *yyv3682 = r.DecodeBytes(*(*[]byte)(yyv3682), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3617) - } // end switch yys3617 - } // end for yyj3617 + z.DecStructFieldNotFound(-1, yys3677) + } // end switch yys3677 + } // end for yyj3677 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44840,16 +45518,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3624 int - var yyb3624 bool - var yyhl3624 bool = l >= 0 - yyj3624++ - if yyhl3624 { - yyb3624 = yyj3624 > l + var yyj3684 int + var yyb3684 bool + var yyhl3684 bool = l >= 0 + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb3624 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb3624 { + if yyb3684 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44859,13 +45537,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3624++ - if yyhl3624 { - yyb3624 = yyj3624 > l + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb3624 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb3624 { + if yyb3684 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44875,13 +45553,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3624++ - if yyhl3624 { - yyb3624 = yyj3624 > l + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb3624 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb3624 { + if yyb3684 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44889,16 +45567,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3627 := &x.ObjectMeta - yyv3627.CodecDecodeSelf(d) + yyv3687 := &x.ObjectMeta + yyv3687.CodecDecodeSelf(d) } - yyj3624++ - if yyhl3624 { - yyb3624 = yyj3624 > l + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb3624 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb3624 { + if yyb3684 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44908,13 +45586,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3624++ - if yyhl3624 { - yyb3624 = yyj3624 > l + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb3624 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb3624 { + if yyb3684 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44922,26 +45600,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3629 := &x.Data - yym3630 := z.DecBinary() - _ = yym3630 + yyv3689 := &x.Data + yym3690 := z.DecBinary() + _ = yym3690 if false { } else { - *yyv3629 = r.DecodeBytes(*(*[]byte)(yyv3629), false, false) + *yyv3689 = r.DecodeBytes(*(*[]byte)(yyv3689), false, false) } } for { - yyj3624++ - if yyhl3624 { - yyb3624 = yyj3624 > l + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb3624 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb3624 { + if yyb3684 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3624-1, "") + z.DecStructFieldNotFound(yyj3684-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44951,9 +45629,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3631 := range v { + for _, yyv3691 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3631.CodecEncodeSelf(e) + yyv3691.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44963,75 +45641,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3632 := *v - yyh3632, yyl3632 := z.DecSliceHelperStart() - var yyc3632 bool - if yyl3632 == 0 { - if yyv3632 == nil { - yyv3632 = []PersistentVolumeAccessMode{} - yyc3632 = true - } else if len(yyv3632) != 0 { - yyv3632 = yyv3632[:0] - yyc3632 = true + yyv3692 := *v + yyh3692, yyl3692 := z.DecSliceHelperStart() + var yyc3692 bool + if yyl3692 == 0 { + if yyv3692 == nil { + yyv3692 = []PersistentVolumeAccessMode{} + yyc3692 = true + } else if len(yyv3692) != 0 { + yyv3692 = yyv3692[:0] + yyc3692 = true } - } else if yyl3632 > 0 { - var yyrr3632, yyrl3632 int - var yyrt3632 bool - if yyl3632 > cap(yyv3632) { + } else if yyl3692 > 0 { + var yyrr3692, yyrl3692 int + var yyrt3692 bool + if yyl3692 > cap(yyv3692) { - yyrl3632, yyrt3632 = z.DecInferLen(yyl3632, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3632 { - if yyrl3632 <= cap(yyv3632) { - yyv3632 = yyv3632[:yyrl3632] + yyrl3692, yyrt3692 = z.DecInferLen(yyl3692, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3692 { + if yyrl3692 <= cap(yyv3692) { + yyv3692 = yyv3692[:yyrl3692] } else { - yyv3632 = make([]PersistentVolumeAccessMode, yyrl3632) + yyv3692 = make([]PersistentVolumeAccessMode, yyrl3692) } } else { - yyv3632 = make([]PersistentVolumeAccessMode, yyrl3632) + yyv3692 = make([]PersistentVolumeAccessMode, yyrl3692) } - yyc3632 = true - yyrr3632 = len(yyv3632) - } else if yyl3632 != len(yyv3632) { - yyv3632 = yyv3632[:yyl3632] - yyc3632 = true + yyc3692 = true + yyrr3692 = len(yyv3692) + } else if yyl3692 != len(yyv3692) { + yyv3692 = yyv3692[:yyl3692] + yyc3692 = true } - yyj3632 := 0 - for ; yyj3632 < yyrr3632; yyj3632++ { - yyh3632.ElemContainerState(yyj3632) + yyj3692 := 0 + for ; yyj3692 < yyrr3692; yyj3692++ { + yyh3692.ElemContainerState(yyj3692) if r.TryDecodeAsNil() { - yyv3632[yyj3632] = "" + yyv3692[yyj3692] = "" } else { - yyv3632[yyj3632] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3692[yyj3692] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3632 { - for ; yyj3632 < yyl3632; yyj3632++ { - yyv3632 = append(yyv3632, "") - yyh3632.ElemContainerState(yyj3632) + if yyrt3692 { + for ; yyj3692 < yyl3692; yyj3692++ { + yyv3692 = append(yyv3692, "") + yyh3692.ElemContainerState(yyj3692) if r.TryDecodeAsNil() { - yyv3632[yyj3632] = "" + yyv3692[yyj3692] = "" } else { - yyv3632[yyj3632] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3692[yyj3692] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3632 := 0 - for ; !r.CheckBreak(); yyj3632++ { + yyj3692 := 0 + for ; !r.CheckBreak(); yyj3692++ { - if yyj3632 >= len(yyv3632) { - yyv3632 = append(yyv3632, "") // var yyz3632 PersistentVolumeAccessMode - yyc3632 = true + if yyj3692 >= len(yyv3692) { + yyv3692 = append(yyv3692, "") // var yyz3692 PersistentVolumeAccessMode + yyc3692 = true } - yyh3632.ElemContainerState(yyj3632) - if yyj3632 < len(yyv3632) { + yyh3692.ElemContainerState(yyj3692) + if yyj3692 < len(yyv3692) { if r.TryDecodeAsNil() { - yyv3632[yyj3632] = "" + yyv3692[yyj3692] = "" } else { - yyv3632[yyj3632] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3692[yyj3692] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -45039,17 +45717,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3632 < len(yyv3632) { - yyv3632 = yyv3632[:yyj3632] - yyc3632 = true - } else if yyj3632 == 0 && yyv3632 == nil { - yyv3632 = []PersistentVolumeAccessMode{} - yyc3632 = true + if yyj3692 < len(yyv3692) { + yyv3692 = yyv3692[:yyj3692] + yyc3692 = true + } else if yyj3692 == 0 && yyv3692 == nil { + yyv3692 = []PersistentVolumeAccessMode{} + yyc3692 = true } } - yyh3632.End() - if yyc3632 { - *v = yyv3632 + yyh3692.End() + if yyc3692 { + *v = yyv3692 } } @@ -45058,10 +45736,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3636 := range v { + for _, yyv3696 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3637 := &yyv3636 - yy3637.CodecEncodeSelf(e) + yy3697 := &yyv3696 + yy3697.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45071,83 +45749,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3638 := *v - yyh3638, yyl3638 := z.DecSliceHelperStart() - var yyc3638 bool - if yyl3638 == 0 { - if yyv3638 == nil { - yyv3638 = []PersistentVolume{} - yyc3638 = true - } else if len(yyv3638) != 0 { - yyv3638 = yyv3638[:0] - yyc3638 = true + yyv3698 := *v + yyh3698, yyl3698 := z.DecSliceHelperStart() + var yyc3698 bool + if yyl3698 == 0 { + if yyv3698 == nil { + yyv3698 = []PersistentVolume{} + yyc3698 = true + } else if len(yyv3698) != 0 { + yyv3698 = yyv3698[:0] + yyc3698 = true } - } else if yyl3638 > 0 { - var yyrr3638, yyrl3638 int - var yyrt3638 bool - if yyl3638 > cap(yyv3638) { + } else if yyl3698 > 0 { + var yyrr3698, yyrl3698 int + var yyrt3698 bool + if yyl3698 > cap(yyv3698) { - yyrg3638 := len(yyv3638) > 0 - yyv23638 := yyv3638 - yyrl3638, yyrt3638 = z.DecInferLen(yyl3638, z.DecBasicHandle().MaxInitLen, 392) - if yyrt3638 { - if yyrl3638 <= cap(yyv3638) { - yyv3638 = yyv3638[:yyrl3638] + yyrg3698 := len(yyv3698) > 0 + yyv23698 := yyv3698 + yyrl3698, yyrt3698 = z.DecInferLen(yyl3698, z.DecBasicHandle().MaxInitLen, 392) + if yyrt3698 { + if yyrl3698 <= cap(yyv3698) { + yyv3698 = yyv3698[:yyrl3698] } else { - yyv3638 = make([]PersistentVolume, yyrl3638) + yyv3698 = make([]PersistentVolume, yyrl3698) } } else { - yyv3638 = make([]PersistentVolume, yyrl3638) + yyv3698 = make([]PersistentVolume, yyrl3698) } - yyc3638 = true - yyrr3638 = len(yyv3638) - if yyrg3638 { - copy(yyv3638, yyv23638) + yyc3698 = true + yyrr3698 = len(yyv3698) + if yyrg3698 { + copy(yyv3698, yyv23698) } - } else if yyl3638 != len(yyv3638) { - yyv3638 = yyv3638[:yyl3638] - yyc3638 = true + } else if yyl3698 != len(yyv3698) { + yyv3698 = yyv3698[:yyl3698] + yyc3698 = true } - yyj3638 := 0 - for ; yyj3638 < yyrr3638; yyj3638++ { - yyh3638.ElemContainerState(yyj3638) + yyj3698 := 0 + for ; yyj3698 < yyrr3698; yyj3698++ { + yyh3698.ElemContainerState(yyj3698) if r.TryDecodeAsNil() { - yyv3638[yyj3638] = PersistentVolume{} + yyv3698[yyj3698] = PersistentVolume{} } else { - yyv3639 := &yyv3638[yyj3638] - yyv3639.CodecDecodeSelf(d) + yyv3699 := &yyv3698[yyj3698] + yyv3699.CodecDecodeSelf(d) } } - if yyrt3638 { - for ; yyj3638 < yyl3638; yyj3638++ { - yyv3638 = append(yyv3638, PersistentVolume{}) - yyh3638.ElemContainerState(yyj3638) + if yyrt3698 { + for ; yyj3698 < yyl3698; yyj3698++ { + yyv3698 = append(yyv3698, PersistentVolume{}) + yyh3698.ElemContainerState(yyj3698) if r.TryDecodeAsNil() { - yyv3638[yyj3638] = PersistentVolume{} + yyv3698[yyj3698] = PersistentVolume{} } else { - yyv3640 := &yyv3638[yyj3638] - yyv3640.CodecDecodeSelf(d) + yyv3700 := &yyv3698[yyj3698] + yyv3700.CodecDecodeSelf(d) } } } } else { - yyj3638 := 0 - for ; !r.CheckBreak(); yyj3638++ { + yyj3698 := 0 + for ; !r.CheckBreak(); yyj3698++ { - if yyj3638 >= len(yyv3638) { - yyv3638 = append(yyv3638, PersistentVolume{}) // var yyz3638 PersistentVolume - yyc3638 = true + if yyj3698 >= len(yyv3698) { + yyv3698 = append(yyv3698, PersistentVolume{}) // var yyz3698 PersistentVolume + yyc3698 = true } - yyh3638.ElemContainerState(yyj3638) - if yyj3638 < len(yyv3638) { + yyh3698.ElemContainerState(yyj3698) + if yyj3698 < len(yyv3698) { if r.TryDecodeAsNil() { - yyv3638[yyj3638] = PersistentVolume{} + yyv3698[yyj3698] = PersistentVolume{} } else { - yyv3641 := &yyv3638[yyj3638] - yyv3641.CodecDecodeSelf(d) + yyv3701 := &yyv3698[yyj3698] + yyv3701.CodecDecodeSelf(d) } } else { @@ -45155,17 +45833,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3638 < len(yyv3638) { - yyv3638 = yyv3638[:yyj3638] - yyc3638 = true - } else if yyj3638 == 0 && yyv3638 == nil { - yyv3638 = []PersistentVolume{} - yyc3638 = true + if yyj3698 < len(yyv3698) { + yyv3698 = yyv3698[:yyj3698] + yyc3698 = true + } else if yyj3698 == 0 && yyv3698 == nil { + yyv3698 = []PersistentVolume{} + yyc3698 = true } } - yyh3638.End() - if yyc3638 { - *v = yyv3638 + yyh3698.End() + if yyc3698 { + *v = yyv3698 } } @@ -45174,10 +45852,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3642 := range v { + for _, yyv3702 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3643 := &yyv3642 - yy3643.CodecEncodeSelf(e) + yy3703 := &yyv3702 + yy3703.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45187,83 +45865,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3644 := *v - yyh3644, yyl3644 := z.DecSliceHelperStart() - var yyc3644 bool - if yyl3644 == 0 { - if yyv3644 == nil { - yyv3644 = []PersistentVolumeClaim{} - yyc3644 = true - } else if len(yyv3644) != 0 { - yyv3644 = yyv3644[:0] - yyc3644 = true + yyv3704 := *v + yyh3704, yyl3704 := z.DecSliceHelperStart() + var yyc3704 bool + if yyl3704 == 0 { + if yyv3704 == nil { + yyv3704 = []PersistentVolumeClaim{} + yyc3704 = true + } else if len(yyv3704) != 0 { + yyv3704 = yyv3704[:0] + yyc3704 = true } - } else if yyl3644 > 0 { - var yyrr3644, yyrl3644 int - var yyrt3644 bool - if yyl3644 > cap(yyv3644) { + } else if yyl3704 > 0 { + var yyrr3704, yyrl3704 int + var yyrt3704 bool + if yyl3704 > cap(yyv3704) { - yyrg3644 := len(yyv3644) > 0 - yyv23644 := yyv3644 - yyrl3644, yyrt3644 = z.DecInferLen(yyl3644, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3644 { - if yyrl3644 <= cap(yyv3644) { - yyv3644 = yyv3644[:yyrl3644] + yyrg3704 := len(yyv3704) > 0 + yyv23704 := yyv3704 + yyrl3704, yyrt3704 = z.DecInferLen(yyl3704, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3704 { + if yyrl3704 <= cap(yyv3704) { + yyv3704 = yyv3704[:yyrl3704] } else { - yyv3644 = make([]PersistentVolumeClaim, yyrl3644) + yyv3704 = make([]PersistentVolumeClaim, yyrl3704) } } else { - yyv3644 = make([]PersistentVolumeClaim, yyrl3644) + yyv3704 = make([]PersistentVolumeClaim, yyrl3704) } - yyc3644 = true - yyrr3644 = len(yyv3644) - if yyrg3644 { - copy(yyv3644, yyv23644) + yyc3704 = true + yyrr3704 = len(yyv3704) + if yyrg3704 { + copy(yyv3704, yyv23704) } - } else if yyl3644 != len(yyv3644) { - yyv3644 = yyv3644[:yyl3644] - yyc3644 = true + } else if yyl3704 != len(yyv3704) { + yyv3704 = yyv3704[:yyl3704] + yyc3704 = true } - yyj3644 := 0 - for ; yyj3644 < yyrr3644; yyj3644++ { - yyh3644.ElemContainerState(yyj3644) + yyj3704 := 0 + for ; yyj3704 < yyrr3704; yyj3704++ { + yyh3704.ElemContainerState(yyj3704) if r.TryDecodeAsNil() { - yyv3644[yyj3644] = PersistentVolumeClaim{} + yyv3704[yyj3704] = PersistentVolumeClaim{} } else { - yyv3645 := &yyv3644[yyj3644] - yyv3645.CodecDecodeSelf(d) + yyv3705 := &yyv3704[yyj3704] + yyv3705.CodecDecodeSelf(d) } } - if yyrt3644 { - for ; yyj3644 < yyl3644; yyj3644++ { - yyv3644 = append(yyv3644, PersistentVolumeClaim{}) - yyh3644.ElemContainerState(yyj3644) + if yyrt3704 { + for ; yyj3704 < yyl3704; yyj3704++ { + yyv3704 = append(yyv3704, PersistentVolumeClaim{}) + yyh3704.ElemContainerState(yyj3704) if r.TryDecodeAsNil() { - yyv3644[yyj3644] = PersistentVolumeClaim{} + yyv3704[yyj3704] = PersistentVolumeClaim{} } else { - yyv3646 := &yyv3644[yyj3644] - yyv3646.CodecDecodeSelf(d) + yyv3706 := &yyv3704[yyj3704] + yyv3706.CodecDecodeSelf(d) } } } } else { - yyj3644 := 0 - for ; !r.CheckBreak(); yyj3644++ { + yyj3704 := 0 + for ; !r.CheckBreak(); yyj3704++ { - if yyj3644 >= len(yyv3644) { - yyv3644 = append(yyv3644, PersistentVolumeClaim{}) // var yyz3644 PersistentVolumeClaim - yyc3644 = true + if yyj3704 >= len(yyv3704) { + yyv3704 = append(yyv3704, PersistentVolumeClaim{}) // var yyz3704 PersistentVolumeClaim + yyc3704 = true } - yyh3644.ElemContainerState(yyj3644) - if yyj3644 < len(yyv3644) { + yyh3704.ElemContainerState(yyj3704) + if yyj3704 < len(yyv3704) { if r.TryDecodeAsNil() { - yyv3644[yyj3644] = PersistentVolumeClaim{} + yyv3704[yyj3704] = PersistentVolumeClaim{} } else { - yyv3647 := &yyv3644[yyj3644] - yyv3647.CodecDecodeSelf(d) + yyv3707 := &yyv3704[yyj3704] + yyv3707.CodecDecodeSelf(d) } } else { @@ -45271,17 +45949,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3644 < len(yyv3644) { - yyv3644 = yyv3644[:yyj3644] - yyc3644 = true - } else if yyj3644 == 0 && yyv3644 == nil { - yyv3644 = []PersistentVolumeClaim{} - yyc3644 = true + if yyj3704 < len(yyv3704) { + yyv3704 = yyv3704[:yyj3704] + yyc3704 = true + } else if yyj3704 == 0 && yyv3704 == nil { + yyv3704 = []PersistentVolumeClaim{} + yyc3704 = true } } - yyh3644.End() - if yyc3644 { - *v = yyv3644 + yyh3704.End() + if yyc3704 { + *v = yyv3704 } } @@ -45290,10 +45968,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3648 := range v { + for _, yyv3708 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3649 := &yyv3648 - yy3649.CodecEncodeSelf(e) + yy3709 := &yyv3708 + yy3709.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45303,83 +45981,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3650 := *v - yyh3650, yyl3650 := z.DecSliceHelperStart() - var yyc3650 bool - if yyl3650 == 0 { - if yyv3650 == nil { - yyv3650 = []DownwardAPIVolumeFile{} - yyc3650 = true - } else if len(yyv3650) != 0 { - yyv3650 = yyv3650[:0] - yyc3650 = true + yyv3710 := *v + yyh3710, yyl3710 := z.DecSliceHelperStart() + var yyc3710 bool + if yyl3710 == 0 { + if yyv3710 == nil { + yyv3710 = []DownwardAPIVolumeFile{} + yyc3710 = true + } else if len(yyv3710) != 0 { + yyv3710 = yyv3710[:0] + yyc3710 = true } - } else if yyl3650 > 0 { - var yyrr3650, yyrl3650 int - var yyrt3650 bool - if yyl3650 > cap(yyv3650) { + } else if yyl3710 > 0 { + var yyrr3710, yyrl3710 int + var yyrt3710 bool + if yyl3710 > cap(yyv3710) { - yyrg3650 := len(yyv3650) > 0 - yyv23650 := yyv3650 - yyrl3650, yyrt3650 = z.DecInferLen(yyl3650, z.DecBasicHandle().MaxInitLen, 48) - if yyrt3650 { - if yyrl3650 <= cap(yyv3650) { - yyv3650 = yyv3650[:yyrl3650] + yyrg3710 := len(yyv3710) > 0 + yyv23710 := yyv3710 + yyrl3710, yyrt3710 = z.DecInferLen(yyl3710, z.DecBasicHandle().MaxInitLen, 48) + if yyrt3710 { + if yyrl3710 <= cap(yyv3710) { + yyv3710 = yyv3710[:yyrl3710] } else { - yyv3650 = make([]DownwardAPIVolumeFile, yyrl3650) + yyv3710 = make([]DownwardAPIVolumeFile, yyrl3710) } } else { - yyv3650 = make([]DownwardAPIVolumeFile, yyrl3650) + yyv3710 = make([]DownwardAPIVolumeFile, yyrl3710) } - yyc3650 = true - yyrr3650 = len(yyv3650) - if yyrg3650 { - copy(yyv3650, yyv23650) + yyc3710 = true + yyrr3710 = len(yyv3710) + if yyrg3710 { + copy(yyv3710, yyv23710) } - } else if yyl3650 != len(yyv3650) { - yyv3650 = yyv3650[:yyl3650] - yyc3650 = true + } else if yyl3710 != len(yyv3710) { + yyv3710 = yyv3710[:yyl3710] + yyc3710 = true } - yyj3650 := 0 - for ; yyj3650 < yyrr3650; yyj3650++ { - yyh3650.ElemContainerState(yyj3650) + yyj3710 := 0 + for ; yyj3710 < yyrr3710; yyj3710++ { + yyh3710.ElemContainerState(yyj3710) if r.TryDecodeAsNil() { - yyv3650[yyj3650] = DownwardAPIVolumeFile{} + yyv3710[yyj3710] = DownwardAPIVolumeFile{} } else { - yyv3651 := &yyv3650[yyj3650] - yyv3651.CodecDecodeSelf(d) + yyv3711 := &yyv3710[yyj3710] + yyv3711.CodecDecodeSelf(d) } } - if yyrt3650 { - for ; yyj3650 < yyl3650; yyj3650++ { - yyv3650 = append(yyv3650, DownwardAPIVolumeFile{}) - yyh3650.ElemContainerState(yyj3650) + if yyrt3710 { + for ; yyj3710 < yyl3710; yyj3710++ { + yyv3710 = append(yyv3710, DownwardAPIVolumeFile{}) + yyh3710.ElemContainerState(yyj3710) if r.TryDecodeAsNil() { - yyv3650[yyj3650] = DownwardAPIVolumeFile{} + yyv3710[yyj3710] = DownwardAPIVolumeFile{} } else { - yyv3652 := &yyv3650[yyj3650] - yyv3652.CodecDecodeSelf(d) + yyv3712 := &yyv3710[yyj3710] + yyv3712.CodecDecodeSelf(d) } } } } else { - yyj3650 := 0 - for ; !r.CheckBreak(); yyj3650++ { + yyj3710 := 0 + for ; !r.CheckBreak(); yyj3710++ { - if yyj3650 >= len(yyv3650) { - yyv3650 = append(yyv3650, DownwardAPIVolumeFile{}) // var yyz3650 DownwardAPIVolumeFile - yyc3650 = true + if yyj3710 >= len(yyv3710) { + yyv3710 = append(yyv3710, DownwardAPIVolumeFile{}) // var yyz3710 DownwardAPIVolumeFile + yyc3710 = true } - yyh3650.ElemContainerState(yyj3650) - if yyj3650 < len(yyv3650) { + yyh3710.ElemContainerState(yyj3710) + if yyj3710 < len(yyv3710) { if r.TryDecodeAsNil() { - yyv3650[yyj3650] = DownwardAPIVolumeFile{} + yyv3710[yyj3710] = DownwardAPIVolumeFile{} } else { - yyv3653 := &yyv3650[yyj3650] - yyv3653.CodecDecodeSelf(d) + yyv3713 := &yyv3710[yyj3710] + yyv3713.CodecDecodeSelf(d) } } else { @@ -45387,17 +46065,17 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj3650 < len(yyv3650) { - yyv3650 = yyv3650[:yyj3650] - yyc3650 = true - } else if yyj3650 == 0 && yyv3650 == nil { - yyv3650 = []DownwardAPIVolumeFile{} - yyc3650 = true + if yyj3710 < len(yyv3710) { + yyv3710 = yyv3710[:yyj3710] + yyc3710 = true + } else if yyj3710 == 0 && yyv3710 == nil { + yyv3710 = []DownwardAPIVolumeFile{} + yyc3710 = true } } - yyh3650.End() - if yyc3650 { - *v = yyv3650 + yyh3710.End() + if yyc3710 { + *v = yyv3710 } } @@ -45406,9 +46084,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3654 := range v { + for _, yyv3714 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3654.CodecEncodeSelf(e) + yyv3714.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45418,1164 +46096,12 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3655 := *v - yyh3655, yyl3655 := z.DecSliceHelperStart() - var yyc3655 bool - if yyl3655 == 0 { - if yyv3655 == nil { - yyv3655 = []Capability{} - yyc3655 = true - } else if len(yyv3655) != 0 { - yyv3655 = yyv3655[:0] - yyc3655 = true - } - } else if yyl3655 > 0 { - var yyrr3655, yyrl3655 int - var yyrt3655 bool - if yyl3655 > cap(yyv3655) { - - yyrl3655, yyrt3655 = z.DecInferLen(yyl3655, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3655 { - if yyrl3655 <= cap(yyv3655) { - yyv3655 = yyv3655[:yyrl3655] - } else { - yyv3655 = make([]Capability, yyrl3655) - } - } else { - yyv3655 = make([]Capability, yyrl3655) - } - yyc3655 = true - yyrr3655 = len(yyv3655) - } else if yyl3655 != len(yyv3655) { - yyv3655 = yyv3655[:yyl3655] - yyc3655 = true - } - yyj3655 := 0 - for ; yyj3655 < yyrr3655; yyj3655++ { - yyh3655.ElemContainerState(yyj3655) - if r.TryDecodeAsNil() { - yyv3655[yyj3655] = "" - } else { - yyv3655[yyj3655] = Capability(r.DecodeString()) - } - - } - if yyrt3655 { - for ; yyj3655 < yyl3655; yyj3655++ { - yyv3655 = append(yyv3655, "") - yyh3655.ElemContainerState(yyj3655) - if r.TryDecodeAsNil() { - yyv3655[yyj3655] = "" - } else { - yyv3655[yyj3655] = Capability(r.DecodeString()) - } - - } - } - - } else { - yyj3655 := 0 - for ; !r.CheckBreak(); yyj3655++ { - - if yyj3655 >= len(yyv3655) { - yyv3655 = append(yyv3655, "") // var yyz3655 Capability - yyc3655 = true - } - yyh3655.ElemContainerState(yyj3655) - if yyj3655 < len(yyv3655) { - if r.TryDecodeAsNil() { - yyv3655[yyj3655] = "" - } else { - yyv3655[yyj3655] = Capability(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj3655 < len(yyv3655) { - yyv3655 = yyv3655[:yyj3655] - yyc3655 = true - } else if yyj3655 == 0 && yyv3655 == nil { - yyv3655 = []Capability{} - yyc3655 = true - } - } - yyh3655.End() - if yyc3655 { - *v = yyv3655 - } -} - -func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3659 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3660 := &yyv3659 - yy3660.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3661 := *v - yyh3661, yyl3661 := z.DecSliceHelperStart() - var yyc3661 bool - if yyl3661 == 0 { - if yyv3661 == nil { - yyv3661 = []ContainerPort{} - yyc3661 = true - } else if len(yyv3661) != 0 { - yyv3661 = yyv3661[:0] - yyc3661 = true - } - } else if yyl3661 > 0 { - var yyrr3661, yyrl3661 int - var yyrt3661 bool - if yyl3661 > cap(yyv3661) { - - yyrg3661 := len(yyv3661) > 0 - yyv23661 := yyv3661 - yyrl3661, yyrt3661 = z.DecInferLen(yyl3661, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3661 { - if yyrl3661 <= cap(yyv3661) { - yyv3661 = yyv3661[:yyrl3661] - } else { - yyv3661 = make([]ContainerPort, yyrl3661) - } - } else { - yyv3661 = make([]ContainerPort, yyrl3661) - } - yyc3661 = true - yyrr3661 = len(yyv3661) - if yyrg3661 { - copy(yyv3661, yyv23661) - } - } else if yyl3661 != len(yyv3661) { - yyv3661 = yyv3661[:yyl3661] - yyc3661 = true - } - yyj3661 := 0 - for ; yyj3661 < yyrr3661; yyj3661++ { - yyh3661.ElemContainerState(yyj3661) - if r.TryDecodeAsNil() { - yyv3661[yyj3661] = ContainerPort{} - } else { - yyv3662 := &yyv3661[yyj3661] - yyv3662.CodecDecodeSelf(d) - } - - } - if yyrt3661 { - for ; yyj3661 < yyl3661; yyj3661++ { - yyv3661 = append(yyv3661, ContainerPort{}) - yyh3661.ElemContainerState(yyj3661) - if r.TryDecodeAsNil() { - yyv3661[yyj3661] = ContainerPort{} - } else { - yyv3663 := &yyv3661[yyj3661] - yyv3663.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3661 := 0 - for ; !r.CheckBreak(); yyj3661++ { - - if yyj3661 >= len(yyv3661) { - yyv3661 = append(yyv3661, ContainerPort{}) // var yyz3661 ContainerPort - yyc3661 = true - } - yyh3661.ElemContainerState(yyj3661) - if yyj3661 < len(yyv3661) { - if r.TryDecodeAsNil() { - yyv3661[yyj3661] = ContainerPort{} - } else { - yyv3664 := &yyv3661[yyj3661] - yyv3664.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3661 < len(yyv3661) { - yyv3661 = yyv3661[:yyj3661] - yyc3661 = true - } else if yyj3661 == 0 && yyv3661 == nil { - yyv3661 = []ContainerPort{} - yyc3661 = true - } - } - yyh3661.End() - if yyc3661 { - *v = yyv3661 - } -} - -func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3665 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3666 := &yyv3665 - yy3666.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3667 := *v - yyh3667, yyl3667 := z.DecSliceHelperStart() - var yyc3667 bool - if yyl3667 == 0 { - if yyv3667 == nil { - yyv3667 = []EnvVar{} - yyc3667 = true - } else if len(yyv3667) != 0 { - yyv3667 = yyv3667[:0] - yyc3667 = true - } - } else if yyl3667 > 0 { - var yyrr3667, yyrl3667 int - var yyrt3667 bool - if yyl3667 > cap(yyv3667) { - - yyrg3667 := len(yyv3667) > 0 - yyv23667 := yyv3667 - yyrl3667, yyrt3667 = z.DecInferLen(yyl3667, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3667 { - if yyrl3667 <= cap(yyv3667) { - yyv3667 = yyv3667[:yyrl3667] - } else { - yyv3667 = make([]EnvVar, yyrl3667) - } - } else { - yyv3667 = make([]EnvVar, yyrl3667) - } - yyc3667 = true - yyrr3667 = len(yyv3667) - if yyrg3667 { - copy(yyv3667, yyv23667) - } - } else if yyl3667 != len(yyv3667) { - yyv3667 = yyv3667[:yyl3667] - yyc3667 = true - } - yyj3667 := 0 - for ; yyj3667 < yyrr3667; yyj3667++ { - yyh3667.ElemContainerState(yyj3667) - if r.TryDecodeAsNil() { - yyv3667[yyj3667] = EnvVar{} - } else { - yyv3668 := &yyv3667[yyj3667] - yyv3668.CodecDecodeSelf(d) - } - - } - if yyrt3667 { - for ; yyj3667 < yyl3667; yyj3667++ { - yyv3667 = append(yyv3667, EnvVar{}) - yyh3667.ElemContainerState(yyj3667) - if r.TryDecodeAsNil() { - yyv3667[yyj3667] = EnvVar{} - } else { - yyv3669 := &yyv3667[yyj3667] - yyv3669.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3667 := 0 - for ; !r.CheckBreak(); yyj3667++ { - - if yyj3667 >= len(yyv3667) { - yyv3667 = append(yyv3667, EnvVar{}) // var yyz3667 EnvVar - yyc3667 = true - } - yyh3667.ElemContainerState(yyj3667) - if yyj3667 < len(yyv3667) { - if r.TryDecodeAsNil() { - yyv3667[yyj3667] = EnvVar{} - } else { - yyv3670 := &yyv3667[yyj3667] - yyv3670.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3667 < len(yyv3667) { - yyv3667 = yyv3667[:yyj3667] - yyc3667 = true - } else if yyj3667 == 0 && yyv3667 == nil { - yyv3667 = []EnvVar{} - yyc3667 = true - } - } - yyh3667.End() - if yyc3667 { - *v = yyv3667 - } -} - -func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3671 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3672 := &yyv3671 - yy3672.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3673 := *v - yyh3673, yyl3673 := z.DecSliceHelperStart() - var yyc3673 bool - if yyl3673 == 0 { - if yyv3673 == nil { - yyv3673 = []VolumeMount{} - yyc3673 = true - } else if len(yyv3673) != 0 { - yyv3673 = yyv3673[:0] - yyc3673 = true - } - } else if yyl3673 > 0 { - var yyrr3673, yyrl3673 int - var yyrt3673 bool - if yyl3673 > cap(yyv3673) { - - yyrg3673 := len(yyv3673) > 0 - yyv23673 := yyv3673 - yyrl3673, yyrt3673 = z.DecInferLen(yyl3673, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3673 { - if yyrl3673 <= cap(yyv3673) { - yyv3673 = yyv3673[:yyrl3673] - } else { - yyv3673 = make([]VolumeMount, yyrl3673) - } - } else { - yyv3673 = make([]VolumeMount, yyrl3673) - } - yyc3673 = true - yyrr3673 = len(yyv3673) - if yyrg3673 { - copy(yyv3673, yyv23673) - } - } else if yyl3673 != len(yyv3673) { - yyv3673 = yyv3673[:yyl3673] - yyc3673 = true - } - yyj3673 := 0 - for ; yyj3673 < yyrr3673; yyj3673++ { - yyh3673.ElemContainerState(yyj3673) - if r.TryDecodeAsNil() { - yyv3673[yyj3673] = VolumeMount{} - } else { - yyv3674 := &yyv3673[yyj3673] - yyv3674.CodecDecodeSelf(d) - } - - } - if yyrt3673 { - for ; yyj3673 < yyl3673; yyj3673++ { - yyv3673 = append(yyv3673, VolumeMount{}) - yyh3673.ElemContainerState(yyj3673) - if r.TryDecodeAsNil() { - yyv3673[yyj3673] = VolumeMount{} - } else { - yyv3675 := &yyv3673[yyj3673] - yyv3675.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3673 := 0 - for ; !r.CheckBreak(); yyj3673++ { - - if yyj3673 >= len(yyv3673) { - yyv3673 = append(yyv3673, VolumeMount{}) // var yyz3673 VolumeMount - yyc3673 = true - } - yyh3673.ElemContainerState(yyj3673) - if yyj3673 < len(yyv3673) { - if r.TryDecodeAsNil() { - yyv3673[yyj3673] = VolumeMount{} - } else { - yyv3676 := &yyv3673[yyj3673] - yyv3676.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3673 < len(yyv3673) { - yyv3673 = yyv3673[:yyj3673] - yyc3673 = true - } else if yyj3673 == 0 && yyv3673 == nil { - yyv3673 = []VolumeMount{} - yyc3673 = true - } - } - yyh3673.End() - if yyc3673 { - *v = yyv3673 - } -} - -func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3677 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3678 := &yyv3677 - yy3678.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3679 := *v - yyh3679, yyl3679 := z.DecSliceHelperStart() - var yyc3679 bool - if yyl3679 == 0 { - if yyv3679 == nil { - yyv3679 = []Pod{} - yyc3679 = true - } else if len(yyv3679) != 0 { - yyv3679 = yyv3679[:0] - yyc3679 = true - } - } else if yyl3679 > 0 { - var yyrr3679, yyrl3679 int - var yyrt3679 bool - if yyl3679 > cap(yyv3679) { - - yyrg3679 := len(yyv3679) > 0 - yyv23679 := yyv3679 - yyrl3679, yyrt3679 = z.DecInferLen(yyl3679, z.DecBasicHandle().MaxInitLen, 496) - if yyrt3679 { - if yyrl3679 <= cap(yyv3679) { - yyv3679 = yyv3679[:yyrl3679] - } else { - yyv3679 = make([]Pod, yyrl3679) - } - } else { - yyv3679 = make([]Pod, yyrl3679) - } - yyc3679 = true - yyrr3679 = len(yyv3679) - if yyrg3679 { - copy(yyv3679, yyv23679) - } - } else if yyl3679 != len(yyv3679) { - yyv3679 = yyv3679[:yyl3679] - yyc3679 = true - } - yyj3679 := 0 - for ; yyj3679 < yyrr3679; yyj3679++ { - yyh3679.ElemContainerState(yyj3679) - if r.TryDecodeAsNil() { - yyv3679[yyj3679] = Pod{} - } else { - yyv3680 := &yyv3679[yyj3679] - yyv3680.CodecDecodeSelf(d) - } - - } - if yyrt3679 { - for ; yyj3679 < yyl3679; yyj3679++ { - yyv3679 = append(yyv3679, Pod{}) - yyh3679.ElemContainerState(yyj3679) - if r.TryDecodeAsNil() { - yyv3679[yyj3679] = Pod{} - } else { - yyv3681 := &yyv3679[yyj3679] - yyv3681.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3679 := 0 - for ; !r.CheckBreak(); yyj3679++ { - - if yyj3679 >= len(yyv3679) { - yyv3679 = append(yyv3679, Pod{}) // var yyz3679 Pod - yyc3679 = true - } - yyh3679.ElemContainerState(yyj3679) - if yyj3679 < len(yyv3679) { - if r.TryDecodeAsNil() { - yyv3679[yyj3679] = Pod{} - } else { - yyv3682 := &yyv3679[yyj3679] - yyv3682.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3679 < len(yyv3679) { - yyv3679 = yyv3679[:yyj3679] - yyc3679 = true - } else if yyj3679 == 0 && yyv3679 == nil { - yyv3679 = []Pod{} - yyc3679 = true - } - } - yyh3679.End() - if yyc3679 { - *v = yyv3679 - } -} - -func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3683 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3684 := &yyv3683 - yy3684.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3685 := *v - yyh3685, yyl3685 := z.DecSliceHelperStart() - var yyc3685 bool - if yyl3685 == 0 { - if yyv3685 == nil { - yyv3685 = []Volume{} - yyc3685 = true - } else if len(yyv3685) != 0 { - yyv3685 = yyv3685[:0] - yyc3685 = true - } - } else if yyl3685 > 0 { - var yyrr3685, yyrl3685 int - var yyrt3685 bool - if yyl3685 > cap(yyv3685) { - - yyrg3685 := len(yyv3685) > 0 - yyv23685 := yyv3685 - yyrl3685, yyrt3685 = z.DecInferLen(yyl3685, z.DecBasicHandle().MaxInitLen, 152) - if yyrt3685 { - if yyrl3685 <= cap(yyv3685) { - yyv3685 = yyv3685[:yyrl3685] - } else { - yyv3685 = make([]Volume, yyrl3685) - } - } else { - yyv3685 = make([]Volume, yyrl3685) - } - yyc3685 = true - yyrr3685 = len(yyv3685) - if yyrg3685 { - copy(yyv3685, yyv23685) - } - } else if yyl3685 != len(yyv3685) { - yyv3685 = yyv3685[:yyl3685] - yyc3685 = true - } - yyj3685 := 0 - for ; yyj3685 < yyrr3685; yyj3685++ { - yyh3685.ElemContainerState(yyj3685) - if r.TryDecodeAsNil() { - yyv3685[yyj3685] = Volume{} - } else { - yyv3686 := &yyv3685[yyj3685] - yyv3686.CodecDecodeSelf(d) - } - - } - if yyrt3685 { - for ; yyj3685 < yyl3685; yyj3685++ { - yyv3685 = append(yyv3685, Volume{}) - yyh3685.ElemContainerState(yyj3685) - if r.TryDecodeAsNil() { - yyv3685[yyj3685] = Volume{} - } else { - yyv3687 := &yyv3685[yyj3685] - yyv3687.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3685 := 0 - for ; !r.CheckBreak(); yyj3685++ { - - if yyj3685 >= len(yyv3685) { - yyv3685 = append(yyv3685, Volume{}) // var yyz3685 Volume - yyc3685 = true - } - yyh3685.ElemContainerState(yyj3685) - if yyj3685 < len(yyv3685) { - if r.TryDecodeAsNil() { - yyv3685[yyj3685] = Volume{} - } else { - yyv3688 := &yyv3685[yyj3685] - yyv3688.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3685 < len(yyv3685) { - yyv3685 = yyv3685[:yyj3685] - yyc3685 = true - } else if yyj3685 == 0 && yyv3685 == nil { - yyv3685 = []Volume{} - yyc3685 = true - } - } - yyh3685.End() - if yyc3685 { - *v = yyv3685 - } -} - -func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3689 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3690 := &yyv3689 - yy3690.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3691 := *v - yyh3691, yyl3691 := z.DecSliceHelperStart() - var yyc3691 bool - if yyl3691 == 0 { - if yyv3691 == nil { - yyv3691 = []Container{} - yyc3691 = true - } else if len(yyv3691) != 0 { - yyv3691 = yyv3691[:0] - yyc3691 = true - } - } else if yyl3691 > 0 { - var yyrr3691, yyrl3691 int - var yyrt3691 bool - if yyl3691 > cap(yyv3691) { - - yyrg3691 := len(yyv3691) > 0 - yyv23691 := yyv3691 - yyrl3691, yyrt3691 = z.DecInferLen(yyl3691, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3691 { - if yyrl3691 <= cap(yyv3691) { - yyv3691 = yyv3691[:yyrl3691] - } else { - yyv3691 = make([]Container, yyrl3691) - } - } else { - yyv3691 = make([]Container, yyrl3691) - } - yyc3691 = true - yyrr3691 = len(yyv3691) - if yyrg3691 { - copy(yyv3691, yyv23691) - } - } else if yyl3691 != len(yyv3691) { - yyv3691 = yyv3691[:yyl3691] - yyc3691 = true - } - yyj3691 := 0 - for ; yyj3691 < yyrr3691; yyj3691++ { - yyh3691.ElemContainerState(yyj3691) - if r.TryDecodeAsNil() { - yyv3691[yyj3691] = Container{} - } else { - yyv3692 := &yyv3691[yyj3691] - yyv3692.CodecDecodeSelf(d) - } - - } - if yyrt3691 { - for ; yyj3691 < yyl3691; yyj3691++ { - yyv3691 = append(yyv3691, Container{}) - yyh3691.ElemContainerState(yyj3691) - if r.TryDecodeAsNil() { - yyv3691[yyj3691] = Container{} - } else { - yyv3693 := &yyv3691[yyj3691] - yyv3693.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3691 := 0 - for ; !r.CheckBreak(); yyj3691++ { - - if yyj3691 >= len(yyv3691) { - yyv3691 = append(yyv3691, Container{}) // var yyz3691 Container - yyc3691 = true - } - yyh3691.ElemContainerState(yyj3691) - if yyj3691 < len(yyv3691) { - if r.TryDecodeAsNil() { - yyv3691[yyj3691] = Container{} - } else { - yyv3694 := &yyv3691[yyj3691] - yyv3694.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3691 < len(yyv3691) { - yyv3691 = yyv3691[:yyj3691] - yyc3691 = true - } else if yyj3691 == 0 && yyv3691 == nil { - yyv3691 = []Container{} - yyc3691 = true - } - } - yyh3691.End() - if yyc3691 { - *v = yyv3691 - } -} - -func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3695 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3696 := &yyv3695 - yy3696.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3697 := *v - yyh3697, yyl3697 := z.DecSliceHelperStart() - var yyc3697 bool - if yyl3697 == 0 { - if yyv3697 == nil { - yyv3697 = []LocalObjectReference{} - yyc3697 = true - } else if len(yyv3697) != 0 { - yyv3697 = yyv3697[:0] - yyc3697 = true - } - } else if yyl3697 > 0 { - var yyrr3697, yyrl3697 int - var yyrt3697 bool - if yyl3697 > cap(yyv3697) { - - yyrg3697 := len(yyv3697) > 0 - yyv23697 := yyv3697 - yyrl3697, yyrt3697 = z.DecInferLen(yyl3697, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3697 { - if yyrl3697 <= cap(yyv3697) { - yyv3697 = yyv3697[:yyrl3697] - } else { - yyv3697 = make([]LocalObjectReference, yyrl3697) - } - } else { - yyv3697 = make([]LocalObjectReference, yyrl3697) - } - yyc3697 = true - yyrr3697 = len(yyv3697) - if yyrg3697 { - copy(yyv3697, yyv23697) - } - } else if yyl3697 != len(yyv3697) { - yyv3697 = yyv3697[:yyl3697] - yyc3697 = true - } - yyj3697 := 0 - for ; yyj3697 < yyrr3697; yyj3697++ { - yyh3697.ElemContainerState(yyj3697) - if r.TryDecodeAsNil() { - yyv3697[yyj3697] = LocalObjectReference{} - } else { - yyv3698 := &yyv3697[yyj3697] - yyv3698.CodecDecodeSelf(d) - } - - } - if yyrt3697 { - for ; yyj3697 < yyl3697; yyj3697++ { - yyv3697 = append(yyv3697, LocalObjectReference{}) - yyh3697.ElemContainerState(yyj3697) - if r.TryDecodeAsNil() { - yyv3697[yyj3697] = LocalObjectReference{} - } else { - yyv3699 := &yyv3697[yyj3697] - yyv3699.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3697 := 0 - for ; !r.CheckBreak(); yyj3697++ { - - if yyj3697 >= len(yyv3697) { - yyv3697 = append(yyv3697, LocalObjectReference{}) // var yyz3697 LocalObjectReference - yyc3697 = true - } - yyh3697.ElemContainerState(yyj3697) - if yyj3697 < len(yyv3697) { - if r.TryDecodeAsNil() { - yyv3697[yyj3697] = LocalObjectReference{} - } else { - yyv3700 := &yyv3697[yyj3697] - yyv3700.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3697 < len(yyv3697) { - yyv3697 = yyv3697[:yyj3697] - yyc3697 = true - } else if yyj3697 == 0 && yyv3697 == nil { - yyv3697 = []LocalObjectReference{} - yyc3697 = true - } - } - yyh3697.End() - if yyc3697 { - *v = yyv3697 - } -} - -func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3701 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3702 := &yyv3701 - yy3702.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3703 := *v - yyh3703, yyl3703 := z.DecSliceHelperStart() - var yyc3703 bool - if yyl3703 == 0 { - if yyv3703 == nil { - yyv3703 = []PodCondition{} - yyc3703 = true - } else if len(yyv3703) != 0 { - yyv3703 = yyv3703[:0] - yyc3703 = true - } - } else if yyl3703 > 0 { - var yyrr3703, yyrl3703 int - var yyrt3703 bool - if yyl3703 > cap(yyv3703) { - - yyrg3703 := len(yyv3703) > 0 - yyv23703 := yyv3703 - yyrl3703, yyrt3703 = z.DecInferLen(yyl3703, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3703 { - if yyrl3703 <= cap(yyv3703) { - yyv3703 = yyv3703[:yyrl3703] - } else { - yyv3703 = make([]PodCondition, yyrl3703) - } - } else { - yyv3703 = make([]PodCondition, yyrl3703) - } - yyc3703 = true - yyrr3703 = len(yyv3703) - if yyrg3703 { - copy(yyv3703, yyv23703) - } - } else if yyl3703 != len(yyv3703) { - yyv3703 = yyv3703[:yyl3703] - yyc3703 = true - } - yyj3703 := 0 - for ; yyj3703 < yyrr3703; yyj3703++ { - yyh3703.ElemContainerState(yyj3703) - if r.TryDecodeAsNil() { - yyv3703[yyj3703] = PodCondition{} - } else { - yyv3704 := &yyv3703[yyj3703] - yyv3704.CodecDecodeSelf(d) - } - - } - if yyrt3703 { - for ; yyj3703 < yyl3703; yyj3703++ { - yyv3703 = append(yyv3703, PodCondition{}) - yyh3703.ElemContainerState(yyj3703) - if r.TryDecodeAsNil() { - yyv3703[yyj3703] = PodCondition{} - } else { - yyv3705 := &yyv3703[yyj3703] - yyv3705.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3703 := 0 - for ; !r.CheckBreak(); yyj3703++ { - - if yyj3703 >= len(yyv3703) { - yyv3703 = append(yyv3703, PodCondition{}) // var yyz3703 PodCondition - yyc3703 = true - } - yyh3703.ElemContainerState(yyj3703) - if yyj3703 < len(yyv3703) { - if r.TryDecodeAsNil() { - yyv3703[yyj3703] = PodCondition{} - } else { - yyv3706 := &yyv3703[yyj3703] - yyv3706.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3703 < len(yyv3703) { - yyv3703 = yyv3703[:yyj3703] - yyc3703 = true - } else if yyj3703 == 0 && yyv3703 == nil { - yyv3703 = []PodCondition{} - yyc3703 = true - } - } - yyh3703.End() - if yyc3703 { - *v = yyv3703 - } -} - -func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3707 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3708 := &yyv3707 - yy3708.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3709 := *v - yyh3709, yyl3709 := z.DecSliceHelperStart() - var yyc3709 bool - if yyl3709 == 0 { - if yyv3709 == nil { - yyv3709 = []ContainerStatus{} - yyc3709 = true - } else if len(yyv3709) != 0 { - yyv3709 = yyv3709[:0] - yyc3709 = true - } - } else if yyl3709 > 0 { - var yyrr3709, yyrl3709 int - var yyrt3709 bool - if yyl3709 > cap(yyv3709) { - - yyrg3709 := len(yyv3709) > 0 - yyv23709 := yyv3709 - yyrl3709, yyrt3709 = z.DecInferLen(yyl3709, z.DecBasicHandle().MaxInitLen, 128) - if yyrt3709 { - if yyrl3709 <= cap(yyv3709) { - yyv3709 = yyv3709[:yyrl3709] - } else { - yyv3709 = make([]ContainerStatus, yyrl3709) - } - } else { - yyv3709 = make([]ContainerStatus, yyrl3709) - } - yyc3709 = true - yyrr3709 = len(yyv3709) - if yyrg3709 { - copy(yyv3709, yyv23709) - } - } else if yyl3709 != len(yyv3709) { - yyv3709 = yyv3709[:yyl3709] - yyc3709 = true - } - yyj3709 := 0 - for ; yyj3709 < yyrr3709; yyj3709++ { - yyh3709.ElemContainerState(yyj3709) - if r.TryDecodeAsNil() { - yyv3709[yyj3709] = ContainerStatus{} - } else { - yyv3710 := &yyv3709[yyj3709] - yyv3710.CodecDecodeSelf(d) - } - - } - if yyrt3709 { - for ; yyj3709 < yyl3709; yyj3709++ { - yyv3709 = append(yyv3709, ContainerStatus{}) - yyh3709.ElemContainerState(yyj3709) - if r.TryDecodeAsNil() { - yyv3709[yyj3709] = ContainerStatus{} - } else { - yyv3711 := &yyv3709[yyj3709] - yyv3711.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3709 := 0 - for ; !r.CheckBreak(); yyj3709++ { - - if yyj3709 >= len(yyv3709) { - yyv3709 = append(yyv3709, ContainerStatus{}) // var yyz3709 ContainerStatus - yyc3709 = true - } - yyh3709.ElemContainerState(yyj3709) - if yyj3709 < len(yyv3709) { - if r.TryDecodeAsNil() { - yyv3709[yyj3709] = ContainerStatus{} - } else { - yyv3712 := &yyv3709[yyj3709] - yyv3712.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3709 < len(yyv3709) { - yyv3709 = yyv3709[:yyj3709] - yyc3709 = true - } else if yyj3709 == 0 && yyv3709 == nil { - yyv3709 = []ContainerStatus{} - yyc3709 = true - } - } - yyh3709.End() - if yyc3709 { - *v = yyv3709 - } -} - -func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3713 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3714 := &yyv3713 - yy3714.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yyv3715 := *v yyh3715, yyl3715 := z.DecSliceHelperStart() var yyc3715 bool if yyl3715 == 0 { if yyv3715 == nil { - yyv3715 = []PodTemplate{} + yyv3715 = []Capability{} yyc3715 = true } else if len(yyv3715) != 0 { yyv3715 = yyv3715[:0] @@ -46586,23 +46112,18 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco var yyrt3715 bool if yyl3715 > cap(yyv3715) { - yyrg3715 := len(yyv3715) > 0 - yyv23715 := yyv3715 - yyrl3715, yyrt3715 = z.DecInferLen(yyl3715, z.DecBasicHandle().MaxInitLen, 520) + yyrl3715, yyrt3715 = z.DecInferLen(yyl3715, z.DecBasicHandle().MaxInitLen, 16) if yyrt3715 { if yyrl3715 <= cap(yyv3715) { yyv3715 = yyv3715[:yyrl3715] } else { - yyv3715 = make([]PodTemplate, yyrl3715) + yyv3715 = make([]Capability, yyrl3715) } } else { - yyv3715 = make([]PodTemplate, yyrl3715) + yyv3715 = make([]Capability, yyrl3715) } yyc3715 = true yyrr3715 = len(yyv3715) - if yyrg3715 { - copy(yyv3715, yyv23715) - } } else if yyl3715 != len(yyv3715) { yyv3715 = yyv3715[:yyl3715] yyc3715 = true @@ -46611,22 +46132,20 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco for ; yyj3715 < yyrr3715; yyj3715++ { yyh3715.ElemContainerState(yyj3715) if r.TryDecodeAsNil() { - yyv3715[yyj3715] = PodTemplate{} + yyv3715[yyj3715] = "" } else { - yyv3716 := &yyv3715[yyj3715] - yyv3716.CodecDecodeSelf(d) + yyv3715[yyj3715] = Capability(r.DecodeString()) } } if yyrt3715 { for ; yyj3715 < yyl3715; yyj3715++ { - yyv3715 = append(yyv3715, PodTemplate{}) + yyv3715 = append(yyv3715, "") yyh3715.ElemContainerState(yyj3715) if r.TryDecodeAsNil() { - yyv3715[yyj3715] = PodTemplate{} + yyv3715[yyj3715] = "" } else { - yyv3717 := &yyv3715[yyj3715] - yyv3717.CodecDecodeSelf(d) + yyv3715[yyj3715] = Capability(r.DecodeString()) } } @@ -46637,16 +46156,15 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco for ; !r.CheckBreak(); yyj3715++ { if yyj3715 >= len(yyv3715) { - yyv3715 = append(yyv3715, PodTemplate{}) // var yyz3715 PodTemplate + yyv3715 = append(yyv3715, "") // var yyz3715 Capability yyc3715 = true } yyh3715.ElemContainerState(yyj3715) if yyj3715 < len(yyv3715) { if r.TryDecodeAsNil() { - yyv3715[yyj3715] = PodTemplate{} + yyv3715[yyj3715] = "" } else { - yyv3718 := &yyv3715[yyj3715] - yyv3718.CodecDecodeSelf(d) + yyv3715[yyj3715] = Capability(r.DecodeString()) } } else { @@ -46658,7 +46176,7 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco yyv3715 = yyv3715[:yyj3715] yyc3715 = true } else if yyj3715 == 0 && yyv3715 == nil { - yyv3715 = []PodTemplate{} + yyv3715 = []Capability{} yyc3715 = true } } @@ -46668,7 +46186,7 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -46681,7 +46199,7 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationController, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -46691,7 +46209,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle var yyc3721 bool if yyl3721 == 0 { if yyv3721 == nil { - yyv3721 = []ReplicationController{} + yyv3721 = []ContainerPort{} yyc3721 = true } else if len(yyv3721) != 0 { yyv3721 = yyv3721[:0] @@ -46704,15 +46222,15 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle yyrg3721 := len(yyv3721) > 0 yyv23721 := yyv3721 - yyrl3721, yyrt3721 = z.DecInferLen(yyl3721, z.DecBasicHandle().MaxInitLen, 232) + yyrl3721, yyrt3721 = z.DecInferLen(yyl3721, z.DecBasicHandle().MaxInitLen, 64) if yyrt3721 { if yyrl3721 <= cap(yyv3721) { yyv3721 = yyv3721[:yyrl3721] } else { - yyv3721 = make([]ReplicationController, yyrl3721) + yyv3721 = make([]ContainerPort, yyrl3721) } } else { - yyv3721 = make([]ReplicationController, yyrl3721) + yyv3721 = make([]ContainerPort, yyrl3721) } yyc3721 = true yyrr3721 = len(yyv3721) @@ -46727,7 +46245,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle for ; yyj3721 < yyrr3721; yyj3721++ { yyh3721.ElemContainerState(yyj3721) if r.TryDecodeAsNil() { - yyv3721[yyj3721] = ReplicationController{} + yyv3721[yyj3721] = ContainerPort{} } else { yyv3722 := &yyv3721[yyj3721] yyv3722.CodecDecodeSelf(d) @@ -46736,10 +46254,10 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } if yyrt3721 { for ; yyj3721 < yyl3721; yyj3721++ { - yyv3721 = append(yyv3721, ReplicationController{}) + yyv3721 = append(yyv3721, ContainerPort{}) yyh3721.ElemContainerState(yyj3721) if r.TryDecodeAsNil() { - yyv3721[yyj3721] = ReplicationController{} + yyv3721[yyj3721] = ContainerPort{} } else { yyv3723 := &yyv3721[yyj3721] yyv3723.CodecDecodeSelf(d) @@ -46753,13 +46271,13 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle for ; !r.CheckBreak(); yyj3721++ { if yyj3721 >= len(yyv3721) { - yyv3721 = append(yyv3721, ReplicationController{}) // var yyz3721 ReplicationController + yyv3721 = append(yyv3721, ContainerPort{}) // var yyz3721 ContainerPort yyc3721 = true } yyh3721.ElemContainerState(yyj3721) if yyj3721 < len(yyv3721) { if r.TryDecodeAsNil() { - yyv3721[yyj3721] = ReplicationController{} + yyv3721[yyj3721] = ContainerPort{} } else { yyv3724 := &yyv3721[yyj3721] yyv3724.CodecDecodeSelf(d) @@ -46774,7 +46292,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle yyv3721 = yyv3721[:yyj3721] yyc3721 = true } else if yyj3721 == 0 && yyv3721 == nil { - yyv3721 = []ReplicationController{} + yyv3721 = []ContainerPort{} yyc3721 = true } } @@ -46784,7 +46302,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } -func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -46797,7 +46315,7 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -46807,7 +46325,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { var yyc3727 bool if yyl3727 == 0 { if yyv3727 == nil { - yyv3727 = []Service{} + yyv3727 = []EnvVar{} yyc3727 = true } else if len(yyv3727) != 0 { yyv3727 = yyv3727[:0] @@ -46820,15 +46338,15 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { yyrg3727 := len(yyv3727) > 0 yyv23727 := yyv3727 - yyrl3727, yyrt3727 = z.DecInferLen(yyl3727, z.DecBasicHandle().MaxInitLen, 336) + yyrl3727, yyrt3727 = z.DecInferLen(yyl3727, z.DecBasicHandle().MaxInitLen, 40) if yyrt3727 { if yyrl3727 <= cap(yyv3727) { yyv3727 = yyv3727[:yyrl3727] } else { - yyv3727 = make([]Service, yyrl3727) + yyv3727 = make([]EnvVar, yyrl3727) } } else { - yyv3727 = make([]Service, yyrl3727) + yyv3727 = make([]EnvVar, yyrl3727) } yyc3727 = true yyrr3727 = len(yyv3727) @@ -46843,7 +46361,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { for ; yyj3727 < yyrr3727; yyj3727++ { yyh3727.ElemContainerState(yyj3727) if r.TryDecodeAsNil() { - yyv3727[yyj3727] = Service{} + yyv3727[yyj3727] = EnvVar{} } else { yyv3728 := &yyv3727[yyj3727] yyv3728.CodecDecodeSelf(d) @@ -46852,10 +46370,10 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } if yyrt3727 { for ; yyj3727 < yyl3727; yyj3727++ { - yyv3727 = append(yyv3727, Service{}) + yyv3727 = append(yyv3727, EnvVar{}) yyh3727.ElemContainerState(yyj3727) if r.TryDecodeAsNil() { - yyv3727[yyj3727] = Service{} + yyv3727[yyj3727] = EnvVar{} } else { yyv3729 := &yyv3727[yyj3727] yyv3729.CodecDecodeSelf(d) @@ -46869,13 +46387,13 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj3727++ { if yyj3727 >= len(yyv3727) { - yyv3727 = append(yyv3727, Service{}) // var yyz3727 Service + yyv3727 = append(yyv3727, EnvVar{}) // var yyz3727 EnvVar yyc3727 = true } yyh3727.ElemContainerState(yyj3727) if yyj3727 < len(yyv3727) { if r.TryDecodeAsNil() { - yyv3727[yyj3727] = Service{} + yyv3727[yyj3727] = EnvVar{} } else { yyv3730 := &yyv3727[yyj3727] yyv3730.CodecDecodeSelf(d) @@ -46890,7 +46408,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { yyv3727 = yyv3727[:yyj3727] yyc3727 = true } else if yyj3727 == 0 && yyv3727 == nil { - yyv3727 = []Service{} + yyv3727 = []EnvVar{} yyc3727 = true } } @@ -46900,7 +46418,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -46913,7 +46431,7 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -46923,7 +46441,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d var yyc3733 bool if yyl3733 == 0 { if yyv3733 == nil { - yyv3733 = []LoadBalancerIngress{} + yyv3733 = []VolumeMount{} yyc3733 = true } else if len(yyv3733) != 0 { yyv3733 = yyv3733[:0] @@ -46936,15 +46454,15 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d yyrg3733 := len(yyv3733) > 0 yyv23733 := yyv3733 - yyrl3733, yyrt3733 = z.DecInferLen(yyl3733, z.DecBasicHandle().MaxInitLen, 32) + yyrl3733, yyrt3733 = z.DecInferLen(yyl3733, z.DecBasicHandle().MaxInitLen, 40) if yyrt3733 { if yyrl3733 <= cap(yyv3733) { yyv3733 = yyv3733[:yyrl3733] } else { - yyv3733 = make([]LoadBalancerIngress, yyrl3733) + yyv3733 = make([]VolumeMount, yyrl3733) } } else { - yyv3733 = make([]LoadBalancerIngress, yyrl3733) + yyv3733 = make([]VolumeMount, yyrl3733) } yyc3733 = true yyrr3733 = len(yyv3733) @@ -46959,7 +46477,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d for ; yyj3733 < yyrr3733; yyj3733++ { yyh3733.ElemContainerState(yyj3733) if r.TryDecodeAsNil() { - yyv3733[yyj3733] = LoadBalancerIngress{} + yyv3733[yyj3733] = VolumeMount{} } else { yyv3734 := &yyv3733[yyj3733] yyv3734.CodecDecodeSelf(d) @@ -46968,10 +46486,10 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } if yyrt3733 { for ; yyj3733 < yyl3733; yyj3733++ { - yyv3733 = append(yyv3733, LoadBalancerIngress{}) + yyv3733 = append(yyv3733, VolumeMount{}) yyh3733.ElemContainerState(yyj3733) if r.TryDecodeAsNil() { - yyv3733[yyj3733] = LoadBalancerIngress{} + yyv3733[yyj3733] = VolumeMount{} } else { yyv3735 := &yyv3733[yyj3733] yyv3735.CodecDecodeSelf(d) @@ -46985,13 +46503,13 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d for ; !r.CheckBreak(); yyj3733++ { if yyj3733 >= len(yyv3733) { - yyv3733 = append(yyv3733, LoadBalancerIngress{}) // var yyz3733 LoadBalancerIngress + yyv3733 = append(yyv3733, VolumeMount{}) // var yyz3733 VolumeMount yyc3733 = true } yyh3733.ElemContainerState(yyj3733) if yyj3733 < len(yyv3733) { if r.TryDecodeAsNil() { - yyv3733[yyj3733] = LoadBalancerIngress{} + yyv3733[yyj3733] = VolumeMount{} } else { yyv3736 := &yyv3733[yyj3733] yyv3736.CodecDecodeSelf(d) @@ -47006,7 +46524,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d yyv3733 = yyv3733[:yyj3733] yyc3733 = true } else if yyj3733 == 0 && yyv3733 == nil { - yyv3733 = []LoadBalancerIngress{} + yyv3733 = []VolumeMount{} yyc3733 = true } } @@ -47016,7 +46534,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } -func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47029,7 +46547,7 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47039,7 +46557,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco var yyc3739 bool if yyl3739 == 0 { if yyv3739 == nil { - yyv3739 = []ServicePort{} + yyv3739 = []Pod{} yyc3739 = true } else if len(yyv3739) != 0 { yyv3739 = yyv3739[:0] @@ -47052,15 +46570,15 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco yyrg3739 := len(yyv3739) > 0 yyv23739 := yyv3739 - yyrl3739, yyrt3739 = z.DecInferLen(yyl3739, z.DecBasicHandle().MaxInitLen, 80) + yyrl3739, yyrt3739 = z.DecInferLen(yyl3739, z.DecBasicHandle().MaxInitLen, 496) if yyrt3739 { if yyrl3739 <= cap(yyv3739) { yyv3739 = yyv3739[:yyrl3739] } else { - yyv3739 = make([]ServicePort, yyrl3739) + yyv3739 = make([]Pod, yyrl3739) } } else { - yyv3739 = make([]ServicePort, yyrl3739) + yyv3739 = make([]Pod, yyrl3739) } yyc3739 = true yyrr3739 = len(yyv3739) @@ -47075,7 +46593,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco for ; yyj3739 < yyrr3739; yyj3739++ { yyh3739.ElemContainerState(yyj3739) if r.TryDecodeAsNil() { - yyv3739[yyj3739] = ServicePort{} + yyv3739[yyj3739] = Pod{} } else { yyv3740 := &yyv3739[yyj3739] yyv3740.CodecDecodeSelf(d) @@ -47084,10 +46602,10 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } if yyrt3739 { for ; yyj3739 < yyl3739; yyj3739++ { - yyv3739 = append(yyv3739, ServicePort{}) + yyv3739 = append(yyv3739, Pod{}) yyh3739.ElemContainerState(yyj3739) if r.TryDecodeAsNil() { - yyv3739[yyj3739] = ServicePort{} + yyv3739[yyj3739] = Pod{} } else { yyv3741 := &yyv3739[yyj3739] yyv3741.CodecDecodeSelf(d) @@ -47101,13 +46619,13 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco for ; !r.CheckBreak(); yyj3739++ { if yyj3739 >= len(yyv3739) { - yyv3739 = append(yyv3739, ServicePort{}) // var yyz3739 ServicePort + yyv3739 = append(yyv3739, Pod{}) // var yyz3739 Pod yyc3739 = true } yyh3739.ElemContainerState(yyj3739) if yyj3739 < len(yyv3739) { if r.TryDecodeAsNil() { - yyv3739[yyj3739] = ServicePort{} + yyv3739[yyj3739] = Pod{} } else { yyv3742 := &yyv3739[yyj3739] yyv3742.CodecDecodeSelf(d) @@ -47122,7 +46640,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco yyv3739 = yyv3739[:yyj3739] yyc3739 = true } else if yyj3739 == 0 && yyv3739 == nil { - yyv3739 = []ServicePort{} + yyv3739 = []Pod{} yyc3739 = true } } @@ -47132,7 +46650,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47145,7 +46663,7 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47155,7 +46673,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 var yyc3745 bool if yyl3745 == 0 { if yyv3745 == nil { - yyv3745 = []ObjectReference{} + yyv3745 = []Volume{} yyc3745 = true } else if len(yyv3745) != 0 { yyv3745 = yyv3745[:0] @@ -47168,15 +46686,15 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 yyrg3745 := len(yyv3745) > 0 yyv23745 := yyv3745 - yyrl3745, yyrt3745 = z.DecInferLen(yyl3745, z.DecBasicHandle().MaxInitLen, 112) + yyrl3745, yyrt3745 = z.DecInferLen(yyl3745, z.DecBasicHandle().MaxInitLen, 152) if yyrt3745 { if yyrl3745 <= cap(yyv3745) { yyv3745 = yyv3745[:yyrl3745] } else { - yyv3745 = make([]ObjectReference, yyrl3745) + yyv3745 = make([]Volume, yyrl3745) } } else { - yyv3745 = make([]ObjectReference, yyrl3745) + yyv3745 = make([]Volume, yyrl3745) } yyc3745 = true yyrr3745 = len(yyv3745) @@ -47191,7 +46709,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 for ; yyj3745 < yyrr3745; yyj3745++ { yyh3745.ElemContainerState(yyj3745) if r.TryDecodeAsNil() { - yyv3745[yyj3745] = ObjectReference{} + yyv3745[yyj3745] = Volume{} } else { yyv3746 := &yyv3745[yyj3745] yyv3746.CodecDecodeSelf(d) @@ -47200,10 +46718,10 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } if yyrt3745 { for ; yyj3745 < yyl3745; yyj3745++ { - yyv3745 = append(yyv3745, ObjectReference{}) + yyv3745 = append(yyv3745, Volume{}) yyh3745.ElemContainerState(yyj3745) if r.TryDecodeAsNil() { - yyv3745[yyj3745] = ObjectReference{} + yyv3745[yyj3745] = Volume{} } else { yyv3747 := &yyv3745[yyj3745] yyv3747.CodecDecodeSelf(d) @@ -47217,13 +46735,13 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 for ; !r.CheckBreak(); yyj3745++ { if yyj3745 >= len(yyv3745) { - yyv3745 = append(yyv3745, ObjectReference{}) // var yyz3745 ObjectReference + yyv3745 = append(yyv3745, Volume{}) // var yyz3745 Volume yyc3745 = true } yyh3745.ElemContainerState(yyj3745) if yyj3745 < len(yyv3745) { if r.TryDecodeAsNil() { - yyv3745[yyj3745] = ObjectReference{} + yyv3745[yyj3745] = Volume{} } else { yyv3748 := &yyv3745[yyj3745] yyv3748.CodecDecodeSelf(d) @@ -47238,7 +46756,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 yyv3745 = yyv3745[:yyj3745] yyc3745 = true } else if yyj3745 == 0 && yyv3745 == nil { - yyv3745 = []ObjectReference{} + yyv3745 = []Volume{} yyc3745 = true } } @@ -47248,7 +46766,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } -func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47261,7 +46779,7 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47271,7 +46789,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 var yyc3751 bool if yyl3751 == 0 { if yyv3751 == nil { - yyv3751 = []ServiceAccount{} + yyv3751 = []Container{} yyc3751 = true } else if len(yyv3751) != 0 { yyv3751 = yyv3751[:0] @@ -47284,15 +46802,15 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 yyrg3751 := len(yyv3751) > 0 yyv23751 := yyv3751 - yyrl3751, yyrt3751 = z.DecInferLen(yyl3751, z.DecBasicHandle().MaxInitLen, 240) + yyrl3751, yyrt3751 = z.DecInferLen(yyl3751, z.DecBasicHandle().MaxInitLen, 256) if yyrt3751 { if yyrl3751 <= cap(yyv3751) { yyv3751 = yyv3751[:yyrl3751] } else { - yyv3751 = make([]ServiceAccount, yyrl3751) + yyv3751 = make([]Container, yyrl3751) } } else { - yyv3751 = make([]ServiceAccount, yyrl3751) + yyv3751 = make([]Container, yyrl3751) } yyc3751 = true yyrr3751 = len(yyv3751) @@ -47307,7 +46825,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 for ; yyj3751 < yyrr3751; yyj3751++ { yyh3751.ElemContainerState(yyj3751) if r.TryDecodeAsNil() { - yyv3751[yyj3751] = ServiceAccount{} + yyv3751[yyj3751] = Container{} } else { yyv3752 := &yyv3751[yyj3751] yyv3752.CodecDecodeSelf(d) @@ -47316,10 +46834,10 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } if yyrt3751 { for ; yyj3751 < yyl3751; yyj3751++ { - yyv3751 = append(yyv3751, ServiceAccount{}) + yyv3751 = append(yyv3751, Container{}) yyh3751.ElemContainerState(yyj3751) if r.TryDecodeAsNil() { - yyv3751[yyj3751] = ServiceAccount{} + yyv3751[yyj3751] = Container{} } else { yyv3753 := &yyv3751[yyj3751] yyv3753.CodecDecodeSelf(d) @@ -47333,13 +46851,13 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 for ; !r.CheckBreak(); yyj3751++ { if yyj3751 >= len(yyv3751) { - yyv3751 = append(yyv3751, ServiceAccount{}) // var yyz3751 ServiceAccount + yyv3751 = append(yyv3751, Container{}) // var yyz3751 Container yyc3751 = true } yyh3751.ElemContainerState(yyj3751) if yyj3751 < len(yyv3751) { if r.TryDecodeAsNil() { - yyv3751[yyj3751] = ServiceAccount{} + yyv3751[yyj3751] = Container{} } else { yyv3754 := &yyv3751[yyj3751] yyv3754.CodecDecodeSelf(d) @@ -47354,7 +46872,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 yyv3751 = yyv3751[:yyj3751] yyc3751 = true } else if yyj3751 == 0 && yyv3751 == nil { - yyv3751 = []ServiceAccount{} + yyv3751 = []Container{} yyc3751 = true } } @@ -47364,7 +46882,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } -func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47377,7 +46895,7 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47387,7 +46905,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 var yyc3757 bool if yyl3757 == 0 { if yyv3757 == nil { - yyv3757 = []EndpointSubset{} + yyv3757 = []LocalObjectReference{} yyc3757 = true } else if len(yyv3757) != 0 { yyv3757 = yyv3757[:0] @@ -47400,15 +46918,15 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 yyrg3757 := len(yyv3757) > 0 yyv23757 := yyv3757 - yyrl3757, yyrt3757 = z.DecInferLen(yyl3757, z.DecBasicHandle().MaxInitLen, 72) + yyrl3757, yyrt3757 = z.DecInferLen(yyl3757, z.DecBasicHandle().MaxInitLen, 16) if yyrt3757 { if yyrl3757 <= cap(yyv3757) { yyv3757 = yyv3757[:yyrl3757] } else { - yyv3757 = make([]EndpointSubset, yyrl3757) + yyv3757 = make([]LocalObjectReference, yyrl3757) } } else { - yyv3757 = make([]EndpointSubset, yyrl3757) + yyv3757 = make([]LocalObjectReference, yyrl3757) } yyc3757 = true yyrr3757 = len(yyv3757) @@ -47423,7 +46941,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 for ; yyj3757 < yyrr3757; yyj3757++ { yyh3757.ElemContainerState(yyj3757) if r.TryDecodeAsNil() { - yyv3757[yyj3757] = EndpointSubset{} + yyv3757[yyj3757] = LocalObjectReference{} } else { yyv3758 := &yyv3757[yyj3757] yyv3758.CodecDecodeSelf(d) @@ -47432,10 +46950,10 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } if yyrt3757 { for ; yyj3757 < yyl3757; yyj3757++ { - yyv3757 = append(yyv3757, EndpointSubset{}) + yyv3757 = append(yyv3757, LocalObjectReference{}) yyh3757.ElemContainerState(yyj3757) if r.TryDecodeAsNil() { - yyv3757[yyj3757] = EndpointSubset{} + yyv3757[yyj3757] = LocalObjectReference{} } else { yyv3759 := &yyv3757[yyj3757] yyv3759.CodecDecodeSelf(d) @@ -47449,13 +46967,13 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 for ; !r.CheckBreak(); yyj3757++ { if yyj3757 >= len(yyv3757) { - yyv3757 = append(yyv3757, EndpointSubset{}) // var yyz3757 EndpointSubset + yyv3757 = append(yyv3757, LocalObjectReference{}) // var yyz3757 LocalObjectReference yyc3757 = true } yyh3757.ElemContainerState(yyj3757) if yyj3757 < len(yyv3757) { if r.TryDecodeAsNil() { - yyv3757[yyj3757] = EndpointSubset{} + yyv3757[yyj3757] = LocalObjectReference{} } else { yyv3760 := &yyv3757[yyj3757] yyv3760.CodecDecodeSelf(d) @@ -47470,7 +46988,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 yyv3757 = yyv3757[:yyj3757] yyc3757 = true } else if yyj3757 == 0 && yyv3757 == nil { - yyv3757 = []EndpointSubset{} + yyv3757 = []LocalObjectReference{} yyc3757 = true } } @@ -47480,7 +46998,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } -func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47493,7 +47011,7 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47503,7 +47021,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 var yyc3763 bool if yyl3763 == 0 { if yyv3763 == nil { - yyv3763 = []EndpointAddress{} + yyv3763 = []PodCondition{} yyc3763 = true } else if len(yyv3763) != 0 { yyv3763 = yyv3763[:0] @@ -47516,15 +47034,15 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 yyrg3763 := len(yyv3763) > 0 yyv23763 := yyv3763 - yyrl3763, yyrt3763 = z.DecInferLen(yyl3763, z.DecBasicHandle().MaxInitLen, 24) + yyrl3763, yyrt3763 = z.DecInferLen(yyl3763, z.DecBasicHandle().MaxInitLen, 112) if yyrt3763 { if yyrl3763 <= cap(yyv3763) { yyv3763 = yyv3763[:yyrl3763] } else { - yyv3763 = make([]EndpointAddress, yyrl3763) + yyv3763 = make([]PodCondition, yyrl3763) } } else { - yyv3763 = make([]EndpointAddress, yyrl3763) + yyv3763 = make([]PodCondition, yyrl3763) } yyc3763 = true yyrr3763 = len(yyv3763) @@ -47539,7 +47057,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 for ; yyj3763 < yyrr3763; yyj3763++ { yyh3763.ElemContainerState(yyj3763) if r.TryDecodeAsNil() { - yyv3763[yyj3763] = EndpointAddress{} + yyv3763[yyj3763] = PodCondition{} } else { yyv3764 := &yyv3763[yyj3763] yyv3764.CodecDecodeSelf(d) @@ -47548,10 +47066,10 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } if yyrt3763 { for ; yyj3763 < yyl3763; yyj3763++ { - yyv3763 = append(yyv3763, EndpointAddress{}) + yyv3763 = append(yyv3763, PodCondition{}) yyh3763.ElemContainerState(yyj3763) if r.TryDecodeAsNil() { - yyv3763[yyj3763] = EndpointAddress{} + yyv3763[yyj3763] = PodCondition{} } else { yyv3765 := &yyv3763[yyj3763] yyv3765.CodecDecodeSelf(d) @@ -47565,13 +47083,13 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 for ; !r.CheckBreak(); yyj3763++ { if yyj3763 >= len(yyv3763) { - yyv3763 = append(yyv3763, EndpointAddress{}) // var yyz3763 EndpointAddress + yyv3763 = append(yyv3763, PodCondition{}) // var yyz3763 PodCondition yyc3763 = true } yyh3763.ElemContainerState(yyj3763) if yyj3763 < len(yyv3763) { if r.TryDecodeAsNil() { - yyv3763[yyj3763] = EndpointAddress{} + yyv3763[yyj3763] = PodCondition{} } else { yyv3766 := &yyv3763[yyj3763] yyv3766.CodecDecodeSelf(d) @@ -47586,7 +47104,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 yyv3763 = yyv3763[:yyj3763] yyc3763 = true } else if yyj3763 == 0 && yyv3763 == nil { - yyv3763 = []EndpointAddress{} + yyv3763 = []PodCondition{} yyc3763 = true } } @@ -47596,7 +47114,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } -func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47609,7 +47127,7 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47619,7 +47137,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De var yyc3769 bool if yyl3769 == 0 { if yyv3769 == nil { - yyv3769 = []EndpointPort{} + yyv3769 = []ContainerStatus{} yyc3769 = true } else if len(yyv3769) != 0 { yyv3769 = yyv3769[:0] @@ -47632,15 +47150,15 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De yyrg3769 := len(yyv3769) > 0 yyv23769 := yyv3769 - yyrl3769, yyrt3769 = z.DecInferLen(yyl3769, z.DecBasicHandle().MaxInitLen, 40) + yyrl3769, yyrt3769 = z.DecInferLen(yyl3769, z.DecBasicHandle().MaxInitLen, 128) if yyrt3769 { if yyrl3769 <= cap(yyv3769) { yyv3769 = yyv3769[:yyrl3769] } else { - yyv3769 = make([]EndpointPort, yyrl3769) + yyv3769 = make([]ContainerStatus, yyrl3769) } } else { - yyv3769 = make([]EndpointPort, yyrl3769) + yyv3769 = make([]ContainerStatus, yyrl3769) } yyc3769 = true yyrr3769 = len(yyv3769) @@ -47655,7 +47173,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De for ; yyj3769 < yyrr3769; yyj3769++ { yyh3769.ElemContainerState(yyj3769) if r.TryDecodeAsNil() { - yyv3769[yyj3769] = EndpointPort{} + yyv3769[yyj3769] = ContainerStatus{} } else { yyv3770 := &yyv3769[yyj3769] yyv3770.CodecDecodeSelf(d) @@ -47664,10 +47182,10 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } if yyrt3769 { for ; yyj3769 < yyl3769; yyj3769++ { - yyv3769 = append(yyv3769, EndpointPort{}) + yyv3769 = append(yyv3769, ContainerStatus{}) yyh3769.ElemContainerState(yyj3769) if r.TryDecodeAsNil() { - yyv3769[yyj3769] = EndpointPort{} + yyv3769[yyj3769] = ContainerStatus{} } else { yyv3771 := &yyv3769[yyj3769] yyv3771.CodecDecodeSelf(d) @@ -47681,13 +47199,13 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De for ; !r.CheckBreak(); yyj3769++ { if yyj3769 >= len(yyv3769) { - yyv3769 = append(yyv3769, EndpointPort{}) // var yyz3769 EndpointPort + yyv3769 = append(yyv3769, ContainerStatus{}) // var yyz3769 ContainerStatus yyc3769 = true } yyh3769.ElemContainerState(yyj3769) if yyj3769 < len(yyv3769) { if r.TryDecodeAsNil() { - yyv3769[yyj3769] = EndpointPort{} + yyv3769[yyj3769] = ContainerStatus{} } else { yyv3772 := &yyv3769[yyj3769] yyv3772.CodecDecodeSelf(d) @@ -47702,7 +47220,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De yyv3769 = yyv3769[:yyj3769] yyc3769 = true } else if yyj3769 == 0 && yyv3769 == nil { - yyv3769 = []EndpointPort{} + yyv3769 = []ContainerStatus{} yyc3769 = true } } @@ -47712,7 +47230,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } -func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47725,7 +47243,7 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47735,7 +47253,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) var yyc3775 bool if yyl3775 == 0 { if yyv3775 == nil { - yyv3775 = []Endpoints{} + yyv3775 = []PodTemplate{} yyc3775 = true } else if len(yyv3775) != 0 { yyv3775 = yyv3775[:0] @@ -47748,15 +47266,15 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) yyrg3775 := len(yyv3775) > 0 yyv23775 := yyv3775 - yyrl3775, yyrt3775 = z.DecInferLen(yyl3775, z.DecBasicHandle().MaxInitLen, 216) + yyrl3775, yyrt3775 = z.DecInferLen(yyl3775, z.DecBasicHandle().MaxInitLen, 520) if yyrt3775 { if yyrl3775 <= cap(yyv3775) { yyv3775 = yyv3775[:yyrl3775] } else { - yyv3775 = make([]Endpoints, yyrl3775) + yyv3775 = make([]PodTemplate, yyrl3775) } } else { - yyv3775 = make([]Endpoints, yyrl3775) + yyv3775 = make([]PodTemplate, yyrl3775) } yyc3775 = true yyrr3775 = len(yyv3775) @@ -47771,7 +47289,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) for ; yyj3775 < yyrr3775; yyj3775++ { yyh3775.ElemContainerState(yyj3775) if r.TryDecodeAsNil() { - yyv3775[yyj3775] = Endpoints{} + yyv3775[yyj3775] = PodTemplate{} } else { yyv3776 := &yyv3775[yyj3775] yyv3776.CodecDecodeSelf(d) @@ -47780,10 +47298,10 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } if yyrt3775 { for ; yyj3775 < yyl3775; yyj3775++ { - yyv3775 = append(yyv3775, Endpoints{}) + yyv3775 = append(yyv3775, PodTemplate{}) yyh3775.ElemContainerState(yyj3775) if r.TryDecodeAsNil() { - yyv3775[yyj3775] = Endpoints{} + yyv3775[yyj3775] = PodTemplate{} } else { yyv3777 := &yyv3775[yyj3775] yyv3777.CodecDecodeSelf(d) @@ -47797,13 +47315,13 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj3775++ { if yyj3775 >= len(yyv3775) { - yyv3775 = append(yyv3775, Endpoints{}) // var yyz3775 Endpoints + yyv3775 = append(yyv3775, PodTemplate{}) // var yyz3775 PodTemplate yyc3775 = true } yyh3775.ElemContainerState(yyj3775) if yyj3775 < len(yyv3775) { if r.TryDecodeAsNil() { - yyv3775[yyj3775] = Endpoints{} + yyv3775[yyj3775] = PodTemplate{} } else { yyv3778 := &yyv3775[yyj3775] yyv3778.CodecDecodeSelf(d) @@ -47818,7 +47336,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) yyv3775 = yyv3775[:yyj3775] yyc3775 = true } else if yyj3775 == 0 && yyv3775 == nil { - yyv3775 = []Endpoints{} + yyv3775 = []PodTemplate{} yyc3775 = true } } @@ -47828,7 +47346,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } -func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47841,7 +47359,7 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationController, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47851,7 +47369,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. var yyc3781 bool if yyl3781 == 0 { if yyv3781 == nil { - yyv3781 = []NodeCondition{} + yyv3781 = []ReplicationController{} yyc3781 = true } else if len(yyv3781) != 0 { yyv3781 = yyv3781[:0] @@ -47864,15 +47382,15 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. yyrg3781 := len(yyv3781) > 0 yyv23781 := yyv3781 - yyrl3781, yyrt3781 = z.DecInferLen(yyl3781, z.DecBasicHandle().MaxInitLen, 112) + yyrl3781, yyrt3781 = z.DecInferLen(yyl3781, z.DecBasicHandle().MaxInitLen, 232) if yyrt3781 { if yyrl3781 <= cap(yyv3781) { yyv3781 = yyv3781[:yyrl3781] } else { - yyv3781 = make([]NodeCondition, yyrl3781) + yyv3781 = make([]ReplicationController, yyrl3781) } } else { - yyv3781 = make([]NodeCondition, yyrl3781) + yyv3781 = make([]ReplicationController, yyrl3781) } yyc3781 = true yyrr3781 = len(yyv3781) @@ -47887,7 +47405,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. for ; yyj3781 < yyrr3781; yyj3781++ { yyh3781.ElemContainerState(yyj3781) if r.TryDecodeAsNil() { - yyv3781[yyj3781] = NodeCondition{} + yyv3781[yyj3781] = ReplicationController{} } else { yyv3782 := &yyv3781[yyj3781] yyv3782.CodecDecodeSelf(d) @@ -47896,10 +47414,10 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } if yyrt3781 { for ; yyj3781 < yyl3781; yyj3781++ { - yyv3781 = append(yyv3781, NodeCondition{}) + yyv3781 = append(yyv3781, ReplicationController{}) yyh3781.ElemContainerState(yyj3781) if r.TryDecodeAsNil() { - yyv3781[yyj3781] = NodeCondition{} + yyv3781[yyj3781] = ReplicationController{} } else { yyv3783 := &yyv3781[yyj3781] yyv3783.CodecDecodeSelf(d) @@ -47913,13 +47431,13 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. for ; !r.CheckBreak(); yyj3781++ { if yyj3781 >= len(yyv3781) { - yyv3781 = append(yyv3781, NodeCondition{}) // var yyz3781 NodeCondition + yyv3781 = append(yyv3781, ReplicationController{}) // var yyz3781 ReplicationController yyc3781 = true } yyh3781.ElemContainerState(yyj3781) if yyj3781 < len(yyv3781) { if r.TryDecodeAsNil() { - yyv3781[yyj3781] = NodeCondition{} + yyv3781[yyj3781] = ReplicationController{} } else { yyv3784 := &yyv3781[yyj3781] yyv3784.CodecDecodeSelf(d) @@ -47934,7 +47452,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. yyv3781 = yyv3781[:yyj3781] yyc3781 = true } else if yyj3781 == 0 && yyv3781 == nil { - yyv3781 = []NodeCondition{} + yyv3781 = []ReplicationController{} yyc3781 = true } } @@ -47944,7 +47462,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } -func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47957,7 +47475,7 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47967,7 +47485,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco var yyc3787 bool if yyl3787 == 0 { if yyv3787 == nil { - yyv3787 = []NodeAddress{} + yyv3787 = []Service{} yyc3787 = true } else if len(yyv3787) != 0 { yyv3787 = yyv3787[:0] @@ -47980,15 +47498,15 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco yyrg3787 := len(yyv3787) > 0 yyv23787 := yyv3787 - yyrl3787, yyrt3787 = z.DecInferLen(yyl3787, z.DecBasicHandle().MaxInitLen, 32) + yyrl3787, yyrt3787 = z.DecInferLen(yyl3787, z.DecBasicHandle().MaxInitLen, 336) if yyrt3787 { if yyrl3787 <= cap(yyv3787) { yyv3787 = yyv3787[:yyrl3787] } else { - yyv3787 = make([]NodeAddress, yyrl3787) + yyv3787 = make([]Service, yyrl3787) } } else { - yyv3787 = make([]NodeAddress, yyrl3787) + yyv3787 = make([]Service, yyrl3787) } yyc3787 = true yyrr3787 = len(yyv3787) @@ -48003,7 +47521,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco for ; yyj3787 < yyrr3787; yyj3787++ { yyh3787.ElemContainerState(yyj3787) if r.TryDecodeAsNil() { - yyv3787[yyj3787] = NodeAddress{} + yyv3787[yyj3787] = Service{} } else { yyv3788 := &yyv3787[yyj3787] yyv3788.CodecDecodeSelf(d) @@ -48012,10 +47530,10 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } if yyrt3787 { for ; yyj3787 < yyl3787; yyj3787++ { - yyv3787 = append(yyv3787, NodeAddress{}) + yyv3787 = append(yyv3787, Service{}) yyh3787.ElemContainerState(yyj3787) if r.TryDecodeAsNil() { - yyv3787[yyj3787] = NodeAddress{} + yyv3787[yyj3787] = Service{} } else { yyv3789 := &yyv3787[yyj3787] yyv3789.CodecDecodeSelf(d) @@ -48029,13 +47547,13 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco for ; !r.CheckBreak(); yyj3787++ { if yyj3787 >= len(yyv3787) { - yyv3787 = append(yyv3787, NodeAddress{}) // var yyz3787 NodeAddress + yyv3787 = append(yyv3787, Service{}) // var yyz3787 Service yyc3787 = true } yyh3787.ElemContainerState(yyj3787) if yyj3787 < len(yyv3787) { if r.TryDecodeAsNil() { - yyv3787[yyj3787] = NodeAddress{} + yyv3787[yyj3787] = Service{} } else { yyv3790 := &yyv3787[yyj3787] yyv3790.CodecDecodeSelf(d) @@ -48050,7 +47568,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco yyv3787 = yyv3787[:yyj3787] yyc3787 = true } else if yyj3787 == 0 && yyv3787 == nil { - yyv3787 = []NodeAddress{} + yyv3787 = []Service{} yyc3787 = true } } @@ -48060,7 +47578,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -48073,7 +47591,7 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -48083,7 +47601,7 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 var yyc3793 bool if yyl3793 == 0 { if yyv3793 == nil { - yyv3793 = []ContainerImage{} + yyv3793 = []LoadBalancerIngress{} yyc3793 = true } else if len(yyv3793) != 0 { yyv3793 = yyv3793[:0] @@ -48101,10 +47619,10 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 if yyrl3793 <= cap(yyv3793) { yyv3793 = yyv3793[:yyrl3793] } else { - yyv3793 = make([]ContainerImage, yyrl3793) + yyv3793 = make([]LoadBalancerIngress, yyrl3793) } } else { - yyv3793 = make([]ContainerImage, yyrl3793) + yyv3793 = make([]LoadBalancerIngress, yyrl3793) } yyc3793 = true yyrr3793 = len(yyv3793) @@ -48119,7 +47637,7 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 for ; yyj3793 < yyrr3793; yyj3793++ { yyh3793.ElemContainerState(yyj3793) if r.TryDecodeAsNil() { - yyv3793[yyj3793] = ContainerImage{} + yyv3793[yyj3793] = LoadBalancerIngress{} } else { yyv3794 := &yyv3793[yyj3793] yyv3794.CodecDecodeSelf(d) @@ -48128,10 +47646,10 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } if yyrt3793 { for ; yyj3793 < yyl3793; yyj3793++ { - yyv3793 = append(yyv3793, ContainerImage{}) + yyv3793 = append(yyv3793, LoadBalancerIngress{}) yyh3793.ElemContainerState(yyj3793) if r.TryDecodeAsNil() { - yyv3793[yyj3793] = ContainerImage{} + yyv3793[yyj3793] = LoadBalancerIngress{} } else { yyv3795 := &yyv3793[yyj3793] yyv3795.CodecDecodeSelf(d) @@ -48145,13 +47663,13 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 for ; !r.CheckBreak(); yyj3793++ { if yyj3793 >= len(yyv3793) { - yyv3793 = append(yyv3793, ContainerImage{}) // var yyz3793 ContainerImage + yyv3793 = append(yyv3793, LoadBalancerIngress{}) // var yyz3793 LoadBalancerIngress yyc3793 = true } yyh3793.ElemContainerState(yyj3793) if yyj3793 < len(yyv3793) { if r.TryDecodeAsNil() { - yyv3793[yyj3793] = ContainerImage{} + yyv3793[yyj3793] = LoadBalancerIngress{} } else { yyv3796 := &yyv3793[yyj3793] yyv3796.CodecDecodeSelf(d) @@ -48166,7 +47684,7 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 yyv3793 = yyv3793[:yyj3793] yyc3793 = true } else if yyj3793 == 0 && yyv3793 == nil { - yyv3793 = []ContainerImage{} + yyv3793 = []LoadBalancerIngress{} yyc3793 = true } } @@ -48176,215 +47694,101 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } -func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - r.EncodeMapStart(len(v)) - for yyk3797, yyv3797 := range v { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk3797.CodecEncodeSelf(e) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + r.EncodeArrayStart(len(v)) + for _, yyv3797 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) yy3798 := &yyv3797 - yym3799 := z.EncBinary() - _ = yym3799 - if false { - } else if z.HasExtensions() && z.EncExt(yy3798) { - } else if !yym3799 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3798) - } else { - z.EncFallback(yy3798) - } - } - z.EncSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3800 := *v - yyl3800 := r.ReadMapStart() - yybh3800 := z.DecBasicHandle() - if yyv3800 == nil { - yyrl3800, _ := z.DecInferLen(yyl3800, yybh3800.MaxInitLen, 40) - yyv3800 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3800) - *v = yyv3800 - } - var yymk3800 ResourceName - var yymv3800 pkg3_resource.Quantity - var yymg3800 bool - if yybh3800.MapValueReset { - yymg3800 = true - } - if yyl3800 > 0 { - for yyj3800 := 0; yyj3800 < yyl3800; yyj3800++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk3800 = "" - } else { - yymk3800 = ResourceName(r.DecodeString()) - } - - if yymg3800 { - yymv3800 = yyv3800[yymk3800] - } else { - yymv3800 = pkg3_resource.Quantity{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv3800 = pkg3_resource.Quantity{} - } else { - yyv3802 := &yymv3800 - yym3803 := z.DecBinary() - _ = yym3803 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3802) { - } else if !yym3803 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3802) - } else { - z.DecFallback(yyv3802, false) - } - } - - if yyv3800 != nil { - yyv3800[yymk3800] = yymv3800 - } - } - } else if yyl3800 < 0 { - for yyj3800 := 0; !r.CheckBreak(); yyj3800++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk3800 = "" - } else { - yymk3800 = ResourceName(r.DecodeString()) - } - - if yymg3800 { - yymv3800 = yyv3800[yymk3800] - } else { - yymv3800 = pkg3_resource.Quantity{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv3800 = pkg3_resource.Quantity{} - } else { - yyv3805 := &yymv3800 - yym3806 := z.DecBinary() - _ = yym3806 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3805) { - } else if !yym3806 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3805) - } else { - z.DecFallback(yyv3805, false) - } - } - - if yyv3800 != nil { - yyv3800[yymk3800] = yymv3800 - } - } - } // else len==0: TODO: Should we clear map entries? - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3807 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3808 := &yyv3807 - yy3808.CodecEncodeSelf(e) + yy3798.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3809 := *v - yyh3809, yyl3809 := z.DecSliceHelperStart() - var yyc3809 bool - if yyl3809 == 0 { - if yyv3809 == nil { - yyv3809 = []Node{} - yyc3809 = true - } else if len(yyv3809) != 0 { - yyv3809 = yyv3809[:0] - yyc3809 = true + yyv3799 := *v + yyh3799, yyl3799 := z.DecSliceHelperStart() + var yyc3799 bool + if yyl3799 == 0 { + if yyv3799 == nil { + yyv3799 = []ServicePort{} + yyc3799 = true + } else if len(yyv3799) != 0 { + yyv3799 = yyv3799[:0] + yyc3799 = true } - } else if yyl3809 > 0 { - var yyrr3809, yyrl3809 int - var yyrt3809 bool - if yyl3809 > cap(yyv3809) { + } else if yyl3799 > 0 { + var yyrr3799, yyrl3799 int + var yyrt3799 bool + if yyl3799 > cap(yyv3799) { - yyrg3809 := len(yyv3809) > 0 - yyv23809 := yyv3809 - yyrl3809, yyrt3809 = z.DecInferLen(yyl3809, z.DecBasicHandle().MaxInitLen, 488) - if yyrt3809 { - if yyrl3809 <= cap(yyv3809) { - yyv3809 = yyv3809[:yyrl3809] + yyrg3799 := len(yyv3799) > 0 + yyv23799 := yyv3799 + yyrl3799, yyrt3799 = z.DecInferLen(yyl3799, z.DecBasicHandle().MaxInitLen, 80) + if yyrt3799 { + if yyrl3799 <= cap(yyv3799) { + yyv3799 = yyv3799[:yyrl3799] } else { - yyv3809 = make([]Node, yyrl3809) + yyv3799 = make([]ServicePort, yyrl3799) } } else { - yyv3809 = make([]Node, yyrl3809) + yyv3799 = make([]ServicePort, yyrl3799) } - yyc3809 = true - yyrr3809 = len(yyv3809) - if yyrg3809 { - copy(yyv3809, yyv23809) + yyc3799 = true + yyrr3799 = len(yyv3799) + if yyrg3799 { + copy(yyv3799, yyv23799) } - } else if yyl3809 != len(yyv3809) { - yyv3809 = yyv3809[:yyl3809] - yyc3809 = true + } else if yyl3799 != len(yyv3799) { + yyv3799 = yyv3799[:yyl3799] + yyc3799 = true } - yyj3809 := 0 - for ; yyj3809 < yyrr3809; yyj3809++ { - yyh3809.ElemContainerState(yyj3809) + yyj3799 := 0 + for ; yyj3799 < yyrr3799; yyj3799++ { + yyh3799.ElemContainerState(yyj3799) if r.TryDecodeAsNil() { - yyv3809[yyj3809] = Node{} + yyv3799[yyj3799] = ServicePort{} } else { - yyv3810 := &yyv3809[yyj3809] - yyv3810.CodecDecodeSelf(d) + yyv3800 := &yyv3799[yyj3799] + yyv3800.CodecDecodeSelf(d) } } - if yyrt3809 { - for ; yyj3809 < yyl3809; yyj3809++ { - yyv3809 = append(yyv3809, Node{}) - yyh3809.ElemContainerState(yyj3809) + if yyrt3799 { + for ; yyj3799 < yyl3799; yyj3799++ { + yyv3799 = append(yyv3799, ServicePort{}) + yyh3799.ElemContainerState(yyj3799) if r.TryDecodeAsNil() { - yyv3809[yyj3809] = Node{} + yyv3799[yyj3799] = ServicePort{} } else { - yyv3811 := &yyv3809[yyj3809] - yyv3811.CodecDecodeSelf(d) + yyv3801 := &yyv3799[yyj3799] + yyv3801.CodecDecodeSelf(d) } } } } else { - yyj3809 := 0 - for ; !r.CheckBreak(); yyj3809++ { + yyj3799 := 0 + for ; !r.CheckBreak(); yyj3799++ { - if yyj3809 >= len(yyv3809) { - yyv3809 = append(yyv3809, Node{}) // var yyz3809 Node - yyc3809 = true + if yyj3799 >= len(yyv3799) { + yyv3799 = append(yyv3799, ServicePort{}) // var yyz3799 ServicePort + yyc3799 = true } - yyh3809.ElemContainerState(yyj3809) - if yyj3809 < len(yyv3809) { + yyh3799.ElemContainerState(yyj3799) + if yyj3799 < len(yyv3799) { if r.TryDecodeAsNil() { - yyv3809[yyj3809] = Node{} + yyv3799[yyj3799] = ServicePort{} } else { - yyv3812 := &yyv3809[yyj3809] - yyv3812.CodecDecodeSelf(d) + yyv3802 := &yyv3799[yyj3799] + yyv3802.CodecDecodeSelf(d) } } else { @@ -48392,106 +47796,115 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj3809 < len(yyv3809) { - yyv3809 = yyv3809[:yyj3809] - yyc3809 = true - } else if yyj3809 == 0 && yyv3809 == nil { - yyv3809 = []Node{} - yyc3809 = true + if yyj3799 < len(yyv3799) { + yyv3799 = yyv3799[:yyj3799] + yyc3799 = true + } else if yyj3799 == 0 && yyv3799 == nil { + yyv3799 = []ServicePort{} + yyc3799 = true } } - yyh3809.End() - if yyc3809 { - *v = yyv3809 + yyh3799.End() + if yyc3799 { + *v = yyv3799 } } -func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3813 := range v { + for _, yyv3803 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3813.CodecEncodeSelf(e) + yy3804 := &yyv3803 + yy3804.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3814 := *v - yyh3814, yyl3814 := z.DecSliceHelperStart() - var yyc3814 bool - if yyl3814 == 0 { - if yyv3814 == nil { - yyv3814 = []FinalizerName{} - yyc3814 = true - } else if len(yyv3814) != 0 { - yyv3814 = yyv3814[:0] - yyc3814 = true + yyv3805 := *v + yyh3805, yyl3805 := z.DecSliceHelperStart() + var yyc3805 bool + if yyl3805 == 0 { + if yyv3805 == nil { + yyv3805 = []ObjectReference{} + yyc3805 = true + } else if len(yyv3805) != 0 { + yyv3805 = yyv3805[:0] + yyc3805 = true } - } else if yyl3814 > 0 { - var yyrr3814, yyrl3814 int - var yyrt3814 bool - if yyl3814 > cap(yyv3814) { + } else if yyl3805 > 0 { + var yyrr3805, yyrl3805 int + var yyrt3805 bool + if yyl3805 > cap(yyv3805) { - yyrl3814, yyrt3814 = z.DecInferLen(yyl3814, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3814 { - if yyrl3814 <= cap(yyv3814) { - yyv3814 = yyv3814[:yyrl3814] + yyrg3805 := len(yyv3805) > 0 + yyv23805 := yyv3805 + yyrl3805, yyrt3805 = z.DecInferLen(yyl3805, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3805 { + if yyrl3805 <= cap(yyv3805) { + yyv3805 = yyv3805[:yyrl3805] } else { - yyv3814 = make([]FinalizerName, yyrl3814) + yyv3805 = make([]ObjectReference, yyrl3805) } } else { - yyv3814 = make([]FinalizerName, yyrl3814) + yyv3805 = make([]ObjectReference, yyrl3805) } - yyc3814 = true - yyrr3814 = len(yyv3814) - } else if yyl3814 != len(yyv3814) { - yyv3814 = yyv3814[:yyl3814] - yyc3814 = true + yyc3805 = true + yyrr3805 = len(yyv3805) + if yyrg3805 { + copy(yyv3805, yyv23805) + } + } else if yyl3805 != len(yyv3805) { + yyv3805 = yyv3805[:yyl3805] + yyc3805 = true } - yyj3814 := 0 - for ; yyj3814 < yyrr3814; yyj3814++ { - yyh3814.ElemContainerState(yyj3814) + yyj3805 := 0 + for ; yyj3805 < yyrr3805; yyj3805++ { + yyh3805.ElemContainerState(yyj3805) if r.TryDecodeAsNil() { - yyv3814[yyj3814] = "" + yyv3805[yyj3805] = ObjectReference{} } else { - yyv3814[yyj3814] = FinalizerName(r.DecodeString()) + yyv3806 := &yyv3805[yyj3805] + yyv3806.CodecDecodeSelf(d) } } - if yyrt3814 { - for ; yyj3814 < yyl3814; yyj3814++ { - yyv3814 = append(yyv3814, "") - yyh3814.ElemContainerState(yyj3814) + if yyrt3805 { + for ; yyj3805 < yyl3805; yyj3805++ { + yyv3805 = append(yyv3805, ObjectReference{}) + yyh3805.ElemContainerState(yyj3805) if r.TryDecodeAsNil() { - yyv3814[yyj3814] = "" + yyv3805[yyj3805] = ObjectReference{} } else { - yyv3814[yyj3814] = FinalizerName(r.DecodeString()) + yyv3807 := &yyv3805[yyj3805] + yyv3807.CodecDecodeSelf(d) } } } } else { - yyj3814 := 0 - for ; !r.CheckBreak(); yyj3814++ { + yyj3805 := 0 + for ; !r.CheckBreak(); yyj3805++ { - if yyj3814 >= len(yyv3814) { - yyv3814 = append(yyv3814, "") // var yyz3814 FinalizerName - yyc3814 = true + if yyj3805 >= len(yyv3805) { + yyv3805 = append(yyv3805, ObjectReference{}) // var yyz3805 ObjectReference + yyc3805 = true } - yyh3814.ElemContainerState(yyj3814) - if yyj3814 < len(yyv3814) { + yyh3805.ElemContainerState(yyj3805) + if yyj3805 < len(yyv3805) { if r.TryDecodeAsNil() { - yyv3814[yyj3814] = "" + yyv3805[yyj3805] = ObjectReference{} } else { - yyv3814[yyj3814] = FinalizerName(r.DecodeString()) + yyv3808 := &yyv3805[yyj3805] + yyv3808.CodecDecodeSelf(d) } } else { @@ -48499,115 +47912,115 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj3814 < len(yyv3814) { - yyv3814 = yyv3814[:yyj3814] - yyc3814 = true - } else if yyj3814 == 0 && yyv3814 == nil { - yyv3814 = []FinalizerName{} - yyc3814 = true + if yyj3805 < len(yyv3805) { + yyv3805 = yyv3805[:yyj3805] + yyc3805 = true + } else if yyj3805 == 0 && yyv3805 == nil { + yyv3805 = []ObjectReference{} + yyc3805 = true } } - yyh3814.End() - if yyc3814 { - *v = yyv3814 + yyh3805.End() + if yyc3805 { + *v = yyv3805 } } -func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3818 := range v { + for _, yyv3809 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3819 := &yyv3818 - yy3819.CodecEncodeSelf(e) + yy3810 := &yyv3809 + yy3810.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3820 := *v - yyh3820, yyl3820 := z.DecSliceHelperStart() - var yyc3820 bool - if yyl3820 == 0 { - if yyv3820 == nil { - yyv3820 = []Namespace{} - yyc3820 = true - } else if len(yyv3820) != 0 { - yyv3820 = yyv3820[:0] - yyc3820 = true + yyv3811 := *v + yyh3811, yyl3811 := z.DecSliceHelperStart() + var yyc3811 bool + if yyl3811 == 0 { + if yyv3811 == nil { + yyv3811 = []ServiceAccount{} + yyc3811 = true + } else if len(yyv3811) != 0 { + yyv3811 = yyv3811[:0] + yyc3811 = true } - } else if yyl3820 > 0 { - var yyrr3820, yyrl3820 int - var yyrt3820 bool - if yyl3820 > cap(yyv3820) { + } else if yyl3811 > 0 { + var yyrr3811, yyrl3811 int + var yyrt3811 bool + if yyl3811 > cap(yyv3811) { - yyrg3820 := len(yyv3820) > 0 - yyv23820 := yyv3820 - yyrl3820, yyrt3820 = z.DecInferLen(yyl3820, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3820 { - if yyrl3820 <= cap(yyv3820) { - yyv3820 = yyv3820[:yyrl3820] + yyrg3811 := len(yyv3811) > 0 + yyv23811 := yyv3811 + yyrl3811, yyrt3811 = z.DecInferLen(yyl3811, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3811 { + if yyrl3811 <= cap(yyv3811) { + yyv3811 = yyv3811[:yyrl3811] } else { - yyv3820 = make([]Namespace, yyrl3820) + yyv3811 = make([]ServiceAccount, yyrl3811) } } else { - yyv3820 = make([]Namespace, yyrl3820) + yyv3811 = make([]ServiceAccount, yyrl3811) } - yyc3820 = true - yyrr3820 = len(yyv3820) - if yyrg3820 { - copy(yyv3820, yyv23820) + yyc3811 = true + yyrr3811 = len(yyv3811) + if yyrg3811 { + copy(yyv3811, yyv23811) } - } else if yyl3820 != len(yyv3820) { - yyv3820 = yyv3820[:yyl3820] - yyc3820 = true + } else if yyl3811 != len(yyv3811) { + yyv3811 = yyv3811[:yyl3811] + yyc3811 = true } - yyj3820 := 0 - for ; yyj3820 < yyrr3820; yyj3820++ { - yyh3820.ElemContainerState(yyj3820) + yyj3811 := 0 + for ; yyj3811 < yyrr3811; yyj3811++ { + yyh3811.ElemContainerState(yyj3811) if r.TryDecodeAsNil() { - yyv3820[yyj3820] = Namespace{} + yyv3811[yyj3811] = ServiceAccount{} } else { - yyv3821 := &yyv3820[yyj3820] - yyv3821.CodecDecodeSelf(d) + yyv3812 := &yyv3811[yyj3811] + yyv3812.CodecDecodeSelf(d) } } - if yyrt3820 { - for ; yyj3820 < yyl3820; yyj3820++ { - yyv3820 = append(yyv3820, Namespace{}) - yyh3820.ElemContainerState(yyj3820) + if yyrt3811 { + for ; yyj3811 < yyl3811; yyj3811++ { + yyv3811 = append(yyv3811, ServiceAccount{}) + yyh3811.ElemContainerState(yyj3811) if r.TryDecodeAsNil() { - yyv3820[yyj3820] = Namespace{} + yyv3811[yyj3811] = ServiceAccount{} } else { - yyv3822 := &yyv3820[yyj3820] - yyv3822.CodecDecodeSelf(d) + yyv3813 := &yyv3811[yyj3811] + yyv3813.CodecDecodeSelf(d) } } } } else { - yyj3820 := 0 - for ; !r.CheckBreak(); yyj3820++ { + yyj3811 := 0 + for ; !r.CheckBreak(); yyj3811++ { - if yyj3820 >= len(yyv3820) { - yyv3820 = append(yyv3820, Namespace{}) // var yyz3820 Namespace - yyc3820 = true + if yyj3811 >= len(yyv3811) { + yyv3811 = append(yyv3811, ServiceAccount{}) // var yyz3811 ServiceAccount + yyc3811 = true } - yyh3820.ElemContainerState(yyj3820) - if yyj3820 < len(yyv3820) { + yyh3811.ElemContainerState(yyj3811) + if yyj3811 < len(yyv3811) { if r.TryDecodeAsNil() { - yyv3820[yyj3820] = Namespace{} + yyv3811[yyj3811] = ServiceAccount{} } else { - yyv3823 := &yyv3820[yyj3820] - yyv3823.CodecDecodeSelf(d) + yyv3814 := &yyv3811[yyj3811] + yyv3814.CodecDecodeSelf(d) } } else { @@ -48615,115 +48028,115 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj3820 < len(yyv3820) { - yyv3820 = yyv3820[:yyj3820] - yyc3820 = true - } else if yyj3820 == 0 && yyv3820 == nil { - yyv3820 = []Namespace{} - yyc3820 = true + if yyj3811 < len(yyv3811) { + yyv3811 = yyv3811[:yyj3811] + yyc3811 = true + } else if yyj3811 == 0 && yyv3811 == nil { + yyv3811 = []ServiceAccount{} + yyc3811 = true } } - yyh3820.End() - if yyc3820 { - *v = yyv3820 + yyh3811.End() + if yyc3811 { + *v = yyv3811 } } -func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3824 := range v { + for _, yyv3815 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3825 := &yyv3824 - yy3825.CodecEncodeSelf(e) + yy3816 := &yyv3815 + yy3816.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3826 := *v - yyh3826, yyl3826 := z.DecSliceHelperStart() - var yyc3826 bool - if yyl3826 == 0 { - if yyv3826 == nil { - yyv3826 = []Event{} - yyc3826 = true - } else if len(yyv3826) != 0 { - yyv3826 = yyv3826[:0] - yyc3826 = true + yyv3817 := *v + yyh3817, yyl3817 := z.DecSliceHelperStart() + var yyc3817 bool + if yyl3817 == 0 { + if yyv3817 == nil { + yyv3817 = []EndpointSubset{} + yyc3817 = true + } else if len(yyv3817) != 0 { + yyv3817 = yyv3817[:0] + yyc3817 = true } - } else if yyl3826 > 0 { - var yyrr3826, yyrl3826 int - var yyrt3826 bool - if yyl3826 > cap(yyv3826) { + } else if yyl3817 > 0 { + var yyrr3817, yyrl3817 int + var yyrt3817 bool + if yyl3817 > cap(yyv3817) { - yyrg3826 := len(yyv3826) > 0 - yyv23826 := yyv3826 - yyrl3826, yyrt3826 = z.DecInferLen(yyl3826, z.DecBasicHandle().MaxInitLen, 440) - if yyrt3826 { - if yyrl3826 <= cap(yyv3826) { - yyv3826 = yyv3826[:yyrl3826] + yyrg3817 := len(yyv3817) > 0 + yyv23817 := yyv3817 + yyrl3817, yyrt3817 = z.DecInferLen(yyl3817, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3817 { + if yyrl3817 <= cap(yyv3817) { + yyv3817 = yyv3817[:yyrl3817] } else { - yyv3826 = make([]Event, yyrl3826) + yyv3817 = make([]EndpointSubset, yyrl3817) } } else { - yyv3826 = make([]Event, yyrl3826) + yyv3817 = make([]EndpointSubset, yyrl3817) } - yyc3826 = true - yyrr3826 = len(yyv3826) - if yyrg3826 { - copy(yyv3826, yyv23826) + yyc3817 = true + yyrr3817 = len(yyv3817) + if yyrg3817 { + copy(yyv3817, yyv23817) } - } else if yyl3826 != len(yyv3826) { - yyv3826 = yyv3826[:yyl3826] - yyc3826 = true + } else if yyl3817 != len(yyv3817) { + yyv3817 = yyv3817[:yyl3817] + yyc3817 = true } - yyj3826 := 0 - for ; yyj3826 < yyrr3826; yyj3826++ { - yyh3826.ElemContainerState(yyj3826) + yyj3817 := 0 + for ; yyj3817 < yyrr3817; yyj3817++ { + yyh3817.ElemContainerState(yyj3817) if r.TryDecodeAsNil() { - yyv3826[yyj3826] = Event{} + yyv3817[yyj3817] = EndpointSubset{} } else { - yyv3827 := &yyv3826[yyj3826] - yyv3827.CodecDecodeSelf(d) + yyv3818 := &yyv3817[yyj3817] + yyv3818.CodecDecodeSelf(d) } } - if yyrt3826 { - for ; yyj3826 < yyl3826; yyj3826++ { - yyv3826 = append(yyv3826, Event{}) - yyh3826.ElemContainerState(yyj3826) + if yyrt3817 { + for ; yyj3817 < yyl3817; yyj3817++ { + yyv3817 = append(yyv3817, EndpointSubset{}) + yyh3817.ElemContainerState(yyj3817) if r.TryDecodeAsNil() { - yyv3826[yyj3826] = Event{} + yyv3817[yyj3817] = EndpointSubset{} } else { - yyv3828 := &yyv3826[yyj3826] - yyv3828.CodecDecodeSelf(d) + yyv3819 := &yyv3817[yyj3817] + yyv3819.CodecDecodeSelf(d) } } } } else { - yyj3826 := 0 - for ; !r.CheckBreak(); yyj3826++ { + yyj3817 := 0 + for ; !r.CheckBreak(); yyj3817++ { - if yyj3826 >= len(yyv3826) { - yyv3826 = append(yyv3826, Event{}) // var yyz3826 Event - yyc3826 = true + if yyj3817 >= len(yyv3817) { + yyv3817 = append(yyv3817, EndpointSubset{}) // var yyz3817 EndpointSubset + yyc3817 = true } - yyh3826.ElemContainerState(yyj3826) - if yyj3826 < len(yyv3826) { + yyh3817.ElemContainerState(yyj3817) + if yyj3817 < len(yyv3817) { if r.TryDecodeAsNil() { - yyv3826[yyj3826] = Event{} + yyv3817[yyj3817] = EndpointSubset{} } else { - yyv3829 := &yyv3826[yyj3826] - yyv3829.CodecDecodeSelf(d) + yyv3820 := &yyv3817[yyj3817] + yyv3820.CodecDecodeSelf(d) } } else { @@ -48731,142 +48144,115 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj3826 < len(yyv3826) { - yyv3826 = yyv3826[:yyj3826] - yyc3826 = true - } else if yyj3826 == 0 && yyv3826 == nil { - yyv3826 = []Event{} - yyc3826 = true + if yyj3817 < len(yyv3817) { + yyv3817 = yyv3817[:yyj3817] + yyc3817 = true + } else if yyj3817 == 0 && yyv3817 == nil { + yyv3817 = []EndpointSubset{} + yyc3817 = true } } - yyh3826.End() - if yyc3826 { - *v = yyv3826 + yyh3817.End() + if yyc3817 { + *v = yyv3817 } } -func (x codecSelfer1234) encSliceruntime_Object(v []pkg8_runtime.Object, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3830 := range v { + for _, yyv3821 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyv3830 == nil { - r.EncodeNil() - } else { - yym3831 := z.EncBinary() - _ = yym3831 - if false { - } else if z.HasExtensions() && z.EncExt(yyv3830) { - } else { - z.EncFallback(yyv3830) - } - } + yy3822 := &yyv3821 + yy3822.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3832 := *v - yyh3832, yyl3832 := z.DecSliceHelperStart() - var yyc3832 bool - if yyl3832 == 0 { - if yyv3832 == nil { - yyv3832 = []pkg8_runtime.Object{} - yyc3832 = true - } else if len(yyv3832) != 0 { - yyv3832 = yyv3832[:0] - yyc3832 = true + yyv3823 := *v + yyh3823, yyl3823 := z.DecSliceHelperStart() + var yyc3823 bool + if yyl3823 == 0 { + if yyv3823 == nil { + yyv3823 = []EndpointAddress{} + yyc3823 = true + } else if len(yyv3823) != 0 { + yyv3823 = yyv3823[:0] + yyc3823 = true } - } else if yyl3832 > 0 { - var yyrr3832, yyrl3832 int - var yyrt3832 bool - if yyl3832 > cap(yyv3832) { + } else if yyl3823 > 0 { + var yyrr3823, yyrl3823 int + var yyrt3823 bool + if yyl3823 > cap(yyv3823) { - yyrg3832 := len(yyv3832) > 0 - yyv23832 := yyv3832 - yyrl3832, yyrt3832 = z.DecInferLen(yyl3832, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3832 { - if yyrl3832 <= cap(yyv3832) { - yyv3832 = yyv3832[:yyrl3832] + yyrg3823 := len(yyv3823) > 0 + yyv23823 := yyv3823 + yyrl3823, yyrt3823 = z.DecInferLen(yyl3823, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3823 { + if yyrl3823 <= cap(yyv3823) { + yyv3823 = yyv3823[:yyrl3823] } else { - yyv3832 = make([]pkg8_runtime.Object, yyrl3832) + yyv3823 = make([]EndpointAddress, yyrl3823) } } else { - yyv3832 = make([]pkg8_runtime.Object, yyrl3832) + yyv3823 = make([]EndpointAddress, yyrl3823) } - yyc3832 = true - yyrr3832 = len(yyv3832) - if yyrg3832 { - copy(yyv3832, yyv23832) + yyc3823 = true + yyrr3823 = len(yyv3823) + if yyrg3823 { + copy(yyv3823, yyv23823) } - } else if yyl3832 != len(yyv3832) { - yyv3832 = yyv3832[:yyl3832] - yyc3832 = true + } else if yyl3823 != len(yyv3823) { + yyv3823 = yyv3823[:yyl3823] + yyc3823 = true } - yyj3832 := 0 - for ; yyj3832 < yyrr3832; yyj3832++ { - yyh3832.ElemContainerState(yyj3832) + yyj3823 := 0 + for ; yyj3823 < yyrr3823; yyj3823++ { + yyh3823.ElemContainerState(yyj3823) if r.TryDecodeAsNil() { - yyv3832[yyj3832] = nil + yyv3823[yyj3823] = EndpointAddress{} } else { - yyv3833 := &yyv3832[yyj3832] - yym3834 := z.DecBinary() - _ = yym3834 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3833) { - } else { - z.DecFallback(yyv3833, true) - } + yyv3824 := &yyv3823[yyj3823] + yyv3824.CodecDecodeSelf(d) } } - if yyrt3832 { - for ; yyj3832 < yyl3832; yyj3832++ { - yyv3832 = append(yyv3832, nil) - yyh3832.ElemContainerState(yyj3832) + if yyrt3823 { + for ; yyj3823 < yyl3823; yyj3823++ { + yyv3823 = append(yyv3823, EndpointAddress{}) + yyh3823.ElemContainerState(yyj3823) if r.TryDecodeAsNil() { - yyv3832[yyj3832] = nil + yyv3823[yyj3823] = EndpointAddress{} } else { - yyv3835 := &yyv3832[yyj3832] - yym3836 := z.DecBinary() - _ = yym3836 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3835) { - } else { - z.DecFallback(yyv3835, true) - } + yyv3825 := &yyv3823[yyj3823] + yyv3825.CodecDecodeSelf(d) } } } } else { - yyj3832 := 0 - for ; !r.CheckBreak(); yyj3832++ { + yyj3823 := 0 + for ; !r.CheckBreak(); yyj3823++ { - if yyj3832 >= len(yyv3832) { - yyv3832 = append(yyv3832, nil) // var yyz3832 pkg8_runtime.Object - yyc3832 = true + if yyj3823 >= len(yyv3823) { + yyv3823 = append(yyv3823, EndpointAddress{}) // var yyz3823 EndpointAddress + yyc3823 = true } - yyh3832.ElemContainerState(yyj3832) - if yyj3832 < len(yyv3832) { + yyh3823.ElemContainerState(yyj3823) + if yyj3823 < len(yyv3823) { if r.TryDecodeAsNil() { - yyv3832[yyj3832] = nil + yyv3823[yyj3823] = EndpointAddress{} } else { - yyv3837 := &yyv3832[yyj3832] - yym3838 := z.DecBinary() - _ = yym3838 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3837) { - } else { - z.DecFallback(yyv3837, true) - } + yyv3826 := &yyv3823[yyj3823] + yyv3826.CodecDecodeSelf(d) } } else { @@ -48874,21 +48260,253 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *cod } } - if yyj3832 < len(yyv3832) { - yyv3832 = yyv3832[:yyj3832] - yyc3832 = true - } else if yyj3832 == 0 && yyv3832 == nil { - yyv3832 = []pkg8_runtime.Object{} - yyc3832 = true + if yyj3823 < len(yyv3823) { + yyv3823 = yyv3823[:yyj3823] + yyc3823 = true + } else if yyj3823 == 0 && yyv3823 == nil { + yyv3823 = []EndpointAddress{} + yyc3823 = true } } - yyh3832.End() - if yyc3832 { - *v = yyv3832 + yyh3823.End() + if yyc3823 { + *v = yyv3823 } } -func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3827 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3828 := &yyv3827 + yy3828.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3829 := *v + yyh3829, yyl3829 := z.DecSliceHelperStart() + var yyc3829 bool + if yyl3829 == 0 { + if yyv3829 == nil { + yyv3829 = []EndpointPort{} + yyc3829 = true + } else if len(yyv3829) != 0 { + yyv3829 = yyv3829[:0] + yyc3829 = true + } + } else if yyl3829 > 0 { + var yyrr3829, yyrl3829 int + var yyrt3829 bool + if yyl3829 > cap(yyv3829) { + + yyrg3829 := len(yyv3829) > 0 + yyv23829 := yyv3829 + yyrl3829, yyrt3829 = z.DecInferLen(yyl3829, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3829 { + if yyrl3829 <= cap(yyv3829) { + yyv3829 = yyv3829[:yyrl3829] + } else { + yyv3829 = make([]EndpointPort, yyrl3829) + } + } else { + yyv3829 = make([]EndpointPort, yyrl3829) + } + yyc3829 = true + yyrr3829 = len(yyv3829) + if yyrg3829 { + copy(yyv3829, yyv23829) + } + } else if yyl3829 != len(yyv3829) { + yyv3829 = yyv3829[:yyl3829] + yyc3829 = true + } + yyj3829 := 0 + for ; yyj3829 < yyrr3829; yyj3829++ { + yyh3829.ElemContainerState(yyj3829) + if r.TryDecodeAsNil() { + yyv3829[yyj3829] = EndpointPort{} + } else { + yyv3830 := &yyv3829[yyj3829] + yyv3830.CodecDecodeSelf(d) + } + + } + if yyrt3829 { + for ; yyj3829 < yyl3829; yyj3829++ { + yyv3829 = append(yyv3829, EndpointPort{}) + yyh3829.ElemContainerState(yyj3829) + if r.TryDecodeAsNil() { + yyv3829[yyj3829] = EndpointPort{} + } else { + yyv3831 := &yyv3829[yyj3829] + yyv3831.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3829 := 0 + for ; !r.CheckBreak(); yyj3829++ { + + if yyj3829 >= len(yyv3829) { + yyv3829 = append(yyv3829, EndpointPort{}) // var yyz3829 EndpointPort + yyc3829 = true + } + yyh3829.ElemContainerState(yyj3829) + if yyj3829 < len(yyv3829) { + if r.TryDecodeAsNil() { + yyv3829[yyj3829] = EndpointPort{} + } else { + yyv3832 := &yyv3829[yyj3829] + yyv3832.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3829 < len(yyv3829) { + yyv3829 = yyv3829[:yyj3829] + yyc3829 = true + } else if yyj3829 == 0 && yyv3829 == nil { + yyv3829 = []EndpointPort{} + yyc3829 = true + } + } + yyh3829.End() + if yyc3829 { + *v = yyv3829 + } +} + +func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3833 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3834 := &yyv3833 + yy3834.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3835 := *v + yyh3835, yyl3835 := z.DecSliceHelperStart() + var yyc3835 bool + if yyl3835 == 0 { + if yyv3835 == nil { + yyv3835 = []Endpoints{} + yyc3835 = true + } else if len(yyv3835) != 0 { + yyv3835 = yyv3835[:0] + yyc3835 = true + } + } else if yyl3835 > 0 { + var yyrr3835, yyrl3835 int + var yyrt3835 bool + if yyl3835 > cap(yyv3835) { + + yyrg3835 := len(yyv3835) > 0 + yyv23835 := yyv3835 + yyrl3835, yyrt3835 = z.DecInferLen(yyl3835, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3835 { + if yyrl3835 <= cap(yyv3835) { + yyv3835 = yyv3835[:yyrl3835] + } else { + yyv3835 = make([]Endpoints, yyrl3835) + } + } else { + yyv3835 = make([]Endpoints, yyrl3835) + } + yyc3835 = true + yyrr3835 = len(yyv3835) + if yyrg3835 { + copy(yyv3835, yyv23835) + } + } else if yyl3835 != len(yyv3835) { + yyv3835 = yyv3835[:yyl3835] + yyc3835 = true + } + yyj3835 := 0 + for ; yyj3835 < yyrr3835; yyj3835++ { + yyh3835.ElemContainerState(yyj3835) + if r.TryDecodeAsNil() { + yyv3835[yyj3835] = Endpoints{} + } else { + yyv3836 := &yyv3835[yyj3835] + yyv3836.CodecDecodeSelf(d) + } + + } + if yyrt3835 { + for ; yyj3835 < yyl3835; yyj3835++ { + yyv3835 = append(yyv3835, Endpoints{}) + yyh3835.ElemContainerState(yyj3835) + if r.TryDecodeAsNil() { + yyv3835[yyj3835] = Endpoints{} + } else { + yyv3837 := &yyv3835[yyj3835] + yyv3837.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3835 := 0 + for ; !r.CheckBreak(); yyj3835++ { + + if yyj3835 >= len(yyv3835) { + yyv3835 = append(yyv3835, Endpoints{}) // var yyz3835 Endpoints + yyc3835 = true + } + yyh3835.ElemContainerState(yyj3835) + if yyj3835 < len(yyv3835) { + if r.TryDecodeAsNil() { + yyv3835[yyj3835] = Endpoints{} + } else { + yyv3838 := &yyv3835[yyj3835] + yyv3838.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3835 < len(yyv3835) { + yyv3835 = yyv3835[:yyj3835] + yyc3835 = true + } else if yyj3835 == 0 && yyv3835 == nil { + yyv3835 = []Endpoints{} + yyc3835 = true + } + } + yyh3835.End() + if yyc3835 { + *v = yyv3835 + } +} + +func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -48901,7 +48519,7 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -48911,7 +48529,7 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 var yyc3841 bool if yyl3841 == 0 { if yyv3841 == nil { - yyv3841 = []LimitRangeItem{} + yyv3841 = []NodeCondition{} yyc3841 = true } else if len(yyv3841) != 0 { yyv3841 = yyv3841[:0] @@ -48924,15 +48542,15 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 yyrg3841 := len(yyv3841) > 0 yyv23841 := yyv3841 - yyrl3841, yyrt3841 = z.DecInferLen(yyl3841, z.DecBasicHandle().MaxInitLen, 56) + yyrl3841, yyrt3841 = z.DecInferLen(yyl3841, z.DecBasicHandle().MaxInitLen, 112) if yyrt3841 { if yyrl3841 <= cap(yyv3841) { yyv3841 = yyv3841[:yyrl3841] } else { - yyv3841 = make([]LimitRangeItem, yyrl3841) + yyv3841 = make([]NodeCondition, yyrl3841) } } else { - yyv3841 = make([]LimitRangeItem, yyrl3841) + yyv3841 = make([]NodeCondition, yyrl3841) } yyc3841 = true yyrr3841 = len(yyv3841) @@ -48947,7 +48565,7 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 for ; yyj3841 < yyrr3841; yyj3841++ { yyh3841.ElemContainerState(yyj3841) if r.TryDecodeAsNil() { - yyv3841[yyj3841] = LimitRangeItem{} + yyv3841[yyj3841] = NodeCondition{} } else { yyv3842 := &yyv3841[yyj3841] yyv3842.CodecDecodeSelf(d) @@ -48956,10 +48574,10 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } if yyrt3841 { for ; yyj3841 < yyl3841; yyj3841++ { - yyv3841 = append(yyv3841, LimitRangeItem{}) + yyv3841 = append(yyv3841, NodeCondition{}) yyh3841.ElemContainerState(yyj3841) if r.TryDecodeAsNil() { - yyv3841[yyj3841] = LimitRangeItem{} + yyv3841[yyj3841] = NodeCondition{} } else { yyv3843 := &yyv3841[yyj3841] yyv3843.CodecDecodeSelf(d) @@ -48973,13 +48591,13 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 for ; !r.CheckBreak(); yyj3841++ { if yyj3841 >= len(yyv3841) { - yyv3841 = append(yyv3841, LimitRangeItem{}) // var yyz3841 LimitRangeItem + yyv3841 = append(yyv3841, NodeCondition{}) // var yyz3841 NodeCondition yyc3841 = true } yyh3841.ElemContainerState(yyj3841) if yyj3841 < len(yyv3841) { if r.TryDecodeAsNil() { - yyv3841[yyj3841] = LimitRangeItem{} + yyv3841[yyj3841] = NodeCondition{} } else { yyv3844 := &yyv3841[yyj3841] yyv3844.CodecDecodeSelf(d) @@ -48994,7 +48612,7 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 yyv3841 = yyv3841[:yyj3841] yyc3841 = true } else if yyj3841 == 0 && yyv3841 == nil { - yyv3841 = []LimitRangeItem{} + yyv3841 = []NodeCondition{} yyc3841 = true } } @@ -49004,7 +48622,7 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } -func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -49017,7 +48635,7 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -49027,7 +48645,7 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode var yyc3847 bool if yyl3847 == 0 { if yyv3847 == nil { - yyv3847 = []LimitRange{} + yyv3847 = []NodeAddress{} yyc3847 = true } else if len(yyv3847) != 0 { yyv3847 = yyv3847[:0] @@ -49040,15 +48658,15 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode yyrg3847 := len(yyv3847) > 0 yyv23847 := yyv3847 - yyrl3847, yyrt3847 = z.DecInferLen(yyl3847, z.DecBasicHandle().MaxInitLen, 216) + yyrl3847, yyrt3847 = z.DecInferLen(yyl3847, z.DecBasicHandle().MaxInitLen, 32) if yyrt3847 { if yyrl3847 <= cap(yyv3847) { yyv3847 = yyv3847[:yyrl3847] } else { - yyv3847 = make([]LimitRange, yyrl3847) + yyv3847 = make([]NodeAddress, yyrl3847) } } else { - yyv3847 = make([]LimitRange, yyrl3847) + yyv3847 = make([]NodeAddress, yyrl3847) } yyc3847 = true yyrr3847 = len(yyv3847) @@ -49063,7 +48681,7 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode for ; yyj3847 < yyrr3847; yyj3847++ { yyh3847.ElemContainerState(yyj3847) if r.TryDecodeAsNil() { - yyv3847[yyj3847] = LimitRange{} + yyv3847[yyj3847] = NodeAddress{} } else { yyv3848 := &yyv3847[yyj3847] yyv3848.CodecDecodeSelf(d) @@ -49072,10 +48690,10 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } if yyrt3847 { for ; yyj3847 < yyl3847; yyj3847++ { - yyv3847 = append(yyv3847, LimitRange{}) + yyv3847 = append(yyv3847, NodeAddress{}) yyh3847.ElemContainerState(yyj3847) if r.TryDecodeAsNil() { - yyv3847[yyj3847] = LimitRange{} + yyv3847[yyj3847] = NodeAddress{} } else { yyv3849 := &yyv3847[yyj3847] yyv3849.CodecDecodeSelf(d) @@ -49089,13 +48707,13 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode for ; !r.CheckBreak(); yyj3847++ { if yyj3847 >= len(yyv3847) { - yyv3847 = append(yyv3847, LimitRange{}) // var yyz3847 LimitRange + yyv3847 = append(yyv3847, NodeAddress{}) // var yyz3847 NodeAddress yyc3847 = true } yyh3847.ElemContainerState(yyj3847) if yyj3847 < len(yyv3847) { if r.TryDecodeAsNil() { - yyv3847[yyj3847] = LimitRange{} + yyv3847[yyj3847] = NodeAddress{} } else { yyv3850 := &yyv3847[yyj3847] yyv3850.CodecDecodeSelf(d) @@ -49110,7 +48728,7 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode yyv3847 = yyv3847[:yyj3847] yyc3847 = true } else if yyj3847 == 0 && yyv3847 == nil { - yyv3847 = []LimitRange{} + yyv3847 = []NodeAddress{} yyc3847 = true } } @@ -49120,7 +48738,7 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -49133,7 +48751,7 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -49143,7 +48761,7 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. var yyc3853 bool if yyl3853 == 0 { if yyv3853 == nil { - yyv3853 = []ResourceQuota{} + yyv3853 = []ContainerImage{} yyc3853 = true } else if len(yyv3853) != 0 { yyv3853 = yyv3853[:0] @@ -49156,15 +48774,15 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. yyrg3853 := len(yyv3853) > 0 yyv23853 := yyv3853 - yyrl3853, yyrt3853 = z.DecInferLen(yyl3853, z.DecBasicHandle().MaxInitLen, 216) + yyrl3853, yyrt3853 = z.DecInferLen(yyl3853, z.DecBasicHandle().MaxInitLen, 32) if yyrt3853 { if yyrl3853 <= cap(yyv3853) { yyv3853 = yyv3853[:yyrl3853] } else { - yyv3853 = make([]ResourceQuota, yyrl3853) + yyv3853 = make([]ContainerImage, yyrl3853) } } else { - yyv3853 = make([]ResourceQuota, yyrl3853) + yyv3853 = make([]ContainerImage, yyrl3853) } yyc3853 = true yyrr3853 = len(yyv3853) @@ -49179,7 +48797,7 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. for ; yyj3853 < yyrr3853; yyj3853++ { yyh3853.ElemContainerState(yyj3853) if r.TryDecodeAsNil() { - yyv3853[yyj3853] = ResourceQuota{} + yyv3853[yyj3853] = ContainerImage{} } else { yyv3854 := &yyv3853[yyj3853] yyv3854.CodecDecodeSelf(d) @@ -49188,10 +48806,10 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } if yyrt3853 { for ; yyj3853 < yyl3853; yyj3853++ { - yyv3853 = append(yyv3853, ResourceQuota{}) + yyv3853 = append(yyv3853, ContainerImage{}) yyh3853.ElemContainerState(yyj3853) if r.TryDecodeAsNil() { - yyv3853[yyj3853] = ResourceQuota{} + yyv3853[yyj3853] = ContainerImage{} } else { yyv3855 := &yyv3853[yyj3853] yyv3855.CodecDecodeSelf(d) @@ -49205,13 +48823,13 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. for ; !r.CheckBreak(); yyj3853++ { if yyj3853 >= len(yyv3853) { - yyv3853 = append(yyv3853, ResourceQuota{}) // var yyz3853 ResourceQuota + yyv3853 = append(yyv3853, ContainerImage{}) // var yyz3853 ContainerImage yyc3853 = true } yyh3853.ElemContainerState(yyj3853) if yyj3853 < len(yyv3853) { if r.TryDecodeAsNil() { - yyv3853[yyj3853] = ResourceQuota{} + yyv3853[yyj3853] = ContainerImage{} } else { yyv3856 := &yyv3853[yyj3853] yyv3856.CodecDecodeSelf(d) @@ -49226,7 +48844,7 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. yyv3853 = yyv3853[:yyj3853] yyc3853 = true } else if yyj3853 == 0 && yyv3853 == nil { - yyv3853 = []ResourceQuota{} + yyv3853 = []ContainerImage{} yyc3853 = true } } @@ -49236,35 +48854,30 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } -func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec1978.Encoder) { +func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) for yyk3857, yyv3857 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym3858 := z.EncBinary() - _ = yym3858 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk3857)) - } + yyk3857.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv3857 == nil { - r.EncodeNil() + yy3858 := &yyv3857 + yym3859 := z.EncBinary() + _ = yym3859 + if false { + } else if z.HasExtensions() && z.EncExt(yy3858) { + } else if !yym3859 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3858) } else { - yym3859 := z.EncBinary() - _ = yym3859 - if false { - } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3857)) - } + z.EncFallback(yy3858) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1978.Decoder) { +func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -49274,11 +48887,11 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 yybh3860 := z.DecBasicHandle() if yyv3860 == nil { yyrl3860, _ := z.DecInferLen(yyl3860, yybh3860.MaxInitLen, 40) - yyv3860 = make(map[string][]uint8, yyrl3860) + yyv3860 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3860) *v = yyv3860 } - var yymk3860 string - var yymv3860 []uint8 + var yymk3860 ResourceName + var yymv3860 pkg3_resource.Quantity var yymg3860 bool if yybh3860.MapValueReset { yymg3860 = true @@ -49289,24 +48902,27 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 if r.TryDecodeAsNil() { yymk3860 = "" } else { - yymk3860 = string(r.DecodeString()) + yymk3860 = ResourceName(r.DecodeString()) } if yymg3860 { yymv3860 = yyv3860[yymk3860] } else { - yymv3860 = nil + yymv3860 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3860 = nil + yymv3860 = pkg3_resource.Quantity{} } else { yyv3862 := &yymv3860 yym3863 := z.DecBinary() _ = yym3863 if false { + } else if z.HasExtensions() && z.DecExt(yyv3862) { + } else if !yym3863 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3862) } else { - *yyv3862 = r.DecodeBytes(*(*[]byte)(yyv3862), false, false) + z.DecFallback(yyv3862, false) } } @@ -49320,24 +48936,27 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 if r.TryDecodeAsNil() { yymk3860 = "" } else { - yymk3860 = string(r.DecodeString()) + yymk3860 = ResourceName(r.DecodeString()) } if yymg3860 { yymv3860 = yyv3860[yymk3860] } else { - yymv3860 = nil + yymv3860 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3860 = nil + yymv3860 = pkg3_resource.Quantity{} } else { yyv3865 := &yymv3860 yym3866 := z.DecBinary() _ = yym3866 if false { + } else if z.HasExtensions() && z.DecExt(yyv3865) { + } else if !yym3866 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3865) } else { - *yyv3865 = r.DecodeBytes(*(*[]byte)(yyv3865), false, false) + z.DecFallback(yyv3865, false) } } @@ -49349,7 +48968,7 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -49362,7 +48981,7 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -49372,7 +48991,7 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { var yyc3869 bool if yyl3869 == 0 { if yyv3869 == nil { - yyv3869 = []Secret{} + yyv3869 = []Node{} yyc3869 = true } else if len(yyv3869) != 0 { yyv3869 = yyv3869[:0] @@ -49385,15 +49004,15 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { yyrg3869 := len(yyv3869) > 0 yyv23869 := yyv3869 - yyrl3869, yyrt3869 = z.DecInferLen(yyl3869, z.DecBasicHandle().MaxInitLen, 216) + yyrl3869, yyrt3869 = z.DecInferLen(yyl3869, z.DecBasicHandle().MaxInitLen, 488) if yyrt3869 { if yyrl3869 <= cap(yyv3869) { yyv3869 = yyv3869[:yyrl3869] } else { - yyv3869 = make([]Secret, yyrl3869) + yyv3869 = make([]Node, yyrl3869) } } else { - yyv3869 = make([]Secret, yyrl3869) + yyv3869 = make([]Node, yyrl3869) } yyc3869 = true yyrr3869 = len(yyv3869) @@ -49408,7 +49027,7 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { for ; yyj3869 < yyrr3869; yyj3869++ { yyh3869.ElemContainerState(yyj3869) if r.TryDecodeAsNil() { - yyv3869[yyj3869] = Secret{} + yyv3869[yyj3869] = Node{} } else { yyv3870 := &yyv3869[yyj3869] yyv3870.CodecDecodeSelf(d) @@ -49417,10 +49036,10 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } if yyrt3869 { for ; yyj3869 < yyl3869; yyj3869++ { - yyv3869 = append(yyv3869, Secret{}) + yyv3869 = append(yyv3869, Node{}) yyh3869.ElemContainerState(yyj3869) if r.TryDecodeAsNil() { - yyv3869[yyj3869] = Secret{} + yyv3869[yyj3869] = Node{} } else { yyv3871 := &yyv3869[yyj3869] yyv3871.CodecDecodeSelf(d) @@ -49434,13 +49053,13 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj3869++ { if yyj3869 >= len(yyv3869) { - yyv3869 = append(yyv3869, Secret{}) // var yyz3869 Secret + yyv3869 = append(yyv3869, Node{}) // var yyz3869 Node yyc3869 = true } yyh3869.ElemContainerState(yyj3869) if yyj3869 < len(yyv3869) { if r.TryDecodeAsNil() { - yyv3869[yyj3869] = Secret{} + yyv3869[yyj3869] = Node{} } else { yyv3872 := &yyv3869[yyj3869] yyv3872.CodecDecodeSelf(d) @@ -49455,7 +49074,7 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { yyv3869 = yyv3869[:yyj3869] yyc3869 = true } else if yyj3869 == 0 && yyv3869 == nil { - yyv3869 = []Secret{} + yyv3869 = []Node{} yyc3869 = true } } @@ -49465,15 +49084,1190 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv3873 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3874 := &yyv3873 - yy3874.CodecEncodeSelf(e) + yyv3873.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3874 := *v + yyh3874, yyl3874 := z.DecSliceHelperStart() + var yyc3874 bool + if yyl3874 == 0 { + if yyv3874 == nil { + yyv3874 = []FinalizerName{} + yyc3874 = true + } else if len(yyv3874) != 0 { + yyv3874 = yyv3874[:0] + yyc3874 = true + } + } else if yyl3874 > 0 { + var yyrr3874, yyrl3874 int + var yyrt3874 bool + if yyl3874 > cap(yyv3874) { + + yyrl3874, yyrt3874 = z.DecInferLen(yyl3874, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3874 { + if yyrl3874 <= cap(yyv3874) { + yyv3874 = yyv3874[:yyrl3874] + } else { + yyv3874 = make([]FinalizerName, yyrl3874) + } + } else { + yyv3874 = make([]FinalizerName, yyrl3874) + } + yyc3874 = true + yyrr3874 = len(yyv3874) + } else if yyl3874 != len(yyv3874) { + yyv3874 = yyv3874[:yyl3874] + yyc3874 = true + } + yyj3874 := 0 + for ; yyj3874 < yyrr3874; yyj3874++ { + yyh3874.ElemContainerState(yyj3874) + if r.TryDecodeAsNil() { + yyv3874[yyj3874] = "" + } else { + yyv3874[yyj3874] = FinalizerName(r.DecodeString()) + } + + } + if yyrt3874 { + for ; yyj3874 < yyl3874; yyj3874++ { + yyv3874 = append(yyv3874, "") + yyh3874.ElemContainerState(yyj3874) + if r.TryDecodeAsNil() { + yyv3874[yyj3874] = "" + } else { + yyv3874[yyj3874] = FinalizerName(r.DecodeString()) + } + + } + } + + } else { + yyj3874 := 0 + for ; !r.CheckBreak(); yyj3874++ { + + if yyj3874 >= len(yyv3874) { + yyv3874 = append(yyv3874, "") // var yyz3874 FinalizerName + yyc3874 = true + } + yyh3874.ElemContainerState(yyj3874) + if yyj3874 < len(yyv3874) { + if r.TryDecodeAsNil() { + yyv3874[yyj3874] = "" + } else { + yyv3874[yyj3874] = FinalizerName(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj3874 < len(yyv3874) { + yyv3874 = yyv3874[:yyj3874] + yyc3874 = true + } else if yyj3874 == 0 && yyv3874 == nil { + yyv3874 = []FinalizerName{} + yyc3874 = true + } + } + yyh3874.End() + if yyc3874 { + *v = yyv3874 + } +} + +func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3878 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3879 := &yyv3878 + yy3879.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3880 := *v + yyh3880, yyl3880 := z.DecSliceHelperStart() + var yyc3880 bool + if yyl3880 == 0 { + if yyv3880 == nil { + yyv3880 = []Namespace{} + yyc3880 = true + } else if len(yyv3880) != 0 { + yyv3880 = yyv3880[:0] + yyc3880 = true + } + } else if yyl3880 > 0 { + var yyrr3880, yyrl3880 int + var yyrt3880 bool + if yyl3880 > cap(yyv3880) { + + yyrg3880 := len(yyv3880) > 0 + yyv23880 := yyv3880 + yyrl3880, yyrt3880 = z.DecInferLen(yyl3880, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3880 { + if yyrl3880 <= cap(yyv3880) { + yyv3880 = yyv3880[:yyrl3880] + } else { + yyv3880 = make([]Namespace, yyrl3880) + } + } else { + yyv3880 = make([]Namespace, yyrl3880) + } + yyc3880 = true + yyrr3880 = len(yyv3880) + if yyrg3880 { + copy(yyv3880, yyv23880) + } + } else if yyl3880 != len(yyv3880) { + yyv3880 = yyv3880[:yyl3880] + yyc3880 = true + } + yyj3880 := 0 + for ; yyj3880 < yyrr3880; yyj3880++ { + yyh3880.ElemContainerState(yyj3880) + if r.TryDecodeAsNil() { + yyv3880[yyj3880] = Namespace{} + } else { + yyv3881 := &yyv3880[yyj3880] + yyv3881.CodecDecodeSelf(d) + } + + } + if yyrt3880 { + for ; yyj3880 < yyl3880; yyj3880++ { + yyv3880 = append(yyv3880, Namespace{}) + yyh3880.ElemContainerState(yyj3880) + if r.TryDecodeAsNil() { + yyv3880[yyj3880] = Namespace{} + } else { + yyv3882 := &yyv3880[yyj3880] + yyv3882.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3880 := 0 + for ; !r.CheckBreak(); yyj3880++ { + + if yyj3880 >= len(yyv3880) { + yyv3880 = append(yyv3880, Namespace{}) // var yyz3880 Namespace + yyc3880 = true + } + yyh3880.ElemContainerState(yyj3880) + if yyj3880 < len(yyv3880) { + if r.TryDecodeAsNil() { + yyv3880[yyj3880] = Namespace{} + } else { + yyv3883 := &yyv3880[yyj3880] + yyv3883.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3880 < len(yyv3880) { + yyv3880 = yyv3880[:yyj3880] + yyc3880 = true + } else if yyj3880 == 0 && yyv3880 == nil { + yyv3880 = []Namespace{} + yyc3880 = true + } + } + yyh3880.End() + if yyc3880 { + *v = yyv3880 + } +} + +func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3884 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3885 := &yyv3884 + yy3885.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3886 := *v + yyh3886, yyl3886 := z.DecSliceHelperStart() + var yyc3886 bool + if yyl3886 == 0 { + if yyv3886 == nil { + yyv3886 = []Event{} + yyc3886 = true + } else if len(yyv3886) != 0 { + yyv3886 = yyv3886[:0] + yyc3886 = true + } + } else if yyl3886 > 0 { + var yyrr3886, yyrl3886 int + var yyrt3886 bool + if yyl3886 > cap(yyv3886) { + + yyrg3886 := len(yyv3886) > 0 + yyv23886 := yyv3886 + yyrl3886, yyrt3886 = z.DecInferLen(yyl3886, z.DecBasicHandle().MaxInitLen, 440) + if yyrt3886 { + if yyrl3886 <= cap(yyv3886) { + yyv3886 = yyv3886[:yyrl3886] + } else { + yyv3886 = make([]Event, yyrl3886) + } + } else { + yyv3886 = make([]Event, yyrl3886) + } + yyc3886 = true + yyrr3886 = len(yyv3886) + if yyrg3886 { + copy(yyv3886, yyv23886) + } + } else if yyl3886 != len(yyv3886) { + yyv3886 = yyv3886[:yyl3886] + yyc3886 = true + } + yyj3886 := 0 + for ; yyj3886 < yyrr3886; yyj3886++ { + yyh3886.ElemContainerState(yyj3886) + if r.TryDecodeAsNil() { + yyv3886[yyj3886] = Event{} + } else { + yyv3887 := &yyv3886[yyj3886] + yyv3887.CodecDecodeSelf(d) + } + + } + if yyrt3886 { + for ; yyj3886 < yyl3886; yyj3886++ { + yyv3886 = append(yyv3886, Event{}) + yyh3886.ElemContainerState(yyj3886) + if r.TryDecodeAsNil() { + yyv3886[yyj3886] = Event{} + } else { + yyv3888 := &yyv3886[yyj3886] + yyv3888.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3886 := 0 + for ; !r.CheckBreak(); yyj3886++ { + + if yyj3886 >= len(yyv3886) { + yyv3886 = append(yyv3886, Event{}) // var yyz3886 Event + yyc3886 = true + } + yyh3886.ElemContainerState(yyj3886) + if yyj3886 < len(yyv3886) { + if r.TryDecodeAsNil() { + yyv3886[yyj3886] = Event{} + } else { + yyv3889 := &yyv3886[yyj3886] + yyv3889.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3886 < len(yyv3886) { + yyv3886 = yyv3886[:yyj3886] + yyc3886 = true + } else if yyj3886 == 0 && yyv3886 == nil { + yyv3886 = []Event{} + yyc3886 = true + } + } + yyh3886.End() + if yyc3886 { + *v = yyv3886 + } +} + +func (x codecSelfer1234) encSliceruntime_Object(v []pkg8_runtime.Object, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3890 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyv3890 == nil { + r.EncodeNil() + } else { + yym3891 := z.EncBinary() + _ = yym3891 + if false { + } else if z.HasExtensions() && z.EncExt(yyv3890) { + } else { + z.EncFallback(yyv3890) + } + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3892 := *v + yyh3892, yyl3892 := z.DecSliceHelperStart() + var yyc3892 bool + if yyl3892 == 0 { + if yyv3892 == nil { + yyv3892 = []pkg8_runtime.Object{} + yyc3892 = true + } else if len(yyv3892) != 0 { + yyv3892 = yyv3892[:0] + yyc3892 = true + } + } else if yyl3892 > 0 { + var yyrr3892, yyrl3892 int + var yyrt3892 bool + if yyl3892 > cap(yyv3892) { + + yyrg3892 := len(yyv3892) > 0 + yyv23892 := yyv3892 + yyrl3892, yyrt3892 = z.DecInferLen(yyl3892, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3892 { + if yyrl3892 <= cap(yyv3892) { + yyv3892 = yyv3892[:yyrl3892] + } else { + yyv3892 = make([]pkg8_runtime.Object, yyrl3892) + } + } else { + yyv3892 = make([]pkg8_runtime.Object, yyrl3892) + } + yyc3892 = true + yyrr3892 = len(yyv3892) + if yyrg3892 { + copy(yyv3892, yyv23892) + } + } else if yyl3892 != len(yyv3892) { + yyv3892 = yyv3892[:yyl3892] + yyc3892 = true + } + yyj3892 := 0 + for ; yyj3892 < yyrr3892; yyj3892++ { + yyh3892.ElemContainerState(yyj3892) + if r.TryDecodeAsNil() { + yyv3892[yyj3892] = nil + } else { + yyv3893 := &yyv3892[yyj3892] + yym3894 := z.DecBinary() + _ = yym3894 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3893) { + } else { + z.DecFallback(yyv3893, true) + } + } + + } + if yyrt3892 { + for ; yyj3892 < yyl3892; yyj3892++ { + yyv3892 = append(yyv3892, nil) + yyh3892.ElemContainerState(yyj3892) + if r.TryDecodeAsNil() { + yyv3892[yyj3892] = nil + } else { + yyv3895 := &yyv3892[yyj3892] + yym3896 := z.DecBinary() + _ = yym3896 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3895) { + } else { + z.DecFallback(yyv3895, true) + } + } + + } + } + + } else { + yyj3892 := 0 + for ; !r.CheckBreak(); yyj3892++ { + + if yyj3892 >= len(yyv3892) { + yyv3892 = append(yyv3892, nil) // var yyz3892 pkg8_runtime.Object + yyc3892 = true + } + yyh3892.ElemContainerState(yyj3892) + if yyj3892 < len(yyv3892) { + if r.TryDecodeAsNil() { + yyv3892[yyj3892] = nil + } else { + yyv3897 := &yyv3892[yyj3892] + yym3898 := z.DecBinary() + _ = yym3898 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3897) { + } else { + z.DecFallback(yyv3897, true) + } + } + + } else { + z.DecSwallow() + } + + } + if yyj3892 < len(yyv3892) { + yyv3892 = yyv3892[:yyj3892] + yyc3892 = true + } else if yyj3892 == 0 && yyv3892 == nil { + yyv3892 = []pkg8_runtime.Object{} + yyc3892 = true + } + } + yyh3892.End() + if yyc3892 { + *v = yyv3892 + } +} + +func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3899 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3900 := &yyv3899 + yy3900.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3901 := *v + yyh3901, yyl3901 := z.DecSliceHelperStart() + var yyc3901 bool + if yyl3901 == 0 { + if yyv3901 == nil { + yyv3901 = []LimitRangeItem{} + yyc3901 = true + } else if len(yyv3901) != 0 { + yyv3901 = yyv3901[:0] + yyc3901 = true + } + } else if yyl3901 > 0 { + var yyrr3901, yyrl3901 int + var yyrt3901 bool + if yyl3901 > cap(yyv3901) { + + yyrg3901 := len(yyv3901) > 0 + yyv23901 := yyv3901 + yyrl3901, yyrt3901 = z.DecInferLen(yyl3901, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3901 { + if yyrl3901 <= cap(yyv3901) { + yyv3901 = yyv3901[:yyrl3901] + } else { + yyv3901 = make([]LimitRangeItem, yyrl3901) + } + } else { + yyv3901 = make([]LimitRangeItem, yyrl3901) + } + yyc3901 = true + yyrr3901 = len(yyv3901) + if yyrg3901 { + copy(yyv3901, yyv23901) + } + } else if yyl3901 != len(yyv3901) { + yyv3901 = yyv3901[:yyl3901] + yyc3901 = true + } + yyj3901 := 0 + for ; yyj3901 < yyrr3901; yyj3901++ { + yyh3901.ElemContainerState(yyj3901) + if r.TryDecodeAsNil() { + yyv3901[yyj3901] = LimitRangeItem{} + } else { + yyv3902 := &yyv3901[yyj3901] + yyv3902.CodecDecodeSelf(d) + } + + } + if yyrt3901 { + for ; yyj3901 < yyl3901; yyj3901++ { + yyv3901 = append(yyv3901, LimitRangeItem{}) + yyh3901.ElemContainerState(yyj3901) + if r.TryDecodeAsNil() { + yyv3901[yyj3901] = LimitRangeItem{} + } else { + yyv3903 := &yyv3901[yyj3901] + yyv3903.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3901 := 0 + for ; !r.CheckBreak(); yyj3901++ { + + if yyj3901 >= len(yyv3901) { + yyv3901 = append(yyv3901, LimitRangeItem{}) // var yyz3901 LimitRangeItem + yyc3901 = true + } + yyh3901.ElemContainerState(yyj3901) + if yyj3901 < len(yyv3901) { + if r.TryDecodeAsNil() { + yyv3901[yyj3901] = LimitRangeItem{} + } else { + yyv3904 := &yyv3901[yyj3901] + yyv3904.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3901 < len(yyv3901) { + yyv3901 = yyv3901[:yyj3901] + yyc3901 = true + } else if yyj3901 == 0 && yyv3901 == nil { + yyv3901 = []LimitRangeItem{} + yyc3901 = true + } + } + yyh3901.End() + if yyc3901 { + *v = yyv3901 + } +} + +func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3905 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3906 := &yyv3905 + yy3906.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3907 := *v + yyh3907, yyl3907 := z.DecSliceHelperStart() + var yyc3907 bool + if yyl3907 == 0 { + if yyv3907 == nil { + yyv3907 = []LimitRange{} + yyc3907 = true + } else if len(yyv3907) != 0 { + yyv3907 = yyv3907[:0] + yyc3907 = true + } + } else if yyl3907 > 0 { + var yyrr3907, yyrl3907 int + var yyrt3907 bool + if yyl3907 > cap(yyv3907) { + + yyrg3907 := len(yyv3907) > 0 + yyv23907 := yyv3907 + yyrl3907, yyrt3907 = z.DecInferLen(yyl3907, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3907 { + if yyrl3907 <= cap(yyv3907) { + yyv3907 = yyv3907[:yyrl3907] + } else { + yyv3907 = make([]LimitRange, yyrl3907) + } + } else { + yyv3907 = make([]LimitRange, yyrl3907) + } + yyc3907 = true + yyrr3907 = len(yyv3907) + if yyrg3907 { + copy(yyv3907, yyv23907) + } + } else if yyl3907 != len(yyv3907) { + yyv3907 = yyv3907[:yyl3907] + yyc3907 = true + } + yyj3907 := 0 + for ; yyj3907 < yyrr3907; yyj3907++ { + yyh3907.ElemContainerState(yyj3907) + if r.TryDecodeAsNil() { + yyv3907[yyj3907] = LimitRange{} + } else { + yyv3908 := &yyv3907[yyj3907] + yyv3908.CodecDecodeSelf(d) + } + + } + if yyrt3907 { + for ; yyj3907 < yyl3907; yyj3907++ { + yyv3907 = append(yyv3907, LimitRange{}) + yyh3907.ElemContainerState(yyj3907) + if r.TryDecodeAsNil() { + yyv3907[yyj3907] = LimitRange{} + } else { + yyv3909 := &yyv3907[yyj3907] + yyv3909.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3907 := 0 + for ; !r.CheckBreak(); yyj3907++ { + + if yyj3907 >= len(yyv3907) { + yyv3907 = append(yyv3907, LimitRange{}) // var yyz3907 LimitRange + yyc3907 = true + } + yyh3907.ElemContainerState(yyj3907) + if yyj3907 < len(yyv3907) { + if r.TryDecodeAsNil() { + yyv3907[yyj3907] = LimitRange{} + } else { + yyv3910 := &yyv3907[yyj3907] + yyv3910.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3907 < len(yyv3907) { + yyv3907 = yyv3907[:yyj3907] + yyc3907 = true + } else if yyj3907 == 0 && yyv3907 == nil { + yyv3907 = []LimitRange{} + yyc3907 = true + } + } + yyh3907.End() + if yyc3907 { + *v = yyv3907 + } +} + +func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3911 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3912 := &yyv3911 + yy3912.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3913 := *v + yyh3913, yyl3913 := z.DecSliceHelperStart() + var yyc3913 bool + if yyl3913 == 0 { + if yyv3913 == nil { + yyv3913 = []ResourceQuota{} + yyc3913 = true + } else if len(yyv3913) != 0 { + yyv3913 = yyv3913[:0] + yyc3913 = true + } + } else if yyl3913 > 0 { + var yyrr3913, yyrl3913 int + var yyrt3913 bool + if yyl3913 > cap(yyv3913) { + + yyrg3913 := len(yyv3913) > 0 + yyv23913 := yyv3913 + yyrl3913, yyrt3913 = z.DecInferLen(yyl3913, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3913 { + if yyrl3913 <= cap(yyv3913) { + yyv3913 = yyv3913[:yyrl3913] + } else { + yyv3913 = make([]ResourceQuota, yyrl3913) + } + } else { + yyv3913 = make([]ResourceQuota, yyrl3913) + } + yyc3913 = true + yyrr3913 = len(yyv3913) + if yyrg3913 { + copy(yyv3913, yyv23913) + } + } else if yyl3913 != len(yyv3913) { + yyv3913 = yyv3913[:yyl3913] + yyc3913 = true + } + yyj3913 := 0 + for ; yyj3913 < yyrr3913; yyj3913++ { + yyh3913.ElemContainerState(yyj3913) + if r.TryDecodeAsNil() { + yyv3913[yyj3913] = ResourceQuota{} + } else { + yyv3914 := &yyv3913[yyj3913] + yyv3914.CodecDecodeSelf(d) + } + + } + if yyrt3913 { + for ; yyj3913 < yyl3913; yyj3913++ { + yyv3913 = append(yyv3913, ResourceQuota{}) + yyh3913.ElemContainerState(yyj3913) + if r.TryDecodeAsNil() { + yyv3913[yyj3913] = ResourceQuota{} + } else { + yyv3915 := &yyv3913[yyj3913] + yyv3915.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3913 := 0 + for ; !r.CheckBreak(); yyj3913++ { + + if yyj3913 >= len(yyv3913) { + yyv3913 = append(yyv3913, ResourceQuota{}) // var yyz3913 ResourceQuota + yyc3913 = true + } + yyh3913.ElemContainerState(yyj3913) + if yyj3913 < len(yyv3913) { + if r.TryDecodeAsNil() { + yyv3913[yyj3913] = ResourceQuota{} + } else { + yyv3916 := &yyv3913[yyj3913] + yyv3916.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3913 < len(yyv3913) { + yyv3913 = yyv3913[:yyj3913] + yyc3913 = true + } else if yyj3913 == 0 && yyv3913 == nil { + yyv3913 = []ResourceQuota{} + yyc3913 = true + } + } + yyh3913.End() + if yyc3913 { + *v = yyv3913 + } +} + +func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeMapStart(len(v)) + for yyk3917, yyv3917 := range v { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + yym3918 := z.EncBinary() + _ = yym3918 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyk3917)) + } + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyv3917 == nil { + r.EncodeNil() + } else { + yym3919 := z.EncBinary() + _ = yym3919 + if false { + } else { + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3917)) + } + } + } + z.EncSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3920 := *v + yyl3920 := r.ReadMapStart() + yybh3920 := z.DecBasicHandle() + if yyv3920 == nil { + yyrl3920, _ := z.DecInferLen(yyl3920, yybh3920.MaxInitLen, 40) + yyv3920 = make(map[string][]uint8, yyrl3920) + *v = yyv3920 + } + var yymk3920 string + var yymv3920 []uint8 + var yymg3920 bool + if yybh3920.MapValueReset { + yymg3920 = true + } + if yyl3920 > 0 { + for yyj3920 := 0; yyj3920 < yyl3920; yyj3920++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk3920 = "" + } else { + yymk3920 = string(r.DecodeString()) + } + + if yymg3920 { + yymv3920 = yyv3920[yymk3920] + } else { + yymv3920 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv3920 = nil + } else { + yyv3922 := &yymv3920 + yym3923 := z.DecBinary() + _ = yym3923 + if false { + } else { + *yyv3922 = r.DecodeBytes(*(*[]byte)(yyv3922), false, false) + } + } + + if yyv3920 != nil { + yyv3920[yymk3920] = yymv3920 + } + } + } else if yyl3920 < 0 { + for yyj3920 := 0; !r.CheckBreak(); yyj3920++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk3920 = "" + } else { + yymk3920 = string(r.DecodeString()) + } + + if yymg3920 { + yymv3920 = yyv3920[yymk3920] + } else { + yymv3920 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv3920 = nil + } else { + yyv3925 := &yymv3920 + yym3926 := z.DecBinary() + _ = yym3926 + if false { + } else { + *yyv3925 = r.DecodeBytes(*(*[]byte)(yyv3925), false, false) + } + } + + if yyv3920 != nil { + yyv3920[yymk3920] = yymv3920 + } + } + } // else len==0: TODO: Should we clear map entries? + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3927 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3928 := &yyv3927 + yy3928.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3929 := *v + yyh3929, yyl3929 := z.DecSliceHelperStart() + var yyc3929 bool + if yyl3929 == 0 { + if yyv3929 == nil { + yyv3929 = []Secret{} + yyc3929 = true + } else if len(yyv3929) != 0 { + yyv3929 = yyv3929[:0] + yyc3929 = true + } + } else if yyl3929 > 0 { + var yyrr3929, yyrl3929 int + var yyrt3929 bool + if yyl3929 > cap(yyv3929) { + + yyrg3929 := len(yyv3929) > 0 + yyv23929 := yyv3929 + yyrl3929, yyrt3929 = z.DecInferLen(yyl3929, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3929 { + if yyrl3929 <= cap(yyv3929) { + yyv3929 = yyv3929[:yyrl3929] + } else { + yyv3929 = make([]Secret, yyrl3929) + } + } else { + yyv3929 = make([]Secret, yyrl3929) + } + yyc3929 = true + yyrr3929 = len(yyv3929) + if yyrg3929 { + copy(yyv3929, yyv23929) + } + } else if yyl3929 != len(yyv3929) { + yyv3929 = yyv3929[:yyl3929] + yyc3929 = true + } + yyj3929 := 0 + for ; yyj3929 < yyrr3929; yyj3929++ { + yyh3929.ElemContainerState(yyj3929) + if r.TryDecodeAsNil() { + yyv3929[yyj3929] = Secret{} + } else { + yyv3930 := &yyv3929[yyj3929] + yyv3930.CodecDecodeSelf(d) + } + + } + if yyrt3929 { + for ; yyj3929 < yyl3929; yyj3929++ { + yyv3929 = append(yyv3929, Secret{}) + yyh3929.ElemContainerState(yyj3929) + if r.TryDecodeAsNil() { + yyv3929[yyj3929] = Secret{} + } else { + yyv3931 := &yyv3929[yyj3929] + yyv3931.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3929 := 0 + for ; !r.CheckBreak(); yyj3929++ { + + if yyj3929 >= len(yyv3929) { + yyv3929 = append(yyv3929, Secret{}) // var yyz3929 Secret + yyc3929 = true + } + yyh3929.ElemContainerState(yyj3929) + if yyj3929 < len(yyv3929) { + if r.TryDecodeAsNil() { + yyv3929[yyj3929] = Secret{} + } else { + yyv3932 := &yyv3929[yyj3929] + yyv3932.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3929 < len(yyv3929) { + yyv3929 = yyv3929[:yyj3929] + yyc3929 = true + } else if yyj3929 == 0 && yyv3929 == nil { + yyv3929 = []Secret{} + yyc3929 = true + } + } + yyh3929.End() + if yyc3929 { + *v = yyv3929 + } +} + +func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3933 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3934 := &yyv3933 + yy3934.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3935 := *v + yyh3935, yyl3935 := z.DecSliceHelperStart() + var yyc3935 bool + if yyl3935 == 0 { + if yyv3935 == nil { + yyv3935 = []ConfigMap{} + yyc3935 = true + } else if len(yyv3935) != 0 { + yyv3935 = yyv3935[:0] + yyc3935 = true + } + } else if yyl3935 > 0 { + var yyrr3935, yyrl3935 int + var yyrt3935 bool + if yyl3935 > cap(yyv3935) { + + yyrg3935 := len(yyv3935) > 0 + yyv23935 := yyv3935 + yyrl3935, yyrt3935 = z.DecInferLen(yyl3935, z.DecBasicHandle().MaxInitLen, 200) + if yyrt3935 { + if yyrl3935 <= cap(yyv3935) { + yyv3935 = yyv3935[:yyrl3935] + } else { + yyv3935 = make([]ConfigMap, yyrl3935) + } + } else { + yyv3935 = make([]ConfigMap, yyrl3935) + } + yyc3935 = true + yyrr3935 = len(yyv3935) + if yyrg3935 { + copy(yyv3935, yyv23935) + } + } else if yyl3935 != len(yyv3935) { + yyv3935 = yyv3935[:yyl3935] + yyc3935 = true + } + yyj3935 := 0 + for ; yyj3935 < yyrr3935; yyj3935++ { + yyh3935.ElemContainerState(yyj3935) + if r.TryDecodeAsNil() { + yyv3935[yyj3935] = ConfigMap{} + } else { + yyv3936 := &yyv3935[yyj3935] + yyv3936.CodecDecodeSelf(d) + } + + } + if yyrt3935 { + for ; yyj3935 < yyl3935; yyj3935++ { + yyv3935 = append(yyv3935, ConfigMap{}) + yyh3935.ElemContainerState(yyj3935) + if r.TryDecodeAsNil() { + yyv3935[yyj3935] = ConfigMap{} + } else { + yyv3937 := &yyv3935[yyj3935] + yyv3937.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3935 := 0 + for ; !r.CheckBreak(); yyj3935++ { + + if yyj3935 >= len(yyv3935) { + yyv3935 = append(yyv3935, ConfigMap{}) // var yyz3935 ConfigMap + yyc3935 = true + } + yyh3935.ElemContainerState(yyj3935) + if yyj3935 < len(yyv3935) { + if r.TryDecodeAsNil() { + yyv3935[yyj3935] = ConfigMap{} + } else { + yyv3938 := &yyv3935[yyj3935] + yyv3938.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3935 < len(yyv3935) { + yyv3935 = yyv3935[:yyj3935] + yyc3935 = true + } else if yyj3935 == 0 && yyv3935 == nil { + yyv3935 = []ConfigMap{} + yyc3935 = true + } + } + yyh3935.End() + if yyc3935 { + *v = yyv3935 + } +} + +func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3939 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3940 := &yyv3939 + yy3940.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49483,83 +50277,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3875 := *v - yyh3875, yyl3875 := z.DecSliceHelperStart() - var yyc3875 bool - if yyl3875 == 0 { - if yyv3875 == nil { - yyv3875 = []ComponentCondition{} - yyc3875 = true - } else if len(yyv3875) != 0 { - yyv3875 = yyv3875[:0] - yyc3875 = true + yyv3941 := *v + yyh3941, yyl3941 := z.DecSliceHelperStart() + var yyc3941 bool + if yyl3941 == 0 { + if yyv3941 == nil { + yyv3941 = []ComponentCondition{} + yyc3941 = true + } else if len(yyv3941) != 0 { + yyv3941 = yyv3941[:0] + yyc3941 = true } - } else if yyl3875 > 0 { - var yyrr3875, yyrl3875 int - var yyrt3875 bool - if yyl3875 > cap(yyv3875) { + } else if yyl3941 > 0 { + var yyrr3941, yyrl3941 int + var yyrt3941 bool + if yyl3941 > cap(yyv3941) { - yyrg3875 := len(yyv3875) > 0 - yyv23875 := yyv3875 - yyrl3875, yyrt3875 = z.DecInferLen(yyl3875, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3875 { - if yyrl3875 <= cap(yyv3875) { - yyv3875 = yyv3875[:yyrl3875] + yyrg3941 := len(yyv3941) > 0 + yyv23941 := yyv3941 + yyrl3941, yyrt3941 = z.DecInferLen(yyl3941, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3941 { + if yyrl3941 <= cap(yyv3941) { + yyv3941 = yyv3941[:yyrl3941] } else { - yyv3875 = make([]ComponentCondition, yyrl3875) + yyv3941 = make([]ComponentCondition, yyrl3941) } } else { - yyv3875 = make([]ComponentCondition, yyrl3875) + yyv3941 = make([]ComponentCondition, yyrl3941) } - yyc3875 = true - yyrr3875 = len(yyv3875) - if yyrg3875 { - copy(yyv3875, yyv23875) + yyc3941 = true + yyrr3941 = len(yyv3941) + if yyrg3941 { + copy(yyv3941, yyv23941) } - } else if yyl3875 != len(yyv3875) { - yyv3875 = yyv3875[:yyl3875] - yyc3875 = true + } else if yyl3941 != len(yyv3941) { + yyv3941 = yyv3941[:yyl3941] + yyc3941 = true } - yyj3875 := 0 - for ; yyj3875 < yyrr3875; yyj3875++ { - yyh3875.ElemContainerState(yyj3875) + yyj3941 := 0 + for ; yyj3941 < yyrr3941; yyj3941++ { + yyh3941.ElemContainerState(yyj3941) if r.TryDecodeAsNil() { - yyv3875[yyj3875] = ComponentCondition{} + yyv3941[yyj3941] = ComponentCondition{} } else { - yyv3876 := &yyv3875[yyj3875] - yyv3876.CodecDecodeSelf(d) + yyv3942 := &yyv3941[yyj3941] + yyv3942.CodecDecodeSelf(d) } } - if yyrt3875 { - for ; yyj3875 < yyl3875; yyj3875++ { - yyv3875 = append(yyv3875, ComponentCondition{}) - yyh3875.ElemContainerState(yyj3875) + if yyrt3941 { + for ; yyj3941 < yyl3941; yyj3941++ { + yyv3941 = append(yyv3941, ComponentCondition{}) + yyh3941.ElemContainerState(yyj3941) if r.TryDecodeAsNil() { - yyv3875[yyj3875] = ComponentCondition{} + yyv3941[yyj3941] = ComponentCondition{} } else { - yyv3877 := &yyv3875[yyj3875] - yyv3877.CodecDecodeSelf(d) + yyv3943 := &yyv3941[yyj3941] + yyv3943.CodecDecodeSelf(d) } } } } else { - yyj3875 := 0 - for ; !r.CheckBreak(); yyj3875++ { + yyj3941 := 0 + for ; !r.CheckBreak(); yyj3941++ { - if yyj3875 >= len(yyv3875) { - yyv3875 = append(yyv3875, ComponentCondition{}) // var yyz3875 ComponentCondition - yyc3875 = true + if yyj3941 >= len(yyv3941) { + yyv3941 = append(yyv3941, ComponentCondition{}) // var yyz3941 ComponentCondition + yyc3941 = true } - yyh3875.ElemContainerState(yyj3875) - if yyj3875 < len(yyv3875) { + yyh3941.ElemContainerState(yyj3941) + if yyj3941 < len(yyv3941) { if r.TryDecodeAsNil() { - yyv3875[yyj3875] = ComponentCondition{} + yyv3941[yyj3941] = ComponentCondition{} } else { - yyv3878 := &yyv3875[yyj3875] - yyv3878.CodecDecodeSelf(d) + yyv3944 := &yyv3941[yyj3941] + yyv3944.CodecDecodeSelf(d) } } else { @@ -49567,17 +50361,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj3875 < len(yyv3875) { - yyv3875 = yyv3875[:yyj3875] - yyc3875 = true - } else if yyj3875 == 0 && yyv3875 == nil { - yyv3875 = []ComponentCondition{} - yyc3875 = true + if yyj3941 < len(yyv3941) { + yyv3941 = yyv3941[:yyj3941] + yyc3941 = true + } else if yyj3941 == 0 && yyv3941 == nil { + yyv3941 = []ComponentCondition{} + yyc3941 = true } } - yyh3875.End() - if yyc3875 { - *v = yyv3875 + yyh3941.End() + if yyc3941 { + *v = yyv3941 } } @@ -49586,10 +50380,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3879 := range v { + for _, yyv3945 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3880 := &yyv3879 - yy3880.CodecEncodeSelf(e) + yy3946 := &yyv3945 + yy3946.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49599,83 +50393,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3881 := *v - yyh3881, yyl3881 := z.DecSliceHelperStart() - var yyc3881 bool - if yyl3881 == 0 { - if yyv3881 == nil { - yyv3881 = []ComponentStatus{} - yyc3881 = true - } else if len(yyv3881) != 0 { - yyv3881 = yyv3881[:0] - yyc3881 = true + yyv3947 := *v + yyh3947, yyl3947 := z.DecSliceHelperStart() + var yyc3947 bool + if yyl3947 == 0 { + if yyv3947 == nil { + yyv3947 = []ComponentStatus{} + yyc3947 = true + } else if len(yyv3947) != 0 { + yyv3947 = yyv3947[:0] + yyc3947 = true } - } else if yyl3881 > 0 { - var yyrr3881, yyrl3881 int - var yyrt3881 bool - if yyl3881 > cap(yyv3881) { + } else if yyl3947 > 0 { + var yyrr3947, yyrl3947 int + var yyrt3947 bool + if yyl3947 > cap(yyv3947) { - yyrg3881 := len(yyv3881) > 0 - yyv23881 := yyv3881 - yyrl3881, yyrt3881 = z.DecInferLen(yyl3881, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3881 { - if yyrl3881 <= cap(yyv3881) { - yyv3881 = yyv3881[:yyrl3881] + yyrg3947 := len(yyv3947) > 0 + yyv23947 := yyv3947 + yyrl3947, yyrt3947 = z.DecInferLen(yyl3947, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3947 { + if yyrl3947 <= cap(yyv3947) { + yyv3947 = yyv3947[:yyrl3947] } else { - yyv3881 = make([]ComponentStatus, yyrl3881) + yyv3947 = make([]ComponentStatus, yyrl3947) } } else { - yyv3881 = make([]ComponentStatus, yyrl3881) + yyv3947 = make([]ComponentStatus, yyrl3947) } - yyc3881 = true - yyrr3881 = len(yyv3881) - if yyrg3881 { - copy(yyv3881, yyv23881) + yyc3947 = true + yyrr3947 = len(yyv3947) + if yyrg3947 { + copy(yyv3947, yyv23947) } - } else if yyl3881 != len(yyv3881) { - yyv3881 = yyv3881[:yyl3881] - yyc3881 = true + } else if yyl3947 != len(yyv3947) { + yyv3947 = yyv3947[:yyl3947] + yyc3947 = true } - yyj3881 := 0 - for ; yyj3881 < yyrr3881; yyj3881++ { - yyh3881.ElemContainerState(yyj3881) + yyj3947 := 0 + for ; yyj3947 < yyrr3947; yyj3947++ { + yyh3947.ElemContainerState(yyj3947) if r.TryDecodeAsNil() { - yyv3881[yyj3881] = ComponentStatus{} + yyv3947[yyj3947] = ComponentStatus{} } else { - yyv3882 := &yyv3881[yyj3881] - yyv3882.CodecDecodeSelf(d) + yyv3948 := &yyv3947[yyj3947] + yyv3948.CodecDecodeSelf(d) } } - if yyrt3881 { - for ; yyj3881 < yyl3881; yyj3881++ { - yyv3881 = append(yyv3881, ComponentStatus{}) - yyh3881.ElemContainerState(yyj3881) + if yyrt3947 { + for ; yyj3947 < yyl3947; yyj3947++ { + yyv3947 = append(yyv3947, ComponentStatus{}) + yyh3947.ElemContainerState(yyj3947) if r.TryDecodeAsNil() { - yyv3881[yyj3881] = ComponentStatus{} + yyv3947[yyj3947] = ComponentStatus{} } else { - yyv3883 := &yyv3881[yyj3881] - yyv3883.CodecDecodeSelf(d) + yyv3949 := &yyv3947[yyj3947] + yyv3949.CodecDecodeSelf(d) } } } } else { - yyj3881 := 0 - for ; !r.CheckBreak(); yyj3881++ { + yyj3947 := 0 + for ; !r.CheckBreak(); yyj3947++ { - if yyj3881 >= len(yyv3881) { - yyv3881 = append(yyv3881, ComponentStatus{}) // var yyz3881 ComponentStatus - yyc3881 = true + if yyj3947 >= len(yyv3947) { + yyv3947 = append(yyv3947, ComponentStatus{}) // var yyz3947 ComponentStatus + yyc3947 = true } - yyh3881.ElemContainerState(yyj3881) - if yyj3881 < len(yyv3881) { + yyh3947.ElemContainerState(yyj3947) + if yyj3947 < len(yyv3947) { if r.TryDecodeAsNil() { - yyv3881[yyj3881] = ComponentStatus{} + yyv3947[yyj3947] = ComponentStatus{} } else { - yyv3884 := &yyv3881[yyj3881] - yyv3884.CodecDecodeSelf(d) + yyv3950 := &yyv3947[yyj3947] + yyv3950.CodecDecodeSelf(d) } } else { @@ -49683,16 +50477,16 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj3881 < len(yyv3881) { - yyv3881 = yyv3881[:yyj3881] - yyc3881 = true - } else if yyj3881 == 0 && yyv3881 == nil { - yyv3881 = []ComponentStatus{} - yyc3881 = true + if yyj3947 < len(yyv3947) { + yyv3947 = yyv3947[:yyj3947] + yyc3947 = true + } else if yyj3947 == 0 && yyv3947 == nil { + yyv3947 = []ComponentStatus{} + yyc3947 = true } } - yyh3881.End() - if yyc3881 { - *v = yyv3881 + yyh3947.End() + if yyc3947 { + *v = yyv3947 } } diff --git a/pkg/api/v1/conversion_generated.go b/pkg/api/v1/conversion_generated.go index b7f2d780287..625ec487724 100644 --- a/pkg/api/v1/conversion_generated.go +++ b/pkg/api/v1/conversion_generated.go @@ -195,6 +195,28 @@ func Convert_api_ComponentStatusList_To_v1_ComponentStatusList(in *api.Component return autoConvert_api_ComponentStatusList_To_v1_ComponentStatusList(in, out, s) } +func autoConvert_api_ConfigMap_To_v1_ConfigMap(in *api.ConfigMap, out *ConfigMap, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*api.ConfigMap))(in) + } + if err := Convert_api_ObjectMeta_To_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { + return err + } + if in.Data != nil { + out.Data = make(map[string]string) + for key, val := range in.Data { + out.Data[key] = val + } + } else { + out.Data = nil + } + return nil +} + +func Convert_api_ConfigMap_To_v1_ConfigMap(in *api.ConfigMap, out *ConfigMap, s conversion.Scope) error { + return autoConvert_api_ConfigMap_To_v1_ConfigMap(in, out, s) +} + func autoConvert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector(in *api.ConfigMapKeySelector, out *ConfigMapKeySelector, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.ConfigMapKeySelector))(in) @@ -210,6 +232,30 @@ func Convert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector(in *api.ConfigM return autoConvert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector(in, out, s) } +func autoConvert_api_ConfigMapList_To_v1_ConfigMapList(in *api.ConfigMapList, out *ConfigMapList, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*api.ConfigMapList))(in) + } + if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { + return err + } + if in.Items != nil { + out.Items = make([]ConfigMap, len(in.Items)) + for i := range in.Items { + if err := Convert_api_ConfigMap_To_v1_ConfigMap(&in.Items[i], &out.Items[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil +} + +func Convert_api_ConfigMapList_To_v1_ConfigMapList(in *api.ConfigMapList, out *ConfigMapList, s conversion.Scope) error { + return autoConvert_api_ConfigMapList_To_v1_ConfigMapList(in, out, s) +} + func autoConvert_api_Container_To_v1_Container(in *api.Container, out *Container, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.Container))(in) @@ -3313,6 +3359,28 @@ func Convert_v1_ComponentStatusList_To_api_ComponentStatusList(in *ComponentStat return autoConvert_v1_ComponentStatusList_To_api_ComponentStatusList(in, out, s) } +func autoConvert_v1_ConfigMap_To_api_ConfigMap(in *ConfigMap, out *api.ConfigMap, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*ConfigMap))(in) + } + if err := Convert_v1_ObjectMeta_To_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, s); err != nil { + return err + } + if in.Data != nil { + out.Data = make(map[string]string) + for key, val := range in.Data { + out.Data[key] = val + } + } else { + out.Data = nil + } + return nil +} + +func Convert_v1_ConfigMap_To_api_ConfigMap(in *ConfigMap, out *api.ConfigMap, s conversion.Scope) error { + return autoConvert_v1_ConfigMap_To_api_ConfigMap(in, out, s) +} + func autoConvert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector(in *ConfigMapKeySelector, out *api.ConfigMapKeySelector, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*ConfigMapKeySelector))(in) @@ -3328,6 +3396,30 @@ func Convert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector(in *ConfigMapKe return autoConvert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector(in, out, s) } +func autoConvert_v1_ConfigMapList_To_api_ConfigMapList(in *ConfigMapList, out *api.ConfigMapList, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*ConfigMapList))(in) + } + if err := api.Convert_unversioned_ListMeta_To_unversioned_ListMeta(&in.ListMeta, &out.ListMeta, s); err != nil { + return err + } + if in.Items != nil { + out.Items = make([]api.ConfigMap, len(in.Items)) + for i := range in.Items { + if err := Convert_v1_ConfigMap_To_api_ConfigMap(&in.Items[i], &out.Items[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil +} + +func Convert_v1_ConfigMapList_To_api_ConfigMapList(in *ConfigMapList, out *api.ConfigMapList, s conversion.Scope) error { + return autoConvert_v1_ConfigMapList_To_api_ConfigMapList(in, out, s) +} + func autoConvert_v1_Container_To_api_Container(in *Container, out *api.Container, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*Container))(in) @@ -6152,6 +6244,8 @@ func init() { autoConvert_api_ComponentStatusList_To_v1_ComponentStatusList, autoConvert_api_ComponentStatus_To_v1_ComponentStatus, autoConvert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector, + autoConvert_api_ConfigMapList_To_v1_ConfigMapList, + autoConvert_api_ConfigMap_To_v1_ConfigMap, autoConvert_api_ContainerImage_To_v1_ContainerImage, autoConvert_api_ContainerPort_To_v1_ContainerPort, autoConvert_api_ContainerStateRunning_To_v1_ContainerStateRunning, @@ -6275,6 +6369,8 @@ func init() { autoConvert_v1_ComponentStatusList_To_api_ComponentStatusList, autoConvert_v1_ComponentStatus_To_api_ComponentStatus, autoConvert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector, + autoConvert_v1_ConfigMapList_To_api_ConfigMapList, + autoConvert_v1_ConfigMap_To_api_ConfigMap, autoConvert_v1_ContainerImage_To_api_ContainerImage, autoConvert_v1_ContainerPort_To_api_ContainerPort, autoConvert_v1_ContainerStateRunning_To_api_ContainerStateRunning, diff --git a/pkg/api/v1/deep_copy_generated.go b/pkg/api/v1/deep_copy_generated.go index 581e006ef94..8651eabeb81 100644 --- a/pkg/api/v1/deep_copy_generated.go +++ b/pkg/api/v1/deep_copy_generated.go @@ -184,6 +184,24 @@ func deepCopy_v1_ComponentStatusList(in ComponentStatusList, out *ComponentStatu return nil } +func deepCopy_v1_ConfigMap(in ConfigMap, out *ConfigMap, c *conversion.Cloner) error { + if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { + return err + } + if err := deepCopy_v1_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil { + return err + } + if in.Data != nil { + out.Data = make(map[string]string) + for key, val := range in.Data { + out.Data[key] = val + } + } else { + out.Data = nil + } + return nil +} + func deepCopy_v1_ConfigMapKeySelector(in ConfigMapKeySelector, out *ConfigMapKeySelector, c *conversion.Cloner) error { if err := deepCopy_v1_LocalObjectReference(in.LocalObjectReference, &out.LocalObjectReference, c); err != nil { return err @@ -192,6 +210,26 @@ func deepCopy_v1_ConfigMapKeySelector(in ConfigMapKeySelector, out *ConfigMapKey return nil } +func deepCopy_v1_ConfigMapList(in ConfigMapList, out *ConfigMapList, c *conversion.Cloner) error { + if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { + return err + } + if err := deepCopy_unversioned_ListMeta(in.ListMeta, &out.ListMeta, c); err != nil { + return err + } + if in.Items != nil { + out.Items = make([]ConfigMap, len(in.Items)) + for i := range in.Items { + if err := deepCopy_v1_ConfigMap(in.Items[i], &out.Items[i], c); err != nil { + return err + } + } + } else { + out.Items = nil + } + return nil +} + func deepCopy_v1_Container(in Container, out *Container, c *conversion.Cloner) error { out.Name = in.Name out.Image = in.Image @@ -2502,7 +2540,9 @@ func init() { deepCopy_v1_ComponentCondition, deepCopy_v1_ComponentStatus, deepCopy_v1_ComponentStatusList, + deepCopy_v1_ConfigMap, deepCopy_v1_ConfigMapKeySelector, + deepCopy_v1_ConfigMapList, deepCopy_v1_Container, deepCopy_v1_ContainerImage, deepCopy_v1_ContainerPort, diff --git a/pkg/api/v1/types.generated.go b/pkg/api/v1/types.generated.go index 81ff09a6cb2..dc0c6a7861a 100644 --- a/pkg/api/v1/types.generated.go +++ b/pkg/api/v1/types.generated.go @@ -42573,12 +42573,690 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3421 := z.EncBinary() + _ = yym3421 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3422 := !z.EncBinary() + yy2arr3422 := z.EncBasicHandle().StructToArray + var yyq3422 [4]bool + _, _, _ = yysep3422, yyq3422, yy2arr3422 + const yyr3422 bool = false + yyq3422[0] = x.Kind != "" + yyq3422[1] = x.APIVersion != "" + yyq3422[2] = true + yyq3422[3] = len(x.Data) != 0 + var yynn3422 int + if yyr3422 || yy2arr3422 { + r.EncodeArrayStart(4) + } else { + yynn3422 = 0 + for _, b := range yyq3422 { + if b { + yynn3422++ + } + } + r.EncodeMapStart(yynn3422) + yynn3422 = 0 + } + if yyr3422 || yy2arr3422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3422[0] { + yym3424 := z.EncBinary() + _ = yym3424 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3422[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3425 := z.EncBinary() + _ = yym3425 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3422 || yy2arr3422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3422[1] { + yym3427 := z.EncBinary() + _ = yym3427 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3422[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3428 := z.EncBinary() + _ = yym3428 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3422 || yy2arr3422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3422[2] { + yy3430 := &x.ObjectMeta + yy3430.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3422[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3431 := &x.ObjectMeta + yy3431.CodecEncodeSelf(e) + } + } + if yyr3422 || yy2arr3422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3422[3] { + if x.Data == nil { + r.EncodeNil() + } else { + yym3433 := z.EncBinary() + _ = yym3433 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3422[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("data")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Data == nil { + r.EncodeNil() + } else { + yym3434 := z.EncBinary() + _ = yym3434 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } + } + } + } + if yyr3422 || yy2arr3422 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3435 := z.DecBinary() + _ = yym3435 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3436 := r.ContainerType() + if yyct3436 == codecSelferValueTypeMap1234 { + yyl3436 := r.ReadMapStart() + if yyl3436 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3436, d) + } + } else if yyct3436 == codecSelferValueTypeArray1234 { + yyl3436 := r.ReadArrayStart() + if yyl3436 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3436, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3437Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3437Slc + var yyhl3437 bool = l >= 0 + for yyj3437 := 0; ; yyj3437++ { + if yyhl3437 { + if yyj3437 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3437Slc = r.DecodeBytes(yys3437Slc, true, true) + yys3437 := string(yys3437Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3437 { + 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 = ObjectMeta{} + } else { + yyv3440 := &x.ObjectMeta + yyv3440.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv3441 := &x.Data + yym3442 := z.DecBinary() + _ = yym3442 + if false { + } else { + z.F.DecMapStringStringX(yyv3441, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3437) + } // end switch yys3437 + } // end for yyj3437 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3443 int + var yyb3443 bool + var yyhl3443 bool = l >= 0 + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3446 := &x.ObjectMeta + yyv3446.CodecDecodeSelf(d) + } + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv3447 := &x.Data + yym3448 := z.DecBinary() + _ = yym3448 + if false { + } else { + z.F.DecMapStringStringX(yyv3447, false, d) + } + } + for { + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3443-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3449 := z.EncBinary() + _ = yym3449 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3450 := !z.EncBinary() + yy2arr3450 := z.EncBasicHandle().StructToArray + var yyq3450 [4]bool + _, _, _ = yysep3450, yyq3450, yy2arr3450 + const yyr3450 bool = false + yyq3450[0] = x.Kind != "" + yyq3450[1] = x.APIVersion != "" + yyq3450[2] = true + yyq3450[3] = len(x.Items) != 0 + var yynn3450 int + if yyr3450 || yy2arr3450 { + r.EncodeArrayStart(4) + } else { + yynn3450 = 0 + for _, b := range yyq3450 { + if b { + yynn3450++ + } + } + r.EncodeMapStart(yynn3450) + yynn3450 = 0 + } + if yyr3450 || yy2arr3450 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3450[0] { + yym3452 := z.EncBinary() + _ = yym3452 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3450[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3453 := z.EncBinary() + _ = yym3453 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3450 || yy2arr3450 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3450[1] { + yym3455 := z.EncBinary() + _ = yym3455 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3450[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3456 := z.EncBinary() + _ = yym3456 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3450 || yy2arr3450 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3450[2] { + yy3458 := &x.ListMeta + yym3459 := z.EncBinary() + _ = yym3459 + if false { + } else if z.HasExtensions() && z.EncExt(yy3458) { + } else { + z.EncFallback(yy3458) + } + } else { + r.EncodeNil() + } + } else { + if yyq3450[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3460 := &x.ListMeta + yym3461 := z.EncBinary() + _ = yym3461 + if false { + } else if z.HasExtensions() && z.EncExt(yy3460) { + } else { + z.EncFallback(yy3460) + } + } + } + if yyr3450 || yy2arr3450 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3450[3] { + if x.Items == nil { + r.EncodeNil() + } else { + yym3463 := z.EncBinary() + _ = yym3463 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3450[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3464 := z.EncBinary() + _ = yym3464 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + } + } + } + } + if yyr3450 || yy2arr3450 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3465 := z.DecBinary() + _ = yym3465 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3466 := r.ContainerType() + if yyct3466 == codecSelferValueTypeMap1234 { + yyl3466 := r.ReadMapStart() + if yyl3466 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3466, d) + } + } else if yyct3466 == codecSelferValueTypeArray1234 { + yyl3466 := r.ReadArrayStart() + if yyl3466 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3466, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3467Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3467Slc + var yyhl3467 bool = l >= 0 + for yyj3467 := 0; ; yyj3467++ { + if yyhl3467 { + if yyj3467 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3467Slc = r.DecodeBytes(yys3467Slc, true, true) + yys3467 := string(yys3467Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3467 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv3470 := &x.ListMeta + yym3471 := z.DecBinary() + _ = yym3471 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3470) { + } else { + z.DecFallback(yyv3470, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3472 := &x.Items + yym3473 := z.DecBinary() + _ = yym3473 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv3472), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3467) + } // end switch yys3467 + } // end for yyj3467 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3474 int + var yyb3474 bool + var yyhl3474 bool = l >= 0 + yyj3474++ + if yyhl3474 { + yyb3474 = yyj3474 > l + } else { + yyb3474 = r.CheckBreak() + } + if yyb3474 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3474++ + if yyhl3474 { + yyb3474 = yyj3474 > l + } else { + yyb3474 = r.CheckBreak() + } + if yyb3474 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3474++ + if yyhl3474 { + yyb3474 = yyj3474 > l + } else { + yyb3474 = r.CheckBreak() + } + if yyb3474 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3477 := &x.ListMeta + yym3478 := z.DecBinary() + _ = yym3478 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3477) { + } else { + z.DecFallback(yyv3477, false) + } + } + yyj3474++ + if yyhl3474 { + yyb3474 = yyj3474 > l + } else { + yyb3474 = r.CheckBreak() + } + if yyb3474 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3479 := &x.Items + yym3480 := z.DecBinary() + _ = yym3480 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv3479), d) + } + } + for { + yyj3474++ + if yyhl3474 { + yyb3474 = yyj3474 > l + } else { + yyb3474 = r.CheckBreak() + } + if yyb3474 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3474-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3421 := z.EncBinary() - _ = yym3421 + yym3481 := z.EncBinary() + _ = yym3481 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42590,8 +43268,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3422 := z.DecBinary() - _ = yym3422 + yym3482 := z.DecBinary() + _ = yym3482 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -42606,32 +43284,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3423 := z.EncBinary() - _ = yym3423 + yym3483 := z.EncBinary() + _ = yym3483 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3424 := !z.EncBinary() - yy2arr3424 := z.EncBasicHandle().StructToArray - var yyq3424 [4]bool - _, _, _ = yysep3424, yyq3424, yy2arr3424 - const yyr3424 bool = false - yyq3424[2] = x.Message != "" - yyq3424[3] = x.Error != "" - var yynn3424 int - if yyr3424 || yy2arr3424 { + yysep3484 := !z.EncBinary() + yy2arr3484 := z.EncBasicHandle().StructToArray + var yyq3484 [4]bool + _, _, _ = yysep3484, yyq3484, yy2arr3484 + const yyr3484 bool = false + yyq3484[2] = x.Message != "" + yyq3484[3] = x.Error != "" + var yynn3484 int + if yyr3484 || yy2arr3484 { r.EncodeArrayStart(4) } else { - yynn3424 = 2 - for _, b := range yyq3424 { + yynn3484 = 2 + for _, b := range yyq3484 { if b { - yynn3424++ + yynn3484++ } } - r.EncodeMapStart(yynn3424) - yynn3424 = 0 + r.EncodeMapStart(yynn3484) + yynn3484 = 0 } - if yyr3424 || yy2arr3424 { + if yyr3484 || yy2arr3484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -42640,7 +43318,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3424 || yy2arr3424 { + if yyr3484 || yy2arr3484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -42649,11 +43327,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3424 || yy2arr3424 { + if yyr3484 || yy2arr3484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3424[2] { - yym3428 := z.EncBinary() - _ = yym3428 + if yyq3484[2] { + yym3488 := z.EncBinary() + _ = yym3488 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -42662,23 +43340,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3424[2] { + if yyq3484[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3429 := z.EncBinary() - _ = yym3429 + yym3489 := z.EncBinary() + _ = yym3489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3424 || yy2arr3424 { + if yyr3484 || yy2arr3484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3424[3] { - yym3431 := z.EncBinary() - _ = yym3431 + if yyq3484[3] { + yym3491 := z.EncBinary() + _ = yym3491 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -42687,19 +43365,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3424[3] { + if yyq3484[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3432 := z.EncBinary() - _ = yym3432 + yym3492 := z.EncBinary() + _ = yym3492 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr3424 || yy2arr3424 { + if yyr3484 || yy2arr3484 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42712,25 +43390,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3433 := z.DecBinary() - _ = yym3433 + yym3493 := z.DecBinary() + _ = yym3493 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3434 := r.ContainerType() - if yyct3434 == codecSelferValueTypeMap1234 { - yyl3434 := r.ReadMapStart() - if yyl3434 == 0 { + yyct3494 := r.ContainerType() + if yyct3494 == codecSelferValueTypeMap1234 { + yyl3494 := r.ReadMapStart() + if yyl3494 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3434, d) + x.codecDecodeSelfFromMap(yyl3494, d) } - } else if yyct3434 == codecSelferValueTypeArray1234 { - yyl3434 := r.ReadArrayStart() - if yyl3434 == 0 { + } else if yyct3494 == codecSelferValueTypeArray1234 { + yyl3494 := r.ReadArrayStart() + if yyl3494 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3434, d) + x.codecDecodeSelfFromArray(yyl3494, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42742,12 +43420,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3435Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3435Slc - var yyhl3435 bool = l >= 0 - for yyj3435 := 0; ; yyj3435++ { - if yyhl3435 { - if yyj3435 >= l { + var yys3495Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3495Slc + var yyhl3495 bool = l >= 0 + for yyj3495 := 0; ; yyj3495++ { + if yyhl3495 { + if yyj3495 >= l { break } } else { @@ -42756,10 +43434,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3435Slc = r.DecodeBytes(yys3435Slc, true, true) - yys3435 := string(yys3435Slc) + yys3495Slc = r.DecodeBytes(yys3495Slc, true, true) + yys3495 := string(yys3495Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3435 { + switch yys3495 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -42785,9 +43463,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3435) - } // end switch yys3435 - } // end for yyj3435 + z.DecStructFieldNotFound(-1, yys3495) + } // end switch yys3495 + } // end for yyj3495 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42795,16 +43473,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3440 int - var yyb3440 bool - var yyhl3440 bool = l >= 0 - yyj3440++ - if yyhl3440 { - yyb3440 = yyj3440 > l + var yyj3500 int + var yyb3500 bool + var yyhl3500 bool = l >= 0 + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3440 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3440 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42814,13 +43492,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj3440++ - if yyhl3440 { - yyb3440 = yyj3440 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3440 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3440 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42830,13 +43508,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3440++ - if yyhl3440 { - yyb3440 = yyj3440 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3440 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3440 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42846,13 +43524,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj3440++ - if yyhl3440 { - yyb3440 = yyj3440 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3440 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3440 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42863,17 +43541,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj3440++ - if yyhl3440 { - yyb3440 = yyj3440 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3440 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3440 { + if yyb3500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3440-1, "") + z.DecStructFieldNotFound(yyj3500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42885,38 +43563,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3445 := z.EncBinary() - _ = yym3445 + yym3505 := z.EncBinary() + _ = yym3505 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3446 := !z.EncBinary() - yy2arr3446 := z.EncBasicHandle().StructToArray - var yyq3446 [4]bool - _, _, _ = yysep3446, yyq3446, yy2arr3446 - const yyr3446 bool = false - yyq3446[0] = x.Kind != "" - yyq3446[1] = x.APIVersion != "" - yyq3446[2] = true - yyq3446[3] = len(x.Conditions) != 0 - var yynn3446 int - if yyr3446 || yy2arr3446 { + yysep3506 := !z.EncBinary() + yy2arr3506 := z.EncBasicHandle().StructToArray + var yyq3506 [4]bool + _, _, _ = yysep3506, yyq3506, yy2arr3506 + const yyr3506 bool = false + yyq3506[0] = x.Kind != "" + yyq3506[1] = x.APIVersion != "" + yyq3506[2] = true + yyq3506[3] = len(x.Conditions) != 0 + var yynn3506 int + if yyr3506 || yy2arr3506 { r.EncodeArrayStart(4) } else { - yynn3446 = 0 - for _, b := range yyq3446 { + yynn3506 = 0 + for _, b := range yyq3506 { if b { - yynn3446++ + yynn3506++ } } - r.EncodeMapStart(yynn3446) - yynn3446 = 0 + r.EncodeMapStart(yynn3506) + yynn3506 = 0 } - if yyr3446 || yy2arr3446 { + if yyr3506 || yy2arr3506 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3446[0] { - yym3448 := z.EncBinary() - _ = yym3448 + if yyq3506[0] { + yym3508 := z.EncBinary() + _ = yym3508 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42925,23 +43603,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3446[0] { + if yyq3506[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3449 := z.EncBinary() - _ = yym3449 + yym3509 := z.EncBinary() + _ = yym3509 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3446 || yy2arr3446 { + if yyr3506 || yy2arr3506 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3446[1] { - yym3451 := z.EncBinary() - _ = yym3451 + if yyq3506[1] { + yym3511 := z.EncBinary() + _ = yym3511 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42950,43 +43628,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3446[1] { + if yyq3506[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3452 := z.EncBinary() - _ = yym3452 + yym3512 := z.EncBinary() + _ = yym3512 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3446 || yy2arr3446 { + if yyr3506 || yy2arr3506 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3446[2] { - yy3454 := &x.ObjectMeta - yy3454.CodecEncodeSelf(e) + if yyq3506[2] { + yy3514 := &x.ObjectMeta + yy3514.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3446[2] { + if yyq3506[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3455 := &x.ObjectMeta - yy3455.CodecEncodeSelf(e) + yy3515 := &x.ObjectMeta + yy3515.CodecEncodeSelf(e) } } - if yyr3446 || yy2arr3446 { + if yyr3506 || yy2arr3506 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3446[3] { + if yyq3506[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3457 := z.EncBinary() - _ = yym3457 + yym3517 := z.EncBinary() + _ = yym3517 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -42996,15 +43674,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3446[3] { + if yyq3506[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3458 := z.EncBinary() - _ = yym3458 + yym3518 := z.EncBinary() + _ = yym3518 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -43012,7 +43690,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3446 || yy2arr3446 { + if yyr3506 || yy2arr3506 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43025,25 +43703,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3459 := z.DecBinary() - _ = yym3459 + yym3519 := z.DecBinary() + _ = yym3519 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3460 := r.ContainerType() - if yyct3460 == codecSelferValueTypeMap1234 { - yyl3460 := r.ReadMapStart() - if yyl3460 == 0 { + yyct3520 := r.ContainerType() + if yyct3520 == codecSelferValueTypeMap1234 { + yyl3520 := r.ReadMapStart() + if yyl3520 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3460, d) + x.codecDecodeSelfFromMap(yyl3520, d) } - } else if yyct3460 == codecSelferValueTypeArray1234 { - yyl3460 := r.ReadArrayStart() - if yyl3460 == 0 { + } else if yyct3520 == codecSelferValueTypeArray1234 { + yyl3520 := r.ReadArrayStart() + if yyl3520 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3460, d) + x.codecDecodeSelfFromArray(yyl3520, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43055,12 +43733,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3461Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3461Slc - var yyhl3461 bool = l >= 0 - for yyj3461 := 0; ; yyj3461++ { - if yyhl3461 { - if yyj3461 >= l { + var yys3521Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3521Slc + var yyhl3521 bool = l >= 0 + for yyj3521 := 0; ; yyj3521++ { + if yyhl3521 { + if yyj3521 >= l { break } } else { @@ -43069,10 +43747,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3461Slc = r.DecodeBytes(yys3461Slc, true, true) - yys3461 := string(yys3461Slc) + yys3521Slc = r.DecodeBytes(yys3521Slc, true, true) + yys3521 := string(yys3521Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3461 { + switch yys3521 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43089,25 +43767,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3464 := &x.ObjectMeta - yyv3464.CodecDecodeSelf(d) + yyv3524 := &x.ObjectMeta + yyv3524.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3465 := &x.Conditions - yym3466 := z.DecBinary() - _ = yym3466 + yyv3525 := &x.Conditions + yym3526 := z.DecBinary() + _ = yym3526 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3465), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3525), d) } } default: - z.DecStructFieldNotFound(-1, yys3461) - } // end switch yys3461 - } // end for yyj3461 + z.DecStructFieldNotFound(-1, yys3521) + } // end switch yys3521 + } // end for yyj3521 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43115,16 +43793,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3467 int - var yyb3467 bool - var yyhl3467 bool = l >= 0 - yyj3467++ - if yyhl3467 { - yyb3467 = yyj3467 > l + var yyj3527 int + var yyb3527 bool + var yyhl3527 bool = l >= 0 + yyj3527++ + if yyhl3527 { + yyb3527 = yyj3527 > l } else { - yyb3467 = r.CheckBreak() + yyb3527 = r.CheckBreak() } - if yyb3467 { + if yyb3527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43134,13 +43812,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3467++ - if yyhl3467 { - yyb3467 = yyj3467 > l + yyj3527++ + if yyhl3527 { + yyb3527 = yyj3527 > l } else { - yyb3467 = r.CheckBreak() + yyb3527 = r.CheckBreak() } - if yyb3467 { + if yyb3527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43150,13 +43828,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3467++ - if yyhl3467 { - yyb3467 = yyj3467 > l + yyj3527++ + if yyhl3527 { + yyb3527 = yyj3527 > l } else { - yyb3467 = r.CheckBreak() + yyb3527 = r.CheckBreak() } - if yyb3467 { + if yyb3527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43164,16 +43842,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3470 := &x.ObjectMeta - yyv3470.CodecDecodeSelf(d) + yyv3530 := &x.ObjectMeta + yyv3530.CodecDecodeSelf(d) } - yyj3467++ - if yyhl3467 { - yyb3467 = yyj3467 > l + yyj3527++ + if yyhl3527 { + yyb3527 = yyj3527 > l } else { - yyb3467 = r.CheckBreak() + yyb3527 = r.CheckBreak() } - if yyb3467 { + if yyb3527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43181,26 +43859,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3471 := &x.Conditions - yym3472 := z.DecBinary() - _ = yym3472 + yyv3531 := &x.Conditions + yym3532 := z.DecBinary() + _ = yym3532 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3471), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3531), d) } } for { - yyj3467++ - if yyhl3467 { - yyb3467 = yyj3467 > l + yyj3527++ + if yyhl3527 { + yyb3527 = yyj3527 > l } else { - yyb3467 = r.CheckBreak() + yyb3527 = r.CheckBreak() } - if yyb3467 { + if yyb3527 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3467-1, "") + z.DecStructFieldNotFound(yyj3527-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43212,37 +43890,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3473 := z.EncBinary() - _ = yym3473 + yym3533 := z.EncBinary() + _ = yym3533 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3474 := !z.EncBinary() - yy2arr3474 := z.EncBasicHandle().StructToArray - var yyq3474 [4]bool - _, _, _ = yysep3474, yyq3474, yy2arr3474 - const yyr3474 bool = false - yyq3474[0] = x.Kind != "" - yyq3474[1] = x.APIVersion != "" - yyq3474[2] = true - var yynn3474 int - if yyr3474 || yy2arr3474 { + yysep3534 := !z.EncBinary() + yy2arr3534 := z.EncBasicHandle().StructToArray + var yyq3534 [4]bool + _, _, _ = yysep3534, yyq3534, yy2arr3534 + const yyr3534 bool = false + yyq3534[0] = x.Kind != "" + yyq3534[1] = x.APIVersion != "" + yyq3534[2] = true + var yynn3534 int + if yyr3534 || yy2arr3534 { r.EncodeArrayStart(4) } else { - yynn3474 = 1 - for _, b := range yyq3474 { + yynn3534 = 1 + for _, b := range yyq3534 { if b { - yynn3474++ + yynn3534++ } } - r.EncodeMapStart(yynn3474) - yynn3474 = 0 + r.EncodeMapStart(yynn3534) + yynn3534 = 0 } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3474[0] { - yym3476 := z.EncBinary() - _ = yym3476 + if yyq3534[0] { + yym3536 := z.EncBinary() + _ = yym3536 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43251,23 +43929,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3474[0] { + if yyq3534[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3477 := z.EncBinary() - _ = yym3477 + yym3537 := z.EncBinary() + _ = yym3537 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3474[1] { - yym3479 := z.EncBinary() - _ = yym3479 + if yyq3534[1] { + yym3539 := z.EncBinary() + _ = yym3539 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43276,54 +43954,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3474[1] { + if yyq3534[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3480 := z.EncBinary() - _ = yym3480 + yym3540 := z.EncBinary() + _ = yym3540 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3474[2] { - yy3482 := &x.ListMeta - yym3483 := z.EncBinary() - _ = yym3483 + if yyq3534[2] { + yy3542 := &x.ListMeta + yym3543 := z.EncBinary() + _ = yym3543 if false { - } else if z.HasExtensions() && z.EncExt(yy3482) { + } else if z.HasExtensions() && z.EncExt(yy3542) { } else { - z.EncFallback(yy3482) + z.EncFallback(yy3542) } } else { r.EncodeNil() } } else { - if yyq3474[2] { + if yyq3534[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3484 := &x.ListMeta - yym3485 := z.EncBinary() - _ = yym3485 + yy3544 := &x.ListMeta + yym3545 := z.EncBinary() + _ = yym3545 if false { - } else if z.HasExtensions() && z.EncExt(yy3484) { + } else if z.HasExtensions() && z.EncExt(yy3544) { } else { - z.EncFallback(yy3484) + z.EncFallback(yy3544) } } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3487 := z.EncBinary() - _ = yym3487 + yym3547 := z.EncBinary() + _ = yym3547 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -43336,15 +44014,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3488 := z.EncBinary() - _ = yym3488 + yym3548 := z.EncBinary() + _ = yym3548 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3474 || yy2arr3474 { + if yyr3534 || yy2arr3534 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43357,25 +44035,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3489 := z.DecBinary() - _ = yym3489 + yym3549 := z.DecBinary() + _ = yym3549 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3490 := r.ContainerType() - if yyct3490 == codecSelferValueTypeMap1234 { - yyl3490 := r.ReadMapStart() - if yyl3490 == 0 { + yyct3550 := r.ContainerType() + if yyct3550 == codecSelferValueTypeMap1234 { + yyl3550 := r.ReadMapStart() + if yyl3550 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3490, d) + x.codecDecodeSelfFromMap(yyl3550, d) } - } else if yyct3490 == codecSelferValueTypeArray1234 { - yyl3490 := r.ReadArrayStart() - if yyl3490 == 0 { + } else if yyct3550 == codecSelferValueTypeArray1234 { + yyl3550 := r.ReadArrayStart() + if yyl3550 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3490, d) + x.codecDecodeSelfFromArray(yyl3550, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43387,12 +44065,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3491Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3491Slc - var yyhl3491 bool = l >= 0 - for yyj3491 := 0; ; yyj3491++ { - if yyhl3491 { - if yyj3491 >= l { + var yys3551Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3551Slc + var yyhl3551 bool = l >= 0 + for yyj3551 := 0; ; yyj3551++ { + if yyhl3551 { + if yyj3551 >= l { break } } else { @@ -43401,10 +44079,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3491Slc = r.DecodeBytes(yys3491Slc, true, true) - yys3491 := string(yys3491Slc) + yys3551Slc = r.DecodeBytes(yys3551Slc, true, true) + yys3551 := string(yys3551Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3491 { + switch yys3551 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43421,31 +44099,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3494 := &x.ListMeta - yym3495 := z.DecBinary() - _ = yym3495 + yyv3554 := &x.ListMeta + yym3555 := z.DecBinary() + _ = yym3555 if false { - } else if z.HasExtensions() && z.DecExt(yyv3494) { + } else if z.HasExtensions() && z.DecExt(yyv3554) { } else { - z.DecFallback(yyv3494, false) + z.DecFallback(yyv3554, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3496 := &x.Items - yym3497 := z.DecBinary() - _ = yym3497 + yyv3556 := &x.Items + yym3557 := z.DecBinary() + _ = yym3557 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3496), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3556), d) } } default: - z.DecStructFieldNotFound(-1, yys3491) - } // end switch yys3491 - } // end for yyj3491 + z.DecStructFieldNotFound(-1, yys3551) + } // end switch yys3551 + } // end for yyj3551 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43453,16 +44131,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3498 int - var yyb3498 bool - var yyhl3498 bool = l >= 0 - yyj3498++ - if yyhl3498 { - yyb3498 = yyj3498 > l + var yyj3558 int + var yyb3558 bool + var yyhl3558 bool = l >= 0 + yyj3558++ + if yyhl3558 { + yyb3558 = yyj3558 > l } else { - yyb3498 = r.CheckBreak() + yyb3558 = r.CheckBreak() } - if yyb3498 { + if yyb3558 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43472,13 +44150,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3498++ - if yyhl3498 { - yyb3498 = yyj3498 > l + yyj3558++ + if yyhl3558 { + yyb3558 = yyj3558 > l } else { - yyb3498 = r.CheckBreak() + yyb3558 = r.CheckBreak() } - if yyb3498 { + if yyb3558 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43488,13 +44166,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3498++ - if yyhl3498 { - yyb3498 = yyj3498 > l + yyj3558++ + if yyhl3558 { + yyb3558 = yyj3558 > l } else { - yyb3498 = r.CheckBreak() + yyb3558 = r.CheckBreak() } - if yyb3498 { + if yyb3558 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43502,22 +44180,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3501 := &x.ListMeta - yym3502 := z.DecBinary() - _ = yym3502 + yyv3561 := &x.ListMeta + yym3562 := z.DecBinary() + _ = yym3562 if false { - } else if z.HasExtensions() && z.DecExt(yyv3501) { + } else if z.HasExtensions() && z.DecExt(yyv3561) { } else { - z.DecFallback(yyv3501, false) + z.DecFallback(yyv3561, false) } } - yyj3498++ - if yyhl3498 { - yyb3498 = yyj3498 > l + yyj3558++ + if yyhl3558 { + yyb3558 = yyj3558 > l } else { - yyb3498 = r.CheckBreak() + yyb3558 = r.CheckBreak() } - if yyb3498 { + if yyb3558 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43525,26 +44203,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3503 := &x.Items - yym3504 := z.DecBinary() - _ = yym3504 + yyv3563 := &x.Items + yym3564 := z.DecBinary() + _ = yym3564 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3503), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3563), d) } } for { - yyj3498++ - if yyhl3498 { - yyb3498 = yyj3498 > l + yyj3558++ + if yyhl3558 { + yyb3558 = yyj3558 > l } else { - yyb3498 = r.CheckBreak() + yyb3558 = r.CheckBreak() } - if yyb3498 { + if yyb3558 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3498-1, "") + z.DecStructFieldNotFound(yyj3558-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43556,38 +44234,38 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3505 := z.EncBinary() - _ = yym3505 + yym3565 := z.EncBinary() + _ = yym3565 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3506 := !z.EncBinary() - yy2arr3506 := z.EncBasicHandle().StructToArray - var yyq3506 [1]bool - _, _, _ = yysep3506, yyq3506, yy2arr3506 - const yyr3506 bool = false - yyq3506[0] = len(x.Items) != 0 - var yynn3506 int - if yyr3506 || yy2arr3506 { + yysep3566 := !z.EncBinary() + yy2arr3566 := z.EncBasicHandle().StructToArray + var yyq3566 [1]bool + _, _, _ = yysep3566, yyq3566, yy2arr3566 + const yyr3566 bool = false + yyq3566[0] = len(x.Items) != 0 + var yynn3566 int + if yyr3566 || yy2arr3566 { r.EncodeArrayStart(1) } else { - yynn3506 = 0 - for _, b := range yyq3506 { + yynn3566 = 0 + for _, b := range yyq3566 { if b { - yynn3506++ + yynn3566++ } } - r.EncodeMapStart(yynn3506) - yynn3506 = 0 + r.EncodeMapStart(yynn3566) + yynn3566 = 0 } - if yyr3506 || yy2arr3506 { + if yyr3566 || yy2arr3566 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3506[0] { + if yyq3566[0] { if x.Items == nil { r.EncodeNil() } else { - yym3508 := z.EncBinary() - _ = yym3508 + yym3568 := z.EncBinary() + _ = yym3568 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -43597,15 +44275,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3506[0] { + if yyq3566[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym3509 := z.EncBinary() - _ = yym3509 + yym3569 := z.EncBinary() + _ = yym3569 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -43613,7 +44291,7 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3506 || yy2arr3506 { + if yyr3566 || yy2arr3566 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43626,25 +44304,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3510 := z.DecBinary() - _ = yym3510 + yym3570 := z.DecBinary() + _ = yym3570 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3511 := r.ContainerType() - if yyct3511 == codecSelferValueTypeMap1234 { - yyl3511 := r.ReadMapStart() - if yyl3511 == 0 { + yyct3571 := r.ContainerType() + if yyct3571 == codecSelferValueTypeMap1234 { + yyl3571 := r.ReadMapStart() + if yyl3571 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3511, d) + x.codecDecodeSelfFromMap(yyl3571, d) } - } else if yyct3511 == codecSelferValueTypeArray1234 { - yyl3511 := r.ReadArrayStart() - if yyl3511 == 0 { + } else if yyct3571 == codecSelferValueTypeArray1234 { + yyl3571 := r.ReadArrayStart() + if yyl3571 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3511, d) + x.codecDecodeSelfFromArray(yyl3571, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43656,12 +44334,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3512Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3512Slc - var yyhl3512 bool = l >= 0 - for yyj3512 := 0; ; yyj3512++ { - if yyhl3512 { - if yyj3512 >= l { + var yys3572Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3572Slc + var yyhl3572 bool = l >= 0 + for yyj3572 := 0; ; yyj3572++ { + if yyhl3572 { + if yyj3572 >= l { break } } else { @@ -43670,26 +44348,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3512Slc = r.DecodeBytes(yys3512Slc, true, true) - yys3512 := string(yys3512Slc) + yys3572Slc = r.DecodeBytes(yys3572Slc, true, true) + yys3572 := string(yys3572Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3512 { + switch yys3572 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3513 := &x.Items - yym3514 := z.DecBinary() - _ = yym3514 + yyv3573 := &x.Items + yym3574 := z.DecBinary() + _ = yym3574 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3513), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3573), d) } } default: - z.DecStructFieldNotFound(-1, yys3512) - } // end switch yys3512 - } // end for yyj3512 + z.DecStructFieldNotFound(-1, yys3572) + } // end switch yys3572 + } // end for yyj3572 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43697,16 +44375,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3515 int - var yyb3515 bool - var yyhl3515 bool = l >= 0 - yyj3515++ - if yyhl3515 { - yyb3515 = yyj3515 > l + var yyj3575 int + var yyb3575 bool + var yyhl3575 bool = l >= 0 + yyj3575++ + if yyhl3575 { + yyb3575 = yyj3575 > l } else { - yyb3515 = r.CheckBreak() + yyb3575 = r.CheckBreak() } - if yyb3515 { + if yyb3575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43714,26 +44392,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3516 := &x.Items - yym3517 := z.DecBinary() - _ = yym3517 + yyv3576 := &x.Items + yym3577 := z.DecBinary() + _ = yym3577 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3516), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3576), d) } } for { - yyj3515++ - if yyhl3515 { - yyb3515 = yyj3515 > l + yyj3575++ + if yyhl3575 { + yyb3575 = yyj3575 > l } else { - yyb3515 = r.CheckBreak() + yyb3575 = r.CheckBreak() } - if yyb3515 { + if yyb3575 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3515-1, "") + z.DecStructFieldNotFound(yyj3575-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43745,33 +44423,33 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3518 := z.EncBinary() - _ = yym3518 + yym3578 := z.EncBinary() + _ = yym3578 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3519 := !z.EncBinary() - yy2arr3519 := z.EncBasicHandle().StructToArray - var yyq3519 [2]bool - _, _, _ = yysep3519, yyq3519, yy2arr3519 - const yyr3519 bool = false - var yynn3519 int - if yyr3519 || yy2arr3519 { + yysep3579 := !z.EncBinary() + yy2arr3579 := z.EncBasicHandle().StructToArray + var yyq3579 [2]bool + _, _, _ = yysep3579, yyq3579, yy2arr3579 + const yyr3579 bool = false + var yynn3579 int + if yyr3579 || yy2arr3579 { r.EncodeArrayStart(2) } else { - yynn3519 = 2 - for _, b := range yyq3519 { + yynn3579 = 2 + for _, b := range yyq3579 { if b { - yynn3519++ + yynn3579++ } } - r.EncodeMapStart(yynn3519) - yynn3519 = 0 + r.EncodeMapStart(yynn3579) + yynn3579 = 0 } - if yyr3519 || yy2arr3519 { + if yyr3579 || yy2arr3579 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3521 := z.EncBinary() - _ = yym3521 + yym3581 := z.EncBinary() + _ = yym3581 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -43780,25 +44458,25 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3522 := z.EncBinary() - _ = yym3522 + yym3582 := z.EncBinary() + _ = yym3582 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3519 || yy2arr3519 { + if yyr3579 || yy2arr3579 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3524 := &x.FieldRef - yy3524.CodecEncodeSelf(e) + yy3584 := &x.FieldRef + yy3584.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3525 := &x.FieldRef - yy3525.CodecEncodeSelf(e) + yy3585 := &x.FieldRef + yy3585.CodecEncodeSelf(e) } - if yyr3519 || yy2arr3519 { + if yyr3579 || yy2arr3579 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43811,25 +44489,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3526 := z.DecBinary() - _ = yym3526 + yym3586 := z.DecBinary() + _ = yym3586 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3527 := r.ContainerType() - if yyct3527 == codecSelferValueTypeMap1234 { - yyl3527 := r.ReadMapStart() - if yyl3527 == 0 { + yyct3587 := r.ContainerType() + if yyct3587 == codecSelferValueTypeMap1234 { + yyl3587 := r.ReadMapStart() + if yyl3587 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3527, d) + x.codecDecodeSelfFromMap(yyl3587, d) } - } else if yyct3527 == codecSelferValueTypeArray1234 { - yyl3527 := r.ReadArrayStart() - if yyl3527 == 0 { + } else if yyct3587 == codecSelferValueTypeArray1234 { + yyl3587 := r.ReadArrayStart() + if yyl3587 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3527, d) + x.codecDecodeSelfFromArray(yyl3587, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43841,12 +44519,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3528Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3528Slc - var yyhl3528 bool = l >= 0 - for yyj3528 := 0; ; yyj3528++ { - if yyhl3528 { - if yyj3528 >= l { + var yys3588Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3588Slc + var yyhl3588 bool = l >= 0 + for yyj3588 := 0; ; yyj3588++ { + if yyhl3588 { + if yyj3588 >= l { break } } else { @@ -43855,10 +44533,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3528Slc = r.DecodeBytes(yys3528Slc, true, true) - yys3528 := string(yys3528Slc) + yys3588Slc = r.DecodeBytes(yys3588Slc, true, true) + yys3588 := string(yys3588Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3528 { + switch yys3588 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -43869,13 +44547,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv3530 := &x.FieldRef - yyv3530.CodecDecodeSelf(d) + yyv3590 := &x.FieldRef + yyv3590.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3528) - } // end switch yys3528 - } // end for yyj3528 + z.DecStructFieldNotFound(-1, yys3588) + } // end switch yys3588 + } // end for yyj3588 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43883,16 +44561,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3531 int - var yyb3531 bool - var yyhl3531 bool = l >= 0 - yyj3531++ - if yyhl3531 { - yyb3531 = yyj3531 > l + var yyj3591 int + var yyb3591 bool + var yyhl3591 bool = l >= 0 + yyj3591++ + if yyhl3591 { + yyb3591 = yyj3591 > l } else { - yyb3531 = r.CheckBreak() + yyb3591 = r.CheckBreak() } - if yyb3531 { + if yyb3591 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43902,13 +44580,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj3531++ - if yyhl3531 { - yyb3531 = yyj3531 > l + yyj3591++ + if yyhl3591 { + yyb3591 = yyj3591 > l } else { - yyb3531 = r.CheckBreak() + yyb3591 = r.CheckBreak() } - if yyb3531 { + if yyb3591 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43916,21 +44594,21 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv3533 := &x.FieldRef - yyv3533.CodecDecodeSelf(d) + yyv3593 := &x.FieldRef + yyv3593.CodecDecodeSelf(d) } for { - yyj3531++ - if yyhl3531 { - yyb3531 = yyj3531 > l + yyj3591++ + if yyhl3591 { + yyb3591 = yyj3591 > l } else { - yyb3531 = r.CheckBreak() + yyb3591 = r.CheckBreak() } - if yyb3531 { + if yyb3591 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3531-1, "") + z.DecStructFieldNotFound(yyj3591-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43942,37 +44620,37 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3534 := z.EncBinary() - _ = yym3534 + yym3594 := z.EncBinary() + _ = yym3594 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3535 := !z.EncBinary() - yy2arr3535 := z.EncBasicHandle().StructToArray - var yyq3535 [5]bool - _, _, _ = yysep3535, yyq3535, yy2arr3535 - const yyr3535 bool = false - yyq3535[0] = x.Capabilities != nil - yyq3535[1] = x.Privileged != nil - yyq3535[2] = x.SELinuxOptions != nil - yyq3535[3] = x.RunAsUser != nil - yyq3535[4] = x.RunAsNonRoot != nil - var yynn3535 int - if yyr3535 || yy2arr3535 { + yysep3595 := !z.EncBinary() + yy2arr3595 := z.EncBasicHandle().StructToArray + var yyq3595 [5]bool + _, _, _ = yysep3595, yyq3595, yy2arr3595 + const yyr3595 bool = false + yyq3595[0] = x.Capabilities != nil + yyq3595[1] = x.Privileged != nil + yyq3595[2] = x.SELinuxOptions != nil + yyq3595[3] = x.RunAsUser != nil + yyq3595[4] = x.RunAsNonRoot != nil + var yynn3595 int + if yyr3595 || yy2arr3595 { r.EncodeArrayStart(5) } else { - yynn3535 = 0 - for _, b := range yyq3535 { + yynn3595 = 0 + for _, b := range yyq3595 { if b { - yynn3535++ + yynn3595++ } } - r.EncodeMapStart(yynn3535) - yynn3535 = 0 + r.EncodeMapStart(yynn3595) + yynn3595 = 0 } - if yyr3535 || yy2arr3535 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3535[0] { + if yyq3595[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -43982,7 +44660,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3535[0] { + if yyq3595[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -43993,44 +44671,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3535 || yy2arr3535 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3535[1] { + if yyq3595[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy3538 := *x.Privileged - yym3539 := z.EncBinary() - _ = yym3539 + yy3598 := *x.Privileged + yym3599 := z.EncBinary() + _ = yym3599 if false { } else { - r.EncodeBool(bool(yy3538)) + r.EncodeBool(bool(yy3598)) } } } else { r.EncodeNil() } } else { - if yyq3535[1] { + if yyq3595[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy3540 := *x.Privileged - yym3541 := z.EncBinary() - _ = yym3541 + yy3600 := *x.Privileged + yym3601 := z.EncBinary() + _ = yym3601 if false { } else { - r.EncodeBool(bool(yy3540)) + r.EncodeBool(bool(yy3600)) } } } } - if yyr3535 || yy2arr3535 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3535[2] { + if yyq3595[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -44040,7 +44718,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3535[2] { + if yyq3595[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -44051,77 +44729,77 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3535 || yy2arr3535 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3535[3] { + if yyq3595[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy3544 := *x.RunAsUser - yym3545 := z.EncBinary() - _ = yym3545 + yy3604 := *x.RunAsUser + yym3605 := z.EncBinary() + _ = yym3605 if false { } else { - r.EncodeInt(int64(yy3544)) + r.EncodeInt(int64(yy3604)) } } } else { r.EncodeNil() } } else { - if yyq3535[3] { + if yyq3595[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy3546 := *x.RunAsUser - yym3547 := z.EncBinary() - _ = yym3547 + yy3606 := *x.RunAsUser + yym3607 := z.EncBinary() + _ = yym3607 if false { } else { - r.EncodeInt(int64(yy3546)) + r.EncodeInt(int64(yy3606)) } } } } - if yyr3535 || yy2arr3535 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3535[4] { + if yyq3595[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3549 := *x.RunAsNonRoot - yym3550 := z.EncBinary() - _ = yym3550 + yy3609 := *x.RunAsNonRoot + yym3610 := z.EncBinary() + _ = yym3610 if false { } else { - r.EncodeBool(bool(yy3549)) + r.EncodeBool(bool(yy3609)) } } } else { r.EncodeNil() } } else { - if yyq3535[4] { + if yyq3595[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3551 := *x.RunAsNonRoot - yym3552 := z.EncBinary() - _ = yym3552 + yy3611 := *x.RunAsNonRoot + yym3612 := z.EncBinary() + _ = yym3612 if false { } else { - r.EncodeBool(bool(yy3551)) + r.EncodeBool(bool(yy3611)) } } } } - if yyr3535 || yy2arr3535 { + if yyr3595 || yy2arr3595 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44134,25 +44812,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3553 := z.DecBinary() - _ = yym3553 + yym3613 := z.DecBinary() + _ = yym3613 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3554 := r.ContainerType() - if yyct3554 == codecSelferValueTypeMap1234 { - yyl3554 := r.ReadMapStart() - if yyl3554 == 0 { + yyct3614 := r.ContainerType() + if yyct3614 == codecSelferValueTypeMap1234 { + yyl3614 := r.ReadMapStart() + if yyl3614 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3554, d) + x.codecDecodeSelfFromMap(yyl3614, d) } - } else if yyct3554 == codecSelferValueTypeArray1234 { - yyl3554 := r.ReadArrayStart() - if yyl3554 == 0 { + } else if yyct3614 == codecSelferValueTypeArray1234 { + yyl3614 := r.ReadArrayStart() + if yyl3614 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3554, d) + x.codecDecodeSelfFromArray(yyl3614, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44164,12 +44842,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3555Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3555Slc - var yyhl3555 bool = l >= 0 - for yyj3555 := 0; ; yyj3555++ { - if yyhl3555 { - if yyj3555 >= l { + var yys3615Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3615Slc + var yyhl3615 bool = l >= 0 + for yyj3615 := 0; ; yyj3615++ { + if yyhl3615 { + if yyj3615 >= l { break } } else { @@ -44178,10 +44856,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3555Slc = r.DecodeBytes(yys3555Slc, true, true) - yys3555 := string(yys3555Slc) + yys3615Slc = r.DecodeBytes(yys3615Slc, true, true) + yys3615 := string(yys3615Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3555 { + switch yys3615 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -44202,8 +44880,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3558 := z.DecBinary() - _ = yym3558 + yym3618 := z.DecBinary() + _ = yym3618 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -44229,8 +44907,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3561 := z.DecBinary() - _ = yym3561 + yym3621 := z.DecBinary() + _ = yym3621 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -44245,17 +44923,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3563 := z.DecBinary() - _ = yym3563 + yym3623 := z.DecBinary() + _ = yym3623 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3555) - } // end switch yys3555 - } // end for yyj3555 + z.DecStructFieldNotFound(-1, yys3615) + } // end switch yys3615 + } // end for yyj3615 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44263,16 +44941,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3564 int - var yyb3564 bool - var yyhl3564 bool = l >= 0 - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + var yyj3624 int + var yyb3624 bool + var yyhl3624 bool = l >= 0 + yyj3624++ + if yyhl3624 { + yyb3624 = yyj3624 > l } else { - yyb3564 = r.CheckBreak() + yyb3624 = r.CheckBreak() } - if yyb3564 { + if yyb3624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44287,13 +44965,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3624++ + if yyhl3624 { + yyb3624 = yyj3624 > l } else { - yyb3564 = r.CheckBreak() + yyb3624 = r.CheckBreak() } - if yyb3564 { + if yyb3624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44306,20 +44984,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3567 := z.DecBinary() - _ = yym3567 + yym3627 := z.DecBinary() + _ = yym3627 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3624++ + if yyhl3624 { + yyb3624 = yyj3624 > l } else { - yyb3564 = r.CheckBreak() + yyb3624 = r.CheckBreak() } - if yyb3564 { + if yyb3624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44334,13 +45012,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3624++ + if yyhl3624 { + yyb3624 = yyj3624 > l } else { - yyb3564 = r.CheckBreak() + yyb3624 = r.CheckBreak() } - if yyb3564 { + if yyb3624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44353,20 +45031,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3570 := z.DecBinary() - _ = yym3570 + yym3630 := z.DecBinary() + _ = yym3630 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3624++ + if yyhl3624 { + yyb3624 = yyj3624 > l } else { - yyb3564 = r.CheckBreak() + yyb3624 = r.CheckBreak() } - if yyb3564 { + if yyb3624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44379,25 +45057,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3572 := z.DecBinary() - _ = yym3572 + yym3632 := z.DecBinary() + _ = yym3632 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3624++ + if yyhl3624 { + yyb3624 = yyj3624 > l } else { - yyb3564 = r.CheckBreak() + yyb3624 = r.CheckBreak() } - if yyb3564 { + if yyb3624 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3564-1, "") + z.DecStructFieldNotFound(yyj3624-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44409,38 +45087,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3573 := z.EncBinary() - _ = yym3573 + yym3633 := z.EncBinary() + _ = yym3633 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3574 := !z.EncBinary() - yy2arr3574 := z.EncBasicHandle().StructToArray - var yyq3574 [4]bool - _, _, _ = yysep3574, yyq3574, yy2arr3574 - const yyr3574 bool = false - yyq3574[0] = x.User != "" - yyq3574[1] = x.Role != "" - yyq3574[2] = x.Type != "" - yyq3574[3] = x.Level != "" - var yynn3574 int - if yyr3574 || yy2arr3574 { + yysep3634 := !z.EncBinary() + yy2arr3634 := z.EncBasicHandle().StructToArray + var yyq3634 [4]bool + _, _, _ = yysep3634, yyq3634, yy2arr3634 + const yyr3634 bool = false + yyq3634[0] = x.User != "" + yyq3634[1] = x.Role != "" + yyq3634[2] = x.Type != "" + yyq3634[3] = x.Level != "" + var yynn3634 int + if yyr3634 || yy2arr3634 { r.EncodeArrayStart(4) } else { - yynn3574 = 0 - for _, b := range yyq3574 { + yynn3634 = 0 + for _, b := range yyq3634 { if b { - yynn3574++ + yynn3634++ } } - r.EncodeMapStart(yynn3574) - yynn3574 = 0 + r.EncodeMapStart(yynn3634) + yynn3634 = 0 } - if yyr3574 || yy2arr3574 { + if yyr3634 || yy2arr3634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3574[0] { - yym3576 := z.EncBinary() - _ = yym3576 + if yyq3634[0] { + yym3636 := z.EncBinary() + _ = yym3636 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -44449,23 +45127,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3574[0] { + if yyq3634[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3577 := z.EncBinary() - _ = yym3577 + yym3637 := z.EncBinary() + _ = yym3637 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3574 || yy2arr3574 { + if yyr3634 || yy2arr3634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3574[1] { - yym3579 := z.EncBinary() - _ = yym3579 + if yyq3634[1] { + yym3639 := z.EncBinary() + _ = yym3639 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -44474,23 +45152,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3574[1] { + if yyq3634[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3580 := z.EncBinary() - _ = yym3580 + yym3640 := z.EncBinary() + _ = yym3640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3574 || yy2arr3574 { + if yyr3634 || yy2arr3634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3574[2] { - yym3582 := z.EncBinary() - _ = yym3582 + if yyq3634[2] { + yym3642 := z.EncBinary() + _ = yym3642 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -44499,23 +45177,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3574[2] { + if yyq3634[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3583 := z.EncBinary() - _ = yym3583 + yym3643 := z.EncBinary() + _ = yym3643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3574 || yy2arr3574 { + if yyr3634 || yy2arr3634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3574[3] { - yym3585 := z.EncBinary() - _ = yym3585 + if yyq3634[3] { + yym3645 := z.EncBinary() + _ = yym3645 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -44524,19 +45202,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3574[3] { + if yyq3634[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3586 := z.EncBinary() - _ = yym3586 + yym3646 := z.EncBinary() + _ = yym3646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3574 || yy2arr3574 { + if yyr3634 || yy2arr3634 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44549,25 +45227,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3587 := z.DecBinary() - _ = yym3587 + yym3647 := z.DecBinary() + _ = yym3647 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3588 := r.ContainerType() - if yyct3588 == codecSelferValueTypeMap1234 { - yyl3588 := r.ReadMapStart() - if yyl3588 == 0 { + yyct3648 := r.ContainerType() + if yyct3648 == codecSelferValueTypeMap1234 { + yyl3648 := r.ReadMapStart() + if yyl3648 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3588, d) + x.codecDecodeSelfFromMap(yyl3648, d) } - } else if yyct3588 == codecSelferValueTypeArray1234 { - yyl3588 := r.ReadArrayStart() - if yyl3588 == 0 { + } else if yyct3648 == codecSelferValueTypeArray1234 { + yyl3648 := r.ReadArrayStart() + if yyl3648 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3588, d) + x.codecDecodeSelfFromArray(yyl3648, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44579,12 +45257,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3589Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3589Slc - var yyhl3589 bool = l >= 0 - for yyj3589 := 0; ; yyj3589++ { - if yyhl3589 { - if yyj3589 >= l { + var yys3649Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3649Slc + var yyhl3649 bool = l >= 0 + for yyj3649 := 0; ; yyj3649++ { + if yyhl3649 { + if yyj3649 >= l { break } } else { @@ -44593,10 +45271,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3589Slc = r.DecodeBytes(yys3589Slc, true, true) - yys3589 := string(yys3589Slc) + yys3649Slc = r.DecodeBytes(yys3649Slc, true, true) + yys3649 := string(yys3649Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3589 { + switch yys3649 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -44622,9 +45300,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3589) - } // end switch yys3589 - } // end for yyj3589 + z.DecStructFieldNotFound(-1, yys3649) + } // end switch yys3649 + } // end for yyj3649 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44632,16 +45310,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3594 int - var yyb3594 bool - var yyhl3594 bool = l >= 0 - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + var yyj3654 int + var yyb3654 bool + var yyhl3654 bool = l >= 0 + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3594 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3594 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44651,13 +45329,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3594 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3594 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44667,13 +45345,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3594 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3594 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44683,13 +45361,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3594 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3594 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44700,17 +45378,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3594 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3594 { + if yyb3654 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3594-1, "") + z.DecStructFieldNotFound(yyj3654-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44722,37 +45400,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3599 := z.EncBinary() - _ = yym3599 + yym3659 := z.EncBinary() + _ = yym3659 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3600 := !z.EncBinary() - yy2arr3600 := z.EncBasicHandle().StructToArray - var yyq3600 [5]bool - _, _, _ = yysep3600, yyq3600, yy2arr3600 - const yyr3600 bool = false - yyq3600[0] = x.Kind != "" - yyq3600[1] = x.APIVersion != "" - yyq3600[2] = true - var yynn3600 int - if yyr3600 || yy2arr3600 { + yysep3660 := !z.EncBinary() + yy2arr3660 := z.EncBasicHandle().StructToArray + var yyq3660 [5]bool + _, _, _ = yysep3660, yyq3660, yy2arr3660 + const yyr3660 bool = false + yyq3660[0] = x.Kind != "" + yyq3660[1] = x.APIVersion != "" + yyq3660[2] = true + var yynn3660 int + if yyr3660 || yy2arr3660 { r.EncodeArrayStart(5) } else { - yynn3600 = 2 - for _, b := range yyq3600 { + yynn3660 = 2 + for _, b := range yyq3660 { if b { - yynn3600++ + yynn3660++ } } - r.EncodeMapStart(yynn3600) - yynn3600 = 0 + r.EncodeMapStart(yynn3660) + yynn3660 = 0 } - if yyr3600 || yy2arr3600 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3600[0] { - yym3602 := z.EncBinary() - _ = yym3602 + if yyq3660[0] { + yym3662 := z.EncBinary() + _ = yym3662 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44761,23 +45439,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3600[0] { + if yyq3660[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3603 := z.EncBinary() - _ = yym3603 + yym3663 := z.EncBinary() + _ = yym3663 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3600 || yy2arr3600 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3600[1] { - yym3605 := z.EncBinary() - _ = yym3605 + if yyq3660[1] { + yym3665 := z.EncBinary() + _ = yym3665 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44786,39 +45464,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3600[1] { + if yyq3660[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3606 := z.EncBinary() - _ = yym3606 + yym3666 := z.EncBinary() + _ = yym3666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3600 || yy2arr3600 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3600[2] { - yy3608 := &x.ObjectMeta - yy3608.CodecEncodeSelf(e) + if yyq3660[2] { + yy3668 := &x.ObjectMeta + yy3668.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3600[2] { + if yyq3660[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3609 := &x.ObjectMeta - yy3609.CodecEncodeSelf(e) + yy3669 := &x.ObjectMeta + yy3669.CodecEncodeSelf(e) } } - if yyr3600 || yy2arr3600 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3611 := z.EncBinary() - _ = yym3611 + yym3671 := z.EncBinary() + _ = yym3671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -44827,20 +45505,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3612 := z.EncBinary() - _ = yym3612 + yym3672 := z.EncBinary() + _ = yym3672 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3600 || yy2arr3600 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3614 := z.EncBinary() - _ = yym3614 + yym3674 := z.EncBinary() + _ = yym3674 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -44853,15 +45531,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3615 := z.EncBinary() - _ = yym3615 + yym3675 := z.EncBinary() + _ = yym3675 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3600 || yy2arr3600 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44874,25 +45552,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3616 := z.DecBinary() - _ = yym3616 + yym3676 := z.DecBinary() + _ = yym3676 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3617 := r.ContainerType() - if yyct3617 == codecSelferValueTypeMap1234 { - yyl3617 := r.ReadMapStart() - if yyl3617 == 0 { + yyct3677 := r.ContainerType() + if yyct3677 == codecSelferValueTypeMap1234 { + yyl3677 := r.ReadMapStart() + if yyl3677 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3617, d) + x.codecDecodeSelfFromMap(yyl3677, d) } - } else if yyct3617 == codecSelferValueTypeArray1234 { - yyl3617 := r.ReadArrayStart() - if yyl3617 == 0 { + } else if yyct3677 == codecSelferValueTypeArray1234 { + yyl3677 := r.ReadArrayStart() + if yyl3677 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3617, d) + x.codecDecodeSelfFromArray(yyl3677, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44904,12 +45582,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3618Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3618Slc - var yyhl3618 bool = l >= 0 - for yyj3618 := 0; ; yyj3618++ { - if yyhl3618 { - if yyj3618 >= l { + var yys3678Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3678Slc + var yyhl3678 bool = l >= 0 + for yyj3678 := 0; ; yyj3678++ { + if yyhl3678 { + if yyj3678 >= l { break } } else { @@ -44918,10 +45596,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3618Slc = r.DecodeBytes(yys3618Slc, true, true) - yys3618 := string(yys3618Slc) + yys3678Slc = r.DecodeBytes(yys3678Slc, true, true) + yys3678 := string(yys3678Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3618 { + switch yys3678 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44938,8 +45616,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3621 := &x.ObjectMeta - yyv3621.CodecDecodeSelf(d) + yyv3681 := &x.ObjectMeta + yyv3681.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -44951,18 +45629,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3623 := &x.Data - yym3624 := z.DecBinary() - _ = yym3624 + yyv3683 := &x.Data + yym3684 := z.DecBinary() + _ = yym3684 if false { } else { - *yyv3623 = r.DecodeBytes(*(*[]byte)(yyv3623), false, false) + *yyv3683 = r.DecodeBytes(*(*[]byte)(yyv3683), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3618) - } // end switch yys3618 - } // end for yyj3618 + z.DecStructFieldNotFound(-1, yys3678) + } // end switch yys3678 + } // end for yyj3678 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44970,16 +45648,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3625 int - var yyb3625 bool - var yyhl3625 bool = l >= 0 - yyj3625++ - if yyhl3625 { - yyb3625 = yyj3625 > l + var yyj3685 int + var yyb3685 bool + var yyhl3685 bool = l >= 0 + yyj3685++ + if yyhl3685 { + yyb3685 = yyj3685 > l } else { - yyb3625 = r.CheckBreak() + yyb3685 = r.CheckBreak() } - if yyb3625 { + if yyb3685 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44989,13 +45667,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3625++ - if yyhl3625 { - yyb3625 = yyj3625 > l + yyj3685++ + if yyhl3685 { + yyb3685 = yyj3685 > l } else { - yyb3625 = r.CheckBreak() + yyb3685 = r.CheckBreak() } - if yyb3625 { + if yyb3685 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45005,13 +45683,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3625++ - if yyhl3625 { - yyb3625 = yyj3625 > l + yyj3685++ + if yyhl3685 { + yyb3685 = yyj3685 > l } else { - yyb3625 = r.CheckBreak() + yyb3685 = r.CheckBreak() } - if yyb3625 { + if yyb3685 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45019,16 +45697,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3628 := &x.ObjectMeta - yyv3628.CodecDecodeSelf(d) + yyv3688 := &x.ObjectMeta + yyv3688.CodecDecodeSelf(d) } - yyj3625++ - if yyhl3625 { - yyb3625 = yyj3625 > l + yyj3685++ + if yyhl3685 { + yyb3685 = yyj3685 > l } else { - yyb3625 = r.CheckBreak() + yyb3685 = r.CheckBreak() } - if yyb3625 { + if yyb3685 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45038,13 +45716,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3625++ - if yyhl3625 { - yyb3625 = yyj3625 > l + yyj3685++ + if yyhl3685 { + yyb3685 = yyj3685 > l } else { - yyb3625 = r.CheckBreak() + yyb3685 = r.CheckBreak() } - if yyb3625 { + if yyb3685 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45052,26 +45730,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3630 := &x.Data - yym3631 := z.DecBinary() - _ = yym3631 + yyv3690 := &x.Data + yym3691 := z.DecBinary() + _ = yym3691 if false { } else { - *yyv3630 = r.DecodeBytes(*(*[]byte)(yyv3630), false, false) + *yyv3690 = r.DecodeBytes(*(*[]byte)(yyv3690), false, false) } } for { - yyj3625++ - if yyhl3625 { - yyb3625 = yyj3625 > l + yyj3685++ + if yyhl3685 { + yyb3685 = yyj3685 > l } else { - yyb3625 = r.CheckBreak() + yyb3685 = r.CheckBreak() } - if yyb3625 { + if yyb3685 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3625-1, "") + z.DecStructFieldNotFound(yyj3685-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45081,9 +45759,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3632 := range v { + for _, yyv3692 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3632.CodecEncodeSelf(e) + yyv3692.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45093,75 +45771,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3633 := *v - yyh3633, yyl3633 := z.DecSliceHelperStart() - var yyc3633 bool - if yyl3633 == 0 { - if yyv3633 == nil { - yyv3633 = []PersistentVolumeAccessMode{} - yyc3633 = true - } else if len(yyv3633) != 0 { - yyv3633 = yyv3633[:0] - yyc3633 = true + yyv3693 := *v + yyh3693, yyl3693 := z.DecSliceHelperStart() + var yyc3693 bool + if yyl3693 == 0 { + if yyv3693 == nil { + yyv3693 = []PersistentVolumeAccessMode{} + yyc3693 = true + } else if len(yyv3693) != 0 { + yyv3693 = yyv3693[:0] + yyc3693 = true } - } else if yyl3633 > 0 { - var yyrr3633, yyrl3633 int - var yyrt3633 bool - if yyl3633 > cap(yyv3633) { + } else if yyl3693 > 0 { + var yyrr3693, yyrl3693 int + var yyrt3693 bool + if yyl3693 > cap(yyv3693) { - yyrl3633, yyrt3633 = z.DecInferLen(yyl3633, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3633 { - if yyrl3633 <= cap(yyv3633) { - yyv3633 = yyv3633[:yyrl3633] + yyrl3693, yyrt3693 = z.DecInferLen(yyl3693, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3693 { + if yyrl3693 <= cap(yyv3693) { + yyv3693 = yyv3693[:yyrl3693] } else { - yyv3633 = make([]PersistentVolumeAccessMode, yyrl3633) + yyv3693 = make([]PersistentVolumeAccessMode, yyrl3693) } } else { - yyv3633 = make([]PersistentVolumeAccessMode, yyrl3633) + yyv3693 = make([]PersistentVolumeAccessMode, yyrl3693) } - yyc3633 = true - yyrr3633 = len(yyv3633) - } else if yyl3633 != len(yyv3633) { - yyv3633 = yyv3633[:yyl3633] - yyc3633 = true + yyc3693 = true + yyrr3693 = len(yyv3693) + } else if yyl3693 != len(yyv3693) { + yyv3693 = yyv3693[:yyl3693] + yyc3693 = true } - yyj3633 := 0 - for ; yyj3633 < yyrr3633; yyj3633++ { - yyh3633.ElemContainerState(yyj3633) + yyj3693 := 0 + for ; yyj3693 < yyrr3693; yyj3693++ { + yyh3693.ElemContainerState(yyj3693) if r.TryDecodeAsNil() { - yyv3633[yyj3633] = "" + yyv3693[yyj3693] = "" } else { - yyv3633[yyj3633] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3693[yyj3693] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3633 { - for ; yyj3633 < yyl3633; yyj3633++ { - yyv3633 = append(yyv3633, "") - yyh3633.ElemContainerState(yyj3633) + if yyrt3693 { + for ; yyj3693 < yyl3693; yyj3693++ { + yyv3693 = append(yyv3693, "") + yyh3693.ElemContainerState(yyj3693) if r.TryDecodeAsNil() { - yyv3633[yyj3633] = "" + yyv3693[yyj3693] = "" } else { - yyv3633[yyj3633] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3693[yyj3693] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3633 := 0 - for ; !r.CheckBreak(); yyj3633++ { + yyj3693 := 0 + for ; !r.CheckBreak(); yyj3693++ { - if yyj3633 >= len(yyv3633) { - yyv3633 = append(yyv3633, "") // var yyz3633 PersistentVolumeAccessMode - yyc3633 = true + if yyj3693 >= len(yyv3693) { + yyv3693 = append(yyv3693, "") // var yyz3693 PersistentVolumeAccessMode + yyc3693 = true } - yyh3633.ElemContainerState(yyj3633) - if yyj3633 < len(yyv3633) { + yyh3693.ElemContainerState(yyj3693) + if yyj3693 < len(yyv3693) { if r.TryDecodeAsNil() { - yyv3633[yyj3633] = "" + yyv3693[yyj3693] = "" } else { - yyv3633[yyj3633] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3693[yyj3693] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -45169,17 +45847,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3633 < len(yyv3633) { - yyv3633 = yyv3633[:yyj3633] - yyc3633 = true - } else if yyj3633 == 0 && yyv3633 == nil { - yyv3633 = []PersistentVolumeAccessMode{} - yyc3633 = true + if yyj3693 < len(yyv3693) { + yyv3693 = yyv3693[:yyj3693] + yyc3693 = true + } else if yyj3693 == 0 && yyv3693 == nil { + yyv3693 = []PersistentVolumeAccessMode{} + yyc3693 = true } } - yyh3633.End() - if yyc3633 { - *v = yyv3633 + yyh3693.End() + if yyc3693 { + *v = yyv3693 } } @@ -45188,10 +45866,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3637 := range v { + for _, yyv3697 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3638 := &yyv3637 - yy3638.CodecEncodeSelf(e) + yy3698 := &yyv3697 + yy3698.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45201,83 +45879,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3639 := *v - yyh3639, yyl3639 := z.DecSliceHelperStart() - var yyc3639 bool - if yyl3639 == 0 { - if yyv3639 == nil { - yyv3639 = []PersistentVolume{} - yyc3639 = true - } else if len(yyv3639) != 0 { - yyv3639 = yyv3639[:0] - yyc3639 = true + yyv3699 := *v + yyh3699, yyl3699 := z.DecSliceHelperStart() + var yyc3699 bool + if yyl3699 == 0 { + if yyv3699 == nil { + yyv3699 = []PersistentVolume{} + yyc3699 = true + } else if len(yyv3699) != 0 { + yyv3699 = yyv3699[:0] + yyc3699 = true } - } else if yyl3639 > 0 { - var yyrr3639, yyrl3639 int - var yyrt3639 bool - if yyl3639 > cap(yyv3639) { + } else if yyl3699 > 0 { + var yyrr3699, yyrl3699 int + var yyrt3699 bool + if yyl3699 > cap(yyv3699) { - yyrg3639 := len(yyv3639) > 0 - yyv23639 := yyv3639 - yyrl3639, yyrt3639 = z.DecInferLen(yyl3639, z.DecBasicHandle().MaxInitLen, 392) - if yyrt3639 { - if yyrl3639 <= cap(yyv3639) { - yyv3639 = yyv3639[:yyrl3639] + yyrg3699 := len(yyv3699) > 0 + yyv23699 := yyv3699 + yyrl3699, yyrt3699 = z.DecInferLen(yyl3699, z.DecBasicHandle().MaxInitLen, 392) + if yyrt3699 { + if yyrl3699 <= cap(yyv3699) { + yyv3699 = yyv3699[:yyrl3699] } else { - yyv3639 = make([]PersistentVolume, yyrl3639) + yyv3699 = make([]PersistentVolume, yyrl3699) } } else { - yyv3639 = make([]PersistentVolume, yyrl3639) + yyv3699 = make([]PersistentVolume, yyrl3699) } - yyc3639 = true - yyrr3639 = len(yyv3639) - if yyrg3639 { - copy(yyv3639, yyv23639) + yyc3699 = true + yyrr3699 = len(yyv3699) + if yyrg3699 { + copy(yyv3699, yyv23699) } - } else if yyl3639 != len(yyv3639) { - yyv3639 = yyv3639[:yyl3639] - yyc3639 = true + } else if yyl3699 != len(yyv3699) { + yyv3699 = yyv3699[:yyl3699] + yyc3699 = true } - yyj3639 := 0 - for ; yyj3639 < yyrr3639; yyj3639++ { - yyh3639.ElemContainerState(yyj3639) + yyj3699 := 0 + for ; yyj3699 < yyrr3699; yyj3699++ { + yyh3699.ElemContainerState(yyj3699) if r.TryDecodeAsNil() { - yyv3639[yyj3639] = PersistentVolume{} + yyv3699[yyj3699] = PersistentVolume{} } else { - yyv3640 := &yyv3639[yyj3639] - yyv3640.CodecDecodeSelf(d) + yyv3700 := &yyv3699[yyj3699] + yyv3700.CodecDecodeSelf(d) } } - if yyrt3639 { - for ; yyj3639 < yyl3639; yyj3639++ { - yyv3639 = append(yyv3639, PersistentVolume{}) - yyh3639.ElemContainerState(yyj3639) + if yyrt3699 { + for ; yyj3699 < yyl3699; yyj3699++ { + yyv3699 = append(yyv3699, PersistentVolume{}) + yyh3699.ElemContainerState(yyj3699) if r.TryDecodeAsNil() { - yyv3639[yyj3639] = PersistentVolume{} + yyv3699[yyj3699] = PersistentVolume{} } else { - yyv3641 := &yyv3639[yyj3639] - yyv3641.CodecDecodeSelf(d) + yyv3701 := &yyv3699[yyj3699] + yyv3701.CodecDecodeSelf(d) } } } } else { - yyj3639 := 0 - for ; !r.CheckBreak(); yyj3639++ { + yyj3699 := 0 + for ; !r.CheckBreak(); yyj3699++ { - if yyj3639 >= len(yyv3639) { - yyv3639 = append(yyv3639, PersistentVolume{}) // var yyz3639 PersistentVolume - yyc3639 = true + if yyj3699 >= len(yyv3699) { + yyv3699 = append(yyv3699, PersistentVolume{}) // var yyz3699 PersistentVolume + yyc3699 = true } - yyh3639.ElemContainerState(yyj3639) - if yyj3639 < len(yyv3639) { + yyh3699.ElemContainerState(yyj3699) + if yyj3699 < len(yyv3699) { if r.TryDecodeAsNil() { - yyv3639[yyj3639] = PersistentVolume{} + yyv3699[yyj3699] = PersistentVolume{} } else { - yyv3642 := &yyv3639[yyj3639] - yyv3642.CodecDecodeSelf(d) + yyv3702 := &yyv3699[yyj3699] + yyv3702.CodecDecodeSelf(d) } } else { @@ -45285,17 +45963,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3639 < len(yyv3639) { - yyv3639 = yyv3639[:yyj3639] - yyc3639 = true - } else if yyj3639 == 0 && yyv3639 == nil { - yyv3639 = []PersistentVolume{} - yyc3639 = true + if yyj3699 < len(yyv3699) { + yyv3699 = yyv3699[:yyj3699] + yyc3699 = true + } else if yyj3699 == 0 && yyv3699 == nil { + yyv3699 = []PersistentVolume{} + yyc3699 = true } } - yyh3639.End() - if yyc3639 { - *v = yyv3639 + yyh3699.End() + if yyc3699 { + *v = yyv3699 } } @@ -45304,10 +45982,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3643 := range v { + for _, yyv3703 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3644 := &yyv3643 - yy3644.CodecEncodeSelf(e) + yy3704 := &yyv3703 + yy3704.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45317,83 +45995,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3645 := *v - yyh3645, yyl3645 := z.DecSliceHelperStart() - var yyc3645 bool - if yyl3645 == 0 { - if yyv3645 == nil { - yyv3645 = []PersistentVolumeClaim{} - yyc3645 = true - } else if len(yyv3645) != 0 { - yyv3645 = yyv3645[:0] - yyc3645 = true + yyv3705 := *v + yyh3705, yyl3705 := z.DecSliceHelperStart() + var yyc3705 bool + if yyl3705 == 0 { + if yyv3705 == nil { + yyv3705 = []PersistentVolumeClaim{} + yyc3705 = true + } else if len(yyv3705) != 0 { + yyv3705 = yyv3705[:0] + yyc3705 = true } - } else if yyl3645 > 0 { - var yyrr3645, yyrl3645 int - var yyrt3645 bool - if yyl3645 > cap(yyv3645) { + } else if yyl3705 > 0 { + var yyrr3705, yyrl3705 int + var yyrt3705 bool + if yyl3705 > cap(yyv3705) { - yyrg3645 := len(yyv3645) > 0 - yyv23645 := yyv3645 - yyrl3645, yyrt3645 = z.DecInferLen(yyl3645, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3645 { - if yyrl3645 <= cap(yyv3645) { - yyv3645 = yyv3645[:yyrl3645] + yyrg3705 := len(yyv3705) > 0 + yyv23705 := yyv3705 + yyrl3705, yyrt3705 = z.DecInferLen(yyl3705, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3705 { + if yyrl3705 <= cap(yyv3705) { + yyv3705 = yyv3705[:yyrl3705] } else { - yyv3645 = make([]PersistentVolumeClaim, yyrl3645) + yyv3705 = make([]PersistentVolumeClaim, yyrl3705) } } else { - yyv3645 = make([]PersistentVolumeClaim, yyrl3645) + yyv3705 = make([]PersistentVolumeClaim, yyrl3705) } - yyc3645 = true - yyrr3645 = len(yyv3645) - if yyrg3645 { - copy(yyv3645, yyv23645) + yyc3705 = true + yyrr3705 = len(yyv3705) + if yyrg3705 { + copy(yyv3705, yyv23705) } - } else if yyl3645 != len(yyv3645) { - yyv3645 = yyv3645[:yyl3645] - yyc3645 = true + } else if yyl3705 != len(yyv3705) { + yyv3705 = yyv3705[:yyl3705] + yyc3705 = true } - yyj3645 := 0 - for ; yyj3645 < yyrr3645; yyj3645++ { - yyh3645.ElemContainerState(yyj3645) + yyj3705 := 0 + for ; yyj3705 < yyrr3705; yyj3705++ { + yyh3705.ElemContainerState(yyj3705) if r.TryDecodeAsNil() { - yyv3645[yyj3645] = PersistentVolumeClaim{} + yyv3705[yyj3705] = PersistentVolumeClaim{} } else { - yyv3646 := &yyv3645[yyj3645] - yyv3646.CodecDecodeSelf(d) + yyv3706 := &yyv3705[yyj3705] + yyv3706.CodecDecodeSelf(d) } } - if yyrt3645 { - for ; yyj3645 < yyl3645; yyj3645++ { - yyv3645 = append(yyv3645, PersistentVolumeClaim{}) - yyh3645.ElemContainerState(yyj3645) + if yyrt3705 { + for ; yyj3705 < yyl3705; yyj3705++ { + yyv3705 = append(yyv3705, PersistentVolumeClaim{}) + yyh3705.ElemContainerState(yyj3705) if r.TryDecodeAsNil() { - yyv3645[yyj3645] = PersistentVolumeClaim{} + yyv3705[yyj3705] = PersistentVolumeClaim{} } else { - yyv3647 := &yyv3645[yyj3645] - yyv3647.CodecDecodeSelf(d) + yyv3707 := &yyv3705[yyj3705] + yyv3707.CodecDecodeSelf(d) } } } } else { - yyj3645 := 0 - for ; !r.CheckBreak(); yyj3645++ { + yyj3705 := 0 + for ; !r.CheckBreak(); yyj3705++ { - if yyj3645 >= len(yyv3645) { - yyv3645 = append(yyv3645, PersistentVolumeClaim{}) // var yyz3645 PersistentVolumeClaim - yyc3645 = true + if yyj3705 >= len(yyv3705) { + yyv3705 = append(yyv3705, PersistentVolumeClaim{}) // var yyz3705 PersistentVolumeClaim + yyc3705 = true } - yyh3645.ElemContainerState(yyj3645) - if yyj3645 < len(yyv3645) { + yyh3705.ElemContainerState(yyj3705) + if yyj3705 < len(yyv3705) { if r.TryDecodeAsNil() { - yyv3645[yyj3645] = PersistentVolumeClaim{} + yyv3705[yyj3705] = PersistentVolumeClaim{} } else { - yyv3648 := &yyv3645[yyj3645] - yyv3648.CodecDecodeSelf(d) + yyv3708 := &yyv3705[yyj3705] + yyv3708.CodecDecodeSelf(d) } } else { @@ -45401,17 +46079,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3645 < len(yyv3645) { - yyv3645 = yyv3645[:yyj3645] - yyc3645 = true - } else if yyj3645 == 0 && yyv3645 == nil { - yyv3645 = []PersistentVolumeClaim{} - yyc3645 = true + if yyj3705 < len(yyv3705) { + yyv3705 = yyv3705[:yyj3705] + yyc3705 = true + } else if yyj3705 == 0 && yyv3705 == nil { + yyv3705 = []PersistentVolumeClaim{} + yyc3705 = true } } - yyh3645.End() - if yyc3645 { - *v = yyv3645 + yyh3705.End() + if yyc3705 { + *v = yyv3705 } } @@ -45420,9 +46098,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3649 := range v { + for _, yyv3709 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3649.CodecEncodeSelf(e) + yyv3709.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45432,1164 +46110,12 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3650 := *v - yyh3650, yyl3650 := z.DecSliceHelperStart() - var yyc3650 bool - if yyl3650 == 0 { - if yyv3650 == nil { - yyv3650 = []Capability{} - yyc3650 = true - } else if len(yyv3650) != 0 { - yyv3650 = yyv3650[:0] - yyc3650 = true - } - } else if yyl3650 > 0 { - var yyrr3650, yyrl3650 int - var yyrt3650 bool - if yyl3650 > cap(yyv3650) { - - yyrl3650, yyrt3650 = z.DecInferLen(yyl3650, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3650 { - if yyrl3650 <= cap(yyv3650) { - yyv3650 = yyv3650[:yyrl3650] - } else { - yyv3650 = make([]Capability, yyrl3650) - } - } else { - yyv3650 = make([]Capability, yyrl3650) - } - yyc3650 = true - yyrr3650 = len(yyv3650) - } else if yyl3650 != len(yyv3650) { - yyv3650 = yyv3650[:yyl3650] - yyc3650 = true - } - yyj3650 := 0 - for ; yyj3650 < yyrr3650; yyj3650++ { - yyh3650.ElemContainerState(yyj3650) - if r.TryDecodeAsNil() { - yyv3650[yyj3650] = "" - } else { - yyv3650[yyj3650] = Capability(r.DecodeString()) - } - - } - if yyrt3650 { - for ; yyj3650 < yyl3650; yyj3650++ { - yyv3650 = append(yyv3650, "") - yyh3650.ElemContainerState(yyj3650) - if r.TryDecodeAsNil() { - yyv3650[yyj3650] = "" - } else { - yyv3650[yyj3650] = Capability(r.DecodeString()) - } - - } - } - - } else { - yyj3650 := 0 - for ; !r.CheckBreak(); yyj3650++ { - - if yyj3650 >= len(yyv3650) { - yyv3650 = append(yyv3650, "") // var yyz3650 Capability - yyc3650 = true - } - yyh3650.ElemContainerState(yyj3650) - if yyj3650 < len(yyv3650) { - if r.TryDecodeAsNil() { - yyv3650[yyj3650] = "" - } else { - yyv3650[yyj3650] = Capability(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj3650 < len(yyv3650) { - yyv3650 = yyv3650[:yyj3650] - yyc3650 = true - } else if yyj3650 == 0 && yyv3650 == nil { - yyv3650 = []Capability{} - yyc3650 = true - } - } - yyh3650.End() - if yyc3650 { - *v = yyv3650 - } -} - -func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3654 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3655 := &yyv3654 - yy3655.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3656 := *v - yyh3656, yyl3656 := z.DecSliceHelperStart() - var yyc3656 bool - if yyl3656 == 0 { - if yyv3656 == nil { - yyv3656 = []ContainerPort{} - yyc3656 = true - } else if len(yyv3656) != 0 { - yyv3656 = yyv3656[:0] - yyc3656 = true - } - } else if yyl3656 > 0 { - var yyrr3656, yyrl3656 int - var yyrt3656 bool - if yyl3656 > cap(yyv3656) { - - yyrg3656 := len(yyv3656) > 0 - yyv23656 := yyv3656 - yyrl3656, yyrt3656 = z.DecInferLen(yyl3656, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3656 { - if yyrl3656 <= cap(yyv3656) { - yyv3656 = yyv3656[:yyrl3656] - } else { - yyv3656 = make([]ContainerPort, yyrl3656) - } - } else { - yyv3656 = make([]ContainerPort, yyrl3656) - } - yyc3656 = true - yyrr3656 = len(yyv3656) - if yyrg3656 { - copy(yyv3656, yyv23656) - } - } else if yyl3656 != len(yyv3656) { - yyv3656 = yyv3656[:yyl3656] - yyc3656 = true - } - yyj3656 := 0 - for ; yyj3656 < yyrr3656; yyj3656++ { - yyh3656.ElemContainerState(yyj3656) - if r.TryDecodeAsNil() { - yyv3656[yyj3656] = ContainerPort{} - } else { - yyv3657 := &yyv3656[yyj3656] - yyv3657.CodecDecodeSelf(d) - } - - } - if yyrt3656 { - for ; yyj3656 < yyl3656; yyj3656++ { - yyv3656 = append(yyv3656, ContainerPort{}) - yyh3656.ElemContainerState(yyj3656) - if r.TryDecodeAsNil() { - yyv3656[yyj3656] = ContainerPort{} - } else { - yyv3658 := &yyv3656[yyj3656] - yyv3658.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3656 := 0 - for ; !r.CheckBreak(); yyj3656++ { - - if yyj3656 >= len(yyv3656) { - yyv3656 = append(yyv3656, ContainerPort{}) // var yyz3656 ContainerPort - yyc3656 = true - } - yyh3656.ElemContainerState(yyj3656) - if yyj3656 < len(yyv3656) { - if r.TryDecodeAsNil() { - yyv3656[yyj3656] = ContainerPort{} - } else { - yyv3659 := &yyv3656[yyj3656] - yyv3659.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3656 < len(yyv3656) { - yyv3656 = yyv3656[:yyj3656] - yyc3656 = true - } else if yyj3656 == 0 && yyv3656 == nil { - yyv3656 = []ContainerPort{} - yyc3656 = true - } - } - yyh3656.End() - if yyc3656 { - *v = yyv3656 - } -} - -func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3660 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3661 := &yyv3660 - yy3661.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3662 := *v - yyh3662, yyl3662 := z.DecSliceHelperStart() - var yyc3662 bool - if yyl3662 == 0 { - if yyv3662 == nil { - yyv3662 = []EnvVar{} - yyc3662 = true - } else if len(yyv3662) != 0 { - yyv3662 = yyv3662[:0] - yyc3662 = true - } - } else if yyl3662 > 0 { - var yyrr3662, yyrl3662 int - var yyrt3662 bool - if yyl3662 > cap(yyv3662) { - - yyrg3662 := len(yyv3662) > 0 - yyv23662 := yyv3662 - yyrl3662, yyrt3662 = z.DecInferLen(yyl3662, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3662 { - if yyrl3662 <= cap(yyv3662) { - yyv3662 = yyv3662[:yyrl3662] - } else { - yyv3662 = make([]EnvVar, yyrl3662) - } - } else { - yyv3662 = make([]EnvVar, yyrl3662) - } - yyc3662 = true - yyrr3662 = len(yyv3662) - if yyrg3662 { - copy(yyv3662, yyv23662) - } - } else if yyl3662 != len(yyv3662) { - yyv3662 = yyv3662[:yyl3662] - yyc3662 = true - } - yyj3662 := 0 - for ; yyj3662 < yyrr3662; yyj3662++ { - yyh3662.ElemContainerState(yyj3662) - if r.TryDecodeAsNil() { - yyv3662[yyj3662] = EnvVar{} - } else { - yyv3663 := &yyv3662[yyj3662] - yyv3663.CodecDecodeSelf(d) - } - - } - if yyrt3662 { - for ; yyj3662 < yyl3662; yyj3662++ { - yyv3662 = append(yyv3662, EnvVar{}) - yyh3662.ElemContainerState(yyj3662) - if r.TryDecodeAsNil() { - yyv3662[yyj3662] = EnvVar{} - } else { - yyv3664 := &yyv3662[yyj3662] - yyv3664.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3662 := 0 - for ; !r.CheckBreak(); yyj3662++ { - - if yyj3662 >= len(yyv3662) { - yyv3662 = append(yyv3662, EnvVar{}) // var yyz3662 EnvVar - yyc3662 = true - } - yyh3662.ElemContainerState(yyj3662) - if yyj3662 < len(yyv3662) { - if r.TryDecodeAsNil() { - yyv3662[yyj3662] = EnvVar{} - } else { - yyv3665 := &yyv3662[yyj3662] - yyv3665.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3662 < len(yyv3662) { - yyv3662 = yyv3662[:yyj3662] - yyc3662 = true - } else if yyj3662 == 0 && yyv3662 == nil { - yyv3662 = []EnvVar{} - yyc3662 = true - } - } - yyh3662.End() - if yyc3662 { - *v = yyv3662 - } -} - -func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3666 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3667 := &yyv3666 - yy3667.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3668 := *v - yyh3668, yyl3668 := z.DecSliceHelperStart() - var yyc3668 bool - if yyl3668 == 0 { - if yyv3668 == nil { - yyv3668 = []VolumeMount{} - yyc3668 = true - } else if len(yyv3668) != 0 { - yyv3668 = yyv3668[:0] - yyc3668 = true - } - } else if yyl3668 > 0 { - var yyrr3668, yyrl3668 int - var yyrt3668 bool - if yyl3668 > cap(yyv3668) { - - yyrg3668 := len(yyv3668) > 0 - yyv23668 := yyv3668 - yyrl3668, yyrt3668 = z.DecInferLen(yyl3668, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3668 { - if yyrl3668 <= cap(yyv3668) { - yyv3668 = yyv3668[:yyrl3668] - } else { - yyv3668 = make([]VolumeMount, yyrl3668) - } - } else { - yyv3668 = make([]VolumeMount, yyrl3668) - } - yyc3668 = true - yyrr3668 = len(yyv3668) - if yyrg3668 { - copy(yyv3668, yyv23668) - } - } else if yyl3668 != len(yyv3668) { - yyv3668 = yyv3668[:yyl3668] - yyc3668 = true - } - yyj3668 := 0 - for ; yyj3668 < yyrr3668; yyj3668++ { - yyh3668.ElemContainerState(yyj3668) - if r.TryDecodeAsNil() { - yyv3668[yyj3668] = VolumeMount{} - } else { - yyv3669 := &yyv3668[yyj3668] - yyv3669.CodecDecodeSelf(d) - } - - } - if yyrt3668 { - for ; yyj3668 < yyl3668; yyj3668++ { - yyv3668 = append(yyv3668, VolumeMount{}) - yyh3668.ElemContainerState(yyj3668) - if r.TryDecodeAsNil() { - yyv3668[yyj3668] = VolumeMount{} - } else { - yyv3670 := &yyv3668[yyj3668] - yyv3670.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3668 := 0 - for ; !r.CheckBreak(); yyj3668++ { - - if yyj3668 >= len(yyv3668) { - yyv3668 = append(yyv3668, VolumeMount{}) // var yyz3668 VolumeMount - yyc3668 = true - } - yyh3668.ElemContainerState(yyj3668) - if yyj3668 < len(yyv3668) { - if r.TryDecodeAsNil() { - yyv3668[yyj3668] = VolumeMount{} - } else { - yyv3671 := &yyv3668[yyj3668] - yyv3671.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3668 < len(yyv3668) { - yyv3668 = yyv3668[:yyj3668] - yyc3668 = true - } else if yyj3668 == 0 && yyv3668 == nil { - yyv3668 = []VolumeMount{} - yyc3668 = true - } - } - yyh3668.End() - if yyc3668 { - *v = yyv3668 - } -} - -func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3672 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3673 := &yyv3672 - yy3673.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3674 := *v - yyh3674, yyl3674 := z.DecSliceHelperStart() - var yyc3674 bool - if yyl3674 == 0 { - if yyv3674 == nil { - yyv3674 = []Volume{} - yyc3674 = true - } else if len(yyv3674) != 0 { - yyv3674 = yyv3674[:0] - yyc3674 = true - } - } else if yyl3674 > 0 { - var yyrr3674, yyrl3674 int - var yyrt3674 bool - if yyl3674 > cap(yyv3674) { - - yyrg3674 := len(yyv3674) > 0 - yyv23674 := yyv3674 - yyrl3674, yyrt3674 = z.DecInferLen(yyl3674, z.DecBasicHandle().MaxInitLen, 152) - if yyrt3674 { - if yyrl3674 <= cap(yyv3674) { - yyv3674 = yyv3674[:yyrl3674] - } else { - yyv3674 = make([]Volume, yyrl3674) - } - } else { - yyv3674 = make([]Volume, yyrl3674) - } - yyc3674 = true - yyrr3674 = len(yyv3674) - if yyrg3674 { - copy(yyv3674, yyv23674) - } - } else if yyl3674 != len(yyv3674) { - yyv3674 = yyv3674[:yyl3674] - yyc3674 = true - } - yyj3674 := 0 - for ; yyj3674 < yyrr3674; yyj3674++ { - yyh3674.ElemContainerState(yyj3674) - if r.TryDecodeAsNil() { - yyv3674[yyj3674] = Volume{} - } else { - yyv3675 := &yyv3674[yyj3674] - yyv3675.CodecDecodeSelf(d) - } - - } - if yyrt3674 { - for ; yyj3674 < yyl3674; yyj3674++ { - yyv3674 = append(yyv3674, Volume{}) - yyh3674.ElemContainerState(yyj3674) - if r.TryDecodeAsNil() { - yyv3674[yyj3674] = Volume{} - } else { - yyv3676 := &yyv3674[yyj3674] - yyv3676.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3674 := 0 - for ; !r.CheckBreak(); yyj3674++ { - - if yyj3674 >= len(yyv3674) { - yyv3674 = append(yyv3674, Volume{}) // var yyz3674 Volume - yyc3674 = true - } - yyh3674.ElemContainerState(yyj3674) - if yyj3674 < len(yyv3674) { - if r.TryDecodeAsNil() { - yyv3674[yyj3674] = Volume{} - } else { - yyv3677 := &yyv3674[yyj3674] - yyv3677.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3674 < len(yyv3674) { - yyv3674 = yyv3674[:yyj3674] - yyc3674 = true - } else if yyj3674 == 0 && yyv3674 == nil { - yyv3674 = []Volume{} - yyc3674 = true - } - } - yyh3674.End() - if yyc3674 { - *v = yyv3674 - } -} - -func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3678 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3679 := &yyv3678 - yy3679.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3680 := *v - yyh3680, yyl3680 := z.DecSliceHelperStart() - var yyc3680 bool - if yyl3680 == 0 { - if yyv3680 == nil { - yyv3680 = []Container{} - yyc3680 = true - } else if len(yyv3680) != 0 { - yyv3680 = yyv3680[:0] - yyc3680 = true - } - } else if yyl3680 > 0 { - var yyrr3680, yyrl3680 int - var yyrt3680 bool - if yyl3680 > cap(yyv3680) { - - yyrg3680 := len(yyv3680) > 0 - yyv23680 := yyv3680 - yyrl3680, yyrt3680 = z.DecInferLen(yyl3680, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3680 { - if yyrl3680 <= cap(yyv3680) { - yyv3680 = yyv3680[:yyrl3680] - } else { - yyv3680 = make([]Container, yyrl3680) - } - } else { - yyv3680 = make([]Container, yyrl3680) - } - yyc3680 = true - yyrr3680 = len(yyv3680) - if yyrg3680 { - copy(yyv3680, yyv23680) - } - } else if yyl3680 != len(yyv3680) { - yyv3680 = yyv3680[:yyl3680] - yyc3680 = true - } - yyj3680 := 0 - for ; yyj3680 < yyrr3680; yyj3680++ { - yyh3680.ElemContainerState(yyj3680) - if r.TryDecodeAsNil() { - yyv3680[yyj3680] = Container{} - } else { - yyv3681 := &yyv3680[yyj3680] - yyv3681.CodecDecodeSelf(d) - } - - } - if yyrt3680 { - for ; yyj3680 < yyl3680; yyj3680++ { - yyv3680 = append(yyv3680, Container{}) - yyh3680.ElemContainerState(yyj3680) - if r.TryDecodeAsNil() { - yyv3680[yyj3680] = Container{} - } else { - yyv3682 := &yyv3680[yyj3680] - yyv3682.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3680 := 0 - for ; !r.CheckBreak(); yyj3680++ { - - if yyj3680 >= len(yyv3680) { - yyv3680 = append(yyv3680, Container{}) // var yyz3680 Container - yyc3680 = true - } - yyh3680.ElemContainerState(yyj3680) - if yyj3680 < len(yyv3680) { - if r.TryDecodeAsNil() { - yyv3680[yyj3680] = Container{} - } else { - yyv3683 := &yyv3680[yyj3680] - yyv3683.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3680 < len(yyv3680) { - yyv3680 = yyv3680[:yyj3680] - yyc3680 = true - } else if yyj3680 == 0 && yyv3680 == nil { - yyv3680 = []Container{} - yyc3680 = true - } - } - yyh3680.End() - if yyc3680 { - *v = yyv3680 - } -} - -func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3684 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3685 := &yyv3684 - yy3685.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3686 := *v - yyh3686, yyl3686 := z.DecSliceHelperStart() - var yyc3686 bool - if yyl3686 == 0 { - if yyv3686 == nil { - yyv3686 = []LocalObjectReference{} - yyc3686 = true - } else if len(yyv3686) != 0 { - yyv3686 = yyv3686[:0] - yyc3686 = true - } - } else if yyl3686 > 0 { - var yyrr3686, yyrl3686 int - var yyrt3686 bool - if yyl3686 > cap(yyv3686) { - - yyrg3686 := len(yyv3686) > 0 - yyv23686 := yyv3686 - yyrl3686, yyrt3686 = z.DecInferLen(yyl3686, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3686 { - if yyrl3686 <= cap(yyv3686) { - yyv3686 = yyv3686[:yyrl3686] - } else { - yyv3686 = make([]LocalObjectReference, yyrl3686) - } - } else { - yyv3686 = make([]LocalObjectReference, yyrl3686) - } - yyc3686 = true - yyrr3686 = len(yyv3686) - if yyrg3686 { - copy(yyv3686, yyv23686) - } - } else if yyl3686 != len(yyv3686) { - yyv3686 = yyv3686[:yyl3686] - yyc3686 = true - } - yyj3686 := 0 - for ; yyj3686 < yyrr3686; yyj3686++ { - yyh3686.ElemContainerState(yyj3686) - if r.TryDecodeAsNil() { - yyv3686[yyj3686] = LocalObjectReference{} - } else { - yyv3687 := &yyv3686[yyj3686] - yyv3687.CodecDecodeSelf(d) - } - - } - if yyrt3686 { - for ; yyj3686 < yyl3686; yyj3686++ { - yyv3686 = append(yyv3686, LocalObjectReference{}) - yyh3686.ElemContainerState(yyj3686) - if r.TryDecodeAsNil() { - yyv3686[yyj3686] = LocalObjectReference{} - } else { - yyv3688 := &yyv3686[yyj3686] - yyv3688.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3686 := 0 - for ; !r.CheckBreak(); yyj3686++ { - - if yyj3686 >= len(yyv3686) { - yyv3686 = append(yyv3686, LocalObjectReference{}) // var yyz3686 LocalObjectReference - yyc3686 = true - } - yyh3686.ElemContainerState(yyj3686) - if yyj3686 < len(yyv3686) { - if r.TryDecodeAsNil() { - yyv3686[yyj3686] = LocalObjectReference{} - } else { - yyv3689 := &yyv3686[yyj3686] - yyv3689.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3686 < len(yyv3686) { - yyv3686 = yyv3686[:yyj3686] - yyc3686 = true - } else if yyj3686 == 0 && yyv3686 == nil { - yyv3686 = []LocalObjectReference{} - yyc3686 = true - } - } - yyh3686.End() - if yyc3686 { - *v = yyv3686 - } -} - -func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3690 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3691 := &yyv3690 - yy3691.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3692 := *v - yyh3692, yyl3692 := z.DecSliceHelperStart() - var yyc3692 bool - if yyl3692 == 0 { - if yyv3692 == nil { - yyv3692 = []PodCondition{} - yyc3692 = true - } else if len(yyv3692) != 0 { - yyv3692 = yyv3692[:0] - yyc3692 = true - } - } else if yyl3692 > 0 { - var yyrr3692, yyrl3692 int - var yyrt3692 bool - if yyl3692 > cap(yyv3692) { - - yyrg3692 := len(yyv3692) > 0 - yyv23692 := yyv3692 - yyrl3692, yyrt3692 = z.DecInferLen(yyl3692, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3692 { - if yyrl3692 <= cap(yyv3692) { - yyv3692 = yyv3692[:yyrl3692] - } else { - yyv3692 = make([]PodCondition, yyrl3692) - } - } else { - yyv3692 = make([]PodCondition, yyrl3692) - } - yyc3692 = true - yyrr3692 = len(yyv3692) - if yyrg3692 { - copy(yyv3692, yyv23692) - } - } else if yyl3692 != len(yyv3692) { - yyv3692 = yyv3692[:yyl3692] - yyc3692 = true - } - yyj3692 := 0 - for ; yyj3692 < yyrr3692; yyj3692++ { - yyh3692.ElemContainerState(yyj3692) - if r.TryDecodeAsNil() { - yyv3692[yyj3692] = PodCondition{} - } else { - yyv3693 := &yyv3692[yyj3692] - yyv3693.CodecDecodeSelf(d) - } - - } - if yyrt3692 { - for ; yyj3692 < yyl3692; yyj3692++ { - yyv3692 = append(yyv3692, PodCondition{}) - yyh3692.ElemContainerState(yyj3692) - if r.TryDecodeAsNil() { - yyv3692[yyj3692] = PodCondition{} - } else { - yyv3694 := &yyv3692[yyj3692] - yyv3694.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3692 := 0 - for ; !r.CheckBreak(); yyj3692++ { - - if yyj3692 >= len(yyv3692) { - yyv3692 = append(yyv3692, PodCondition{}) // var yyz3692 PodCondition - yyc3692 = true - } - yyh3692.ElemContainerState(yyj3692) - if yyj3692 < len(yyv3692) { - if r.TryDecodeAsNil() { - yyv3692[yyj3692] = PodCondition{} - } else { - yyv3695 := &yyv3692[yyj3692] - yyv3695.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3692 < len(yyv3692) { - yyv3692 = yyv3692[:yyj3692] - yyc3692 = true - } else if yyj3692 == 0 && yyv3692 == nil { - yyv3692 = []PodCondition{} - yyc3692 = true - } - } - yyh3692.End() - if yyc3692 { - *v = yyv3692 - } -} - -func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3696 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3697 := &yyv3696 - yy3697.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3698 := *v - yyh3698, yyl3698 := z.DecSliceHelperStart() - var yyc3698 bool - if yyl3698 == 0 { - if yyv3698 == nil { - yyv3698 = []ContainerStatus{} - yyc3698 = true - } else if len(yyv3698) != 0 { - yyv3698 = yyv3698[:0] - yyc3698 = true - } - } else if yyl3698 > 0 { - var yyrr3698, yyrl3698 int - var yyrt3698 bool - if yyl3698 > cap(yyv3698) { - - yyrg3698 := len(yyv3698) > 0 - yyv23698 := yyv3698 - yyrl3698, yyrt3698 = z.DecInferLen(yyl3698, z.DecBasicHandle().MaxInitLen, 120) - if yyrt3698 { - if yyrl3698 <= cap(yyv3698) { - yyv3698 = yyv3698[:yyrl3698] - } else { - yyv3698 = make([]ContainerStatus, yyrl3698) - } - } else { - yyv3698 = make([]ContainerStatus, yyrl3698) - } - yyc3698 = true - yyrr3698 = len(yyv3698) - if yyrg3698 { - copy(yyv3698, yyv23698) - } - } else if yyl3698 != len(yyv3698) { - yyv3698 = yyv3698[:yyl3698] - yyc3698 = true - } - yyj3698 := 0 - for ; yyj3698 < yyrr3698; yyj3698++ { - yyh3698.ElemContainerState(yyj3698) - if r.TryDecodeAsNil() { - yyv3698[yyj3698] = ContainerStatus{} - } else { - yyv3699 := &yyv3698[yyj3698] - yyv3699.CodecDecodeSelf(d) - } - - } - if yyrt3698 { - for ; yyj3698 < yyl3698; yyj3698++ { - yyv3698 = append(yyv3698, ContainerStatus{}) - yyh3698.ElemContainerState(yyj3698) - if r.TryDecodeAsNil() { - yyv3698[yyj3698] = ContainerStatus{} - } else { - yyv3700 := &yyv3698[yyj3698] - yyv3700.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3698 := 0 - for ; !r.CheckBreak(); yyj3698++ { - - if yyj3698 >= len(yyv3698) { - yyv3698 = append(yyv3698, ContainerStatus{}) // var yyz3698 ContainerStatus - yyc3698 = true - } - yyh3698.ElemContainerState(yyj3698) - if yyj3698 < len(yyv3698) { - if r.TryDecodeAsNil() { - yyv3698[yyj3698] = ContainerStatus{} - } else { - yyv3701 := &yyv3698[yyj3698] - yyv3701.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3698 < len(yyv3698) { - yyv3698 = yyv3698[:yyj3698] - yyc3698 = true - } else if yyj3698 == 0 && yyv3698 == nil { - yyv3698 = []ContainerStatus{} - yyc3698 = true - } - } - yyh3698.End() - if yyc3698 { - *v = yyv3698 - } -} - -func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3702 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3703 := &yyv3702 - yy3703.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3704 := *v - yyh3704, yyl3704 := z.DecSliceHelperStart() - var yyc3704 bool - if yyl3704 == 0 { - if yyv3704 == nil { - yyv3704 = []Pod{} - yyc3704 = true - } else if len(yyv3704) != 0 { - yyv3704 = yyv3704[:0] - yyc3704 = true - } - } else if yyl3704 > 0 { - var yyrr3704, yyrl3704 int - var yyrt3704 bool - if yyl3704 > cap(yyv3704) { - - yyrg3704 := len(yyv3704) > 0 - yyv23704 := yyv3704 - yyrl3704, yyrt3704 = z.DecInferLen(yyl3704, z.DecBasicHandle().MaxInitLen, 520) - if yyrt3704 { - if yyrl3704 <= cap(yyv3704) { - yyv3704 = yyv3704[:yyrl3704] - } else { - yyv3704 = make([]Pod, yyrl3704) - } - } else { - yyv3704 = make([]Pod, yyrl3704) - } - yyc3704 = true - yyrr3704 = len(yyv3704) - if yyrg3704 { - copy(yyv3704, yyv23704) - } - } else if yyl3704 != len(yyv3704) { - yyv3704 = yyv3704[:yyl3704] - yyc3704 = true - } - yyj3704 := 0 - for ; yyj3704 < yyrr3704; yyj3704++ { - yyh3704.ElemContainerState(yyj3704) - if r.TryDecodeAsNil() { - yyv3704[yyj3704] = Pod{} - } else { - yyv3705 := &yyv3704[yyj3704] - yyv3705.CodecDecodeSelf(d) - } - - } - if yyrt3704 { - for ; yyj3704 < yyl3704; yyj3704++ { - yyv3704 = append(yyv3704, Pod{}) - yyh3704.ElemContainerState(yyj3704) - if r.TryDecodeAsNil() { - yyv3704[yyj3704] = Pod{} - } else { - yyv3706 := &yyv3704[yyj3704] - yyv3706.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3704 := 0 - for ; !r.CheckBreak(); yyj3704++ { - - if yyj3704 >= len(yyv3704) { - yyv3704 = append(yyv3704, Pod{}) // var yyz3704 Pod - yyc3704 = true - } - yyh3704.ElemContainerState(yyj3704) - if yyj3704 < len(yyv3704) { - if r.TryDecodeAsNil() { - yyv3704[yyj3704] = Pod{} - } else { - yyv3707 := &yyv3704[yyj3704] - yyv3707.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3704 < len(yyv3704) { - yyv3704 = yyv3704[:yyj3704] - yyc3704 = true - } else if yyj3704 == 0 && yyv3704 == nil { - yyv3704 = []Pod{} - yyc3704 = true - } - } - yyh3704.End() - if yyc3704 { - *v = yyv3704 - } -} - -func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3708 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3709 := &yyv3708 - yy3709.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yyv3710 := *v yyh3710, yyl3710 := z.DecSliceHelperStart() var yyc3710 bool if yyl3710 == 0 { if yyv3710 == nil { - yyv3710 = []PodTemplate{} + yyv3710 = []Capability{} yyc3710 = true } else if len(yyv3710) != 0 { yyv3710 = yyv3710[:0] @@ -46600,23 +46126,18 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco var yyrt3710 bool if yyl3710 > cap(yyv3710) { - yyrg3710 := len(yyv3710) > 0 - yyv23710 := yyv3710 - yyrl3710, yyrt3710 = z.DecInferLen(yyl3710, z.DecBasicHandle().MaxInitLen, 544) + yyrl3710, yyrt3710 = z.DecInferLen(yyl3710, z.DecBasicHandle().MaxInitLen, 16) if yyrt3710 { if yyrl3710 <= cap(yyv3710) { yyv3710 = yyv3710[:yyrl3710] } else { - yyv3710 = make([]PodTemplate, yyrl3710) + yyv3710 = make([]Capability, yyrl3710) } } else { - yyv3710 = make([]PodTemplate, yyrl3710) + yyv3710 = make([]Capability, yyrl3710) } yyc3710 = true yyrr3710 = len(yyv3710) - if yyrg3710 { - copy(yyv3710, yyv23710) - } } else if yyl3710 != len(yyv3710) { yyv3710 = yyv3710[:yyl3710] yyc3710 = true @@ -46625,22 +46146,20 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco for ; yyj3710 < yyrr3710; yyj3710++ { yyh3710.ElemContainerState(yyj3710) if r.TryDecodeAsNil() { - yyv3710[yyj3710] = PodTemplate{} + yyv3710[yyj3710] = "" } else { - yyv3711 := &yyv3710[yyj3710] - yyv3711.CodecDecodeSelf(d) + yyv3710[yyj3710] = Capability(r.DecodeString()) } } if yyrt3710 { for ; yyj3710 < yyl3710; yyj3710++ { - yyv3710 = append(yyv3710, PodTemplate{}) + yyv3710 = append(yyv3710, "") yyh3710.ElemContainerState(yyj3710) if r.TryDecodeAsNil() { - yyv3710[yyj3710] = PodTemplate{} + yyv3710[yyj3710] = "" } else { - yyv3712 := &yyv3710[yyj3710] - yyv3712.CodecDecodeSelf(d) + yyv3710[yyj3710] = Capability(r.DecodeString()) } } @@ -46651,16 +46170,15 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco for ; !r.CheckBreak(); yyj3710++ { if yyj3710 >= len(yyv3710) { - yyv3710 = append(yyv3710, PodTemplate{}) // var yyz3710 PodTemplate + yyv3710 = append(yyv3710, "") // var yyz3710 Capability yyc3710 = true } yyh3710.ElemContainerState(yyj3710) if yyj3710 < len(yyv3710) { if r.TryDecodeAsNil() { - yyv3710[yyj3710] = PodTemplate{} + yyv3710[yyj3710] = "" } else { - yyv3713 := &yyv3710[yyj3710] - yyv3713.CodecDecodeSelf(d) + yyv3710[yyj3710] = Capability(r.DecodeString()) } } else { @@ -46672,7 +46190,7 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco yyv3710 = yyv3710[:yyj3710] yyc3710 = true } else if yyj3710 == 0 && yyv3710 == nil { - yyv3710 = []PodTemplate{} + yyv3710 = []Capability{} yyc3710 = true } } @@ -46682,7 +46200,7 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -46695,7 +46213,7 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationController, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -46705,7 +46223,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle var yyc3716 bool if yyl3716 == 0 { if yyv3716 == nil { - yyv3716 = []ReplicationController{} + yyv3716 = []ContainerPort{} yyc3716 = true } else if len(yyv3716) != 0 { yyv3716 = yyv3716[:0] @@ -46718,15 +46236,15 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle yyrg3716 := len(yyv3716) > 0 yyv23716 := yyv3716 - yyrl3716, yyrt3716 = z.DecInferLen(yyl3716, z.DecBasicHandle().MaxInitLen, 232) + yyrl3716, yyrt3716 = z.DecInferLen(yyl3716, z.DecBasicHandle().MaxInitLen, 56) if yyrt3716 { if yyrl3716 <= cap(yyv3716) { yyv3716 = yyv3716[:yyrl3716] } else { - yyv3716 = make([]ReplicationController, yyrl3716) + yyv3716 = make([]ContainerPort, yyrl3716) } } else { - yyv3716 = make([]ReplicationController, yyrl3716) + yyv3716 = make([]ContainerPort, yyrl3716) } yyc3716 = true yyrr3716 = len(yyv3716) @@ -46741,7 +46259,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle for ; yyj3716 < yyrr3716; yyj3716++ { yyh3716.ElemContainerState(yyj3716) if r.TryDecodeAsNil() { - yyv3716[yyj3716] = ReplicationController{} + yyv3716[yyj3716] = ContainerPort{} } else { yyv3717 := &yyv3716[yyj3716] yyv3717.CodecDecodeSelf(d) @@ -46750,10 +46268,10 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } if yyrt3716 { for ; yyj3716 < yyl3716; yyj3716++ { - yyv3716 = append(yyv3716, ReplicationController{}) + yyv3716 = append(yyv3716, ContainerPort{}) yyh3716.ElemContainerState(yyj3716) if r.TryDecodeAsNil() { - yyv3716[yyj3716] = ReplicationController{} + yyv3716[yyj3716] = ContainerPort{} } else { yyv3718 := &yyv3716[yyj3716] yyv3718.CodecDecodeSelf(d) @@ -46767,13 +46285,13 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle for ; !r.CheckBreak(); yyj3716++ { if yyj3716 >= len(yyv3716) { - yyv3716 = append(yyv3716, ReplicationController{}) // var yyz3716 ReplicationController + yyv3716 = append(yyv3716, ContainerPort{}) // var yyz3716 ContainerPort yyc3716 = true } yyh3716.ElemContainerState(yyj3716) if yyj3716 < len(yyv3716) { if r.TryDecodeAsNil() { - yyv3716[yyj3716] = ReplicationController{} + yyv3716[yyj3716] = ContainerPort{} } else { yyv3719 := &yyv3716[yyj3716] yyv3719.CodecDecodeSelf(d) @@ -46788,7 +46306,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle yyv3716 = yyv3716[:yyj3716] yyc3716 = true } else if yyj3716 == 0 && yyv3716 == nil { - yyv3716 = []ReplicationController{} + yyv3716 = []ContainerPort{} yyc3716 = true } } @@ -46798,7 +46316,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } -func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -46811,7 +46329,7 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -46821,7 +46339,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d var yyc3722 bool if yyl3722 == 0 { if yyv3722 == nil { - yyv3722 = []LoadBalancerIngress{} + yyv3722 = []EnvVar{} yyc3722 = true } else if len(yyv3722) != 0 { yyv3722 = yyv3722[:0] @@ -46834,15 +46352,15 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d yyrg3722 := len(yyv3722) > 0 yyv23722 := yyv3722 - yyrl3722, yyrt3722 = z.DecInferLen(yyl3722, z.DecBasicHandle().MaxInitLen, 32) + yyrl3722, yyrt3722 = z.DecInferLen(yyl3722, z.DecBasicHandle().MaxInitLen, 40) if yyrt3722 { if yyrl3722 <= cap(yyv3722) { yyv3722 = yyv3722[:yyrl3722] } else { - yyv3722 = make([]LoadBalancerIngress, yyrl3722) + yyv3722 = make([]EnvVar, yyrl3722) } } else { - yyv3722 = make([]LoadBalancerIngress, yyrl3722) + yyv3722 = make([]EnvVar, yyrl3722) } yyc3722 = true yyrr3722 = len(yyv3722) @@ -46857,7 +46375,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d for ; yyj3722 < yyrr3722; yyj3722++ { yyh3722.ElemContainerState(yyj3722) if r.TryDecodeAsNil() { - yyv3722[yyj3722] = LoadBalancerIngress{} + yyv3722[yyj3722] = EnvVar{} } else { yyv3723 := &yyv3722[yyj3722] yyv3723.CodecDecodeSelf(d) @@ -46866,10 +46384,10 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } if yyrt3722 { for ; yyj3722 < yyl3722; yyj3722++ { - yyv3722 = append(yyv3722, LoadBalancerIngress{}) + yyv3722 = append(yyv3722, EnvVar{}) yyh3722.ElemContainerState(yyj3722) if r.TryDecodeAsNil() { - yyv3722[yyj3722] = LoadBalancerIngress{} + yyv3722[yyj3722] = EnvVar{} } else { yyv3724 := &yyv3722[yyj3722] yyv3724.CodecDecodeSelf(d) @@ -46883,13 +46401,13 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d for ; !r.CheckBreak(); yyj3722++ { if yyj3722 >= len(yyv3722) { - yyv3722 = append(yyv3722, LoadBalancerIngress{}) // var yyz3722 LoadBalancerIngress + yyv3722 = append(yyv3722, EnvVar{}) // var yyz3722 EnvVar yyc3722 = true } yyh3722.ElemContainerState(yyj3722) if yyj3722 < len(yyv3722) { if r.TryDecodeAsNil() { - yyv3722[yyj3722] = LoadBalancerIngress{} + yyv3722[yyj3722] = EnvVar{} } else { yyv3725 := &yyv3722[yyj3722] yyv3725.CodecDecodeSelf(d) @@ -46904,7 +46422,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d yyv3722 = yyv3722[:yyj3722] yyc3722 = true } else if yyj3722 == 0 && yyv3722 == nil { - yyv3722 = []LoadBalancerIngress{} + yyv3722 = []EnvVar{} yyc3722 = true } } @@ -46914,7 +46432,7 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } -func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -46927,7 +46445,7 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -46937,7 +46455,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco var yyc3728 bool if yyl3728 == 0 { if yyv3728 == nil { - yyv3728 = []ServicePort{} + yyv3728 = []VolumeMount{} yyc3728 = true } else if len(yyv3728) != 0 { yyv3728 = yyv3728[:0] @@ -46950,15 +46468,15 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco yyrg3728 := len(yyv3728) > 0 yyv23728 := yyv3728 - yyrl3728, yyrt3728 = z.DecInferLen(yyl3728, z.DecBasicHandle().MaxInitLen, 80) + yyrl3728, yyrt3728 = z.DecInferLen(yyl3728, z.DecBasicHandle().MaxInitLen, 40) if yyrt3728 { if yyrl3728 <= cap(yyv3728) { yyv3728 = yyv3728[:yyrl3728] } else { - yyv3728 = make([]ServicePort, yyrl3728) + yyv3728 = make([]VolumeMount, yyrl3728) } } else { - yyv3728 = make([]ServicePort, yyrl3728) + yyv3728 = make([]VolumeMount, yyrl3728) } yyc3728 = true yyrr3728 = len(yyv3728) @@ -46973,7 +46491,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco for ; yyj3728 < yyrr3728; yyj3728++ { yyh3728.ElemContainerState(yyj3728) if r.TryDecodeAsNil() { - yyv3728[yyj3728] = ServicePort{} + yyv3728[yyj3728] = VolumeMount{} } else { yyv3729 := &yyv3728[yyj3728] yyv3729.CodecDecodeSelf(d) @@ -46982,10 +46500,10 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } if yyrt3728 { for ; yyj3728 < yyl3728; yyj3728++ { - yyv3728 = append(yyv3728, ServicePort{}) + yyv3728 = append(yyv3728, VolumeMount{}) yyh3728.ElemContainerState(yyj3728) if r.TryDecodeAsNil() { - yyv3728[yyj3728] = ServicePort{} + yyv3728[yyj3728] = VolumeMount{} } else { yyv3730 := &yyv3728[yyj3728] yyv3730.CodecDecodeSelf(d) @@ -46999,13 +46517,13 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco for ; !r.CheckBreak(); yyj3728++ { if yyj3728 >= len(yyv3728) { - yyv3728 = append(yyv3728, ServicePort{}) // var yyz3728 ServicePort + yyv3728 = append(yyv3728, VolumeMount{}) // var yyz3728 VolumeMount yyc3728 = true } yyh3728.ElemContainerState(yyj3728) if yyj3728 < len(yyv3728) { if r.TryDecodeAsNil() { - yyv3728[yyj3728] = ServicePort{} + yyv3728[yyj3728] = VolumeMount{} } else { yyv3731 := &yyv3728[yyj3728] yyv3731.CodecDecodeSelf(d) @@ -47020,7 +46538,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco yyv3728 = yyv3728[:yyj3728] yyc3728 = true } else if yyj3728 == 0 && yyv3728 == nil { - yyv3728 = []ServicePort{} + yyv3728 = []VolumeMount{} yyc3728 = true } } @@ -47030,7 +46548,7 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47043,7 +46561,7 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47053,7 +46571,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { var yyc3734 bool if yyl3734 == 0 { if yyv3734 == nil { - yyv3734 = []Service{} + yyv3734 = []Volume{} yyc3734 = true } else if len(yyv3734) != 0 { yyv3734 = yyv3734[:0] @@ -47066,15 +46584,15 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { yyrg3734 := len(yyv3734) > 0 yyv23734 := yyv3734 - yyrl3734, yyrt3734 = z.DecInferLen(yyl3734, z.DecBasicHandle().MaxInitLen, 360) + yyrl3734, yyrt3734 = z.DecInferLen(yyl3734, z.DecBasicHandle().MaxInitLen, 152) if yyrt3734 { if yyrl3734 <= cap(yyv3734) { yyv3734 = yyv3734[:yyrl3734] } else { - yyv3734 = make([]Service, yyrl3734) + yyv3734 = make([]Volume, yyrl3734) } } else { - yyv3734 = make([]Service, yyrl3734) + yyv3734 = make([]Volume, yyrl3734) } yyc3734 = true yyrr3734 = len(yyv3734) @@ -47089,7 +46607,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { for ; yyj3734 < yyrr3734; yyj3734++ { yyh3734.ElemContainerState(yyj3734) if r.TryDecodeAsNil() { - yyv3734[yyj3734] = Service{} + yyv3734[yyj3734] = Volume{} } else { yyv3735 := &yyv3734[yyj3734] yyv3735.CodecDecodeSelf(d) @@ -47098,10 +46616,10 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } if yyrt3734 { for ; yyj3734 < yyl3734; yyj3734++ { - yyv3734 = append(yyv3734, Service{}) + yyv3734 = append(yyv3734, Volume{}) yyh3734.ElemContainerState(yyj3734) if r.TryDecodeAsNil() { - yyv3734[yyj3734] = Service{} + yyv3734[yyj3734] = Volume{} } else { yyv3736 := &yyv3734[yyj3734] yyv3736.CodecDecodeSelf(d) @@ -47115,13 +46633,13 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj3734++ { if yyj3734 >= len(yyv3734) { - yyv3734 = append(yyv3734, Service{}) // var yyz3734 Service + yyv3734 = append(yyv3734, Volume{}) // var yyz3734 Volume yyc3734 = true } yyh3734.ElemContainerState(yyj3734) if yyj3734 < len(yyv3734) { if r.TryDecodeAsNil() { - yyv3734[yyj3734] = Service{} + yyv3734[yyj3734] = Volume{} } else { yyv3737 := &yyv3734[yyj3734] yyv3737.CodecDecodeSelf(d) @@ -47136,7 +46654,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { yyv3734 = yyv3734[:yyj3734] yyc3734 = true } else if yyj3734 == 0 && yyv3734 == nil { - yyv3734 = []Service{} + yyv3734 = []Volume{} yyc3734 = true } } @@ -47146,7 +46664,7 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47159,7 +46677,7 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47169,7 +46687,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 var yyc3740 bool if yyl3740 == 0 { if yyv3740 == nil { - yyv3740 = []ObjectReference{} + yyv3740 = []Container{} yyc3740 = true } else if len(yyv3740) != 0 { yyv3740 = yyv3740[:0] @@ -47182,15 +46700,15 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 yyrg3740 := len(yyv3740) > 0 yyv23740 := yyv3740 - yyrl3740, yyrt3740 = z.DecInferLen(yyl3740, z.DecBasicHandle().MaxInitLen, 112) + yyrl3740, yyrt3740 = z.DecInferLen(yyl3740, z.DecBasicHandle().MaxInitLen, 256) if yyrt3740 { if yyrl3740 <= cap(yyv3740) { yyv3740 = yyv3740[:yyrl3740] } else { - yyv3740 = make([]ObjectReference, yyrl3740) + yyv3740 = make([]Container, yyrl3740) } } else { - yyv3740 = make([]ObjectReference, yyrl3740) + yyv3740 = make([]Container, yyrl3740) } yyc3740 = true yyrr3740 = len(yyv3740) @@ -47205,7 +46723,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 for ; yyj3740 < yyrr3740; yyj3740++ { yyh3740.ElemContainerState(yyj3740) if r.TryDecodeAsNil() { - yyv3740[yyj3740] = ObjectReference{} + yyv3740[yyj3740] = Container{} } else { yyv3741 := &yyv3740[yyj3740] yyv3741.CodecDecodeSelf(d) @@ -47214,10 +46732,10 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } if yyrt3740 { for ; yyj3740 < yyl3740; yyj3740++ { - yyv3740 = append(yyv3740, ObjectReference{}) + yyv3740 = append(yyv3740, Container{}) yyh3740.ElemContainerState(yyj3740) if r.TryDecodeAsNil() { - yyv3740[yyj3740] = ObjectReference{} + yyv3740[yyj3740] = Container{} } else { yyv3742 := &yyv3740[yyj3740] yyv3742.CodecDecodeSelf(d) @@ -47231,13 +46749,13 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 for ; !r.CheckBreak(); yyj3740++ { if yyj3740 >= len(yyv3740) { - yyv3740 = append(yyv3740, ObjectReference{}) // var yyz3740 ObjectReference + yyv3740 = append(yyv3740, Container{}) // var yyz3740 Container yyc3740 = true } yyh3740.ElemContainerState(yyj3740) if yyj3740 < len(yyv3740) { if r.TryDecodeAsNil() { - yyv3740[yyj3740] = ObjectReference{} + yyv3740[yyj3740] = Container{} } else { yyv3743 := &yyv3740[yyj3740] yyv3743.CodecDecodeSelf(d) @@ -47252,7 +46770,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 yyv3740 = yyv3740[:yyj3740] yyc3740 = true } else if yyj3740 == 0 && yyv3740 == nil { - yyv3740 = []ObjectReference{} + yyv3740 = []Container{} yyc3740 = true } } @@ -47262,7 +46780,7 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } -func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47275,7 +46793,7 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47285,7 +46803,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 var yyc3746 bool if yyl3746 == 0 { if yyv3746 == nil { - yyv3746 = []ServiceAccount{} + yyv3746 = []LocalObjectReference{} yyc3746 = true } else if len(yyv3746) != 0 { yyv3746 = yyv3746[:0] @@ -47298,15 +46816,15 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 yyrg3746 := len(yyv3746) > 0 yyv23746 := yyv3746 - yyrl3746, yyrt3746 = z.DecInferLen(yyl3746, z.DecBasicHandle().MaxInitLen, 240) + yyrl3746, yyrt3746 = z.DecInferLen(yyl3746, z.DecBasicHandle().MaxInitLen, 16) if yyrt3746 { if yyrl3746 <= cap(yyv3746) { yyv3746 = yyv3746[:yyrl3746] } else { - yyv3746 = make([]ServiceAccount, yyrl3746) + yyv3746 = make([]LocalObjectReference, yyrl3746) } } else { - yyv3746 = make([]ServiceAccount, yyrl3746) + yyv3746 = make([]LocalObjectReference, yyrl3746) } yyc3746 = true yyrr3746 = len(yyv3746) @@ -47321,7 +46839,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 for ; yyj3746 < yyrr3746; yyj3746++ { yyh3746.ElemContainerState(yyj3746) if r.TryDecodeAsNil() { - yyv3746[yyj3746] = ServiceAccount{} + yyv3746[yyj3746] = LocalObjectReference{} } else { yyv3747 := &yyv3746[yyj3746] yyv3747.CodecDecodeSelf(d) @@ -47330,10 +46848,10 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } if yyrt3746 { for ; yyj3746 < yyl3746; yyj3746++ { - yyv3746 = append(yyv3746, ServiceAccount{}) + yyv3746 = append(yyv3746, LocalObjectReference{}) yyh3746.ElemContainerState(yyj3746) if r.TryDecodeAsNil() { - yyv3746[yyj3746] = ServiceAccount{} + yyv3746[yyj3746] = LocalObjectReference{} } else { yyv3748 := &yyv3746[yyj3746] yyv3748.CodecDecodeSelf(d) @@ -47347,13 +46865,13 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 for ; !r.CheckBreak(); yyj3746++ { if yyj3746 >= len(yyv3746) { - yyv3746 = append(yyv3746, ServiceAccount{}) // var yyz3746 ServiceAccount + yyv3746 = append(yyv3746, LocalObjectReference{}) // var yyz3746 LocalObjectReference yyc3746 = true } yyh3746.ElemContainerState(yyj3746) if yyj3746 < len(yyv3746) { if r.TryDecodeAsNil() { - yyv3746[yyj3746] = ServiceAccount{} + yyv3746[yyj3746] = LocalObjectReference{} } else { yyv3749 := &yyv3746[yyj3746] yyv3749.CodecDecodeSelf(d) @@ -47368,7 +46886,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 yyv3746 = yyv3746[:yyj3746] yyc3746 = true } else if yyj3746 == 0 && yyv3746 == nil { - yyv3746 = []ServiceAccount{} + yyv3746 = []LocalObjectReference{} yyc3746 = true } } @@ -47378,7 +46896,7 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } -func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47391,7 +46909,7 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47401,7 +46919,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 var yyc3752 bool if yyl3752 == 0 { if yyv3752 == nil { - yyv3752 = []EndpointSubset{} + yyv3752 = []PodCondition{} yyc3752 = true } else if len(yyv3752) != 0 { yyv3752 = yyv3752[:0] @@ -47414,15 +46932,15 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 yyrg3752 := len(yyv3752) > 0 yyv23752 := yyv3752 - yyrl3752, yyrt3752 = z.DecInferLen(yyl3752, z.DecBasicHandle().MaxInitLen, 72) + yyrl3752, yyrt3752 = z.DecInferLen(yyl3752, z.DecBasicHandle().MaxInitLen, 112) if yyrt3752 { if yyrl3752 <= cap(yyv3752) { yyv3752 = yyv3752[:yyrl3752] } else { - yyv3752 = make([]EndpointSubset, yyrl3752) + yyv3752 = make([]PodCondition, yyrl3752) } } else { - yyv3752 = make([]EndpointSubset, yyrl3752) + yyv3752 = make([]PodCondition, yyrl3752) } yyc3752 = true yyrr3752 = len(yyv3752) @@ -47437,7 +46955,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 for ; yyj3752 < yyrr3752; yyj3752++ { yyh3752.ElemContainerState(yyj3752) if r.TryDecodeAsNil() { - yyv3752[yyj3752] = EndpointSubset{} + yyv3752[yyj3752] = PodCondition{} } else { yyv3753 := &yyv3752[yyj3752] yyv3753.CodecDecodeSelf(d) @@ -47446,10 +46964,10 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } if yyrt3752 { for ; yyj3752 < yyl3752; yyj3752++ { - yyv3752 = append(yyv3752, EndpointSubset{}) + yyv3752 = append(yyv3752, PodCondition{}) yyh3752.ElemContainerState(yyj3752) if r.TryDecodeAsNil() { - yyv3752[yyj3752] = EndpointSubset{} + yyv3752[yyj3752] = PodCondition{} } else { yyv3754 := &yyv3752[yyj3752] yyv3754.CodecDecodeSelf(d) @@ -47463,13 +46981,13 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 for ; !r.CheckBreak(); yyj3752++ { if yyj3752 >= len(yyv3752) { - yyv3752 = append(yyv3752, EndpointSubset{}) // var yyz3752 EndpointSubset + yyv3752 = append(yyv3752, PodCondition{}) // var yyz3752 PodCondition yyc3752 = true } yyh3752.ElemContainerState(yyj3752) if yyj3752 < len(yyv3752) { if r.TryDecodeAsNil() { - yyv3752[yyj3752] = EndpointSubset{} + yyv3752[yyj3752] = PodCondition{} } else { yyv3755 := &yyv3752[yyj3752] yyv3755.CodecDecodeSelf(d) @@ -47484,7 +47002,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 yyv3752 = yyv3752[:yyj3752] yyc3752 = true } else if yyj3752 == 0 && yyv3752 == nil { - yyv3752 = []EndpointSubset{} + yyv3752 = []PodCondition{} yyc3752 = true } } @@ -47494,7 +47012,7 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } -func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47507,7 +47025,7 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47517,7 +47035,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 var yyc3758 bool if yyl3758 == 0 { if yyv3758 == nil { - yyv3758 = []EndpointAddress{} + yyv3758 = []ContainerStatus{} yyc3758 = true } else if len(yyv3758) != 0 { yyv3758 = yyv3758[:0] @@ -47530,15 +47048,15 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 yyrg3758 := len(yyv3758) > 0 yyv23758 := yyv3758 - yyrl3758, yyrt3758 = z.DecInferLen(yyl3758, z.DecBasicHandle().MaxInitLen, 24) + yyrl3758, yyrt3758 = z.DecInferLen(yyl3758, z.DecBasicHandle().MaxInitLen, 120) if yyrt3758 { if yyrl3758 <= cap(yyv3758) { yyv3758 = yyv3758[:yyrl3758] } else { - yyv3758 = make([]EndpointAddress, yyrl3758) + yyv3758 = make([]ContainerStatus, yyrl3758) } } else { - yyv3758 = make([]EndpointAddress, yyrl3758) + yyv3758 = make([]ContainerStatus, yyrl3758) } yyc3758 = true yyrr3758 = len(yyv3758) @@ -47553,7 +47071,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 for ; yyj3758 < yyrr3758; yyj3758++ { yyh3758.ElemContainerState(yyj3758) if r.TryDecodeAsNil() { - yyv3758[yyj3758] = EndpointAddress{} + yyv3758[yyj3758] = ContainerStatus{} } else { yyv3759 := &yyv3758[yyj3758] yyv3759.CodecDecodeSelf(d) @@ -47562,10 +47080,10 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } if yyrt3758 { for ; yyj3758 < yyl3758; yyj3758++ { - yyv3758 = append(yyv3758, EndpointAddress{}) + yyv3758 = append(yyv3758, ContainerStatus{}) yyh3758.ElemContainerState(yyj3758) if r.TryDecodeAsNil() { - yyv3758[yyj3758] = EndpointAddress{} + yyv3758[yyj3758] = ContainerStatus{} } else { yyv3760 := &yyv3758[yyj3758] yyv3760.CodecDecodeSelf(d) @@ -47579,13 +47097,13 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 for ; !r.CheckBreak(); yyj3758++ { if yyj3758 >= len(yyv3758) { - yyv3758 = append(yyv3758, EndpointAddress{}) // var yyz3758 EndpointAddress + yyv3758 = append(yyv3758, ContainerStatus{}) // var yyz3758 ContainerStatus yyc3758 = true } yyh3758.ElemContainerState(yyj3758) if yyj3758 < len(yyv3758) { if r.TryDecodeAsNil() { - yyv3758[yyj3758] = EndpointAddress{} + yyv3758[yyj3758] = ContainerStatus{} } else { yyv3761 := &yyv3758[yyj3758] yyv3761.CodecDecodeSelf(d) @@ -47600,7 +47118,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 yyv3758 = yyv3758[:yyj3758] yyc3758 = true } else if yyj3758 == 0 && yyv3758 == nil { - yyv3758 = []EndpointAddress{} + yyv3758 = []ContainerStatus{} yyc3758 = true } } @@ -47610,7 +47128,7 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } -func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47623,7 +47141,7 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47633,7 +47151,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De var yyc3764 bool if yyl3764 == 0 { if yyv3764 == nil { - yyv3764 = []EndpointPort{} + yyv3764 = []Pod{} yyc3764 = true } else if len(yyv3764) != 0 { yyv3764 = yyv3764[:0] @@ -47646,15 +47164,15 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De yyrg3764 := len(yyv3764) > 0 yyv23764 := yyv3764 - yyrl3764, yyrt3764 = z.DecInferLen(yyl3764, z.DecBasicHandle().MaxInitLen, 40) + yyrl3764, yyrt3764 = z.DecInferLen(yyl3764, z.DecBasicHandle().MaxInitLen, 520) if yyrt3764 { if yyrl3764 <= cap(yyv3764) { yyv3764 = yyv3764[:yyrl3764] } else { - yyv3764 = make([]EndpointPort, yyrl3764) + yyv3764 = make([]Pod, yyrl3764) } } else { - yyv3764 = make([]EndpointPort, yyrl3764) + yyv3764 = make([]Pod, yyrl3764) } yyc3764 = true yyrr3764 = len(yyv3764) @@ -47669,7 +47187,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De for ; yyj3764 < yyrr3764; yyj3764++ { yyh3764.ElemContainerState(yyj3764) if r.TryDecodeAsNil() { - yyv3764[yyj3764] = EndpointPort{} + yyv3764[yyj3764] = Pod{} } else { yyv3765 := &yyv3764[yyj3764] yyv3765.CodecDecodeSelf(d) @@ -47678,10 +47196,10 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } if yyrt3764 { for ; yyj3764 < yyl3764; yyj3764++ { - yyv3764 = append(yyv3764, EndpointPort{}) + yyv3764 = append(yyv3764, Pod{}) yyh3764.ElemContainerState(yyj3764) if r.TryDecodeAsNil() { - yyv3764[yyj3764] = EndpointPort{} + yyv3764[yyj3764] = Pod{} } else { yyv3766 := &yyv3764[yyj3764] yyv3766.CodecDecodeSelf(d) @@ -47695,13 +47213,13 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De for ; !r.CheckBreak(); yyj3764++ { if yyj3764 >= len(yyv3764) { - yyv3764 = append(yyv3764, EndpointPort{}) // var yyz3764 EndpointPort + yyv3764 = append(yyv3764, Pod{}) // var yyz3764 Pod yyc3764 = true } yyh3764.ElemContainerState(yyj3764) if yyj3764 < len(yyv3764) { if r.TryDecodeAsNil() { - yyv3764[yyj3764] = EndpointPort{} + yyv3764[yyj3764] = Pod{} } else { yyv3767 := &yyv3764[yyj3764] yyv3767.CodecDecodeSelf(d) @@ -47716,7 +47234,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De yyv3764 = yyv3764[:yyj3764] yyc3764 = true } else if yyj3764 == 0 && yyv3764 == nil { - yyv3764 = []EndpointPort{} + yyv3764 = []Pod{} yyc3764 = true } } @@ -47726,7 +47244,7 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } -func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47739,7 +47257,7 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) { +func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47749,7 +47267,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) var yyc3770 bool if yyl3770 == 0 { if yyv3770 == nil { - yyv3770 = []Endpoints{} + yyv3770 = []PodTemplate{} yyc3770 = true } else if len(yyv3770) != 0 { yyv3770 = yyv3770[:0] @@ -47762,15 +47280,15 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) yyrg3770 := len(yyv3770) > 0 yyv23770 := yyv3770 - yyrl3770, yyrt3770 = z.DecInferLen(yyl3770, z.DecBasicHandle().MaxInitLen, 216) + yyrl3770, yyrt3770 = z.DecInferLen(yyl3770, z.DecBasicHandle().MaxInitLen, 544) if yyrt3770 { if yyrl3770 <= cap(yyv3770) { yyv3770 = yyv3770[:yyrl3770] } else { - yyv3770 = make([]Endpoints, yyrl3770) + yyv3770 = make([]PodTemplate, yyrl3770) } } else { - yyv3770 = make([]Endpoints, yyrl3770) + yyv3770 = make([]PodTemplate, yyrl3770) } yyc3770 = true yyrr3770 = len(yyv3770) @@ -47785,7 +47303,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) for ; yyj3770 < yyrr3770; yyj3770++ { yyh3770.ElemContainerState(yyj3770) if r.TryDecodeAsNil() { - yyv3770[yyj3770] = Endpoints{} + yyv3770[yyj3770] = PodTemplate{} } else { yyv3771 := &yyv3770[yyj3770] yyv3771.CodecDecodeSelf(d) @@ -47794,10 +47312,10 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } if yyrt3770 { for ; yyj3770 < yyl3770; yyj3770++ { - yyv3770 = append(yyv3770, Endpoints{}) + yyv3770 = append(yyv3770, PodTemplate{}) yyh3770.ElemContainerState(yyj3770) if r.TryDecodeAsNil() { - yyv3770[yyj3770] = Endpoints{} + yyv3770[yyj3770] = PodTemplate{} } else { yyv3772 := &yyv3770[yyj3770] yyv3772.CodecDecodeSelf(d) @@ -47811,13 +47329,13 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj3770++ { if yyj3770 >= len(yyv3770) { - yyv3770 = append(yyv3770, Endpoints{}) // var yyz3770 Endpoints + yyv3770 = append(yyv3770, PodTemplate{}) // var yyz3770 PodTemplate yyc3770 = true } yyh3770.ElemContainerState(yyj3770) if yyj3770 < len(yyv3770) { if r.TryDecodeAsNil() { - yyv3770[yyj3770] = Endpoints{} + yyv3770[yyj3770] = PodTemplate{} } else { yyv3773 := &yyv3770[yyj3770] yyv3773.CodecDecodeSelf(d) @@ -47832,7 +47350,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) yyv3770 = yyv3770[:yyj3770] yyc3770 = true } else if yyj3770 == 0 && yyv3770 == nil { - yyv3770 = []Endpoints{} + yyv3770 = []PodTemplate{} yyc3770 = true } } @@ -47842,7 +47360,7 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } -func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47855,7 +47373,7 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationController, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47865,7 +47383,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. var yyc3776 bool if yyl3776 == 0 { if yyv3776 == nil { - yyv3776 = []NodeCondition{} + yyv3776 = []ReplicationController{} yyc3776 = true } else if len(yyv3776) != 0 { yyv3776 = yyv3776[:0] @@ -47878,15 +47396,15 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. yyrg3776 := len(yyv3776) > 0 yyv23776 := yyv3776 - yyrl3776, yyrt3776 = z.DecInferLen(yyl3776, z.DecBasicHandle().MaxInitLen, 112) + yyrl3776, yyrt3776 = z.DecInferLen(yyl3776, z.DecBasicHandle().MaxInitLen, 232) if yyrt3776 { if yyrl3776 <= cap(yyv3776) { yyv3776 = yyv3776[:yyrl3776] } else { - yyv3776 = make([]NodeCondition, yyrl3776) + yyv3776 = make([]ReplicationController, yyrl3776) } } else { - yyv3776 = make([]NodeCondition, yyrl3776) + yyv3776 = make([]ReplicationController, yyrl3776) } yyc3776 = true yyrr3776 = len(yyv3776) @@ -47901,7 +47419,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. for ; yyj3776 < yyrr3776; yyj3776++ { yyh3776.ElemContainerState(yyj3776) if r.TryDecodeAsNil() { - yyv3776[yyj3776] = NodeCondition{} + yyv3776[yyj3776] = ReplicationController{} } else { yyv3777 := &yyv3776[yyj3776] yyv3777.CodecDecodeSelf(d) @@ -47910,10 +47428,10 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } if yyrt3776 { for ; yyj3776 < yyl3776; yyj3776++ { - yyv3776 = append(yyv3776, NodeCondition{}) + yyv3776 = append(yyv3776, ReplicationController{}) yyh3776.ElemContainerState(yyj3776) if r.TryDecodeAsNil() { - yyv3776[yyj3776] = NodeCondition{} + yyv3776[yyj3776] = ReplicationController{} } else { yyv3778 := &yyv3776[yyj3776] yyv3778.CodecDecodeSelf(d) @@ -47927,13 +47445,13 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. for ; !r.CheckBreak(); yyj3776++ { if yyj3776 >= len(yyv3776) { - yyv3776 = append(yyv3776, NodeCondition{}) // var yyz3776 NodeCondition + yyv3776 = append(yyv3776, ReplicationController{}) // var yyz3776 ReplicationController yyc3776 = true } yyh3776.ElemContainerState(yyj3776) if yyj3776 < len(yyv3776) { if r.TryDecodeAsNil() { - yyv3776[yyj3776] = NodeCondition{} + yyv3776[yyj3776] = ReplicationController{} } else { yyv3779 := &yyv3776[yyj3776] yyv3779.CodecDecodeSelf(d) @@ -47948,7 +47466,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. yyv3776 = yyv3776[:yyj3776] yyc3776 = true } else if yyj3776 == 0 && yyv3776 == nil { - yyv3776 = []NodeCondition{} + yyv3776 = []ReplicationController{} yyc3776 = true } } @@ -47958,7 +47476,7 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } -func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47971,7 +47489,7 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47981,7 +47499,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco var yyc3782 bool if yyl3782 == 0 { if yyv3782 == nil { - yyv3782 = []NodeAddress{} + yyv3782 = []LoadBalancerIngress{} yyc3782 = true } else if len(yyv3782) != 0 { yyv3782 = yyv3782[:0] @@ -47999,10 +47517,10 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco if yyrl3782 <= cap(yyv3782) { yyv3782 = yyv3782[:yyrl3782] } else { - yyv3782 = make([]NodeAddress, yyrl3782) + yyv3782 = make([]LoadBalancerIngress, yyrl3782) } } else { - yyv3782 = make([]NodeAddress, yyrl3782) + yyv3782 = make([]LoadBalancerIngress, yyrl3782) } yyc3782 = true yyrr3782 = len(yyv3782) @@ -48017,7 +47535,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco for ; yyj3782 < yyrr3782; yyj3782++ { yyh3782.ElemContainerState(yyj3782) if r.TryDecodeAsNil() { - yyv3782[yyj3782] = NodeAddress{} + yyv3782[yyj3782] = LoadBalancerIngress{} } else { yyv3783 := &yyv3782[yyj3782] yyv3783.CodecDecodeSelf(d) @@ -48026,10 +47544,10 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } if yyrt3782 { for ; yyj3782 < yyl3782; yyj3782++ { - yyv3782 = append(yyv3782, NodeAddress{}) + yyv3782 = append(yyv3782, LoadBalancerIngress{}) yyh3782.ElemContainerState(yyj3782) if r.TryDecodeAsNil() { - yyv3782[yyj3782] = NodeAddress{} + yyv3782[yyj3782] = LoadBalancerIngress{} } else { yyv3784 := &yyv3782[yyj3782] yyv3784.CodecDecodeSelf(d) @@ -48043,13 +47561,13 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco for ; !r.CheckBreak(); yyj3782++ { if yyj3782 >= len(yyv3782) { - yyv3782 = append(yyv3782, NodeAddress{}) // var yyz3782 NodeAddress + yyv3782 = append(yyv3782, LoadBalancerIngress{}) // var yyz3782 LoadBalancerIngress yyc3782 = true } yyh3782.ElemContainerState(yyj3782) if yyj3782 < len(yyv3782) { if r.TryDecodeAsNil() { - yyv3782[yyj3782] = NodeAddress{} + yyv3782[yyj3782] = LoadBalancerIngress{} } else { yyv3785 := &yyv3782[yyj3782] yyv3785.CodecDecodeSelf(d) @@ -48064,7 +47582,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco yyv3782 = yyv3782[:yyj3782] yyc3782 = true } else if yyj3782 == 0 && yyv3782 == nil { - yyv3782 = []NodeAddress{} + yyv3782 = []LoadBalancerIngress{} yyc3782 = true } } @@ -48074,7 +47592,7 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -48087,7 +47605,7 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -48097,7 +47615,7 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 var yyc3788 bool if yyl3788 == 0 { if yyv3788 == nil { - yyv3788 = []ContainerImage{} + yyv3788 = []ServicePort{} yyc3788 = true } else if len(yyv3788) != 0 { yyv3788 = yyv3788[:0] @@ -48110,15 +47628,15 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 yyrg3788 := len(yyv3788) > 0 yyv23788 := yyv3788 - yyrl3788, yyrt3788 = z.DecInferLen(yyl3788, z.DecBasicHandle().MaxInitLen, 32) + yyrl3788, yyrt3788 = z.DecInferLen(yyl3788, z.DecBasicHandle().MaxInitLen, 80) if yyrt3788 { if yyrl3788 <= cap(yyv3788) { yyv3788 = yyv3788[:yyrl3788] } else { - yyv3788 = make([]ContainerImage, yyrl3788) + yyv3788 = make([]ServicePort, yyrl3788) } } else { - yyv3788 = make([]ContainerImage, yyrl3788) + yyv3788 = make([]ServicePort, yyrl3788) } yyc3788 = true yyrr3788 = len(yyv3788) @@ -48133,7 +47651,7 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 for ; yyj3788 < yyrr3788; yyj3788++ { yyh3788.ElemContainerState(yyj3788) if r.TryDecodeAsNil() { - yyv3788[yyj3788] = ContainerImage{} + yyv3788[yyj3788] = ServicePort{} } else { yyv3789 := &yyv3788[yyj3788] yyv3789.CodecDecodeSelf(d) @@ -48142,10 +47660,10 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } if yyrt3788 { for ; yyj3788 < yyl3788; yyj3788++ { - yyv3788 = append(yyv3788, ContainerImage{}) + yyv3788 = append(yyv3788, ServicePort{}) yyh3788.ElemContainerState(yyj3788) if r.TryDecodeAsNil() { - yyv3788[yyj3788] = ContainerImage{} + yyv3788[yyj3788] = ServicePort{} } else { yyv3790 := &yyv3788[yyj3788] yyv3790.CodecDecodeSelf(d) @@ -48159,13 +47677,13 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 for ; !r.CheckBreak(); yyj3788++ { if yyj3788 >= len(yyv3788) { - yyv3788 = append(yyv3788, ContainerImage{}) // var yyz3788 ContainerImage + yyv3788 = append(yyv3788, ServicePort{}) // var yyz3788 ServicePort yyc3788 = true } yyh3788.ElemContainerState(yyj3788) if yyj3788 < len(yyv3788) { if r.TryDecodeAsNil() { - yyv3788[yyj3788] = ContainerImage{} + yyv3788[yyj3788] = ServicePort{} } else { yyv3791 := &yyv3788[yyj3788] yyv3791.CodecDecodeSelf(d) @@ -48180,7 +47698,7 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 yyv3788 = yyv3788[:yyj3788] yyc3788 = true } else if yyj3788 == 0 && yyv3788 == nil { - yyv3788 = []ContainerImage{} + yyv3788 = []ServicePort{} yyc3788 = true } } @@ -48190,24 +47708,1184 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } +func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3792 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3793 := &yyv3792 + yy3793.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3794 := *v + yyh3794, yyl3794 := z.DecSliceHelperStart() + var yyc3794 bool + if yyl3794 == 0 { + if yyv3794 == nil { + yyv3794 = []Service{} + yyc3794 = true + } else if len(yyv3794) != 0 { + yyv3794 = yyv3794[:0] + yyc3794 = true + } + } else if yyl3794 > 0 { + var yyrr3794, yyrl3794 int + var yyrt3794 bool + if yyl3794 > cap(yyv3794) { + + yyrg3794 := len(yyv3794) > 0 + yyv23794 := yyv3794 + yyrl3794, yyrt3794 = z.DecInferLen(yyl3794, z.DecBasicHandle().MaxInitLen, 360) + if yyrt3794 { + if yyrl3794 <= cap(yyv3794) { + yyv3794 = yyv3794[:yyrl3794] + } else { + yyv3794 = make([]Service, yyrl3794) + } + } else { + yyv3794 = make([]Service, yyrl3794) + } + yyc3794 = true + yyrr3794 = len(yyv3794) + if yyrg3794 { + copy(yyv3794, yyv23794) + } + } else if yyl3794 != len(yyv3794) { + yyv3794 = yyv3794[:yyl3794] + yyc3794 = true + } + yyj3794 := 0 + for ; yyj3794 < yyrr3794; yyj3794++ { + yyh3794.ElemContainerState(yyj3794) + if r.TryDecodeAsNil() { + yyv3794[yyj3794] = Service{} + } else { + yyv3795 := &yyv3794[yyj3794] + yyv3795.CodecDecodeSelf(d) + } + + } + if yyrt3794 { + for ; yyj3794 < yyl3794; yyj3794++ { + yyv3794 = append(yyv3794, Service{}) + yyh3794.ElemContainerState(yyj3794) + if r.TryDecodeAsNil() { + yyv3794[yyj3794] = Service{} + } else { + yyv3796 := &yyv3794[yyj3794] + yyv3796.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3794 := 0 + for ; !r.CheckBreak(); yyj3794++ { + + if yyj3794 >= len(yyv3794) { + yyv3794 = append(yyv3794, Service{}) // var yyz3794 Service + yyc3794 = true + } + yyh3794.ElemContainerState(yyj3794) + if yyj3794 < len(yyv3794) { + if r.TryDecodeAsNil() { + yyv3794[yyj3794] = Service{} + } else { + yyv3797 := &yyv3794[yyj3794] + yyv3797.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3794 < len(yyv3794) { + yyv3794 = yyv3794[:yyj3794] + yyc3794 = true + } else if yyj3794 == 0 && yyv3794 == nil { + yyv3794 = []Service{} + yyc3794 = true + } + } + yyh3794.End() + if yyc3794 { + *v = yyv3794 + } +} + +func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3798 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3799 := &yyv3798 + yy3799.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3800 := *v + yyh3800, yyl3800 := z.DecSliceHelperStart() + var yyc3800 bool + if yyl3800 == 0 { + if yyv3800 == nil { + yyv3800 = []ObjectReference{} + yyc3800 = true + } else if len(yyv3800) != 0 { + yyv3800 = yyv3800[:0] + yyc3800 = true + } + } else if yyl3800 > 0 { + var yyrr3800, yyrl3800 int + var yyrt3800 bool + if yyl3800 > cap(yyv3800) { + + yyrg3800 := len(yyv3800) > 0 + yyv23800 := yyv3800 + yyrl3800, yyrt3800 = z.DecInferLen(yyl3800, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3800 { + if yyrl3800 <= cap(yyv3800) { + yyv3800 = yyv3800[:yyrl3800] + } else { + yyv3800 = make([]ObjectReference, yyrl3800) + } + } else { + yyv3800 = make([]ObjectReference, yyrl3800) + } + yyc3800 = true + yyrr3800 = len(yyv3800) + if yyrg3800 { + copy(yyv3800, yyv23800) + } + } else if yyl3800 != len(yyv3800) { + yyv3800 = yyv3800[:yyl3800] + yyc3800 = true + } + yyj3800 := 0 + for ; yyj3800 < yyrr3800; yyj3800++ { + yyh3800.ElemContainerState(yyj3800) + if r.TryDecodeAsNil() { + yyv3800[yyj3800] = ObjectReference{} + } else { + yyv3801 := &yyv3800[yyj3800] + yyv3801.CodecDecodeSelf(d) + } + + } + if yyrt3800 { + for ; yyj3800 < yyl3800; yyj3800++ { + yyv3800 = append(yyv3800, ObjectReference{}) + yyh3800.ElemContainerState(yyj3800) + if r.TryDecodeAsNil() { + yyv3800[yyj3800] = ObjectReference{} + } else { + yyv3802 := &yyv3800[yyj3800] + yyv3802.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3800 := 0 + for ; !r.CheckBreak(); yyj3800++ { + + if yyj3800 >= len(yyv3800) { + yyv3800 = append(yyv3800, ObjectReference{}) // var yyz3800 ObjectReference + yyc3800 = true + } + yyh3800.ElemContainerState(yyj3800) + if yyj3800 < len(yyv3800) { + if r.TryDecodeAsNil() { + yyv3800[yyj3800] = ObjectReference{} + } else { + yyv3803 := &yyv3800[yyj3800] + yyv3803.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3800 < len(yyv3800) { + yyv3800 = yyv3800[:yyj3800] + yyc3800 = true + } else if yyj3800 == 0 && yyv3800 == nil { + yyv3800 = []ObjectReference{} + yyc3800 = true + } + } + yyh3800.End() + if yyc3800 { + *v = yyv3800 + } +} + +func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3804 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3805 := &yyv3804 + yy3805.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3806 := *v + yyh3806, yyl3806 := z.DecSliceHelperStart() + var yyc3806 bool + if yyl3806 == 0 { + if yyv3806 == nil { + yyv3806 = []ServiceAccount{} + yyc3806 = true + } else if len(yyv3806) != 0 { + yyv3806 = yyv3806[:0] + yyc3806 = true + } + } else if yyl3806 > 0 { + var yyrr3806, yyrl3806 int + var yyrt3806 bool + if yyl3806 > cap(yyv3806) { + + yyrg3806 := len(yyv3806) > 0 + yyv23806 := yyv3806 + yyrl3806, yyrt3806 = z.DecInferLen(yyl3806, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3806 { + if yyrl3806 <= cap(yyv3806) { + yyv3806 = yyv3806[:yyrl3806] + } else { + yyv3806 = make([]ServiceAccount, yyrl3806) + } + } else { + yyv3806 = make([]ServiceAccount, yyrl3806) + } + yyc3806 = true + yyrr3806 = len(yyv3806) + if yyrg3806 { + copy(yyv3806, yyv23806) + } + } else if yyl3806 != len(yyv3806) { + yyv3806 = yyv3806[:yyl3806] + yyc3806 = true + } + yyj3806 := 0 + for ; yyj3806 < yyrr3806; yyj3806++ { + yyh3806.ElemContainerState(yyj3806) + if r.TryDecodeAsNil() { + yyv3806[yyj3806] = ServiceAccount{} + } else { + yyv3807 := &yyv3806[yyj3806] + yyv3807.CodecDecodeSelf(d) + } + + } + if yyrt3806 { + for ; yyj3806 < yyl3806; yyj3806++ { + yyv3806 = append(yyv3806, ServiceAccount{}) + yyh3806.ElemContainerState(yyj3806) + if r.TryDecodeAsNil() { + yyv3806[yyj3806] = ServiceAccount{} + } else { + yyv3808 := &yyv3806[yyj3806] + yyv3808.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3806 := 0 + for ; !r.CheckBreak(); yyj3806++ { + + if yyj3806 >= len(yyv3806) { + yyv3806 = append(yyv3806, ServiceAccount{}) // var yyz3806 ServiceAccount + yyc3806 = true + } + yyh3806.ElemContainerState(yyj3806) + if yyj3806 < len(yyv3806) { + if r.TryDecodeAsNil() { + yyv3806[yyj3806] = ServiceAccount{} + } else { + yyv3809 := &yyv3806[yyj3806] + yyv3809.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3806 < len(yyv3806) { + yyv3806 = yyv3806[:yyj3806] + yyc3806 = true + } else if yyj3806 == 0 && yyv3806 == nil { + yyv3806 = []ServiceAccount{} + yyc3806 = true + } + } + yyh3806.End() + if yyc3806 { + *v = yyv3806 + } +} + +func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3810 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3811 := &yyv3810 + yy3811.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3812 := *v + yyh3812, yyl3812 := z.DecSliceHelperStart() + var yyc3812 bool + if yyl3812 == 0 { + if yyv3812 == nil { + yyv3812 = []EndpointSubset{} + yyc3812 = true + } else if len(yyv3812) != 0 { + yyv3812 = yyv3812[:0] + yyc3812 = true + } + } else if yyl3812 > 0 { + var yyrr3812, yyrl3812 int + var yyrt3812 bool + if yyl3812 > cap(yyv3812) { + + yyrg3812 := len(yyv3812) > 0 + yyv23812 := yyv3812 + yyrl3812, yyrt3812 = z.DecInferLen(yyl3812, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3812 { + if yyrl3812 <= cap(yyv3812) { + yyv3812 = yyv3812[:yyrl3812] + } else { + yyv3812 = make([]EndpointSubset, yyrl3812) + } + } else { + yyv3812 = make([]EndpointSubset, yyrl3812) + } + yyc3812 = true + yyrr3812 = len(yyv3812) + if yyrg3812 { + copy(yyv3812, yyv23812) + } + } else if yyl3812 != len(yyv3812) { + yyv3812 = yyv3812[:yyl3812] + yyc3812 = true + } + yyj3812 := 0 + for ; yyj3812 < yyrr3812; yyj3812++ { + yyh3812.ElemContainerState(yyj3812) + if r.TryDecodeAsNil() { + yyv3812[yyj3812] = EndpointSubset{} + } else { + yyv3813 := &yyv3812[yyj3812] + yyv3813.CodecDecodeSelf(d) + } + + } + if yyrt3812 { + for ; yyj3812 < yyl3812; yyj3812++ { + yyv3812 = append(yyv3812, EndpointSubset{}) + yyh3812.ElemContainerState(yyj3812) + if r.TryDecodeAsNil() { + yyv3812[yyj3812] = EndpointSubset{} + } else { + yyv3814 := &yyv3812[yyj3812] + yyv3814.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3812 := 0 + for ; !r.CheckBreak(); yyj3812++ { + + if yyj3812 >= len(yyv3812) { + yyv3812 = append(yyv3812, EndpointSubset{}) // var yyz3812 EndpointSubset + yyc3812 = true + } + yyh3812.ElemContainerState(yyj3812) + if yyj3812 < len(yyv3812) { + if r.TryDecodeAsNil() { + yyv3812[yyj3812] = EndpointSubset{} + } else { + yyv3815 := &yyv3812[yyj3812] + yyv3815.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3812 < len(yyv3812) { + yyv3812 = yyv3812[:yyj3812] + yyc3812 = true + } else if yyj3812 == 0 && yyv3812 == nil { + yyv3812 = []EndpointSubset{} + yyc3812 = true + } + } + yyh3812.End() + if yyc3812 { + *v = yyv3812 + } +} + +func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3816 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3817 := &yyv3816 + yy3817.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3818 := *v + yyh3818, yyl3818 := z.DecSliceHelperStart() + var yyc3818 bool + if yyl3818 == 0 { + if yyv3818 == nil { + yyv3818 = []EndpointAddress{} + yyc3818 = true + } else if len(yyv3818) != 0 { + yyv3818 = yyv3818[:0] + yyc3818 = true + } + } else if yyl3818 > 0 { + var yyrr3818, yyrl3818 int + var yyrt3818 bool + if yyl3818 > cap(yyv3818) { + + yyrg3818 := len(yyv3818) > 0 + yyv23818 := yyv3818 + yyrl3818, yyrt3818 = z.DecInferLen(yyl3818, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3818 { + if yyrl3818 <= cap(yyv3818) { + yyv3818 = yyv3818[:yyrl3818] + } else { + yyv3818 = make([]EndpointAddress, yyrl3818) + } + } else { + yyv3818 = make([]EndpointAddress, yyrl3818) + } + yyc3818 = true + yyrr3818 = len(yyv3818) + if yyrg3818 { + copy(yyv3818, yyv23818) + } + } else if yyl3818 != len(yyv3818) { + yyv3818 = yyv3818[:yyl3818] + yyc3818 = true + } + yyj3818 := 0 + for ; yyj3818 < yyrr3818; yyj3818++ { + yyh3818.ElemContainerState(yyj3818) + if r.TryDecodeAsNil() { + yyv3818[yyj3818] = EndpointAddress{} + } else { + yyv3819 := &yyv3818[yyj3818] + yyv3819.CodecDecodeSelf(d) + } + + } + if yyrt3818 { + for ; yyj3818 < yyl3818; yyj3818++ { + yyv3818 = append(yyv3818, EndpointAddress{}) + yyh3818.ElemContainerState(yyj3818) + if r.TryDecodeAsNil() { + yyv3818[yyj3818] = EndpointAddress{} + } else { + yyv3820 := &yyv3818[yyj3818] + yyv3820.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3818 := 0 + for ; !r.CheckBreak(); yyj3818++ { + + if yyj3818 >= len(yyv3818) { + yyv3818 = append(yyv3818, EndpointAddress{}) // var yyz3818 EndpointAddress + yyc3818 = true + } + yyh3818.ElemContainerState(yyj3818) + if yyj3818 < len(yyv3818) { + if r.TryDecodeAsNil() { + yyv3818[yyj3818] = EndpointAddress{} + } else { + yyv3821 := &yyv3818[yyj3818] + yyv3821.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3818 < len(yyv3818) { + yyv3818 = yyv3818[:yyj3818] + yyc3818 = true + } else if yyj3818 == 0 && yyv3818 == nil { + yyv3818 = []EndpointAddress{} + yyc3818 = true + } + } + yyh3818.End() + if yyc3818 { + *v = yyv3818 + } +} + +func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3822 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3823 := &yyv3822 + yy3823.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3824 := *v + yyh3824, yyl3824 := z.DecSliceHelperStart() + var yyc3824 bool + if yyl3824 == 0 { + if yyv3824 == nil { + yyv3824 = []EndpointPort{} + yyc3824 = true + } else if len(yyv3824) != 0 { + yyv3824 = yyv3824[:0] + yyc3824 = true + } + } else if yyl3824 > 0 { + var yyrr3824, yyrl3824 int + var yyrt3824 bool + if yyl3824 > cap(yyv3824) { + + yyrg3824 := len(yyv3824) > 0 + yyv23824 := yyv3824 + yyrl3824, yyrt3824 = z.DecInferLen(yyl3824, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3824 { + if yyrl3824 <= cap(yyv3824) { + yyv3824 = yyv3824[:yyrl3824] + } else { + yyv3824 = make([]EndpointPort, yyrl3824) + } + } else { + yyv3824 = make([]EndpointPort, yyrl3824) + } + yyc3824 = true + yyrr3824 = len(yyv3824) + if yyrg3824 { + copy(yyv3824, yyv23824) + } + } else if yyl3824 != len(yyv3824) { + yyv3824 = yyv3824[:yyl3824] + yyc3824 = true + } + yyj3824 := 0 + for ; yyj3824 < yyrr3824; yyj3824++ { + yyh3824.ElemContainerState(yyj3824) + if r.TryDecodeAsNil() { + yyv3824[yyj3824] = EndpointPort{} + } else { + yyv3825 := &yyv3824[yyj3824] + yyv3825.CodecDecodeSelf(d) + } + + } + if yyrt3824 { + for ; yyj3824 < yyl3824; yyj3824++ { + yyv3824 = append(yyv3824, EndpointPort{}) + yyh3824.ElemContainerState(yyj3824) + if r.TryDecodeAsNil() { + yyv3824[yyj3824] = EndpointPort{} + } else { + yyv3826 := &yyv3824[yyj3824] + yyv3826.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3824 := 0 + for ; !r.CheckBreak(); yyj3824++ { + + if yyj3824 >= len(yyv3824) { + yyv3824 = append(yyv3824, EndpointPort{}) // var yyz3824 EndpointPort + yyc3824 = true + } + yyh3824.ElemContainerState(yyj3824) + if yyj3824 < len(yyv3824) { + if r.TryDecodeAsNil() { + yyv3824[yyj3824] = EndpointPort{} + } else { + yyv3827 := &yyv3824[yyj3824] + yyv3827.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3824 < len(yyv3824) { + yyv3824 = yyv3824[:yyj3824] + yyc3824 = true + } else if yyj3824 == 0 && yyv3824 == nil { + yyv3824 = []EndpointPort{} + yyc3824 = true + } + } + yyh3824.End() + if yyc3824 { + *v = yyv3824 + } +} + +func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3828 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3829 := &yyv3828 + yy3829.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3830 := *v + yyh3830, yyl3830 := z.DecSliceHelperStart() + var yyc3830 bool + if yyl3830 == 0 { + if yyv3830 == nil { + yyv3830 = []Endpoints{} + yyc3830 = true + } else if len(yyv3830) != 0 { + yyv3830 = yyv3830[:0] + yyc3830 = true + } + } else if yyl3830 > 0 { + var yyrr3830, yyrl3830 int + var yyrt3830 bool + if yyl3830 > cap(yyv3830) { + + yyrg3830 := len(yyv3830) > 0 + yyv23830 := yyv3830 + yyrl3830, yyrt3830 = z.DecInferLen(yyl3830, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3830 { + if yyrl3830 <= cap(yyv3830) { + yyv3830 = yyv3830[:yyrl3830] + } else { + yyv3830 = make([]Endpoints, yyrl3830) + } + } else { + yyv3830 = make([]Endpoints, yyrl3830) + } + yyc3830 = true + yyrr3830 = len(yyv3830) + if yyrg3830 { + copy(yyv3830, yyv23830) + } + } else if yyl3830 != len(yyv3830) { + yyv3830 = yyv3830[:yyl3830] + yyc3830 = true + } + yyj3830 := 0 + for ; yyj3830 < yyrr3830; yyj3830++ { + yyh3830.ElemContainerState(yyj3830) + if r.TryDecodeAsNil() { + yyv3830[yyj3830] = Endpoints{} + } else { + yyv3831 := &yyv3830[yyj3830] + yyv3831.CodecDecodeSelf(d) + } + + } + if yyrt3830 { + for ; yyj3830 < yyl3830; yyj3830++ { + yyv3830 = append(yyv3830, Endpoints{}) + yyh3830.ElemContainerState(yyj3830) + if r.TryDecodeAsNil() { + yyv3830[yyj3830] = Endpoints{} + } else { + yyv3832 := &yyv3830[yyj3830] + yyv3832.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3830 := 0 + for ; !r.CheckBreak(); yyj3830++ { + + if yyj3830 >= len(yyv3830) { + yyv3830 = append(yyv3830, Endpoints{}) // var yyz3830 Endpoints + yyc3830 = true + } + yyh3830.ElemContainerState(yyj3830) + if yyj3830 < len(yyv3830) { + if r.TryDecodeAsNil() { + yyv3830[yyj3830] = Endpoints{} + } else { + yyv3833 := &yyv3830[yyj3830] + yyv3833.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3830 < len(yyv3830) { + yyv3830 = yyv3830[:yyj3830] + yyc3830 = true + } else if yyj3830 == 0 && yyv3830 == nil { + yyv3830 = []Endpoints{} + yyc3830 = true + } + } + yyh3830.End() + if yyc3830 { + *v = yyv3830 + } +} + +func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3834 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3835 := &yyv3834 + yy3835.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3836 := *v + yyh3836, yyl3836 := z.DecSliceHelperStart() + var yyc3836 bool + if yyl3836 == 0 { + if yyv3836 == nil { + yyv3836 = []NodeCondition{} + yyc3836 = true + } else if len(yyv3836) != 0 { + yyv3836 = yyv3836[:0] + yyc3836 = true + } + } else if yyl3836 > 0 { + var yyrr3836, yyrl3836 int + var yyrt3836 bool + if yyl3836 > cap(yyv3836) { + + yyrg3836 := len(yyv3836) > 0 + yyv23836 := yyv3836 + yyrl3836, yyrt3836 = z.DecInferLen(yyl3836, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3836 { + if yyrl3836 <= cap(yyv3836) { + yyv3836 = yyv3836[:yyrl3836] + } else { + yyv3836 = make([]NodeCondition, yyrl3836) + } + } else { + yyv3836 = make([]NodeCondition, yyrl3836) + } + yyc3836 = true + yyrr3836 = len(yyv3836) + if yyrg3836 { + copy(yyv3836, yyv23836) + } + } else if yyl3836 != len(yyv3836) { + yyv3836 = yyv3836[:yyl3836] + yyc3836 = true + } + yyj3836 := 0 + for ; yyj3836 < yyrr3836; yyj3836++ { + yyh3836.ElemContainerState(yyj3836) + if r.TryDecodeAsNil() { + yyv3836[yyj3836] = NodeCondition{} + } else { + yyv3837 := &yyv3836[yyj3836] + yyv3837.CodecDecodeSelf(d) + } + + } + if yyrt3836 { + for ; yyj3836 < yyl3836; yyj3836++ { + yyv3836 = append(yyv3836, NodeCondition{}) + yyh3836.ElemContainerState(yyj3836) + if r.TryDecodeAsNil() { + yyv3836[yyj3836] = NodeCondition{} + } else { + yyv3838 := &yyv3836[yyj3836] + yyv3838.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3836 := 0 + for ; !r.CheckBreak(); yyj3836++ { + + if yyj3836 >= len(yyv3836) { + yyv3836 = append(yyv3836, NodeCondition{}) // var yyz3836 NodeCondition + yyc3836 = true + } + yyh3836.ElemContainerState(yyj3836) + if yyj3836 < len(yyv3836) { + if r.TryDecodeAsNil() { + yyv3836[yyj3836] = NodeCondition{} + } else { + yyv3839 := &yyv3836[yyj3836] + yyv3839.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3836 < len(yyv3836) { + yyv3836 = yyv3836[:yyj3836] + yyc3836 = true + } else if yyj3836 == 0 && yyv3836 == nil { + yyv3836 = []NodeCondition{} + yyc3836 = true + } + } + yyh3836.End() + if yyc3836 { + *v = yyv3836 + } +} + +func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3840 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3841 := &yyv3840 + yy3841.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3842 := *v + yyh3842, yyl3842 := z.DecSliceHelperStart() + var yyc3842 bool + if yyl3842 == 0 { + if yyv3842 == nil { + yyv3842 = []NodeAddress{} + yyc3842 = true + } else if len(yyv3842) != 0 { + yyv3842 = yyv3842[:0] + yyc3842 = true + } + } else if yyl3842 > 0 { + var yyrr3842, yyrl3842 int + var yyrt3842 bool + if yyl3842 > cap(yyv3842) { + + yyrg3842 := len(yyv3842) > 0 + yyv23842 := yyv3842 + yyrl3842, yyrt3842 = z.DecInferLen(yyl3842, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3842 { + if yyrl3842 <= cap(yyv3842) { + yyv3842 = yyv3842[:yyrl3842] + } else { + yyv3842 = make([]NodeAddress, yyrl3842) + } + } else { + yyv3842 = make([]NodeAddress, yyrl3842) + } + yyc3842 = true + yyrr3842 = len(yyv3842) + if yyrg3842 { + copy(yyv3842, yyv23842) + } + } else if yyl3842 != len(yyv3842) { + yyv3842 = yyv3842[:yyl3842] + yyc3842 = true + } + yyj3842 := 0 + for ; yyj3842 < yyrr3842; yyj3842++ { + yyh3842.ElemContainerState(yyj3842) + if r.TryDecodeAsNil() { + yyv3842[yyj3842] = NodeAddress{} + } else { + yyv3843 := &yyv3842[yyj3842] + yyv3843.CodecDecodeSelf(d) + } + + } + if yyrt3842 { + for ; yyj3842 < yyl3842; yyj3842++ { + yyv3842 = append(yyv3842, NodeAddress{}) + yyh3842.ElemContainerState(yyj3842) + if r.TryDecodeAsNil() { + yyv3842[yyj3842] = NodeAddress{} + } else { + yyv3844 := &yyv3842[yyj3842] + yyv3844.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3842 := 0 + for ; !r.CheckBreak(); yyj3842++ { + + if yyj3842 >= len(yyv3842) { + yyv3842 = append(yyv3842, NodeAddress{}) // var yyz3842 NodeAddress + yyc3842 = true + } + yyh3842.ElemContainerState(yyj3842) + if yyj3842 < len(yyv3842) { + if r.TryDecodeAsNil() { + yyv3842[yyj3842] = NodeAddress{} + } else { + yyv3845 := &yyv3842[yyj3842] + yyv3845.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3842 < len(yyv3842) { + yyv3842 = yyv3842[:yyj3842] + yyc3842 = true + } else if yyj3842 == 0 && yyv3842 == nil { + yyv3842 = []NodeAddress{} + yyc3842 = true + } + } + yyh3842.End() + if yyc3842 { + *v = yyv3842 + } +} + +func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3846 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3847 := &yyv3846 + yy3847.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3848 := *v + yyh3848, yyl3848 := z.DecSliceHelperStart() + var yyc3848 bool + if yyl3848 == 0 { + if yyv3848 == nil { + yyv3848 = []ContainerImage{} + yyc3848 = true + } else if len(yyv3848) != 0 { + yyv3848 = yyv3848[:0] + yyc3848 = true + } + } else if yyl3848 > 0 { + var yyrr3848, yyrl3848 int + var yyrt3848 bool + if yyl3848 > cap(yyv3848) { + + yyrg3848 := len(yyv3848) > 0 + yyv23848 := yyv3848 + yyrl3848, yyrt3848 = z.DecInferLen(yyl3848, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3848 { + if yyrl3848 <= cap(yyv3848) { + yyv3848 = yyv3848[:yyrl3848] + } else { + yyv3848 = make([]ContainerImage, yyrl3848) + } + } else { + yyv3848 = make([]ContainerImage, yyrl3848) + } + yyc3848 = true + yyrr3848 = len(yyv3848) + if yyrg3848 { + copy(yyv3848, yyv23848) + } + } else if yyl3848 != len(yyv3848) { + yyv3848 = yyv3848[:yyl3848] + yyc3848 = true + } + yyj3848 := 0 + for ; yyj3848 < yyrr3848; yyj3848++ { + yyh3848.ElemContainerState(yyj3848) + if r.TryDecodeAsNil() { + yyv3848[yyj3848] = ContainerImage{} + } else { + yyv3849 := &yyv3848[yyj3848] + yyv3849.CodecDecodeSelf(d) + } + + } + if yyrt3848 { + for ; yyj3848 < yyl3848; yyj3848++ { + yyv3848 = append(yyv3848, ContainerImage{}) + yyh3848.ElemContainerState(yyj3848) + if r.TryDecodeAsNil() { + yyv3848[yyj3848] = ContainerImage{} + } else { + yyv3850 := &yyv3848[yyj3848] + yyv3850.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3848 := 0 + for ; !r.CheckBreak(); yyj3848++ { + + if yyj3848 >= len(yyv3848) { + yyv3848 = append(yyv3848, ContainerImage{}) // var yyz3848 ContainerImage + yyc3848 = true + } + yyh3848.ElemContainerState(yyj3848) + if yyj3848 < len(yyv3848) { + if r.TryDecodeAsNil() { + yyv3848[yyj3848] = ContainerImage{} + } else { + yyv3851 := &yyv3848[yyj3848] + yyv3851.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3848 < len(yyv3848) { + yyv3848 = yyv3848[:yyj3848] + yyc3848 = true + } else if yyj3848 == 0 && yyv3848 == nil { + yyv3848 = []ContainerImage{} + yyc3848 = true + } + } + yyh3848.End() + if yyc3848 { + *v = yyv3848 + } +} + func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3792, yyv3792 := range v { + for yyk3852, yyv3852 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk3792.CodecEncodeSelf(e) + yyk3852.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3793 := &yyv3792 - yym3794 := z.EncBinary() - _ = yym3794 + yy3853 := &yyv3852 + yym3854 := z.EncBinary() + _ = yym3854 if false { - } else if z.HasExtensions() && z.EncExt(yy3793) { - } else if !yym3794 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3793) + } else if z.HasExtensions() && z.EncExt(yy3853) { + } else if !yym3854 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3853) } else { - z.EncFallback(yy3793) + z.EncFallback(yy3853) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48218,86 +48896,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3795 := *v - yyl3795 := r.ReadMapStart() - yybh3795 := z.DecBasicHandle() - if yyv3795 == nil { - yyrl3795, _ := z.DecInferLen(yyl3795, yybh3795.MaxInitLen, 40) - yyv3795 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3795) - *v = yyv3795 + yyv3855 := *v + yyl3855 := r.ReadMapStart() + yybh3855 := z.DecBasicHandle() + if yyv3855 == nil { + yyrl3855, _ := z.DecInferLen(yyl3855, yybh3855.MaxInitLen, 40) + yyv3855 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3855) + *v = yyv3855 } - var yymk3795 ResourceName - var yymv3795 pkg3_resource.Quantity - var yymg3795 bool - if yybh3795.MapValueReset { - yymg3795 = true + var yymk3855 ResourceName + var yymv3855 pkg3_resource.Quantity + var yymg3855 bool + if yybh3855.MapValueReset { + yymg3855 = true } - if yyl3795 > 0 { - for yyj3795 := 0; yyj3795 < yyl3795; yyj3795++ { + if yyl3855 > 0 { + for yyj3855 := 0; yyj3855 < yyl3855; yyj3855++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3795 = "" + yymk3855 = "" } else { - yymk3795 = ResourceName(r.DecodeString()) + yymk3855 = ResourceName(r.DecodeString()) } - if yymg3795 { - yymv3795 = yyv3795[yymk3795] + if yymg3855 { + yymv3855 = yyv3855[yymk3855] } else { - yymv3795 = pkg3_resource.Quantity{} + yymv3855 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3795 = pkg3_resource.Quantity{} + yymv3855 = pkg3_resource.Quantity{} } else { - yyv3797 := &yymv3795 - yym3798 := z.DecBinary() - _ = yym3798 + yyv3857 := &yymv3855 + yym3858 := z.DecBinary() + _ = yym3858 if false { - } else if z.HasExtensions() && z.DecExt(yyv3797) { - } else if !yym3798 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3797) + } else if z.HasExtensions() && z.DecExt(yyv3857) { + } else if !yym3858 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3857) } else { - z.DecFallback(yyv3797, false) + z.DecFallback(yyv3857, false) } } - if yyv3795 != nil { - yyv3795[yymk3795] = yymv3795 + if yyv3855 != nil { + yyv3855[yymk3855] = yymv3855 } } - } else if yyl3795 < 0 { - for yyj3795 := 0; !r.CheckBreak(); yyj3795++ { + } else if yyl3855 < 0 { + for yyj3855 := 0; !r.CheckBreak(); yyj3855++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3795 = "" + yymk3855 = "" } else { - yymk3795 = ResourceName(r.DecodeString()) + yymk3855 = ResourceName(r.DecodeString()) } - if yymg3795 { - yymv3795 = yyv3795[yymk3795] + if yymg3855 { + yymv3855 = yyv3855[yymk3855] } else { - yymv3795 = pkg3_resource.Quantity{} + yymv3855 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3795 = pkg3_resource.Quantity{} + yymv3855 = pkg3_resource.Quantity{} } else { - yyv3800 := &yymv3795 - yym3801 := z.DecBinary() - _ = yym3801 + yyv3860 := &yymv3855 + yym3861 := z.DecBinary() + _ = yym3861 if false { - } else if z.HasExtensions() && z.DecExt(yyv3800) { - } else if !yym3801 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3800) + } else if z.HasExtensions() && z.DecExt(yyv3860) { + } else if !yym3861 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3860) } else { - z.DecFallback(yyv3800, false) + z.DecFallback(yyv3860, false) } } - if yyv3795 != nil { - yyv3795[yymk3795] = yymv3795 + if yyv3855 != nil { + yyv3855[yymk3855] = yymv3855 } } } // else len==0: TODO: Should we clear map entries? @@ -48309,10 +48987,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3802 := range v { + for _, yyv3862 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3803 := &yyv3802 - yy3803.CodecEncodeSelf(e) + yy3863 := &yyv3862 + yy3863.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48322,83 +49000,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3804 := *v - yyh3804, yyl3804 := z.DecSliceHelperStart() - var yyc3804 bool - if yyl3804 == 0 { - if yyv3804 == nil { - yyv3804 = []Node{} - yyc3804 = true - } else if len(yyv3804) != 0 { - yyv3804 = yyv3804[:0] - yyc3804 = true + yyv3864 := *v + yyh3864, yyl3864 := z.DecSliceHelperStart() + var yyc3864 bool + if yyl3864 == 0 { + if yyv3864 == nil { + yyv3864 = []Node{} + yyc3864 = true + } else if len(yyv3864) != 0 { + yyv3864 = yyv3864[:0] + yyc3864 = true } - } else if yyl3804 > 0 { - var yyrr3804, yyrl3804 int - var yyrt3804 bool - if yyl3804 > cap(yyv3804) { + } else if yyl3864 > 0 { + var yyrr3864, yyrl3864 int + var yyrt3864 bool + if yyl3864 > cap(yyv3864) { - yyrg3804 := len(yyv3804) > 0 - yyv23804 := yyv3804 - yyrl3804, yyrt3804 = z.DecInferLen(yyl3804, z.DecBasicHandle().MaxInitLen, 488) - if yyrt3804 { - if yyrl3804 <= cap(yyv3804) { - yyv3804 = yyv3804[:yyrl3804] + yyrg3864 := len(yyv3864) > 0 + yyv23864 := yyv3864 + yyrl3864, yyrt3864 = z.DecInferLen(yyl3864, z.DecBasicHandle().MaxInitLen, 488) + if yyrt3864 { + if yyrl3864 <= cap(yyv3864) { + yyv3864 = yyv3864[:yyrl3864] } else { - yyv3804 = make([]Node, yyrl3804) + yyv3864 = make([]Node, yyrl3864) } } else { - yyv3804 = make([]Node, yyrl3804) + yyv3864 = make([]Node, yyrl3864) } - yyc3804 = true - yyrr3804 = len(yyv3804) - if yyrg3804 { - copy(yyv3804, yyv23804) + yyc3864 = true + yyrr3864 = len(yyv3864) + if yyrg3864 { + copy(yyv3864, yyv23864) } - } else if yyl3804 != len(yyv3804) { - yyv3804 = yyv3804[:yyl3804] - yyc3804 = true + } else if yyl3864 != len(yyv3864) { + yyv3864 = yyv3864[:yyl3864] + yyc3864 = true } - yyj3804 := 0 - for ; yyj3804 < yyrr3804; yyj3804++ { - yyh3804.ElemContainerState(yyj3804) + yyj3864 := 0 + for ; yyj3864 < yyrr3864; yyj3864++ { + yyh3864.ElemContainerState(yyj3864) if r.TryDecodeAsNil() { - yyv3804[yyj3804] = Node{} + yyv3864[yyj3864] = Node{} } else { - yyv3805 := &yyv3804[yyj3804] - yyv3805.CodecDecodeSelf(d) + yyv3865 := &yyv3864[yyj3864] + yyv3865.CodecDecodeSelf(d) } } - if yyrt3804 { - for ; yyj3804 < yyl3804; yyj3804++ { - yyv3804 = append(yyv3804, Node{}) - yyh3804.ElemContainerState(yyj3804) + if yyrt3864 { + for ; yyj3864 < yyl3864; yyj3864++ { + yyv3864 = append(yyv3864, Node{}) + yyh3864.ElemContainerState(yyj3864) if r.TryDecodeAsNil() { - yyv3804[yyj3804] = Node{} + yyv3864[yyj3864] = Node{} } else { - yyv3806 := &yyv3804[yyj3804] - yyv3806.CodecDecodeSelf(d) + yyv3866 := &yyv3864[yyj3864] + yyv3866.CodecDecodeSelf(d) } } } } else { - yyj3804 := 0 - for ; !r.CheckBreak(); yyj3804++ { + yyj3864 := 0 + for ; !r.CheckBreak(); yyj3864++ { - if yyj3804 >= len(yyv3804) { - yyv3804 = append(yyv3804, Node{}) // var yyz3804 Node - yyc3804 = true + if yyj3864 >= len(yyv3864) { + yyv3864 = append(yyv3864, Node{}) // var yyz3864 Node + yyc3864 = true } - yyh3804.ElemContainerState(yyj3804) - if yyj3804 < len(yyv3804) { + yyh3864.ElemContainerState(yyj3864) + if yyj3864 < len(yyv3864) { if r.TryDecodeAsNil() { - yyv3804[yyj3804] = Node{} + yyv3864[yyj3864] = Node{} } else { - yyv3807 := &yyv3804[yyj3804] - yyv3807.CodecDecodeSelf(d) + yyv3867 := &yyv3864[yyj3864] + yyv3867.CodecDecodeSelf(d) } } else { @@ -48406,17 +49084,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj3804 < len(yyv3804) { - yyv3804 = yyv3804[:yyj3804] - yyc3804 = true - } else if yyj3804 == 0 && yyv3804 == nil { - yyv3804 = []Node{} - yyc3804 = true + if yyj3864 < len(yyv3864) { + yyv3864 = yyv3864[:yyj3864] + yyc3864 = true + } else if yyj3864 == 0 && yyv3864 == nil { + yyv3864 = []Node{} + yyc3864 = true } } - yyh3804.End() - if yyc3804 { - *v = yyv3804 + yyh3864.End() + if yyc3864 { + *v = yyv3864 } } @@ -48425,9 +49103,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3808 := range v { + for _, yyv3868 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3808.CodecEncodeSelf(e) + yyv3868.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48437,75 +49115,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3809 := *v - yyh3809, yyl3809 := z.DecSliceHelperStart() - var yyc3809 bool - if yyl3809 == 0 { - if yyv3809 == nil { - yyv3809 = []FinalizerName{} - yyc3809 = true - } else if len(yyv3809) != 0 { - yyv3809 = yyv3809[:0] - yyc3809 = true + yyv3869 := *v + yyh3869, yyl3869 := z.DecSliceHelperStart() + var yyc3869 bool + if yyl3869 == 0 { + if yyv3869 == nil { + yyv3869 = []FinalizerName{} + yyc3869 = true + } else if len(yyv3869) != 0 { + yyv3869 = yyv3869[:0] + yyc3869 = true } - } else if yyl3809 > 0 { - var yyrr3809, yyrl3809 int - var yyrt3809 bool - if yyl3809 > cap(yyv3809) { + } else if yyl3869 > 0 { + var yyrr3869, yyrl3869 int + var yyrt3869 bool + if yyl3869 > cap(yyv3869) { - yyrl3809, yyrt3809 = z.DecInferLen(yyl3809, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3809 { - if yyrl3809 <= cap(yyv3809) { - yyv3809 = yyv3809[:yyrl3809] + yyrl3869, yyrt3869 = z.DecInferLen(yyl3869, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3869 { + if yyrl3869 <= cap(yyv3869) { + yyv3869 = yyv3869[:yyrl3869] } else { - yyv3809 = make([]FinalizerName, yyrl3809) + yyv3869 = make([]FinalizerName, yyrl3869) } } else { - yyv3809 = make([]FinalizerName, yyrl3809) + yyv3869 = make([]FinalizerName, yyrl3869) } - yyc3809 = true - yyrr3809 = len(yyv3809) - } else if yyl3809 != len(yyv3809) { - yyv3809 = yyv3809[:yyl3809] - yyc3809 = true + yyc3869 = true + yyrr3869 = len(yyv3869) + } else if yyl3869 != len(yyv3869) { + yyv3869 = yyv3869[:yyl3869] + yyc3869 = true } - yyj3809 := 0 - for ; yyj3809 < yyrr3809; yyj3809++ { - yyh3809.ElemContainerState(yyj3809) + yyj3869 := 0 + for ; yyj3869 < yyrr3869; yyj3869++ { + yyh3869.ElemContainerState(yyj3869) if r.TryDecodeAsNil() { - yyv3809[yyj3809] = "" + yyv3869[yyj3869] = "" } else { - yyv3809[yyj3809] = FinalizerName(r.DecodeString()) + yyv3869[yyj3869] = FinalizerName(r.DecodeString()) } } - if yyrt3809 { - for ; yyj3809 < yyl3809; yyj3809++ { - yyv3809 = append(yyv3809, "") - yyh3809.ElemContainerState(yyj3809) + if yyrt3869 { + for ; yyj3869 < yyl3869; yyj3869++ { + yyv3869 = append(yyv3869, "") + yyh3869.ElemContainerState(yyj3869) if r.TryDecodeAsNil() { - yyv3809[yyj3809] = "" + yyv3869[yyj3869] = "" } else { - yyv3809[yyj3809] = FinalizerName(r.DecodeString()) + yyv3869[yyj3869] = FinalizerName(r.DecodeString()) } } } } else { - yyj3809 := 0 - for ; !r.CheckBreak(); yyj3809++ { + yyj3869 := 0 + for ; !r.CheckBreak(); yyj3869++ { - if yyj3809 >= len(yyv3809) { - yyv3809 = append(yyv3809, "") // var yyz3809 FinalizerName - yyc3809 = true + if yyj3869 >= len(yyv3869) { + yyv3869 = append(yyv3869, "") // var yyz3869 FinalizerName + yyc3869 = true } - yyh3809.ElemContainerState(yyj3809) - if yyj3809 < len(yyv3809) { + yyh3869.ElemContainerState(yyj3869) + if yyj3869 < len(yyv3869) { if r.TryDecodeAsNil() { - yyv3809[yyj3809] = "" + yyv3869[yyj3869] = "" } else { - yyv3809[yyj3809] = FinalizerName(r.DecodeString()) + yyv3869[yyj3869] = FinalizerName(r.DecodeString()) } } else { @@ -48513,17 +49191,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj3809 < len(yyv3809) { - yyv3809 = yyv3809[:yyj3809] - yyc3809 = true - } else if yyj3809 == 0 && yyv3809 == nil { - yyv3809 = []FinalizerName{} - yyc3809 = true + if yyj3869 < len(yyv3869) { + yyv3869 = yyv3869[:yyj3869] + yyc3869 = true + } else if yyj3869 == 0 && yyv3869 == nil { + yyv3869 = []FinalizerName{} + yyc3869 = true } } - yyh3809.End() - if yyc3809 { - *v = yyv3809 + yyh3869.End() + if yyc3869 { + *v = yyv3869 } } @@ -48532,10 +49210,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3813 := range v { + for _, yyv3873 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3814 := &yyv3813 - yy3814.CodecEncodeSelf(e) + yy3874 := &yyv3873 + yy3874.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48545,83 +49223,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3815 := *v - yyh3815, yyl3815 := z.DecSliceHelperStart() - var yyc3815 bool - if yyl3815 == 0 { - if yyv3815 == nil { - yyv3815 = []Namespace{} - yyc3815 = true - } else if len(yyv3815) != 0 { - yyv3815 = yyv3815[:0] - yyc3815 = true + yyv3875 := *v + yyh3875, yyl3875 := z.DecSliceHelperStart() + var yyc3875 bool + if yyl3875 == 0 { + if yyv3875 == nil { + yyv3875 = []Namespace{} + yyc3875 = true + } else if len(yyv3875) != 0 { + yyv3875 = yyv3875[:0] + yyc3875 = true } - } else if yyl3815 > 0 { - var yyrr3815, yyrl3815 int - var yyrt3815 bool - if yyl3815 > cap(yyv3815) { + } else if yyl3875 > 0 { + var yyrr3875, yyrl3875 int + var yyrt3875 bool + if yyl3875 > cap(yyv3875) { - yyrg3815 := len(yyv3815) > 0 - yyv23815 := yyv3815 - yyrl3815, yyrt3815 = z.DecInferLen(yyl3815, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3815 { - if yyrl3815 <= cap(yyv3815) { - yyv3815 = yyv3815[:yyrl3815] + yyrg3875 := len(yyv3875) > 0 + yyv23875 := yyv3875 + yyrl3875, yyrt3875 = z.DecInferLen(yyl3875, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3875 { + if yyrl3875 <= cap(yyv3875) { + yyv3875 = yyv3875[:yyrl3875] } else { - yyv3815 = make([]Namespace, yyrl3815) + yyv3875 = make([]Namespace, yyrl3875) } } else { - yyv3815 = make([]Namespace, yyrl3815) + yyv3875 = make([]Namespace, yyrl3875) } - yyc3815 = true - yyrr3815 = len(yyv3815) - if yyrg3815 { - copy(yyv3815, yyv23815) + yyc3875 = true + yyrr3875 = len(yyv3875) + if yyrg3875 { + copy(yyv3875, yyv23875) } - } else if yyl3815 != len(yyv3815) { - yyv3815 = yyv3815[:yyl3815] - yyc3815 = true + } else if yyl3875 != len(yyv3875) { + yyv3875 = yyv3875[:yyl3875] + yyc3875 = true } - yyj3815 := 0 - for ; yyj3815 < yyrr3815; yyj3815++ { - yyh3815.ElemContainerState(yyj3815) + yyj3875 := 0 + for ; yyj3875 < yyrr3875; yyj3875++ { + yyh3875.ElemContainerState(yyj3875) if r.TryDecodeAsNil() { - yyv3815[yyj3815] = Namespace{} + yyv3875[yyj3875] = Namespace{} } else { - yyv3816 := &yyv3815[yyj3815] - yyv3816.CodecDecodeSelf(d) + yyv3876 := &yyv3875[yyj3875] + yyv3876.CodecDecodeSelf(d) } } - if yyrt3815 { - for ; yyj3815 < yyl3815; yyj3815++ { - yyv3815 = append(yyv3815, Namespace{}) - yyh3815.ElemContainerState(yyj3815) + if yyrt3875 { + for ; yyj3875 < yyl3875; yyj3875++ { + yyv3875 = append(yyv3875, Namespace{}) + yyh3875.ElemContainerState(yyj3875) if r.TryDecodeAsNil() { - yyv3815[yyj3815] = Namespace{} + yyv3875[yyj3875] = Namespace{} } else { - yyv3817 := &yyv3815[yyj3815] - yyv3817.CodecDecodeSelf(d) + yyv3877 := &yyv3875[yyj3875] + yyv3877.CodecDecodeSelf(d) } } } } else { - yyj3815 := 0 - for ; !r.CheckBreak(); yyj3815++ { + yyj3875 := 0 + for ; !r.CheckBreak(); yyj3875++ { - if yyj3815 >= len(yyv3815) { - yyv3815 = append(yyv3815, Namespace{}) // var yyz3815 Namespace - yyc3815 = true + if yyj3875 >= len(yyv3875) { + yyv3875 = append(yyv3875, Namespace{}) // var yyz3875 Namespace + yyc3875 = true } - yyh3815.ElemContainerState(yyj3815) - if yyj3815 < len(yyv3815) { + yyh3875.ElemContainerState(yyj3875) + if yyj3875 < len(yyv3875) { if r.TryDecodeAsNil() { - yyv3815[yyj3815] = Namespace{} + yyv3875[yyj3875] = Namespace{} } else { - yyv3818 := &yyv3815[yyj3815] - yyv3818.CodecDecodeSelf(d) + yyv3878 := &yyv3875[yyj3875] + yyv3878.CodecDecodeSelf(d) } } else { @@ -48629,17 +49307,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj3815 < len(yyv3815) { - yyv3815 = yyv3815[:yyj3815] - yyc3815 = true - } else if yyj3815 == 0 && yyv3815 == nil { - yyv3815 = []Namespace{} - yyc3815 = true + if yyj3875 < len(yyv3875) { + yyv3875 = yyv3875[:yyj3875] + yyc3875 = true + } else if yyj3875 == 0 && yyv3875 == nil { + yyv3875 = []Namespace{} + yyc3875 = true } } - yyh3815.End() - if yyc3815 { - *v = yyv3815 + yyh3875.End() + if yyc3875 { + *v = yyv3875 } } @@ -48648,10 +49326,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3819 := range v { + for _, yyv3879 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3820 := &yyv3819 - yy3820.CodecEncodeSelf(e) + yy3880 := &yyv3879 + yy3880.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48661,83 +49339,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3821 := *v - yyh3821, yyl3821 := z.DecSliceHelperStart() - var yyc3821 bool - if yyl3821 == 0 { - if yyv3821 == nil { - yyv3821 = []Event{} - yyc3821 = true - } else if len(yyv3821) != 0 { - yyv3821 = yyv3821[:0] - yyc3821 = true + yyv3881 := *v + yyh3881, yyl3881 := z.DecSliceHelperStart() + var yyc3881 bool + if yyl3881 == 0 { + if yyv3881 == nil { + yyv3881 = []Event{} + yyc3881 = true + } else if len(yyv3881) != 0 { + yyv3881 = yyv3881[:0] + yyc3881 = true } - } else if yyl3821 > 0 { - var yyrr3821, yyrl3821 int - var yyrt3821 bool - if yyl3821 > cap(yyv3821) { + } else if yyl3881 > 0 { + var yyrr3881, yyrl3881 int + var yyrt3881 bool + if yyl3881 > cap(yyv3881) { - yyrg3821 := len(yyv3821) > 0 - yyv23821 := yyv3821 - yyrl3821, yyrt3821 = z.DecInferLen(yyl3821, z.DecBasicHandle().MaxInitLen, 440) - if yyrt3821 { - if yyrl3821 <= cap(yyv3821) { - yyv3821 = yyv3821[:yyrl3821] + yyrg3881 := len(yyv3881) > 0 + yyv23881 := yyv3881 + yyrl3881, yyrt3881 = z.DecInferLen(yyl3881, z.DecBasicHandle().MaxInitLen, 440) + if yyrt3881 { + if yyrl3881 <= cap(yyv3881) { + yyv3881 = yyv3881[:yyrl3881] } else { - yyv3821 = make([]Event, yyrl3821) + yyv3881 = make([]Event, yyrl3881) } } else { - yyv3821 = make([]Event, yyrl3821) + yyv3881 = make([]Event, yyrl3881) } - yyc3821 = true - yyrr3821 = len(yyv3821) - if yyrg3821 { - copy(yyv3821, yyv23821) + yyc3881 = true + yyrr3881 = len(yyv3881) + if yyrg3881 { + copy(yyv3881, yyv23881) } - } else if yyl3821 != len(yyv3821) { - yyv3821 = yyv3821[:yyl3821] - yyc3821 = true + } else if yyl3881 != len(yyv3881) { + yyv3881 = yyv3881[:yyl3881] + yyc3881 = true } - yyj3821 := 0 - for ; yyj3821 < yyrr3821; yyj3821++ { - yyh3821.ElemContainerState(yyj3821) + yyj3881 := 0 + for ; yyj3881 < yyrr3881; yyj3881++ { + yyh3881.ElemContainerState(yyj3881) if r.TryDecodeAsNil() { - yyv3821[yyj3821] = Event{} + yyv3881[yyj3881] = Event{} } else { - yyv3822 := &yyv3821[yyj3821] - yyv3822.CodecDecodeSelf(d) + yyv3882 := &yyv3881[yyj3881] + yyv3882.CodecDecodeSelf(d) } } - if yyrt3821 { - for ; yyj3821 < yyl3821; yyj3821++ { - yyv3821 = append(yyv3821, Event{}) - yyh3821.ElemContainerState(yyj3821) + if yyrt3881 { + for ; yyj3881 < yyl3881; yyj3881++ { + yyv3881 = append(yyv3881, Event{}) + yyh3881.ElemContainerState(yyj3881) if r.TryDecodeAsNil() { - yyv3821[yyj3821] = Event{} + yyv3881[yyj3881] = Event{} } else { - yyv3823 := &yyv3821[yyj3821] - yyv3823.CodecDecodeSelf(d) + yyv3883 := &yyv3881[yyj3881] + yyv3883.CodecDecodeSelf(d) } } } } else { - yyj3821 := 0 - for ; !r.CheckBreak(); yyj3821++ { + yyj3881 := 0 + for ; !r.CheckBreak(); yyj3881++ { - if yyj3821 >= len(yyv3821) { - yyv3821 = append(yyv3821, Event{}) // var yyz3821 Event - yyc3821 = true + if yyj3881 >= len(yyv3881) { + yyv3881 = append(yyv3881, Event{}) // var yyz3881 Event + yyc3881 = true } - yyh3821.ElemContainerState(yyj3821) - if yyj3821 < len(yyv3821) { + yyh3881.ElemContainerState(yyj3881) + if yyj3881 < len(yyv3881) { if r.TryDecodeAsNil() { - yyv3821[yyj3821] = Event{} + yyv3881[yyj3881] = Event{} } else { - yyv3824 := &yyv3821[yyj3821] - yyv3824.CodecDecodeSelf(d) + yyv3884 := &yyv3881[yyj3881] + yyv3884.CodecDecodeSelf(d) } } else { @@ -48745,17 +49423,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj3821 < len(yyv3821) { - yyv3821 = yyv3821[:yyj3821] - yyc3821 = true - } else if yyj3821 == 0 && yyv3821 == nil { - yyv3821 = []Event{} - yyc3821 = true + if yyj3881 < len(yyv3881) { + yyv3881 = yyv3881[:yyj3881] + yyc3881 = true + } else if yyj3881 == 0 && yyv3881 == nil { + yyv3881 = []Event{} + yyc3881 = true } } - yyh3821.End() - if yyc3821 { - *v = yyv3821 + yyh3881.End() + if yyc3881 { + *v = yyv3881 } } @@ -48764,17 +49442,17 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg6_runtime.RawExtens z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3825 := range v { + for _, yyv3885 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3826 := &yyv3825 - yym3827 := z.EncBinary() - _ = yym3827 + yy3886 := &yyv3885 + yym3887 := z.EncBinary() + _ = yym3887 if false { - } else if z.HasExtensions() && z.EncExt(yy3826) { - } else if !yym3827 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3826) + } else if z.HasExtensions() && z.EncExt(yy3886) { + } else if !yym3887 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3886) } else { - z.EncFallback(yy3826) + z.EncFallback(yy3886) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -48785,78 +49463,78 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3828 := *v - yyh3828, yyl3828 := z.DecSliceHelperStart() - var yyc3828 bool - if yyl3828 == 0 { - if yyv3828 == nil { - yyv3828 = []pkg6_runtime.RawExtension{} - yyc3828 = true - } else if len(yyv3828) != 0 { - yyv3828 = yyv3828[:0] - yyc3828 = true + yyv3888 := *v + yyh3888, yyl3888 := z.DecSliceHelperStart() + var yyc3888 bool + if yyl3888 == 0 { + if yyv3888 == nil { + yyv3888 = []pkg6_runtime.RawExtension{} + yyc3888 = true + } else if len(yyv3888) != 0 { + yyv3888 = yyv3888[:0] + yyc3888 = true } - } else if yyl3828 > 0 { - var yyrr3828, yyrl3828 int - var yyrt3828 bool - if yyl3828 > cap(yyv3828) { + } else if yyl3888 > 0 { + var yyrr3888, yyrl3888 int + var yyrt3888 bool + if yyl3888 > cap(yyv3888) { - yyrg3828 := len(yyv3828) > 0 - yyv23828 := yyv3828 - yyrl3828, yyrt3828 = z.DecInferLen(yyl3828, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3828 { - if yyrl3828 <= cap(yyv3828) { - yyv3828 = yyv3828[:yyrl3828] + yyrg3888 := len(yyv3888) > 0 + yyv23888 := yyv3888 + yyrl3888, yyrt3888 = z.DecInferLen(yyl3888, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3888 { + if yyrl3888 <= cap(yyv3888) { + yyv3888 = yyv3888[:yyrl3888] } else { - yyv3828 = make([]pkg6_runtime.RawExtension, yyrl3828) + yyv3888 = make([]pkg6_runtime.RawExtension, yyrl3888) } } else { - yyv3828 = make([]pkg6_runtime.RawExtension, yyrl3828) + yyv3888 = make([]pkg6_runtime.RawExtension, yyrl3888) } - yyc3828 = true - yyrr3828 = len(yyv3828) - if yyrg3828 { - copy(yyv3828, yyv23828) + yyc3888 = true + yyrr3888 = len(yyv3888) + if yyrg3888 { + copy(yyv3888, yyv23888) } - } else if yyl3828 != len(yyv3828) { - yyv3828 = yyv3828[:yyl3828] - yyc3828 = true + } else if yyl3888 != len(yyv3888) { + yyv3888 = yyv3888[:yyl3888] + yyc3888 = true } - yyj3828 := 0 - for ; yyj3828 < yyrr3828; yyj3828++ { - yyh3828.ElemContainerState(yyj3828) + yyj3888 := 0 + for ; yyj3888 < yyrr3888; yyj3888++ { + yyh3888.ElemContainerState(yyj3888) if r.TryDecodeAsNil() { - yyv3828[yyj3828] = pkg6_runtime.RawExtension{} + yyv3888[yyj3888] = pkg6_runtime.RawExtension{} } else { - yyv3829 := &yyv3828[yyj3828] - yym3830 := z.DecBinary() - _ = yym3830 + yyv3889 := &yyv3888[yyj3888] + yym3890 := z.DecBinary() + _ = yym3890 if false { - } else if z.HasExtensions() && z.DecExt(yyv3829) { - } else if !yym3830 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3829) + } else if z.HasExtensions() && z.DecExt(yyv3889) { + } else if !yym3890 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3889) } else { - z.DecFallback(yyv3829, false) + z.DecFallback(yyv3889, false) } } } - if yyrt3828 { - for ; yyj3828 < yyl3828; yyj3828++ { - yyv3828 = append(yyv3828, pkg6_runtime.RawExtension{}) - yyh3828.ElemContainerState(yyj3828) + if yyrt3888 { + for ; yyj3888 < yyl3888; yyj3888++ { + yyv3888 = append(yyv3888, pkg6_runtime.RawExtension{}) + yyh3888.ElemContainerState(yyj3888) if r.TryDecodeAsNil() { - yyv3828[yyj3828] = pkg6_runtime.RawExtension{} + yyv3888[yyj3888] = pkg6_runtime.RawExtension{} } else { - yyv3831 := &yyv3828[yyj3828] - yym3832 := z.DecBinary() - _ = yym3832 + yyv3891 := &yyv3888[yyj3888] + yym3892 := z.DecBinary() + _ = yym3892 if false { - } else if z.HasExtensions() && z.DecExt(yyv3831) { - } else if !yym3832 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3831) + } else if z.HasExtensions() && z.DecExt(yyv3891) { + } else if !yym3892 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3891) } else { - z.DecFallback(yyv3831, false) + z.DecFallback(yyv3891, false) } } @@ -48864,27 +49542,27 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExten } } else { - yyj3828 := 0 - for ; !r.CheckBreak(); yyj3828++ { + yyj3888 := 0 + for ; !r.CheckBreak(); yyj3888++ { - if yyj3828 >= len(yyv3828) { - yyv3828 = append(yyv3828, pkg6_runtime.RawExtension{}) // var yyz3828 pkg6_runtime.RawExtension - yyc3828 = true + if yyj3888 >= len(yyv3888) { + yyv3888 = append(yyv3888, pkg6_runtime.RawExtension{}) // var yyz3888 pkg6_runtime.RawExtension + yyc3888 = true } - yyh3828.ElemContainerState(yyj3828) - if yyj3828 < len(yyv3828) { + yyh3888.ElemContainerState(yyj3888) + if yyj3888 < len(yyv3888) { if r.TryDecodeAsNil() { - yyv3828[yyj3828] = pkg6_runtime.RawExtension{} + yyv3888[yyj3888] = pkg6_runtime.RawExtension{} } else { - yyv3833 := &yyv3828[yyj3828] - yym3834 := z.DecBinary() - _ = yym3834 + yyv3893 := &yyv3888[yyj3888] + yym3894 := z.DecBinary() + _ = yym3894 if false { - } else if z.HasExtensions() && z.DecExt(yyv3833) { - } else if !yym3834 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3833) + } else if z.HasExtensions() && z.DecExt(yyv3893) { + } else if !yym3894 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3893) } else { - z.DecFallback(yyv3833, false) + z.DecFallback(yyv3893, false) } } @@ -48893,17 +49571,17 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExten } } - if yyj3828 < len(yyv3828) { - yyv3828 = yyv3828[:yyj3828] - yyc3828 = true - } else if yyj3828 == 0 && yyv3828 == nil { - yyv3828 = []pkg6_runtime.RawExtension{} - yyc3828 = true + if yyj3888 < len(yyv3888) { + yyv3888 = yyv3888[:yyj3888] + yyc3888 = true + } else if yyj3888 == 0 && yyv3888 == nil { + yyv3888 = []pkg6_runtime.RawExtension{} + yyc3888 = true } } - yyh3828.End() - if yyc3828 { - *v = yyv3828 + yyh3888.End() + if yyc3888 { + *v = yyv3888 } } @@ -48912,10 +49590,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3835 := range v { + for _, yyv3895 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3836 := &yyv3835 - yy3836.CodecEncodeSelf(e) + yy3896 := &yyv3895 + yy3896.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48925,83 +49603,83 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3837 := *v - yyh3837, yyl3837 := z.DecSliceHelperStart() - var yyc3837 bool - if yyl3837 == 0 { - if yyv3837 == nil { - yyv3837 = []LimitRangeItem{} - yyc3837 = true - } else if len(yyv3837) != 0 { - yyv3837 = yyv3837[:0] - yyc3837 = true + yyv3897 := *v + yyh3897, yyl3897 := z.DecSliceHelperStart() + var yyc3897 bool + if yyl3897 == 0 { + if yyv3897 == nil { + yyv3897 = []LimitRangeItem{} + yyc3897 = true + } else if len(yyv3897) != 0 { + yyv3897 = yyv3897[:0] + yyc3897 = true } - } else if yyl3837 > 0 { - var yyrr3837, yyrl3837 int - var yyrt3837 bool - if yyl3837 > cap(yyv3837) { + } else if yyl3897 > 0 { + var yyrr3897, yyrl3897 int + var yyrt3897 bool + if yyl3897 > cap(yyv3897) { - yyrg3837 := len(yyv3837) > 0 - yyv23837 := yyv3837 - yyrl3837, yyrt3837 = z.DecInferLen(yyl3837, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3837 { - if yyrl3837 <= cap(yyv3837) { - yyv3837 = yyv3837[:yyrl3837] + yyrg3897 := len(yyv3897) > 0 + yyv23897 := yyv3897 + yyrl3897, yyrt3897 = z.DecInferLen(yyl3897, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3897 { + if yyrl3897 <= cap(yyv3897) { + yyv3897 = yyv3897[:yyrl3897] } else { - yyv3837 = make([]LimitRangeItem, yyrl3837) + yyv3897 = make([]LimitRangeItem, yyrl3897) } } else { - yyv3837 = make([]LimitRangeItem, yyrl3837) + yyv3897 = make([]LimitRangeItem, yyrl3897) } - yyc3837 = true - yyrr3837 = len(yyv3837) - if yyrg3837 { - copy(yyv3837, yyv23837) + yyc3897 = true + yyrr3897 = len(yyv3897) + if yyrg3897 { + copy(yyv3897, yyv23897) } - } else if yyl3837 != len(yyv3837) { - yyv3837 = yyv3837[:yyl3837] - yyc3837 = true + } else if yyl3897 != len(yyv3897) { + yyv3897 = yyv3897[:yyl3897] + yyc3897 = true } - yyj3837 := 0 - for ; yyj3837 < yyrr3837; yyj3837++ { - yyh3837.ElemContainerState(yyj3837) + yyj3897 := 0 + for ; yyj3897 < yyrr3897; yyj3897++ { + yyh3897.ElemContainerState(yyj3897) if r.TryDecodeAsNil() { - yyv3837[yyj3837] = LimitRangeItem{} + yyv3897[yyj3897] = LimitRangeItem{} } else { - yyv3838 := &yyv3837[yyj3837] - yyv3838.CodecDecodeSelf(d) + yyv3898 := &yyv3897[yyj3897] + yyv3898.CodecDecodeSelf(d) } } - if yyrt3837 { - for ; yyj3837 < yyl3837; yyj3837++ { - yyv3837 = append(yyv3837, LimitRangeItem{}) - yyh3837.ElemContainerState(yyj3837) + if yyrt3897 { + for ; yyj3897 < yyl3897; yyj3897++ { + yyv3897 = append(yyv3897, LimitRangeItem{}) + yyh3897.ElemContainerState(yyj3897) if r.TryDecodeAsNil() { - yyv3837[yyj3837] = LimitRangeItem{} + yyv3897[yyj3897] = LimitRangeItem{} } else { - yyv3839 := &yyv3837[yyj3837] - yyv3839.CodecDecodeSelf(d) + yyv3899 := &yyv3897[yyj3897] + yyv3899.CodecDecodeSelf(d) } } } } else { - yyj3837 := 0 - for ; !r.CheckBreak(); yyj3837++ { + yyj3897 := 0 + for ; !r.CheckBreak(); yyj3897++ { - if yyj3837 >= len(yyv3837) { - yyv3837 = append(yyv3837, LimitRangeItem{}) // var yyz3837 LimitRangeItem - yyc3837 = true + if yyj3897 >= len(yyv3897) { + yyv3897 = append(yyv3897, LimitRangeItem{}) // var yyz3897 LimitRangeItem + yyc3897 = true } - yyh3837.ElemContainerState(yyj3837) - if yyj3837 < len(yyv3837) { + yyh3897.ElemContainerState(yyj3897) + if yyj3897 < len(yyv3897) { if r.TryDecodeAsNil() { - yyv3837[yyj3837] = LimitRangeItem{} + yyv3897[yyj3897] = LimitRangeItem{} } else { - yyv3840 := &yyv3837[yyj3837] - yyv3840.CodecDecodeSelf(d) + yyv3900 := &yyv3897[yyj3897] + yyv3900.CodecDecodeSelf(d) } } else { @@ -49009,17 +49687,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj3837 < len(yyv3837) { - yyv3837 = yyv3837[:yyj3837] - yyc3837 = true - } else if yyj3837 == 0 && yyv3837 == nil { - yyv3837 = []LimitRangeItem{} - yyc3837 = true + if yyj3897 < len(yyv3897) { + yyv3897 = yyv3897[:yyj3897] + yyc3897 = true + } else if yyj3897 == 0 && yyv3897 == nil { + yyv3897 = []LimitRangeItem{} + yyc3897 = true } } - yyh3837.End() - if yyc3837 { - *v = yyv3837 + yyh3897.End() + if yyc3897 { + *v = yyv3897 } } @@ -49028,10 +49706,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3841 := range v { + for _, yyv3901 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3842 := &yyv3841 - yy3842.CodecEncodeSelf(e) + yy3902 := &yyv3901 + yy3902.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49041,83 +49719,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3843 := *v - yyh3843, yyl3843 := z.DecSliceHelperStart() - var yyc3843 bool - if yyl3843 == 0 { - if yyv3843 == nil { - yyv3843 = []LimitRange{} - yyc3843 = true - } else if len(yyv3843) != 0 { - yyv3843 = yyv3843[:0] - yyc3843 = true + yyv3903 := *v + yyh3903, yyl3903 := z.DecSliceHelperStart() + var yyc3903 bool + if yyl3903 == 0 { + if yyv3903 == nil { + yyv3903 = []LimitRange{} + yyc3903 = true + } else if len(yyv3903) != 0 { + yyv3903 = yyv3903[:0] + yyc3903 = true } - } else if yyl3843 > 0 { - var yyrr3843, yyrl3843 int - var yyrt3843 bool - if yyl3843 > cap(yyv3843) { + } else if yyl3903 > 0 { + var yyrr3903, yyrl3903 int + var yyrt3903 bool + if yyl3903 > cap(yyv3903) { - yyrg3843 := len(yyv3843) > 0 - yyv23843 := yyv3843 - yyrl3843, yyrt3843 = z.DecInferLen(yyl3843, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3843 { - if yyrl3843 <= cap(yyv3843) { - yyv3843 = yyv3843[:yyrl3843] + yyrg3903 := len(yyv3903) > 0 + yyv23903 := yyv3903 + yyrl3903, yyrt3903 = z.DecInferLen(yyl3903, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3903 { + if yyrl3903 <= cap(yyv3903) { + yyv3903 = yyv3903[:yyrl3903] } else { - yyv3843 = make([]LimitRange, yyrl3843) + yyv3903 = make([]LimitRange, yyrl3903) } } else { - yyv3843 = make([]LimitRange, yyrl3843) + yyv3903 = make([]LimitRange, yyrl3903) } - yyc3843 = true - yyrr3843 = len(yyv3843) - if yyrg3843 { - copy(yyv3843, yyv23843) + yyc3903 = true + yyrr3903 = len(yyv3903) + if yyrg3903 { + copy(yyv3903, yyv23903) } - } else if yyl3843 != len(yyv3843) { - yyv3843 = yyv3843[:yyl3843] - yyc3843 = true + } else if yyl3903 != len(yyv3903) { + yyv3903 = yyv3903[:yyl3903] + yyc3903 = true } - yyj3843 := 0 - for ; yyj3843 < yyrr3843; yyj3843++ { - yyh3843.ElemContainerState(yyj3843) + yyj3903 := 0 + for ; yyj3903 < yyrr3903; yyj3903++ { + yyh3903.ElemContainerState(yyj3903) if r.TryDecodeAsNil() { - yyv3843[yyj3843] = LimitRange{} + yyv3903[yyj3903] = LimitRange{} } else { - yyv3844 := &yyv3843[yyj3843] - yyv3844.CodecDecodeSelf(d) + yyv3904 := &yyv3903[yyj3903] + yyv3904.CodecDecodeSelf(d) } } - if yyrt3843 { - for ; yyj3843 < yyl3843; yyj3843++ { - yyv3843 = append(yyv3843, LimitRange{}) - yyh3843.ElemContainerState(yyj3843) + if yyrt3903 { + for ; yyj3903 < yyl3903; yyj3903++ { + yyv3903 = append(yyv3903, LimitRange{}) + yyh3903.ElemContainerState(yyj3903) if r.TryDecodeAsNil() { - yyv3843[yyj3843] = LimitRange{} + yyv3903[yyj3903] = LimitRange{} } else { - yyv3845 := &yyv3843[yyj3843] - yyv3845.CodecDecodeSelf(d) + yyv3905 := &yyv3903[yyj3903] + yyv3905.CodecDecodeSelf(d) } } } } else { - yyj3843 := 0 - for ; !r.CheckBreak(); yyj3843++ { + yyj3903 := 0 + for ; !r.CheckBreak(); yyj3903++ { - if yyj3843 >= len(yyv3843) { - yyv3843 = append(yyv3843, LimitRange{}) // var yyz3843 LimitRange - yyc3843 = true + if yyj3903 >= len(yyv3903) { + yyv3903 = append(yyv3903, LimitRange{}) // var yyz3903 LimitRange + yyc3903 = true } - yyh3843.ElemContainerState(yyj3843) - if yyj3843 < len(yyv3843) { + yyh3903.ElemContainerState(yyj3903) + if yyj3903 < len(yyv3903) { if r.TryDecodeAsNil() { - yyv3843[yyj3843] = LimitRange{} + yyv3903[yyj3903] = LimitRange{} } else { - yyv3846 := &yyv3843[yyj3843] - yyv3846.CodecDecodeSelf(d) + yyv3906 := &yyv3903[yyj3903] + yyv3906.CodecDecodeSelf(d) } } else { @@ -49125,17 +49803,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj3843 < len(yyv3843) { - yyv3843 = yyv3843[:yyj3843] - yyc3843 = true - } else if yyj3843 == 0 && yyv3843 == nil { - yyv3843 = []LimitRange{} - yyc3843 = true + if yyj3903 < len(yyv3903) { + yyv3903 = yyv3903[:yyj3903] + yyc3903 = true + } else if yyj3903 == 0 && yyv3903 == nil { + yyv3903 = []LimitRange{} + yyc3903 = true } } - yyh3843.End() - if yyc3843 { - *v = yyv3843 + yyh3903.End() + if yyc3903 { + *v = yyv3903 } } @@ -49144,10 +49822,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3847 := range v { + for _, yyv3907 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3848 := &yyv3847 - yy3848.CodecEncodeSelf(e) + yy3908 := &yyv3907 + yy3908.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49157,83 +49835,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3849 := *v - yyh3849, yyl3849 := z.DecSliceHelperStart() - var yyc3849 bool - if yyl3849 == 0 { - if yyv3849 == nil { - yyv3849 = []ResourceQuota{} - yyc3849 = true - } else if len(yyv3849) != 0 { - yyv3849 = yyv3849[:0] - yyc3849 = true + yyv3909 := *v + yyh3909, yyl3909 := z.DecSliceHelperStart() + var yyc3909 bool + if yyl3909 == 0 { + if yyv3909 == nil { + yyv3909 = []ResourceQuota{} + yyc3909 = true + } else if len(yyv3909) != 0 { + yyv3909 = yyv3909[:0] + yyc3909 = true } - } else if yyl3849 > 0 { - var yyrr3849, yyrl3849 int - var yyrt3849 bool - if yyl3849 > cap(yyv3849) { + } else if yyl3909 > 0 { + var yyrr3909, yyrl3909 int + var yyrt3909 bool + if yyl3909 > cap(yyv3909) { - yyrg3849 := len(yyv3849) > 0 - yyv23849 := yyv3849 - yyrl3849, yyrt3849 = z.DecInferLen(yyl3849, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3849 { - if yyrl3849 <= cap(yyv3849) { - yyv3849 = yyv3849[:yyrl3849] + yyrg3909 := len(yyv3909) > 0 + yyv23909 := yyv3909 + yyrl3909, yyrt3909 = z.DecInferLen(yyl3909, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3909 { + if yyrl3909 <= cap(yyv3909) { + yyv3909 = yyv3909[:yyrl3909] } else { - yyv3849 = make([]ResourceQuota, yyrl3849) + yyv3909 = make([]ResourceQuota, yyrl3909) } } else { - yyv3849 = make([]ResourceQuota, yyrl3849) + yyv3909 = make([]ResourceQuota, yyrl3909) } - yyc3849 = true - yyrr3849 = len(yyv3849) - if yyrg3849 { - copy(yyv3849, yyv23849) + yyc3909 = true + yyrr3909 = len(yyv3909) + if yyrg3909 { + copy(yyv3909, yyv23909) } - } else if yyl3849 != len(yyv3849) { - yyv3849 = yyv3849[:yyl3849] - yyc3849 = true + } else if yyl3909 != len(yyv3909) { + yyv3909 = yyv3909[:yyl3909] + yyc3909 = true } - yyj3849 := 0 - for ; yyj3849 < yyrr3849; yyj3849++ { - yyh3849.ElemContainerState(yyj3849) + yyj3909 := 0 + for ; yyj3909 < yyrr3909; yyj3909++ { + yyh3909.ElemContainerState(yyj3909) if r.TryDecodeAsNil() { - yyv3849[yyj3849] = ResourceQuota{} + yyv3909[yyj3909] = ResourceQuota{} } else { - yyv3850 := &yyv3849[yyj3849] - yyv3850.CodecDecodeSelf(d) + yyv3910 := &yyv3909[yyj3909] + yyv3910.CodecDecodeSelf(d) } } - if yyrt3849 { - for ; yyj3849 < yyl3849; yyj3849++ { - yyv3849 = append(yyv3849, ResourceQuota{}) - yyh3849.ElemContainerState(yyj3849) + if yyrt3909 { + for ; yyj3909 < yyl3909; yyj3909++ { + yyv3909 = append(yyv3909, ResourceQuota{}) + yyh3909.ElemContainerState(yyj3909) if r.TryDecodeAsNil() { - yyv3849[yyj3849] = ResourceQuota{} + yyv3909[yyj3909] = ResourceQuota{} } else { - yyv3851 := &yyv3849[yyj3849] - yyv3851.CodecDecodeSelf(d) + yyv3911 := &yyv3909[yyj3909] + yyv3911.CodecDecodeSelf(d) } } } } else { - yyj3849 := 0 - for ; !r.CheckBreak(); yyj3849++ { + yyj3909 := 0 + for ; !r.CheckBreak(); yyj3909++ { - if yyj3849 >= len(yyv3849) { - yyv3849 = append(yyv3849, ResourceQuota{}) // var yyz3849 ResourceQuota - yyc3849 = true + if yyj3909 >= len(yyv3909) { + yyv3909 = append(yyv3909, ResourceQuota{}) // var yyz3909 ResourceQuota + yyc3909 = true } - yyh3849.ElemContainerState(yyj3849) - if yyj3849 < len(yyv3849) { + yyh3909.ElemContainerState(yyj3909) + if yyj3909 < len(yyv3909) { if r.TryDecodeAsNil() { - yyv3849[yyj3849] = ResourceQuota{} + yyv3909[yyj3909] = ResourceQuota{} } else { - yyv3852 := &yyv3849[yyj3849] - yyv3852.CodecDecodeSelf(d) + yyv3912 := &yyv3909[yyj3909] + yyv3912.CodecDecodeSelf(d) } } else { @@ -49241,17 +49919,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj3849 < len(yyv3849) { - yyv3849 = yyv3849[:yyj3849] - yyc3849 = true - } else if yyj3849 == 0 && yyv3849 == nil { - yyv3849 = []ResourceQuota{} - yyc3849 = true + if yyj3909 < len(yyv3909) { + yyv3909 = yyv3909[:yyj3909] + yyc3909 = true + } else if yyj3909 == 0 && yyv3909 == nil { + yyv3909 = []ResourceQuota{} + yyc3909 = true } } - yyh3849.End() - if yyc3849 { - *v = yyv3849 + yyh3909.End() + if yyc3909 { + *v = yyv3909 } } @@ -49260,23 +49938,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3853, yyv3853 := range v { + for yyk3913, yyv3913 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym3854 := z.EncBinary() - _ = yym3854 + yym3914 := z.EncBinary() + _ = yym3914 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk3853)) + r.EncodeString(codecSelferC_UTF81234, string(yyk3913)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv3853 == nil { + if yyv3913 == nil { r.EncodeNil() } else { - yym3855 := z.EncBinary() - _ = yym3855 + yym3915 := z.EncBinary() + _ = yym3915 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3853)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3913)) } } } @@ -49288,80 +49966,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3856 := *v - yyl3856 := r.ReadMapStart() - yybh3856 := z.DecBasicHandle() - if yyv3856 == nil { - yyrl3856, _ := z.DecInferLen(yyl3856, yybh3856.MaxInitLen, 40) - yyv3856 = make(map[string][]uint8, yyrl3856) - *v = yyv3856 + yyv3916 := *v + yyl3916 := r.ReadMapStart() + yybh3916 := z.DecBasicHandle() + if yyv3916 == nil { + yyrl3916, _ := z.DecInferLen(yyl3916, yybh3916.MaxInitLen, 40) + yyv3916 = make(map[string][]uint8, yyrl3916) + *v = yyv3916 } - var yymk3856 string - var yymv3856 []uint8 - var yymg3856 bool - if yybh3856.MapValueReset { - yymg3856 = true + var yymk3916 string + var yymv3916 []uint8 + var yymg3916 bool + if yybh3916.MapValueReset { + yymg3916 = true } - if yyl3856 > 0 { - for yyj3856 := 0; yyj3856 < yyl3856; yyj3856++ { + if yyl3916 > 0 { + for yyj3916 := 0; yyj3916 < yyl3916; yyj3916++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3856 = "" + yymk3916 = "" } else { - yymk3856 = string(r.DecodeString()) + yymk3916 = string(r.DecodeString()) } - if yymg3856 { - yymv3856 = yyv3856[yymk3856] + if yymg3916 { + yymv3916 = yyv3916[yymk3916] } else { - yymv3856 = nil + yymv3916 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3856 = nil + yymv3916 = nil } else { - yyv3858 := &yymv3856 - yym3859 := z.DecBinary() - _ = yym3859 + yyv3918 := &yymv3916 + yym3919 := z.DecBinary() + _ = yym3919 if false { } else { - *yyv3858 = r.DecodeBytes(*(*[]byte)(yyv3858), false, false) + *yyv3918 = r.DecodeBytes(*(*[]byte)(yyv3918), false, false) } } - if yyv3856 != nil { - yyv3856[yymk3856] = yymv3856 + if yyv3916 != nil { + yyv3916[yymk3916] = yymv3916 } } - } else if yyl3856 < 0 { - for yyj3856 := 0; !r.CheckBreak(); yyj3856++ { + } else if yyl3916 < 0 { + for yyj3916 := 0; !r.CheckBreak(); yyj3916++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3856 = "" + yymk3916 = "" } else { - yymk3856 = string(r.DecodeString()) + yymk3916 = string(r.DecodeString()) } - if yymg3856 { - yymv3856 = yyv3856[yymk3856] + if yymg3916 { + yymv3916 = yyv3916[yymk3916] } else { - yymv3856 = nil + yymv3916 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3856 = nil + yymv3916 = nil } else { - yyv3861 := &yymv3856 - yym3862 := z.DecBinary() - _ = yym3862 + yyv3921 := &yymv3916 + yym3922 := z.DecBinary() + _ = yym3922 if false { } else { - *yyv3861 = r.DecodeBytes(*(*[]byte)(yyv3861), false, false) + *yyv3921 = r.DecodeBytes(*(*[]byte)(yyv3921), false, false) } } - if yyv3856 != nil { - yyv3856[yymk3856] = yymv3856 + if yyv3916 != nil { + yyv3916[yymk3916] = yymv3916 } } } // else len==0: TODO: Should we clear map entries? @@ -49373,10 +50051,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3863 := range v { + for _, yyv3923 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3864 := &yyv3863 - yy3864.CodecEncodeSelf(e) + yy3924 := &yyv3923 + yy3924.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49386,83 +50064,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3865 := *v - yyh3865, yyl3865 := z.DecSliceHelperStart() - var yyc3865 bool - if yyl3865 == 0 { - if yyv3865 == nil { - yyv3865 = []Secret{} - yyc3865 = true - } else if len(yyv3865) != 0 { - yyv3865 = yyv3865[:0] - yyc3865 = true + yyv3925 := *v + yyh3925, yyl3925 := z.DecSliceHelperStart() + var yyc3925 bool + if yyl3925 == 0 { + if yyv3925 == nil { + yyv3925 = []Secret{} + yyc3925 = true + } else if len(yyv3925) != 0 { + yyv3925 = yyv3925[:0] + yyc3925 = true } - } else if yyl3865 > 0 { - var yyrr3865, yyrl3865 int - var yyrt3865 bool - if yyl3865 > cap(yyv3865) { + } else if yyl3925 > 0 { + var yyrr3925, yyrl3925 int + var yyrt3925 bool + if yyl3925 > cap(yyv3925) { - yyrg3865 := len(yyv3865) > 0 - yyv23865 := yyv3865 - yyrl3865, yyrt3865 = z.DecInferLen(yyl3865, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3865 { - if yyrl3865 <= cap(yyv3865) { - yyv3865 = yyv3865[:yyrl3865] + yyrg3925 := len(yyv3925) > 0 + yyv23925 := yyv3925 + yyrl3925, yyrt3925 = z.DecInferLen(yyl3925, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3925 { + if yyrl3925 <= cap(yyv3925) { + yyv3925 = yyv3925[:yyrl3925] } else { - yyv3865 = make([]Secret, yyrl3865) + yyv3925 = make([]Secret, yyrl3925) } } else { - yyv3865 = make([]Secret, yyrl3865) + yyv3925 = make([]Secret, yyrl3925) } - yyc3865 = true - yyrr3865 = len(yyv3865) - if yyrg3865 { - copy(yyv3865, yyv23865) + yyc3925 = true + yyrr3925 = len(yyv3925) + if yyrg3925 { + copy(yyv3925, yyv23925) } - } else if yyl3865 != len(yyv3865) { - yyv3865 = yyv3865[:yyl3865] - yyc3865 = true + } else if yyl3925 != len(yyv3925) { + yyv3925 = yyv3925[:yyl3925] + yyc3925 = true } - yyj3865 := 0 - for ; yyj3865 < yyrr3865; yyj3865++ { - yyh3865.ElemContainerState(yyj3865) + yyj3925 := 0 + for ; yyj3925 < yyrr3925; yyj3925++ { + yyh3925.ElemContainerState(yyj3925) if r.TryDecodeAsNil() { - yyv3865[yyj3865] = Secret{} + yyv3925[yyj3925] = Secret{} } else { - yyv3866 := &yyv3865[yyj3865] - yyv3866.CodecDecodeSelf(d) + yyv3926 := &yyv3925[yyj3925] + yyv3926.CodecDecodeSelf(d) } } - if yyrt3865 { - for ; yyj3865 < yyl3865; yyj3865++ { - yyv3865 = append(yyv3865, Secret{}) - yyh3865.ElemContainerState(yyj3865) + if yyrt3925 { + for ; yyj3925 < yyl3925; yyj3925++ { + yyv3925 = append(yyv3925, Secret{}) + yyh3925.ElemContainerState(yyj3925) if r.TryDecodeAsNil() { - yyv3865[yyj3865] = Secret{} + yyv3925[yyj3925] = Secret{} } else { - yyv3867 := &yyv3865[yyj3865] - yyv3867.CodecDecodeSelf(d) + yyv3927 := &yyv3925[yyj3925] + yyv3927.CodecDecodeSelf(d) } } } } else { - yyj3865 := 0 - for ; !r.CheckBreak(); yyj3865++ { + yyj3925 := 0 + for ; !r.CheckBreak(); yyj3925++ { - if yyj3865 >= len(yyv3865) { - yyv3865 = append(yyv3865, Secret{}) // var yyz3865 Secret - yyc3865 = true + if yyj3925 >= len(yyv3925) { + yyv3925 = append(yyv3925, Secret{}) // var yyz3925 Secret + yyc3925 = true } - yyh3865.ElemContainerState(yyj3865) - if yyj3865 < len(yyv3865) { + yyh3925.ElemContainerState(yyj3925) + if yyj3925 < len(yyv3925) { if r.TryDecodeAsNil() { - yyv3865[yyj3865] = Secret{} + yyv3925[yyj3925] = Secret{} } else { - yyv3868 := &yyv3865[yyj3865] - yyv3868.CodecDecodeSelf(d) + yyv3928 := &yyv3925[yyj3925] + yyv3928.CodecDecodeSelf(d) } } else { @@ -49470,17 +50148,133 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj3865 < len(yyv3865) { - yyv3865 = yyv3865[:yyj3865] - yyc3865 = true - } else if yyj3865 == 0 && yyv3865 == nil { - yyv3865 = []Secret{} - yyc3865 = true + if yyj3925 < len(yyv3925) { + yyv3925 = yyv3925[:yyj3925] + yyc3925 = true + } else if yyj3925 == 0 && yyv3925 == nil { + yyv3925 = []Secret{} + yyc3925 = true } } - yyh3865.End() - if yyc3865 { - *v = yyv3865 + yyh3925.End() + if yyc3925 { + *v = yyv3925 + } +} + +func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3929 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3930 := &yyv3929 + yy3930.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3931 := *v + yyh3931, yyl3931 := z.DecSliceHelperStart() + var yyc3931 bool + if yyl3931 == 0 { + if yyv3931 == nil { + yyv3931 = []ConfigMap{} + yyc3931 = true + } else if len(yyv3931) != 0 { + yyv3931 = yyv3931[:0] + yyc3931 = true + } + } else if yyl3931 > 0 { + var yyrr3931, yyrl3931 int + var yyrt3931 bool + if yyl3931 > cap(yyv3931) { + + yyrg3931 := len(yyv3931) > 0 + yyv23931 := yyv3931 + yyrl3931, yyrt3931 = z.DecInferLen(yyl3931, z.DecBasicHandle().MaxInitLen, 200) + if yyrt3931 { + if yyrl3931 <= cap(yyv3931) { + yyv3931 = yyv3931[:yyrl3931] + } else { + yyv3931 = make([]ConfigMap, yyrl3931) + } + } else { + yyv3931 = make([]ConfigMap, yyrl3931) + } + yyc3931 = true + yyrr3931 = len(yyv3931) + if yyrg3931 { + copy(yyv3931, yyv23931) + } + } else if yyl3931 != len(yyv3931) { + yyv3931 = yyv3931[:yyl3931] + yyc3931 = true + } + yyj3931 := 0 + for ; yyj3931 < yyrr3931; yyj3931++ { + yyh3931.ElemContainerState(yyj3931) + if r.TryDecodeAsNil() { + yyv3931[yyj3931] = ConfigMap{} + } else { + yyv3932 := &yyv3931[yyj3931] + yyv3932.CodecDecodeSelf(d) + } + + } + if yyrt3931 { + for ; yyj3931 < yyl3931; yyj3931++ { + yyv3931 = append(yyv3931, ConfigMap{}) + yyh3931.ElemContainerState(yyj3931) + if r.TryDecodeAsNil() { + yyv3931[yyj3931] = ConfigMap{} + } else { + yyv3933 := &yyv3931[yyj3931] + yyv3933.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3931 := 0 + for ; !r.CheckBreak(); yyj3931++ { + + if yyj3931 >= len(yyv3931) { + yyv3931 = append(yyv3931, ConfigMap{}) // var yyz3931 ConfigMap + yyc3931 = true + } + yyh3931.ElemContainerState(yyj3931) + if yyj3931 < len(yyv3931) { + if r.TryDecodeAsNil() { + yyv3931[yyj3931] = ConfigMap{} + } else { + yyv3934 := &yyv3931[yyj3931] + yyv3934.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3931 < len(yyv3931) { + yyv3931 = yyv3931[:yyj3931] + yyc3931 = true + } else if yyj3931 == 0 && yyv3931 == nil { + yyv3931 = []ConfigMap{} + yyc3931 = true + } + } + yyh3931.End() + if yyc3931 { + *v = yyv3931 } } @@ -49489,10 +50283,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3869 := range v { + for _, yyv3935 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3870 := &yyv3869 - yy3870.CodecEncodeSelf(e) + yy3936 := &yyv3935 + yy3936.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49502,83 +50296,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3871 := *v - yyh3871, yyl3871 := z.DecSliceHelperStart() - var yyc3871 bool - if yyl3871 == 0 { - if yyv3871 == nil { - yyv3871 = []ComponentCondition{} - yyc3871 = true - } else if len(yyv3871) != 0 { - yyv3871 = yyv3871[:0] - yyc3871 = true + yyv3937 := *v + yyh3937, yyl3937 := z.DecSliceHelperStart() + var yyc3937 bool + if yyl3937 == 0 { + if yyv3937 == nil { + yyv3937 = []ComponentCondition{} + yyc3937 = true + } else if len(yyv3937) != 0 { + yyv3937 = yyv3937[:0] + yyc3937 = true } - } else if yyl3871 > 0 { - var yyrr3871, yyrl3871 int - var yyrt3871 bool - if yyl3871 > cap(yyv3871) { + } else if yyl3937 > 0 { + var yyrr3937, yyrl3937 int + var yyrt3937 bool + if yyl3937 > cap(yyv3937) { - yyrg3871 := len(yyv3871) > 0 - yyv23871 := yyv3871 - yyrl3871, yyrt3871 = z.DecInferLen(yyl3871, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3871 { - if yyrl3871 <= cap(yyv3871) { - yyv3871 = yyv3871[:yyrl3871] + yyrg3937 := len(yyv3937) > 0 + yyv23937 := yyv3937 + yyrl3937, yyrt3937 = z.DecInferLen(yyl3937, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3937 { + if yyrl3937 <= cap(yyv3937) { + yyv3937 = yyv3937[:yyrl3937] } else { - yyv3871 = make([]ComponentCondition, yyrl3871) + yyv3937 = make([]ComponentCondition, yyrl3937) } } else { - yyv3871 = make([]ComponentCondition, yyrl3871) + yyv3937 = make([]ComponentCondition, yyrl3937) } - yyc3871 = true - yyrr3871 = len(yyv3871) - if yyrg3871 { - copy(yyv3871, yyv23871) + yyc3937 = true + yyrr3937 = len(yyv3937) + if yyrg3937 { + copy(yyv3937, yyv23937) } - } else if yyl3871 != len(yyv3871) { - yyv3871 = yyv3871[:yyl3871] - yyc3871 = true + } else if yyl3937 != len(yyv3937) { + yyv3937 = yyv3937[:yyl3937] + yyc3937 = true } - yyj3871 := 0 - for ; yyj3871 < yyrr3871; yyj3871++ { - yyh3871.ElemContainerState(yyj3871) + yyj3937 := 0 + for ; yyj3937 < yyrr3937; yyj3937++ { + yyh3937.ElemContainerState(yyj3937) if r.TryDecodeAsNil() { - yyv3871[yyj3871] = ComponentCondition{} + yyv3937[yyj3937] = ComponentCondition{} } else { - yyv3872 := &yyv3871[yyj3871] - yyv3872.CodecDecodeSelf(d) + yyv3938 := &yyv3937[yyj3937] + yyv3938.CodecDecodeSelf(d) } } - if yyrt3871 { - for ; yyj3871 < yyl3871; yyj3871++ { - yyv3871 = append(yyv3871, ComponentCondition{}) - yyh3871.ElemContainerState(yyj3871) + if yyrt3937 { + for ; yyj3937 < yyl3937; yyj3937++ { + yyv3937 = append(yyv3937, ComponentCondition{}) + yyh3937.ElemContainerState(yyj3937) if r.TryDecodeAsNil() { - yyv3871[yyj3871] = ComponentCondition{} + yyv3937[yyj3937] = ComponentCondition{} } else { - yyv3873 := &yyv3871[yyj3871] - yyv3873.CodecDecodeSelf(d) + yyv3939 := &yyv3937[yyj3937] + yyv3939.CodecDecodeSelf(d) } } } } else { - yyj3871 := 0 - for ; !r.CheckBreak(); yyj3871++ { + yyj3937 := 0 + for ; !r.CheckBreak(); yyj3937++ { - if yyj3871 >= len(yyv3871) { - yyv3871 = append(yyv3871, ComponentCondition{}) // var yyz3871 ComponentCondition - yyc3871 = true + if yyj3937 >= len(yyv3937) { + yyv3937 = append(yyv3937, ComponentCondition{}) // var yyz3937 ComponentCondition + yyc3937 = true } - yyh3871.ElemContainerState(yyj3871) - if yyj3871 < len(yyv3871) { + yyh3937.ElemContainerState(yyj3937) + if yyj3937 < len(yyv3937) { if r.TryDecodeAsNil() { - yyv3871[yyj3871] = ComponentCondition{} + yyv3937[yyj3937] = ComponentCondition{} } else { - yyv3874 := &yyv3871[yyj3871] - yyv3874.CodecDecodeSelf(d) + yyv3940 := &yyv3937[yyj3937] + yyv3940.CodecDecodeSelf(d) } } else { @@ -49586,17 +50380,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj3871 < len(yyv3871) { - yyv3871 = yyv3871[:yyj3871] - yyc3871 = true - } else if yyj3871 == 0 && yyv3871 == nil { - yyv3871 = []ComponentCondition{} - yyc3871 = true + if yyj3937 < len(yyv3937) { + yyv3937 = yyv3937[:yyj3937] + yyc3937 = true + } else if yyj3937 == 0 && yyv3937 == nil { + yyv3937 = []ComponentCondition{} + yyc3937 = true } } - yyh3871.End() - if yyc3871 { - *v = yyv3871 + yyh3937.End() + if yyc3937 { + *v = yyv3937 } } @@ -49605,10 +50399,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3875 := range v { + for _, yyv3941 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3876 := &yyv3875 - yy3876.CodecEncodeSelf(e) + yy3942 := &yyv3941 + yy3942.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49618,83 +50412,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3877 := *v - yyh3877, yyl3877 := z.DecSliceHelperStart() - var yyc3877 bool - if yyl3877 == 0 { - if yyv3877 == nil { - yyv3877 = []ComponentStatus{} - yyc3877 = true - } else if len(yyv3877) != 0 { - yyv3877 = yyv3877[:0] - yyc3877 = true + yyv3943 := *v + yyh3943, yyl3943 := z.DecSliceHelperStart() + var yyc3943 bool + if yyl3943 == 0 { + if yyv3943 == nil { + yyv3943 = []ComponentStatus{} + yyc3943 = true + } else if len(yyv3943) != 0 { + yyv3943 = yyv3943[:0] + yyc3943 = true } - } else if yyl3877 > 0 { - var yyrr3877, yyrl3877 int - var yyrt3877 bool - if yyl3877 > cap(yyv3877) { + } else if yyl3943 > 0 { + var yyrr3943, yyrl3943 int + var yyrt3943 bool + if yyl3943 > cap(yyv3943) { - yyrg3877 := len(yyv3877) > 0 - yyv23877 := yyv3877 - yyrl3877, yyrt3877 = z.DecInferLen(yyl3877, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3877 { - if yyrl3877 <= cap(yyv3877) { - yyv3877 = yyv3877[:yyrl3877] + yyrg3943 := len(yyv3943) > 0 + yyv23943 := yyv3943 + yyrl3943, yyrt3943 = z.DecInferLen(yyl3943, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3943 { + if yyrl3943 <= cap(yyv3943) { + yyv3943 = yyv3943[:yyrl3943] } else { - yyv3877 = make([]ComponentStatus, yyrl3877) + yyv3943 = make([]ComponentStatus, yyrl3943) } } else { - yyv3877 = make([]ComponentStatus, yyrl3877) + yyv3943 = make([]ComponentStatus, yyrl3943) } - yyc3877 = true - yyrr3877 = len(yyv3877) - if yyrg3877 { - copy(yyv3877, yyv23877) + yyc3943 = true + yyrr3943 = len(yyv3943) + if yyrg3943 { + copy(yyv3943, yyv23943) } - } else if yyl3877 != len(yyv3877) { - yyv3877 = yyv3877[:yyl3877] - yyc3877 = true + } else if yyl3943 != len(yyv3943) { + yyv3943 = yyv3943[:yyl3943] + yyc3943 = true } - yyj3877 := 0 - for ; yyj3877 < yyrr3877; yyj3877++ { - yyh3877.ElemContainerState(yyj3877) + yyj3943 := 0 + for ; yyj3943 < yyrr3943; yyj3943++ { + yyh3943.ElemContainerState(yyj3943) if r.TryDecodeAsNil() { - yyv3877[yyj3877] = ComponentStatus{} + yyv3943[yyj3943] = ComponentStatus{} } else { - yyv3878 := &yyv3877[yyj3877] - yyv3878.CodecDecodeSelf(d) + yyv3944 := &yyv3943[yyj3943] + yyv3944.CodecDecodeSelf(d) } } - if yyrt3877 { - for ; yyj3877 < yyl3877; yyj3877++ { - yyv3877 = append(yyv3877, ComponentStatus{}) - yyh3877.ElemContainerState(yyj3877) + if yyrt3943 { + for ; yyj3943 < yyl3943; yyj3943++ { + yyv3943 = append(yyv3943, ComponentStatus{}) + yyh3943.ElemContainerState(yyj3943) if r.TryDecodeAsNil() { - yyv3877[yyj3877] = ComponentStatus{} + yyv3943[yyj3943] = ComponentStatus{} } else { - yyv3879 := &yyv3877[yyj3877] - yyv3879.CodecDecodeSelf(d) + yyv3945 := &yyv3943[yyj3943] + yyv3945.CodecDecodeSelf(d) } } } } else { - yyj3877 := 0 - for ; !r.CheckBreak(); yyj3877++ { + yyj3943 := 0 + for ; !r.CheckBreak(); yyj3943++ { - if yyj3877 >= len(yyv3877) { - yyv3877 = append(yyv3877, ComponentStatus{}) // var yyz3877 ComponentStatus - yyc3877 = true + if yyj3943 >= len(yyv3943) { + yyv3943 = append(yyv3943, ComponentStatus{}) // var yyz3943 ComponentStatus + yyc3943 = true } - yyh3877.ElemContainerState(yyj3877) - if yyj3877 < len(yyv3877) { + yyh3943.ElemContainerState(yyj3943) + if yyj3943 < len(yyv3943) { if r.TryDecodeAsNil() { - yyv3877[yyj3877] = ComponentStatus{} + yyv3943[yyj3943] = ComponentStatus{} } else { - yyv3880 := &yyv3877[yyj3877] - yyv3880.CodecDecodeSelf(d) + yyv3946 := &yyv3943[yyj3943] + yyv3946.CodecDecodeSelf(d) } } else { @@ -49702,17 +50496,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj3877 < len(yyv3877) { - yyv3877 = yyv3877[:yyj3877] - yyc3877 = true - } else if yyj3877 == 0 && yyv3877 == nil { - yyv3877 = []ComponentStatus{} - yyc3877 = true + if yyj3943 < len(yyv3943) { + yyv3943 = yyv3943[:yyj3943] + yyc3943 = true + } else if yyj3943 == 0 && yyv3943 == nil { + yyv3943 = []ComponentStatus{} + yyc3943 = true } } - yyh3877.End() - if yyc3877 { - *v = yyv3877 + yyh3943.End() + if yyc3943 { + *v = yyv3943 } } @@ -49721,10 +50515,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3881 := range v { + for _, yyv3947 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3882 := &yyv3881 - yy3882.CodecEncodeSelf(e) + yy3948 := &yyv3947 + yy3948.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49734,83 +50528,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3883 := *v - yyh3883, yyl3883 := z.DecSliceHelperStart() - var yyc3883 bool - if yyl3883 == 0 { - if yyv3883 == nil { - yyv3883 = []DownwardAPIVolumeFile{} - yyc3883 = true - } else if len(yyv3883) != 0 { - yyv3883 = yyv3883[:0] - yyc3883 = true + yyv3949 := *v + yyh3949, yyl3949 := z.DecSliceHelperStart() + var yyc3949 bool + if yyl3949 == 0 { + if yyv3949 == nil { + yyv3949 = []DownwardAPIVolumeFile{} + yyc3949 = true + } else if len(yyv3949) != 0 { + yyv3949 = yyv3949[:0] + yyc3949 = true } - } else if yyl3883 > 0 { - var yyrr3883, yyrl3883 int - var yyrt3883 bool - if yyl3883 > cap(yyv3883) { + } else if yyl3949 > 0 { + var yyrr3949, yyrl3949 int + var yyrt3949 bool + if yyl3949 > cap(yyv3949) { - yyrg3883 := len(yyv3883) > 0 - yyv23883 := yyv3883 - yyrl3883, yyrt3883 = z.DecInferLen(yyl3883, z.DecBasicHandle().MaxInitLen, 48) - if yyrt3883 { - if yyrl3883 <= cap(yyv3883) { - yyv3883 = yyv3883[:yyrl3883] + yyrg3949 := len(yyv3949) > 0 + yyv23949 := yyv3949 + yyrl3949, yyrt3949 = z.DecInferLen(yyl3949, z.DecBasicHandle().MaxInitLen, 48) + if yyrt3949 { + if yyrl3949 <= cap(yyv3949) { + yyv3949 = yyv3949[:yyrl3949] } else { - yyv3883 = make([]DownwardAPIVolumeFile, yyrl3883) + yyv3949 = make([]DownwardAPIVolumeFile, yyrl3949) } } else { - yyv3883 = make([]DownwardAPIVolumeFile, yyrl3883) + yyv3949 = make([]DownwardAPIVolumeFile, yyrl3949) } - yyc3883 = true - yyrr3883 = len(yyv3883) - if yyrg3883 { - copy(yyv3883, yyv23883) + yyc3949 = true + yyrr3949 = len(yyv3949) + if yyrg3949 { + copy(yyv3949, yyv23949) } - } else if yyl3883 != len(yyv3883) { - yyv3883 = yyv3883[:yyl3883] - yyc3883 = true + } else if yyl3949 != len(yyv3949) { + yyv3949 = yyv3949[:yyl3949] + yyc3949 = true } - yyj3883 := 0 - for ; yyj3883 < yyrr3883; yyj3883++ { - yyh3883.ElemContainerState(yyj3883) + yyj3949 := 0 + for ; yyj3949 < yyrr3949; yyj3949++ { + yyh3949.ElemContainerState(yyj3949) if r.TryDecodeAsNil() { - yyv3883[yyj3883] = DownwardAPIVolumeFile{} + yyv3949[yyj3949] = DownwardAPIVolumeFile{} } else { - yyv3884 := &yyv3883[yyj3883] - yyv3884.CodecDecodeSelf(d) + yyv3950 := &yyv3949[yyj3949] + yyv3950.CodecDecodeSelf(d) } } - if yyrt3883 { - for ; yyj3883 < yyl3883; yyj3883++ { - yyv3883 = append(yyv3883, DownwardAPIVolumeFile{}) - yyh3883.ElemContainerState(yyj3883) + if yyrt3949 { + for ; yyj3949 < yyl3949; yyj3949++ { + yyv3949 = append(yyv3949, DownwardAPIVolumeFile{}) + yyh3949.ElemContainerState(yyj3949) if r.TryDecodeAsNil() { - yyv3883[yyj3883] = DownwardAPIVolumeFile{} + yyv3949[yyj3949] = DownwardAPIVolumeFile{} } else { - yyv3885 := &yyv3883[yyj3883] - yyv3885.CodecDecodeSelf(d) + yyv3951 := &yyv3949[yyj3949] + yyv3951.CodecDecodeSelf(d) } } } } else { - yyj3883 := 0 - for ; !r.CheckBreak(); yyj3883++ { + yyj3949 := 0 + for ; !r.CheckBreak(); yyj3949++ { - if yyj3883 >= len(yyv3883) { - yyv3883 = append(yyv3883, DownwardAPIVolumeFile{}) // var yyz3883 DownwardAPIVolumeFile - yyc3883 = true + if yyj3949 >= len(yyv3949) { + yyv3949 = append(yyv3949, DownwardAPIVolumeFile{}) // var yyz3949 DownwardAPIVolumeFile + yyc3949 = true } - yyh3883.ElemContainerState(yyj3883) - if yyj3883 < len(yyv3883) { + yyh3949.ElemContainerState(yyj3949) + if yyj3949 < len(yyv3949) { if r.TryDecodeAsNil() { - yyv3883[yyj3883] = DownwardAPIVolumeFile{} + yyv3949[yyj3949] = DownwardAPIVolumeFile{} } else { - yyv3886 := &yyv3883[yyj3883] - yyv3886.CodecDecodeSelf(d) + yyv3952 := &yyv3949[yyj3949] + yyv3952.CodecDecodeSelf(d) } } else { @@ -49818,16 +50612,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj3883 < len(yyv3883) { - yyv3883 = yyv3883[:yyj3883] - yyc3883 = true - } else if yyj3883 == 0 && yyv3883 == nil { - yyv3883 = []DownwardAPIVolumeFile{} - yyc3883 = true + if yyj3949 < len(yyv3949) { + yyv3949 = yyv3949[:yyj3949] + yyc3949 = true + } else if yyj3949 == 0 && yyv3949 == nil { + yyv3949 = []DownwardAPIVolumeFile{} + yyc3949 = true } } - yyh3883.End() - if yyc3883 { - *v = yyv3883 + yyh3949.End() + if yyc3949 { + *v = yyv3949 } } diff --git a/pkg/api/v1/types_swagger_doc_generated.go b/pkg/api/v1/types_swagger_doc_generated.go index c0a4b09fc6b..176c1f0058a 100644 --- a/pkg/api/v1/types_swagger_doc_generated.go +++ b/pkg/api/v1/types_swagger_doc_generated.go @@ -115,6 +115,16 @@ func (ComponentStatusList) SwaggerDoc() map[string]string { return map_ComponentStatusList } +var map_ConfigMap = map[string]string{ + "": "ConfigMap holds configuration data for pods to consume.", + "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "data": "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.", +} + +func (ConfigMap) SwaggerDoc() map[string]string { + return map_ConfigMap +} + var map_ConfigMapKeySelector = map[string]string{ "": "Selects a key from a ConfigMap.", "key": "The key to select.", @@ -124,6 +134,16 @@ func (ConfigMapKeySelector) SwaggerDoc() map[string]string { return map_ConfigMapKeySelector } +var map_ConfigMapList = map[string]string{ + "": "ConfigMapList is a resource containing a list of ConfigMap objects.", + "metadata": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "items": "Items is the list of ConfigMaps.", +} + +func (ConfigMapList) SwaggerDoc() map[string]string { + return map_ConfigMapList +} + var map_Container = map[string]string{ "": "A single application container that you want to run within a pod.", "name": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", diff --git a/pkg/apis/extensions/types.generated.go b/pkg/apis/extensions/types.generated.go index 265a5f751a4..7aa67426980 100644 --- a/pkg/apis/extensions/types.generated.go +++ b/pkg/apis/extensions/types.generated.go @@ -14240,7 +14240,7 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -14254,16 +14254,17 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep1190 := !z.EncBinary() yy2arr1190 := z.EncBasicHandle().StructToArray - var yyq1190 [4]bool + var yyq1190 [5]bool _, _, _ = yysep1190, yyq1190, yy2arr1190 const yyr1190 bool = false yyq1190[0] = x.Kind != "" yyq1190[1] = x.APIVersion != "" yyq1190[2] = true - yyq1190[3] = len(x.Data) != 0 + yyq1190[3] = true + yyq1190[4] = true var yynn1190 int if yyr1190 || yy2arr1190 { - r.EncodeArrayStart(4) + r.EncodeArrayStart(5) } else { yynn1190 = 0 for _, b := range yyq1190 { @@ -14344,717 +14345,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if yyr1190 || yy2arr1190 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1190[3] { - if x.Data == nil { - r.EncodeNil() - } else { - yym1201 := z.EncBinary() - _ = yym1201 - if false { - } else { - z.F.EncMapStringStringV(x.Data, false, e) - } - } + yy1201 := &x.Spec + yy1201.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { if yyq1190[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("data")) + r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Data == nil { - r.EncodeNil() - } else { - yym1202 := z.EncBinary() - _ = yym1202 - if false { - } else { - z.F.EncMapStringStringV(x.Data, false, e) - } - } + yy1202 := &x.Spec + yy1202.CodecEncodeSelf(e) } } if yyr1190 || yy2arr1190 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1203 := z.DecBinary() - _ = yym1203 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1204 := r.ContainerType() - if yyct1204 == codecSelferValueTypeMap1234 { - yyl1204 := r.ReadMapStart() - if yyl1204 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1204, d) - } - } else if yyct1204 == codecSelferValueTypeArray1234 { - yyl1204 := r.ReadArrayStart() - if yyl1204 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1204, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1205Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1205Slc - var yyhl1205 bool = l >= 0 - for yyj1205 := 0; ; yyj1205++ { - if yyhl1205 { - if yyj1205 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1205Slc = r.DecodeBytes(yys1205Slc, true, true) - yys1205 := string(yys1205Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1205 { - 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 { - yyv1208 := &x.ObjectMeta - yyv1208.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv1209 := &x.Data - yym1210 := z.DecBinary() - _ = yym1210 - if false { - } else { - z.F.DecMapStringStringX(yyv1209, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1205) - } // end switch yys1205 - } // end for yyj1205 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1211 int - var yyb1211 bool - var yyhl1211 bool = l >= 0 - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l - } else { - yyb1211 = r.CheckBreak() - } - if yyb1211 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l - } else { - yyb1211 = r.CheckBreak() - } - if yyb1211 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l - } else { - yyb1211 = r.CheckBreak() - } - if yyb1211 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv1214 := &x.ObjectMeta - yyv1214.CodecDecodeSelf(d) - } - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l - } else { - yyb1211 = r.CheckBreak() - } - if yyb1211 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv1215 := &x.Data - yym1216 := z.DecBinary() - _ = yym1216 - if false { - } else { - z.F.DecMapStringStringX(yyv1215, false, d) - } - } - for { - yyj1211++ - if yyhl1211 { - yyb1211 = yyj1211 > l - } else { - yyb1211 = r.CheckBreak() - } - if yyb1211 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1211-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1217 := z.EncBinary() - _ = yym1217 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1218 := !z.EncBinary() - yy2arr1218 := z.EncBasicHandle().StructToArray - var yyq1218 [4]bool - _, _, _ = yysep1218, yyq1218, yy2arr1218 - const yyr1218 bool = false - yyq1218[0] = x.Kind != "" - yyq1218[1] = x.APIVersion != "" - yyq1218[2] = true - yyq1218[3] = len(x.Items) != 0 - var yynn1218 int - if yyr1218 || yy2arr1218 { - r.EncodeArrayStart(4) - } else { - yynn1218 = 0 - for _, b := range yyq1218 { - if b { - yynn1218++ - } - } - r.EncodeMapStart(yynn1218) - yynn1218 = 0 - } - if yyr1218 || yy2arr1218 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1218[0] { - yym1220 := z.EncBinary() - _ = yym1220 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1218[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1221 := z.EncBinary() - _ = yym1221 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1218 || yy2arr1218 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1218[1] { - yym1223 := z.EncBinary() - _ = yym1223 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1218[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1224 := z.EncBinary() - _ = yym1224 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1218 || yy2arr1218 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1218[2] { - yy1226 := &x.ListMeta - yym1227 := z.EncBinary() - _ = yym1227 - if false { - } else if z.HasExtensions() && z.EncExt(yy1226) { - } else { - z.EncFallback(yy1226) - } + if yyq1190[4] { + yy1204 := &x.Status + yy1204.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1218[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1228 := &x.ListMeta - yym1229 := z.EncBinary() - _ = yym1229 - if false { - } else if z.HasExtensions() && z.EncExt(yy1228) { - } else { - z.EncFallback(yy1228) - } - } - } - if yyr1218 || yy2arr1218 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1218[3] { - if x.Items == nil { - r.EncodeNil() - } else { - yym1231 := z.EncBinary() - _ = yym1231 - if false { - } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1218[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1232 := z.EncBinary() - _ = yym1232 - if false { - } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) - } - } - } - } - if yyr1218 || yy2arr1218 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1233 := z.DecBinary() - _ = yym1233 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1234 := r.ContainerType() - if yyct1234 == codecSelferValueTypeMap1234 { - yyl1234 := r.ReadMapStart() - if yyl1234 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1234, d) - } - } else if yyct1234 == codecSelferValueTypeArray1234 { - yyl1234 := r.ReadArrayStart() - if yyl1234 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1234, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1235Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1235Slc - var yyhl1235 bool = l >= 0 - for yyj1235 := 0; ; yyj1235++ { - if yyhl1235 { - if yyj1235 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1235Slc = r.DecodeBytes(yys1235Slc, true, true) - yys1235 := string(yys1235Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1235 { - 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 { - yyv1238 := &x.ListMeta - yym1239 := z.DecBinary() - _ = yym1239 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1238) { - } else { - z.DecFallback(yyv1238, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1240 := &x.Items - yym1241 := z.DecBinary() - _ = yym1241 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1240), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1235) - } // end switch yys1235 - } // end for yyj1235 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1242 int - var yyb1242 bool - var yyhl1242 bool = l >= 0 - yyj1242++ - if yyhl1242 { - yyb1242 = yyj1242 > l - } else { - yyb1242 = r.CheckBreak() - } - if yyb1242 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1242++ - if yyhl1242 { - yyb1242 = yyj1242 > l - } else { - yyb1242 = r.CheckBreak() - } - if yyb1242 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1242++ - if yyhl1242 { - yyb1242 = yyj1242 > l - } else { - yyb1242 = r.CheckBreak() - } - if yyb1242 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1245 := &x.ListMeta - yym1246 := z.DecBinary() - _ = yym1246 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1245) { - } else { - z.DecFallback(yyv1245, false) - } - } - yyj1242++ - if yyhl1242 { - yyb1242 = yyj1242 > l - } else { - yyb1242 = r.CheckBreak() - } - if yyb1242 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1247 := &x.Items - yym1248 := z.DecBinary() - _ = yym1248 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1247), d) - } - } - for { - yyj1242++ - if yyhl1242 { - yyb1242 = yyj1242 > l - } else { - yyb1242 = r.CheckBreak() - } - if yyb1242 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1242-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1249 := z.EncBinary() - _ = yym1249 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1250 := !z.EncBinary() - yy2arr1250 := z.EncBasicHandle().StructToArray - var yyq1250 [5]bool - _, _, _ = yysep1250, yyq1250, yy2arr1250 - const yyr1250 bool = false - yyq1250[0] = x.Kind != "" - yyq1250[1] = x.APIVersion != "" - yyq1250[2] = true - yyq1250[3] = true - yyq1250[4] = true - var yynn1250 int - if yyr1250 || yy2arr1250 { - r.EncodeArrayStart(5) - } else { - yynn1250 = 0 - for _, b := range yyq1250 { - if b { - yynn1250++ - } - } - r.EncodeMapStart(yynn1250) - yynn1250 = 0 - } - if yyr1250 || yy2arr1250 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1250[0] { - yym1252 := z.EncBinary() - _ = yym1252 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1250[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1253 := z.EncBinary() - _ = yym1253 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1250 || yy2arr1250 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1250[1] { - yym1255 := z.EncBinary() - _ = yym1255 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1250[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1256 := z.EncBinary() - _ = yym1256 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1250 || yy2arr1250 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1250[2] { - yy1258 := &x.ObjectMeta - yy1258.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1250[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1259 := &x.ObjectMeta - yy1259.CodecEncodeSelf(e) - } - } - if yyr1250 || yy2arr1250 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1250[3] { - yy1261 := &x.Spec - yy1261.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1250[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1262 := &x.Spec - yy1262.CodecEncodeSelf(e) - } - } - if yyr1250 || yy2arr1250 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1250[4] { - yy1264 := &x.Status - yy1264.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1250[4] { + if yyq1190[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1265 := &x.Status - yy1265.CodecEncodeSelf(e) + yy1205 := &x.Status + yy1205.CodecEncodeSelf(e) } } - if yyr1250 || yy2arr1250 { + if yyr1190 || yy2arr1190 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15067,25 +14389,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1266 := z.DecBinary() - _ = yym1266 + yym1206 := z.DecBinary() + _ = yym1206 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1267 := r.ContainerType() - if yyct1267 == codecSelferValueTypeMap1234 { - yyl1267 := r.ReadMapStart() - if yyl1267 == 0 { + yyct1207 := r.ContainerType() + if yyct1207 == codecSelferValueTypeMap1234 { + yyl1207 := r.ReadMapStart() + if yyl1207 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1267, d) + x.codecDecodeSelfFromMap(yyl1207, d) } - } else if yyct1267 == codecSelferValueTypeArray1234 { - yyl1267 := r.ReadArrayStart() - if yyl1267 == 0 { + } else if yyct1207 == codecSelferValueTypeArray1234 { + yyl1207 := r.ReadArrayStart() + if yyl1207 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1267, d) + x.codecDecodeSelfFromArray(yyl1207, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15097,12 +14419,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1268Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1268Slc - var yyhl1268 bool = l >= 0 - for yyj1268 := 0; ; yyj1268++ { - if yyhl1268 { - if yyj1268 >= l { + var yys1208Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1208Slc + var yyhl1208 bool = l >= 0 + for yyj1208 := 0; ; yyj1208++ { + if yyhl1208 { + if yyj1208 >= l { break } } else { @@ -15111,10 +14433,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1268Slc = r.DecodeBytes(yys1268Slc, true, true) - yys1268 := string(yys1268Slc) + yys1208Slc = r.DecodeBytes(yys1208Slc, true, true) + yys1208 := string(yys1208Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1268 { + switch yys1208 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15131,27 +14453,27 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1271 := &x.ObjectMeta - yyv1271.CodecDecodeSelf(d) + yyv1211 := &x.ObjectMeta + yyv1211.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1272 := &x.Spec - yyv1272.CodecDecodeSelf(d) + yyv1212 := &x.Spec + yyv1212.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1273 := &x.Status - yyv1273.CodecDecodeSelf(d) + yyv1213 := &x.Status + yyv1213.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1268) - } // end switch yys1268 - } // end for yyj1268 + z.DecStructFieldNotFound(-1, yys1208) + } // end switch yys1208 + } // end for yyj1208 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15159,16 +14481,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1274 int - var yyb1274 bool - var yyhl1274 bool = l >= 0 - yyj1274++ - if yyhl1274 { - yyb1274 = yyj1274 > l + var yyj1214 int + var yyb1214 bool + var yyhl1214 bool = l >= 0 + yyj1214++ + if yyhl1214 { + yyb1214 = yyj1214 > l } else { - yyb1274 = r.CheckBreak() + yyb1214 = r.CheckBreak() } - if yyb1274 { + if yyb1214 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15178,13 +14500,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1274++ - if yyhl1274 { - yyb1274 = yyj1274 > l + yyj1214++ + if yyhl1214 { + yyb1214 = yyj1214 > l } else { - yyb1274 = r.CheckBreak() + yyb1214 = r.CheckBreak() } - if yyb1274 { + if yyb1214 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15194,13 +14516,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1274++ - if yyhl1274 { - yyb1274 = yyj1274 > l + yyj1214++ + if yyhl1214 { + yyb1214 = yyj1214 > l } else { - yyb1274 = r.CheckBreak() + yyb1214 = r.CheckBreak() } - if yyb1274 { + if yyb1214 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15208,16 +14530,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1277 := &x.ObjectMeta - yyv1277.CodecDecodeSelf(d) + yyv1217 := &x.ObjectMeta + yyv1217.CodecDecodeSelf(d) } - yyj1274++ - if yyhl1274 { - yyb1274 = yyj1274 > l + yyj1214++ + if yyhl1214 { + yyb1214 = yyj1214 > l } else { - yyb1274 = r.CheckBreak() + yyb1214 = r.CheckBreak() } - if yyb1274 { + if yyb1214 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15225,16 +14547,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1278 := &x.Spec - yyv1278.CodecDecodeSelf(d) + yyv1218 := &x.Spec + yyv1218.CodecDecodeSelf(d) } - yyj1274++ - if yyhl1274 { - yyb1274 = yyj1274 > l + yyj1214++ + if yyhl1214 { + yyb1214 = yyj1214 > l } else { - yyb1274 = r.CheckBreak() + yyb1214 = r.CheckBreak() } - if yyb1274 { + if yyb1214 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15242,21 +14564,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1279 := &x.Status - yyv1279.CodecDecodeSelf(d) + yyv1219 := &x.Status + yyv1219.CodecDecodeSelf(d) } for { - yyj1274++ - if yyhl1274 { - yyb1274 = yyj1274 > l + yyj1214++ + if yyhl1214 { + yyb1214 = yyj1214 > l } else { - yyb1274 = r.CheckBreak() + yyb1214 = r.CheckBreak() } - if yyb1274 { + if yyb1214 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1274-1, "") + z.DecStructFieldNotFound(yyj1214-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15268,37 +14590,37 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1280 := z.EncBinary() - _ = yym1280 + yym1220 := z.EncBinary() + _ = yym1220 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1281 := !z.EncBinary() - yy2arr1281 := z.EncBasicHandle().StructToArray - var yyq1281 [4]bool - _, _, _ = yysep1281, yyq1281, yy2arr1281 - const yyr1281 bool = false - yyq1281[0] = x.Kind != "" - yyq1281[1] = x.APIVersion != "" - yyq1281[2] = true - var yynn1281 int - if yyr1281 || yy2arr1281 { + yysep1221 := !z.EncBinary() + yy2arr1221 := z.EncBasicHandle().StructToArray + var yyq1221 [4]bool + _, _, _ = yysep1221, yyq1221, yy2arr1221 + const yyr1221 bool = false + yyq1221[0] = x.Kind != "" + yyq1221[1] = x.APIVersion != "" + yyq1221[2] = true + var yynn1221 int + if yyr1221 || yy2arr1221 { r.EncodeArrayStart(4) } else { - yynn1281 = 1 - for _, b := range yyq1281 { + yynn1221 = 1 + for _, b := range yyq1221 { if b { - yynn1281++ + yynn1221++ } } - r.EncodeMapStart(yynn1281) - yynn1281 = 0 + r.EncodeMapStart(yynn1221) + yynn1221 = 0 } - if yyr1281 || yy2arr1281 { + if yyr1221 || yy2arr1221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1281[0] { - yym1283 := z.EncBinary() - _ = yym1283 + if yyq1221[0] { + yym1223 := z.EncBinary() + _ = yym1223 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -15307,23 +14629,23 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1281[0] { + if yyq1221[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1284 := z.EncBinary() - _ = yym1284 + yym1224 := z.EncBinary() + _ = yym1224 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1281 || yy2arr1281 { + if yyr1221 || yy2arr1221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1281[1] { - yym1286 := z.EncBinary() - _ = yym1286 + if yyq1221[1] { + yym1226 := z.EncBinary() + _ = yym1226 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15332,54 +14654,54 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1281[1] { + if yyq1221[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1287 := z.EncBinary() - _ = yym1287 + yym1227 := z.EncBinary() + _ = yym1227 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1281 || yy2arr1281 { + if yyr1221 || yy2arr1221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1281[2] { - yy1289 := &x.ListMeta - yym1290 := z.EncBinary() - _ = yym1290 + if yyq1221[2] { + yy1229 := &x.ListMeta + yym1230 := z.EncBinary() + _ = yym1230 if false { - } else if z.HasExtensions() && z.EncExt(yy1289) { + } else if z.HasExtensions() && z.EncExt(yy1229) { } else { - z.EncFallback(yy1289) + z.EncFallback(yy1229) } } else { r.EncodeNil() } } else { - if yyq1281[2] { + if yyq1221[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1291 := &x.ListMeta - yym1292 := z.EncBinary() - _ = yym1292 + yy1231 := &x.ListMeta + yym1232 := z.EncBinary() + _ = yym1232 if false { - } else if z.HasExtensions() && z.EncExt(yy1291) { + } else if z.HasExtensions() && z.EncExt(yy1231) { } else { - z.EncFallback(yy1291) + z.EncFallback(yy1231) } } } - if yyr1281 || yy2arr1281 { + if yyr1221 || yy2arr1221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1294 := z.EncBinary() - _ = yym1294 + yym1234 := z.EncBinary() + _ = yym1234 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -15392,15 +14714,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1295 := z.EncBinary() - _ = yym1295 + yym1235 := z.EncBinary() + _ = yym1235 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr1281 || yy2arr1281 { + if yyr1221 || yy2arr1221 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15413,25 +14735,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1296 := z.DecBinary() - _ = yym1296 + yym1236 := z.DecBinary() + _ = yym1236 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1297 := r.ContainerType() - if yyct1297 == codecSelferValueTypeMap1234 { - yyl1297 := r.ReadMapStart() - if yyl1297 == 0 { + yyct1237 := r.ContainerType() + if yyct1237 == codecSelferValueTypeMap1234 { + yyl1237 := r.ReadMapStart() + if yyl1237 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1297, d) + x.codecDecodeSelfFromMap(yyl1237, d) } - } else if yyct1297 == codecSelferValueTypeArray1234 { - yyl1297 := r.ReadArrayStart() - if yyl1297 == 0 { + } else if yyct1237 == codecSelferValueTypeArray1234 { + yyl1237 := r.ReadArrayStart() + if yyl1237 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1297, d) + x.codecDecodeSelfFromArray(yyl1237, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15443,12 +14765,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1298Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1298Slc - var yyhl1298 bool = l >= 0 - for yyj1298 := 0; ; yyj1298++ { - if yyhl1298 { - if yyj1298 >= l { + var yys1238Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1238Slc + var yyhl1238 bool = l >= 0 + for yyj1238 := 0; ; yyj1238++ { + if yyhl1238 { + if yyj1238 >= l { break } } else { @@ -15457,10 +14779,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1298Slc = r.DecodeBytes(yys1298Slc, true, true) - yys1298 := string(yys1298Slc) + yys1238Slc = r.DecodeBytes(yys1238Slc, true, true) + yys1238 := string(yys1238Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1298 { + switch yys1238 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15477,31 +14799,31 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1301 := &x.ListMeta - yym1302 := z.DecBinary() - _ = yym1302 + yyv1241 := &x.ListMeta + yym1242 := z.DecBinary() + _ = yym1242 if false { - } else if z.HasExtensions() && z.DecExt(yyv1301) { + } else if z.HasExtensions() && z.DecExt(yyv1241) { } else { - z.DecFallback(yyv1301, false) + z.DecFallback(yyv1241, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1303 := &x.Items - yym1304 := z.DecBinary() - _ = yym1304 + yyv1243 := &x.Items + yym1244 := z.DecBinary() + _ = yym1244 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1303), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1243), d) } } default: - z.DecStructFieldNotFound(-1, yys1298) - } // end switch yys1298 - } // end for yyj1298 + z.DecStructFieldNotFound(-1, yys1238) + } // end switch yys1238 + } // end for yyj1238 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15509,16 +14831,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1305 int - var yyb1305 bool - var yyhl1305 bool = l >= 0 - yyj1305++ - if yyhl1305 { - yyb1305 = yyj1305 > l + var yyj1245 int + var yyb1245 bool + var yyhl1245 bool = l >= 0 + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb1305 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb1305 { + if yyb1245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15528,13 +14850,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1305++ - if yyhl1305 { - yyb1305 = yyj1305 > l + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb1305 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb1305 { + if yyb1245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15544,13 +14866,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1305++ - if yyhl1305 { - yyb1305 = yyj1305 > l + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb1305 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb1305 { + if yyb1245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15558,22 +14880,22 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1308 := &x.ListMeta - yym1309 := z.DecBinary() - _ = yym1309 + yyv1248 := &x.ListMeta + yym1249 := z.DecBinary() + _ = yym1249 if false { - } else if z.HasExtensions() && z.DecExt(yyv1308) { + } else if z.HasExtensions() && z.DecExt(yyv1248) { } else { - z.DecFallback(yyv1308, false) + z.DecFallback(yyv1248, false) } } - yyj1305++ - if yyhl1305 { - yyb1305 = yyj1305 > l + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb1305 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb1305 { + if yyb1245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15581,26 +14903,26 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1310 := &x.Items - yym1311 := z.DecBinary() - _ = yym1311 + yyv1250 := &x.Items + yym1251 := z.DecBinary() + _ = yym1251 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1310), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1250), d) } } for { - yyj1305++ - if yyhl1305 { - yyb1305 = yyj1305 > l + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb1305 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb1305 { + if yyb1245 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1305-1, "") + z.DecStructFieldNotFound(yyj1245-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15612,35 +14934,35 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1312 := z.EncBinary() - _ = yym1312 + yym1252 := z.EncBinary() + _ = yym1252 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1313 := !z.EncBinary() - yy2arr1313 := z.EncBasicHandle().StructToArray - var yyq1313 [3]bool - _, _, _ = yysep1313, yyq1313, yy2arr1313 - const yyr1313 bool = false - yyq1313[1] = x.Selector != nil - yyq1313[2] = x.Template != nil - var yynn1313 int - if yyr1313 || yy2arr1313 { + yysep1253 := !z.EncBinary() + yy2arr1253 := z.EncBasicHandle().StructToArray + var yyq1253 [3]bool + _, _, _ = yysep1253, yyq1253, yy2arr1253 + const yyr1253 bool = false + yyq1253[1] = x.Selector != nil + yyq1253[2] = x.Template != nil + var yynn1253 int + if yyr1253 || yy2arr1253 { r.EncodeArrayStart(3) } else { - yynn1313 = 1 - for _, b := range yyq1313 { + yynn1253 = 1 + for _, b := range yyq1253 { if b { - yynn1313++ + yynn1253++ } } - r.EncodeMapStart(yynn1313) - yynn1313 = 0 + r.EncodeMapStart(yynn1253) + yynn1253 = 0 } - if yyr1313 || yy2arr1313 { + if yyr1253 || yy2arr1253 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1315 := z.EncBinary() - _ = yym1315 + yym1255 := z.EncBinary() + _ = yym1255 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -15649,16 +14971,16 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1316 := z.EncBinary() - _ = yym1316 + yym1256 := z.EncBinary() + _ = yym1256 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1313 || yy2arr1313 { + if yyr1253 || yy2arr1253 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1313[1] { + if yyq1253[1] { if x.Selector == nil { r.EncodeNil() } else { @@ -15668,7 +14990,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1313[1] { + if yyq1253[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15679,9 +15001,9 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1313 || yy2arr1313 { + if yyr1253 || yy2arr1253 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1313[2] { + if yyq1253[2] { if x.Template == nil { r.EncodeNil() } else { @@ -15691,7 +15013,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1313[2] { + if yyq1253[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15702,7 +15024,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1313 || yy2arr1313 { + if yyr1253 || yy2arr1253 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15715,25 +15037,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1319 := z.DecBinary() - _ = yym1319 + yym1259 := z.DecBinary() + _ = yym1259 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1320 := r.ContainerType() - if yyct1320 == codecSelferValueTypeMap1234 { - yyl1320 := r.ReadMapStart() - if yyl1320 == 0 { + yyct1260 := r.ContainerType() + if yyct1260 == codecSelferValueTypeMap1234 { + yyl1260 := r.ReadMapStart() + if yyl1260 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1320, d) + x.codecDecodeSelfFromMap(yyl1260, d) } - } else if yyct1320 == codecSelferValueTypeArray1234 { - yyl1320 := r.ReadArrayStart() - if yyl1320 == 0 { + } else if yyct1260 == codecSelferValueTypeArray1234 { + yyl1260 := r.ReadArrayStart() + if yyl1260 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1320, d) + x.codecDecodeSelfFromArray(yyl1260, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15745,12 +15067,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1321Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1321Slc - var yyhl1321 bool = l >= 0 - for yyj1321 := 0; ; yyj1321++ { - if yyhl1321 { - if yyj1321 >= l { + var yys1261Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1261Slc + var yyhl1261 bool = l >= 0 + for yyj1261 := 0; ; yyj1261++ { + if yyhl1261 { + if yyj1261 >= l { break } } else { @@ -15759,10 +15081,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1321Slc = r.DecodeBytes(yys1321Slc, true, true) - yys1321 := string(yys1321Slc) + yys1261Slc = r.DecodeBytes(yys1261Slc, true, true) + yys1261 := string(yys1261Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1321 { + switch yys1261 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -15792,9 +15114,9 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1321) - } // end switch yys1321 - } // end for yyj1321 + z.DecStructFieldNotFound(-1, yys1261) + } // end switch yys1261 + } // end for yyj1261 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15802,16 +15124,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1325 int - var yyb1325 bool - var yyhl1325 bool = l >= 0 - yyj1325++ - if yyhl1325 { - yyb1325 = yyj1325 > l + var yyj1265 int + var yyb1265 bool + var yyhl1265 bool = l >= 0 + yyj1265++ + if yyhl1265 { + yyb1265 = yyj1265 > l } else { - yyb1325 = r.CheckBreak() + yyb1265 = r.CheckBreak() } - if yyb1325 { + if yyb1265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15821,13 +15143,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1325++ - if yyhl1325 { - yyb1325 = yyj1325 > l + yyj1265++ + if yyhl1265 { + yyb1265 = yyj1265 > l } else { - yyb1325 = r.CheckBreak() + yyb1265 = r.CheckBreak() } - if yyb1325 { + if yyb1265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15842,13 +15164,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj1325++ - if yyhl1325 { - yyb1325 = yyj1325 > l + yyj1265++ + if yyhl1265 { + yyb1265 = yyj1265 > l } else { - yyb1325 = r.CheckBreak() + yyb1265 = r.CheckBreak() } - if yyb1325 { + if yyb1265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15864,17 +15186,17 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Template.CodecDecodeSelf(d) } for { - yyj1325++ - if yyhl1325 { - yyb1325 = yyj1325 > l + yyj1265++ + if yyhl1265 { + yyb1265 = yyj1265 > l } else { - yyb1325 = r.CheckBreak() + yyb1265 = r.CheckBreak() } - if yyb1325 { + if yyb1265 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1325-1, "") + z.DecStructFieldNotFound(yyj1265-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15886,34 +15208,34 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1329 := z.EncBinary() - _ = yym1329 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1330 := !z.EncBinary() - yy2arr1330 := z.EncBasicHandle().StructToArray - var yyq1330 [2]bool - _, _, _ = yysep1330, yyq1330, yy2arr1330 - const yyr1330 bool = false - yyq1330[1] = x.ObservedGeneration != 0 - var yynn1330 int - if yyr1330 || yy2arr1330 { + yysep1270 := !z.EncBinary() + yy2arr1270 := z.EncBasicHandle().StructToArray + var yyq1270 [2]bool + _, _, _ = yysep1270, yyq1270, yy2arr1270 + const yyr1270 bool = false + yyq1270[1] = x.ObservedGeneration != 0 + var yynn1270 int + if yyr1270 || yy2arr1270 { r.EncodeArrayStart(2) } else { - yynn1330 = 1 - for _, b := range yyq1330 { + yynn1270 = 1 + for _, b := range yyq1270 { if b { - yynn1330++ + yynn1270++ } } - r.EncodeMapStart(yynn1330) - yynn1330 = 0 + r.EncodeMapStart(yynn1270) + yynn1270 = 0 } - if yyr1330 || yy2arr1330 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1332 := z.EncBinary() - _ = yym1332 + yym1272 := z.EncBinary() + _ = yym1272 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -15922,18 +15244,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1333 := z.EncBinary() - _ = yym1333 + yym1273 := z.EncBinary() + _ = yym1273 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1330 || yy2arr1330 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1330[1] { - yym1335 := z.EncBinary() - _ = yym1335 + if yyq1270[1] { + yym1275 := z.EncBinary() + _ = yym1275 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -15942,19 +15264,19 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1330[1] { + if yyq1270[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1336 := z.EncBinary() - _ = yym1336 + yym1276 := z.EncBinary() + _ = yym1276 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1330 || yy2arr1330 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15967,25 +15289,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1337 := z.DecBinary() - _ = yym1337 + yym1277 := z.DecBinary() + _ = yym1277 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1338 := r.ContainerType() - if yyct1338 == codecSelferValueTypeMap1234 { - yyl1338 := r.ReadMapStart() - if yyl1338 == 0 { + yyct1278 := r.ContainerType() + if yyct1278 == codecSelferValueTypeMap1234 { + yyl1278 := r.ReadMapStart() + if yyl1278 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1338, d) + x.codecDecodeSelfFromMap(yyl1278, d) } - } else if yyct1338 == codecSelferValueTypeArray1234 { - yyl1338 := r.ReadArrayStart() - if yyl1338 == 0 { + } else if yyct1278 == codecSelferValueTypeArray1234 { + yyl1278 := r.ReadArrayStart() + if yyl1278 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1338, d) + x.codecDecodeSelfFromArray(yyl1278, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15997,12 +15319,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1339Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1339Slc - var yyhl1339 bool = l >= 0 - for yyj1339 := 0; ; yyj1339++ { - if yyhl1339 { - if yyj1339 >= l { + var yys1279Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1279Slc + var yyhl1279 bool = l >= 0 + for yyj1279 := 0; ; yyj1279++ { + if yyhl1279 { + if yyj1279 >= l { break } } else { @@ -16011,10 +15333,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1339Slc = r.DecodeBytes(yys1339Slc, true, true) - yys1339 := string(yys1339Slc) + yys1279Slc = r.DecodeBytes(yys1279Slc, true, true) + yys1279 := string(yys1279Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1339 { + switch yys1279 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -16028,9 +15350,9 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1339) - } // end switch yys1339 - } // end for yyj1339 + z.DecStructFieldNotFound(-1, yys1279) + } // end switch yys1279 + } // end for yyj1279 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16038,16 +15360,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1342 int - var yyb1342 bool - var yyhl1342 bool = l >= 0 - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + var yyj1282 int + var yyb1282 bool + var yyhl1282 bool = l >= 0 + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1342 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1342 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16057,13 +15379,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1342 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1342 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16074,22 +15396,1182 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1342 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1342 { + if yyb1282 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1342-1, "") + z.DecStructFieldNotFound(yyj1282-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutoscaler, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1285 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1286 := &yyv1285 + yy1286.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1287 := *v + yyh1287, yyl1287 := z.DecSliceHelperStart() + var yyc1287 bool + if yyl1287 == 0 { + if yyv1287 == nil { + yyv1287 = []HorizontalPodAutoscaler{} + yyc1287 = true + } else if len(yyv1287) != 0 { + yyv1287 = yyv1287[:0] + yyc1287 = true + } + } else if yyl1287 > 0 { + var yyrr1287, yyrl1287 int + var yyrt1287 bool + if yyl1287 > cap(yyv1287) { + + yyrg1287 := len(yyv1287) > 0 + yyv21287 := yyv1287 + yyrl1287, yyrt1287 = z.DecInferLen(yyl1287, z.DecBasicHandle().MaxInitLen, 320) + if yyrt1287 { + if yyrl1287 <= cap(yyv1287) { + yyv1287 = yyv1287[:yyrl1287] + } else { + yyv1287 = make([]HorizontalPodAutoscaler, yyrl1287) + } + } else { + yyv1287 = make([]HorizontalPodAutoscaler, yyrl1287) + } + yyc1287 = true + yyrr1287 = len(yyv1287) + if yyrg1287 { + copy(yyv1287, yyv21287) + } + } else if yyl1287 != len(yyv1287) { + yyv1287 = yyv1287[:yyl1287] + yyc1287 = true + } + yyj1287 := 0 + for ; yyj1287 < yyrr1287; yyj1287++ { + yyh1287.ElemContainerState(yyj1287) + if r.TryDecodeAsNil() { + yyv1287[yyj1287] = HorizontalPodAutoscaler{} + } else { + yyv1288 := &yyv1287[yyj1287] + yyv1288.CodecDecodeSelf(d) + } + + } + if yyrt1287 { + for ; yyj1287 < yyl1287; yyj1287++ { + yyv1287 = append(yyv1287, HorizontalPodAutoscaler{}) + yyh1287.ElemContainerState(yyj1287) + if r.TryDecodeAsNil() { + yyv1287[yyj1287] = HorizontalPodAutoscaler{} + } else { + yyv1289 := &yyv1287[yyj1287] + yyv1289.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1287 := 0 + for ; !r.CheckBreak(); yyj1287++ { + + if yyj1287 >= len(yyv1287) { + yyv1287 = append(yyv1287, HorizontalPodAutoscaler{}) // var yyz1287 HorizontalPodAutoscaler + yyc1287 = true + } + yyh1287.ElemContainerState(yyj1287) + if yyj1287 < len(yyv1287) { + if r.TryDecodeAsNil() { + yyv1287[yyj1287] = HorizontalPodAutoscaler{} + } else { + yyv1290 := &yyv1287[yyj1287] + yyv1290.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1287 < len(yyv1287) { + yyv1287 = yyv1287[:yyj1287] + yyc1287 = true + } else if yyj1287 == 0 && yyv1287 == nil { + yyv1287 = []HorizontalPodAutoscaler{} + yyc1287 = true + } + } + yyh1287.End() + if yyc1287 { + *v = yyv1287 + } +} + +func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1291 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1292 := &yyv1291 + yy1292.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1293 := *v + yyh1293, yyl1293 := z.DecSliceHelperStart() + var yyc1293 bool + if yyl1293 == 0 { + if yyv1293 == nil { + yyv1293 = []APIVersion{} + yyc1293 = true + } else if len(yyv1293) != 0 { + yyv1293 = yyv1293[:0] + yyc1293 = true + } + } else if yyl1293 > 0 { + var yyrr1293, yyrl1293 int + var yyrt1293 bool + if yyl1293 > cap(yyv1293) { + + yyrg1293 := len(yyv1293) > 0 + yyv21293 := yyv1293 + yyrl1293, yyrt1293 = z.DecInferLen(yyl1293, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1293 { + if yyrl1293 <= cap(yyv1293) { + yyv1293 = yyv1293[:yyrl1293] + } else { + yyv1293 = make([]APIVersion, yyrl1293) + } + } else { + yyv1293 = make([]APIVersion, yyrl1293) + } + yyc1293 = true + yyrr1293 = len(yyv1293) + if yyrg1293 { + copy(yyv1293, yyv21293) + } + } else if yyl1293 != len(yyv1293) { + yyv1293 = yyv1293[:yyl1293] + yyc1293 = true + } + yyj1293 := 0 + for ; yyj1293 < yyrr1293; yyj1293++ { + yyh1293.ElemContainerState(yyj1293) + if r.TryDecodeAsNil() { + yyv1293[yyj1293] = APIVersion{} + } else { + yyv1294 := &yyv1293[yyj1293] + yyv1294.CodecDecodeSelf(d) + } + + } + if yyrt1293 { + for ; yyj1293 < yyl1293; yyj1293++ { + yyv1293 = append(yyv1293, APIVersion{}) + yyh1293.ElemContainerState(yyj1293) + if r.TryDecodeAsNil() { + yyv1293[yyj1293] = APIVersion{} + } else { + yyv1295 := &yyv1293[yyj1293] + yyv1295.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1293 := 0 + for ; !r.CheckBreak(); yyj1293++ { + + if yyj1293 >= len(yyv1293) { + yyv1293 = append(yyv1293, APIVersion{}) // var yyz1293 APIVersion + yyc1293 = true + } + yyh1293.ElemContainerState(yyj1293) + if yyj1293 < len(yyv1293) { + if r.TryDecodeAsNil() { + yyv1293[yyj1293] = APIVersion{} + } else { + yyv1296 := &yyv1293[yyj1293] + yyv1296.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1293 < len(yyv1293) { + yyv1293 = yyv1293[:yyj1293] + yyc1293 = true + } else if yyj1293 == 0 && yyv1293 == nil { + yyv1293 = []APIVersion{} + yyc1293 = true + } + } + yyh1293.End() + if yyc1293 { + *v = yyv1293 + } +} + +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 _, yyv1297 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1298 := &yyv1297 + yy1298.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 + + yyv1299 := *v + yyh1299, yyl1299 := z.DecSliceHelperStart() + var yyc1299 bool + if yyl1299 == 0 { + if yyv1299 == nil { + yyv1299 = []ThirdPartyResource{} + yyc1299 = true + } else if len(yyv1299) != 0 { + yyv1299 = yyv1299[:0] + yyc1299 = true + } + } else if yyl1299 > 0 { + var yyrr1299, yyrl1299 int + var yyrt1299 bool + if yyl1299 > cap(yyv1299) { + + yyrg1299 := len(yyv1299) > 0 + yyv21299 := yyv1299 + yyrl1299, yyrt1299 = z.DecInferLen(yyl1299, z.DecBasicHandle().MaxInitLen, 232) + if yyrt1299 { + if yyrl1299 <= cap(yyv1299) { + yyv1299 = yyv1299[:yyrl1299] + } else { + yyv1299 = make([]ThirdPartyResource, yyrl1299) + } + } else { + yyv1299 = make([]ThirdPartyResource, yyrl1299) + } + yyc1299 = true + yyrr1299 = len(yyv1299) + if yyrg1299 { + copy(yyv1299, yyv21299) + } + } else if yyl1299 != len(yyv1299) { + yyv1299 = yyv1299[:yyl1299] + yyc1299 = true + } + yyj1299 := 0 + for ; yyj1299 < yyrr1299; yyj1299++ { + yyh1299.ElemContainerState(yyj1299) + if r.TryDecodeAsNil() { + yyv1299[yyj1299] = ThirdPartyResource{} + } else { + yyv1300 := &yyv1299[yyj1299] + yyv1300.CodecDecodeSelf(d) + } + + } + if yyrt1299 { + for ; yyj1299 < yyl1299; yyj1299++ { + yyv1299 = append(yyv1299, ThirdPartyResource{}) + yyh1299.ElemContainerState(yyj1299) + if r.TryDecodeAsNil() { + yyv1299[yyj1299] = ThirdPartyResource{} + } else { + yyv1301 := &yyv1299[yyj1299] + yyv1301.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1299 := 0 + for ; !r.CheckBreak(); yyj1299++ { + + if yyj1299 >= len(yyv1299) { + yyv1299 = append(yyv1299, ThirdPartyResource{}) // var yyz1299 ThirdPartyResource + yyc1299 = true + } + yyh1299.ElemContainerState(yyj1299) + if yyj1299 < len(yyv1299) { + if r.TryDecodeAsNil() { + yyv1299[yyj1299] = ThirdPartyResource{} + } else { + yyv1302 := &yyv1299[yyj1299] + yyv1302.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1299 < len(yyv1299) { + yyv1299 = yyv1299[:yyj1299] + yyc1299 = true + } else if yyj1299 == 0 && yyv1299 == nil { + yyv1299 = []ThirdPartyResource{} + yyc1299 = true + } + } + yyh1299.End() + if yyc1299 { + *v = yyv1299 + } +} + +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 _, yyv1303 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1304 := &yyv1303 + yy1304.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 + + yyv1305 := *v + yyh1305, yyl1305 := z.DecSliceHelperStart() + var yyc1305 bool + if yyl1305 == 0 { + if yyv1305 == nil { + yyv1305 = []Deployment{} + yyc1305 = true + } else if len(yyv1305) != 0 { + yyv1305 = yyv1305[:0] + yyc1305 = true + } + } else if yyl1305 > 0 { + var yyrr1305, yyrl1305 int + var yyrt1305 bool + if yyl1305 > cap(yyv1305) { + + yyrg1305 := len(yyv1305) > 0 + yyv21305 := yyv1305 + yyrl1305, yyrt1305 = z.DecInferLen(yyl1305, z.DecBasicHandle().MaxInitLen, 616) + if yyrt1305 { + if yyrl1305 <= cap(yyv1305) { + yyv1305 = yyv1305[:yyrl1305] + } else { + yyv1305 = make([]Deployment, yyrl1305) + } + } else { + yyv1305 = make([]Deployment, yyrl1305) + } + yyc1305 = true + yyrr1305 = len(yyv1305) + if yyrg1305 { + copy(yyv1305, yyv21305) + } + } else if yyl1305 != len(yyv1305) { + yyv1305 = yyv1305[:yyl1305] + yyc1305 = true + } + yyj1305 := 0 + for ; yyj1305 < yyrr1305; yyj1305++ { + yyh1305.ElemContainerState(yyj1305) + if r.TryDecodeAsNil() { + yyv1305[yyj1305] = Deployment{} + } else { + yyv1306 := &yyv1305[yyj1305] + yyv1306.CodecDecodeSelf(d) + } + + } + if yyrt1305 { + for ; yyj1305 < yyl1305; yyj1305++ { + yyv1305 = append(yyv1305, Deployment{}) + yyh1305.ElemContainerState(yyj1305) + if r.TryDecodeAsNil() { + yyv1305[yyj1305] = Deployment{} + } else { + yyv1307 := &yyv1305[yyj1305] + yyv1307.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1305 := 0 + for ; !r.CheckBreak(); yyj1305++ { + + if yyj1305 >= len(yyv1305) { + yyv1305 = append(yyv1305, Deployment{}) // var yyz1305 Deployment + yyc1305 = true + } + yyh1305.ElemContainerState(yyj1305) + if yyj1305 < len(yyv1305) { + if r.TryDecodeAsNil() { + yyv1305[yyj1305] = Deployment{} + } else { + yyv1308 := &yyv1305[yyj1305] + yyv1308.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1305 < len(yyv1305) { + yyv1305 = yyv1305[:yyj1305] + yyc1305 = true + } else if yyj1305 == 0 && yyv1305 == nil { + yyv1305 = []Deployment{} + yyc1305 = true + } + } + yyh1305.End() + if yyc1305 { + *v = yyv1305 + } +} + +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 _, yyv1309 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1310 := &yyv1309 + yy1310.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 + + yyv1311 := *v + yyh1311, yyl1311 := z.DecSliceHelperStart() + var yyc1311 bool + if yyl1311 == 0 { + if yyv1311 == nil { + yyv1311 = []DaemonSet{} + yyc1311 = true + } else if len(yyv1311) != 0 { + yyv1311 = yyv1311[:0] + yyc1311 = true + } + } else if yyl1311 > 0 { + var yyrr1311, yyrl1311 int + var yyrt1311 bool + if yyl1311 > cap(yyv1311) { + + yyrg1311 := len(yyv1311) > 0 + yyv21311 := yyv1311 + yyrl1311, yyrt1311 = z.DecInferLen(yyl1311, z.DecBasicHandle().MaxInitLen, 272) + if yyrt1311 { + if yyrl1311 <= cap(yyv1311) { + yyv1311 = yyv1311[:yyrl1311] + } else { + yyv1311 = make([]DaemonSet, yyrl1311) + } + } else { + yyv1311 = make([]DaemonSet, yyrl1311) + } + yyc1311 = true + yyrr1311 = len(yyv1311) + if yyrg1311 { + copy(yyv1311, yyv21311) + } + } else if yyl1311 != len(yyv1311) { + yyv1311 = yyv1311[:yyl1311] + yyc1311 = true + } + yyj1311 := 0 + for ; yyj1311 < yyrr1311; yyj1311++ { + yyh1311.ElemContainerState(yyj1311) + if r.TryDecodeAsNil() { + yyv1311[yyj1311] = DaemonSet{} + } else { + yyv1312 := &yyv1311[yyj1311] + yyv1312.CodecDecodeSelf(d) + } + + } + if yyrt1311 { + for ; yyj1311 < yyl1311; yyj1311++ { + yyv1311 = append(yyv1311, DaemonSet{}) + yyh1311.ElemContainerState(yyj1311) + if r.TryDecodeAsNil() { + yyv1311[yyj1311] = DaemonSet{} + } else { + yyv1313 := &yyv1311[yyj1311] + yyv1313.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1311 := 0 + for ; !r.CheckBreak(); yyj1311++ { + + if yyj1311 >= len(yyv1311) { + yyv1311 = append(yyv1311, DaemonSet{}) // var yyz1311 DaemonSet + yyc1311 = true + } + yyh1311.ElemContainerState(yyj1311) + if yyj1311 < len(yyv1311) { + if r.TryDecodeAsNil() { + yyv1311[yyj1311] = DaemonSet{} + } else { + yyv1314 := &yyv1311[yyj1311] + yyv1314.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1311 < len(yyv1311) { + yyv1311 = yyv1311[:yyj1311] + yyc1311 = true + } else if yyj1311 == 0 && yyv1311 == nil { + yyv1311 = []DaemonSet{} + yyc1311 = true + } + } + yyh1311.End() + if yyc1311 { + *v = yyv1311 + } +} + +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 _, yyv1315 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1316 := &yyv1315 + yy1316.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 + + yyv1317 := *v + yyh1317, yyl1317 := z.DecSliceHelperStart() + var yyc1317 bool + if yyl1317 == 0 { + if yyv1317 == nil { + yyv1317 = []ThirdPartyResourceData{} + yyc1317 = true + } else if len(yyv1317) != 0 { + yyv1317 = yyv1317[:0] + yyc1317 = true + } + } else if yyl1317 > 0 { + var yyrr1317, yyrl1317 int + var yyrt1317 bool + if yyl1317 > cap(yyv1317) { + + yyrg1317 := len(yyv1317) > 0 + yyv21317 := yyv1317 + yyrl1317, yyrt1317 = z.DecInferLen(yyl1317, z.DecBasicHandle().MaxInitLen, 216) + if yyrt1317 { + if yyrl1317 <= cap(yyv1317) { + yyv1317 = yyv1317[:yyrl1317] + } else { + yyv1317 = make([]ThirdPartyResourceData, yyrl1317) + } + } else { + yyv1317 = make([]ThirdPartyResourceData, yyrl1317) + } + yyc1317 = true + yyrr1317 = len(yyv1317) + if yyrg1317 { + copy(yyv1317, yyv21317) + } + } else if yyl1317 != len(yyv1317) { + yyv1317 = yyv1317[:yyl1317] + yyc1317 = true + } + yyj1317 := 0 + for ; yyj1317 < yyrr1317; yyj1317++ { + yyh1317.ElemContainerState(yyj1317) + if r.TryDecodeAsNil() { + yyv1317[yyj1317] = ThirdPartyResourceData{} + } else { + yyv1318 := &yyv1317[yyj1317] + yyv1318.CodecDecodeSelf(d) + } + + } + if yyrt1317 { + for ; yyj1317 < yyl1317; yyj1317++ { + yyv1317 = append(yyv1317, ThirdPartyResourceData{}) + yyh1317.ElemContainerState(yyj1317) + if r.TryDecodeAsNil() { + yyv1317[yyj1317] = ThirdPartyResourceData{} + } else { + yyv1319 := &yyv1317[yyj1317] + yyv1319.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1317 := 0 + for ; !r.CheckBreak(); yyj1317++ { + + if yyj1317 >= len(yyv1317) { + yyv1317 = append(yyv1317, ThirdPartyResourceData{}) // var yyz1317 ThirdPartyResourceData + yyc1317 = true + } + yyh1317.ElemContainerState(yyj1317) + if yyj1317 < len(yyv1317) { + if r.TryDecodeAsNil() { + yyv1317[yyj1317] = ThirdPartyResourceData{} + } else { + yyv1320 := &yyv1317[yyj1317] + yyv1320.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1317 < len(yyv1317) { + yyv1317 = yyv1317[:yyj1317] + yyc1317 = true + } else if yyj1317 == 0 && yyv1317 == nil { + yyv1317 = []ThirdPartyResourceData{} + yyc1317 = true + } + } + yyh1317.End() + if yyc1317 { + *v = yyv1317 + } +} + +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 _, yyv1321 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1322 := &yyv1321 + yy1322.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 + + yyv1323 := *v + yyh1323, yyl1323 := z.DecSliceHelperStart() + var yyc1323 bool + if yyl1323 == 0 { + if yyv1323 == nil { + yyv1323 = []Job{} + yyc1323 = true + } else if len(yyv1323) != 0 { + yyv1323 = yyv1323[:0] + yyc1323 = true + } + } else if yyl1323 > 0 { + var yyrr1323, yyrl1323 int + var yyrt1323 bool + if yyl1323 > cap(yyv1323) { + + yyrg1323 := len(yyv1323) > 0 + yyv21323 := yyv1323 + yyrl1323, yyrt1323 = z.DecInferLen(yyl1323, z.DecBasicHandle().MaxInitLen, 616) + if yyrt1323 { + if yyrl1323 <= cap(yyv1323) { + yyv1323 = yyv1323[:yyrl1323] + } else { + yyv1323 = make([]Job, yyrl1323) + } + } else { + yyv1323 = make([]Job, yyrl1323) + } + yyc1323 = true + yyrr1323 = len(yyv1323) + if yyrg1323 { + copy(yyv1323, yyv21323) + } + } else if yyl1323 != len(yyv1323) { + yyv1323 = yyv1323[:yyl1323] + yyc1323 = true + } + yyj1323 := 0 + for ; yyj1323 < yyrr1323; yyj1323++ { + yyh1323.ElemContainerState(yyj1323) + if r.TryDecodeAsNil() { + yyv1323[yyj1323] = Job{} + } else { + yyv1324 := &yyv1323[yyj1323] + yyv1324.CodecDecodeSelf(d) + } + + } + if yyrt1323 { + for ; yyj1323 < yyl1323; yyj1323++ { + yyv1323 = append(yyv1323, Job{}) + yyh1323.ElemContainerState(yyj1323) + if r.TryDecodeAsNil() { + yyv1323[yyj1323] = Job{} + } else { + yyv1325 := &yyv1323[yyj1323] + yyv1325.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1323 := 0 + for ; !r.CheckBreak(); yyj1323++ { + + if yyj1323 >= len(yyv1323) { + yyv1323 = append(yyv1323, Job{}) // var yyz1323 Job + yyc1323 = true + } + yyh1323.ElemContainerState(yyj1323) + if yyj1323 < len(yyv1323) { + if r.TryDecodeAsNil() { + yyv1323[yyj1323] = Job{} + } else { + yyv1326 := &yyv1323[yyj1323] + yyv1326.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1323 < len(yyv1323) { + yyv1323 = yyv1323[:yyj1323] + yyc1323 = true + } else if yyj1323 == 0 && yyv1323 == nil { + yyv1323 = []Job{} + yyc1323 = true + } + } + yyh1323.End() + if yyc1323 { + *v = yyv1323 + } +} + +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 _, yyv1327 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1328 := &yyv1327 + yy1328.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 + + yyv1329 := *v + yyh1329, yyl1329 := z.DecSliceHelperStart() + var yyc1329 bool + if yyl1329 == 0 { + if yyv1329 == nil { + yyv1329 = []JobCondition{} + yyc1329 = true + } else if len(yyv1329) != 0 { + yyv1329 = yyv1329[:0] + yyc1329 = true + } + } else if yyl1329 > 0 { + var yyrr1329, yyrl1329 int + var yyrt1329 bool + if yyl1329 > cap(yyv1329) { + + yyrg1329 := len(yyv1329) > 0 + yyv21329 := yyv1329 + yyrl1329, yyrt1329 = z.DecInferLen(yyl1329, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1329 { + if yyrl1329 <= cap(yyv1329) { + yyv1329 = yyv1329[:yyrl1329] + } else { + yyv1329 = make([]JobCondition, yyrl1329) + } + } else { + yyv1329 = make([]JobCondition, yyrl1329) + } + yyc1329 = true + yyrr1329 = len(yyv1329) + if yyrg1329 { + copy(yyv1329, yyv21329) + } + } else if yyl1329 != len(yyv1329) { + yyv1329 = yyv1329[:yyl1329] + yyc1329 = true + } + yyj1329 := 0 + for ; yyj1329 < yyrr1329; yyj1329++ { + yyh1329.ElemContainerState(yyj1329) + if r.TryDecodeAsNil() { + yyv1329[yyj1329] = JobCondition{} + } else { + yyv1330 := &yyv1329[yyj1329] + yyv1330.CodecDecodeSelf(d) + } + + } + if yyrt1329 { + for ; yyj1329 < yyl1329; yyj1329++ { + yyv1329 = append(yyv1329, JobCondition{}) + yyh1329.ElemContainerState(yyj1329) + if r.TryDecodeAsNil() { + yyv1329[yyj1329] = JobCondition{} + } else { + yyv1331 := &yyv1329[yyj1329] + yyv1331.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1329 := 0 + for ; !r.CheckBreak(); yyj1329++ { + + if yyj1329 >= len(yyv1329) { + yyv1329 = append(yyv1329, JobCondition{}) // var yyz1329 JobCondition + yyc1329 = true + } + yyh1329.ElemContainerState(yyj1329) + if yyj1329 < len(yyv1329) { + if r.TryDecodeAsNil() { + yyv1329[yyj1329] = JobCondition{} + } else { + yyv1332 := &yyv1329[yyj1329] + yyv1332.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1329 < len(yyv1329) { + yyv1329 = yyv1329[:yyj1329] + yyc1329 = true + } else if yyj1329 == 0 && yyv1329 == nil { + yyv1329 = []JobCondition{} + yyc1329 = true + } + } + yyh1329.End() + if yyc1329 { + *v = yyv1329 + } +} + +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 _, yyv1333 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1334 := &yyv1333 + yy1334.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 + + yyv1335 := *v + yyh1335, yyl1335 := z.DecSliceHelperStart() + var yyc1335 bool + if yyl1335 == 0 { + if yyv1335 == nil { + yyv1335 = []Ingress{} + yyc1335 = true + } else if len(yyv1335) != 0 { + yyv1335 = yyv1335[:0] + yyc1335 = true + } + } else if yyl1335 > 0 { + var yyrr1335, yyrl1335 int + var yyrt1335 bool + if yyl1335 > cap(yyv1335) { + + yyrg1335 := len(yyv1335) > 0 + yyv21335 := yyv1335 + yyrl1335, yyrt1335 = z.DecInferLen(yyl1335, z.DecBasicHandle().MaxInitLen, 248) + if yyrt1335 { + if yyrl1335 <= cap(yyv1335) { + yyv1335 = yyv1335[:yyrl1335] + } else { + yyv1335 = make([]Ingress, yyrl1335) + } + } else { + yyv1335 = make([]Ingress, yyrl1335) + } + yyc1335 = true + yyrr1335 = len(yyv1335) + if yyrg1335 { + copy(yyv1335, yyv21335) + } + } else if yyl1335 != len(yyv1335) { + yyv1335 = yyv1335[:yyl1335] + yyc1335 = true + } + yyj1335 := 0 + for ; yyj1335 < yyrr1335; yyj1335++ { + yyh1335.ElemContainerState(yyj1335) + if r.TryDecodeAsNil() { + yyv1335[yyj1335] = Ingress{} + } else { + yyv1336 := &yyv1335[yyj1335] + yyv1336.CodecDecodeSelf(d) + } + + } + if yyrt1335 { + for ; yyj1335 < yyl1335; yyj1335++ { + yyv1335 = append(yyv1335, Ingress{}) + yyh1335.ElemContainerState(yyj1335) + if r.TryDecodeAsNil() { + yyv1335[yyj1335] = Ingress{} + } else { + yyv1337 := &yyv1335[yyj1335] + yyv1337.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1335 := 0 + for ; !r.CheckBreak(); yyj1335++ { + + if yyj1335 >= len(yyv1335) { + yyv1335 = append(yyv1335, Ingress{}) // var yyz1335 Ingress + yyc1335 = true + } + yyh1335.ElemContainerState(yyj1335) + if yyj1335 < len(yyv1335) { + if r.TryDecodeAsNil() { + yyv1335[yyj1335] = Ingress{} + } else { + yyv1338 := &yyv1335[yyj1335] + yyv1338.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1335 < len(yyv1335) { + yyv1335 = yyv1335[:yyj1335] + yyc1335 = true + } else if yyj1335 == 0 && yyv1335 == nil { + yyv1335 = []Ingress{} + yyc1335 = true + } + } + yyh1335.End() + if yyc1335 { + *v = yyv1335 + } +} + +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 _, yyv1339 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1340 := &yyv1339 + yy1340.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 + + yyv1341 := *v + yyh1341, yyl1341 := z.DecSliceHelperStart() + var yyc1341 bool + if yyl1341 == 0 { + if yyv1341 == nil { + yyv1341 = []IngressRule{} + yyc1341 = true + } else if len(yyv1341) != 0 { + yyv1341 = yyv1341[:0] + yyc1341 = true + } + } else if yyl1341 > 0 { + var yyrr1341, yyrl1341 int + var yyrt1341 bool + if yyl1341 > cap(yyv1341) { + + yyrg1341 := len(yyv1341) > 0 + yyv21341 := yyv1341 + yyrl1341, yyrt1341 = z.DecInferLen(yyl1341, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1341 { + if yyrl1341 <= cap(yyv1341) { + yyv1341 = yyv1341[:yyrl1341] + } else { + yyv1341 = make([]IngressRule, yyrl1341) + } + } else { + yyv1341 = make([]IngressRule, yyrl1341) + } + yyc1341 = true + yyrr1341 = len(yyv1341) + if yyrg1341 { + copy(yyv1341, yyv21341) + } + } else if yyl1341 != len(yyv1341) { + yyv1341 = yyv1341[:yyl1341] + yyc1341 = true + } + yyj1341 := 0 + for ; yyj1341 < yyrr1341; yyj1341++ { + yyh1341.ElemContainerState(yyj1341) + if r.TryDecodeAsNil() { + yyv1341[yyj1341] = IngressRule{} + } else { + yyv1342 := &yyv1341[yyj1341] + yyv1342.CodecDecodeSelf(d) + } + + } + if yyrt1341 { + for ; yyj1341 < yyl1341; yyj1341++ { + yyv1341 = append(yyv1341, IngressRule{}) + yyh1341.ElemContainerState(yyj1341) + if r.TryDecodeAsNil() { + yyv1341[yyj1341] = IngressRule{} + } else { + yyv1343 := &yyv1341[yyj1341] + yyv1343.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1341 := 0 + for ; !r.CheckBreak(); yyj1341++ { + + if yyj1341 >= len(yyv1341) { + yyv1341 = append(yyv1341, IngressRule{}) // var yyz1341 IngressRule + yyc1341 = true + } + yyh1341.ElemContainerState(yyj1341) + if yyj1341 < len(yyv1341) { + if r.TryDecodeAsNil() { + yyv1341[yyj1341] = IngressRule{} + } else { + yyv1344 := &yyv1341[yyj1341] + yyv1344.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1341 < len(yyv1341) { + yyv1341 = yyv1341[:yyj1341] + yyc1341 = true + } else if yyj1341 == 0 && yyv1341 == nil { + yyv1341 = []IngressRule{} + yyc1341 = true + } + } + yyh1341.End() + if yyc1341 { + *v = yyv1341 + } +} + +func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16102,7 +16584,7 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16112,7 +16594,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos var yyc1347 bool if yyl1347 == 0 { if yyv1347 == nil { - yyv1347 = []HorizontalPodAutoscaler{} + yyv1347 = []HTTPIngressPath{} yyc1347 = true } else if len(yyv1347) != 0 { yyv1347 = yyv1347[:0] @@ -16125,15 +16607,15 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos yyrg1347 := len(yyv1347) > 0 yyv21347 := yyv1347 - yyrl1347, yyrt1347 = z.DecInferLen(yyl1347, z.DecBasicHandle().MaxInitLen, 320) + yyrl1347, yyrt1347 = z.DecInferLen(yyl1347, z.DecBasicHandle().MaxInitLen, 64) if yyrt1347 { if yyrl1347 <= cap(yyv1347) { yyv1347 = yyv1347[:yyrl1347] } else { - yyv1347 = make([]HorizontalPodAutoscaler, yyrl1347) + yyv1347 = make([]HTTPIngressPath, yyrl1347) } } else { - yyv1347 = make([]HorizontalPodAutoscaler, yyrl1347) + yyv1347 = make([]HTTPIngressPath, yyrl1347) } yyc1347 = true yyrr1347 = len(yyv1347) @@ -16148,7 +16630,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos for ; yyj1347 < yyrr1347; yyj1347++ { yyh1347.ElemContainerState(yyj1347) if r.TryDecodeAsNil() { - yyv1347[yyj1347] = HorizontalPodAutoscaler{} + yyv1347[yyj1347] = HTTPIngressPath{} } else { yyv1348 := &yyv1347[yyj1347] yyv1348.CodecDecodeSelf(d) @@ -16157,10 +16639,10 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } if yyrt1347 { for ; yyj1347 < yyl1347; yyj1347++ { - yyv1347 = append(yyv1347, HorizontalPodAutoscaler{}) + yyv1347 = append(yyv1347, HTTPIngressPath{}) yyh1347.ElemContainerState(yyj1347) if r.TryDecodeAsNil() { - yyv1347[yyj1347] = HorizontalPodAutoscaler{} + yyv1347[yyj1347] = HTTPIngressPath{} } else { yyv1349 := &yyv1347[yyj1347] yyv1349.CodecDecodeSelf(d) @@ -16174,13 +16656,13 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos for ; !r.CheckBreak(); yyj1347++ { if yyj1347 >= len(yyv1347) { - yyv1347 = append(yyv1347, HorizontalPodAutoscaler{}) // var yyz1347 HorizontalPodAutoscaler + yyv1347 = append(yyv1347, HTTPIngressPath{}) // var yyz1347 HTTPIngressPath yyc1347 = true } yyh1347.ElemContainerState(yyj1347) if yyj1347 < len(yyv1347) { if r.TryDecodeAsNil() { - yyv1347[yyj1347] = HorizontalPodAutoscaler{} + yyv1347[yyj1347] = HTTPIngressPath{} } else { yyv1350 := &yyv1347[yyj1347] yyv1350.CodecDecodeSelf(d) @@ -16195,7 +16677,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos yyv1347 = yyv1347[:yyj1347] yyc1347 = true } else if yyj1347 == 0 && yyv1347 == nil { - yyv1347 = []HorizontalPodAutoscaler{} + yyv1347 = []HTTPIngressPath{} yyc1347 = true } } @@ -16205,7 +16687,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } -func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNodeUtilization(v []NodeUtilization, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16218,7 +16700,7 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16228,7 +16710,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode var yyc1353 bool if yyl1353 == 0 { if yyv1353 == nil { - yyv1353 = []APIVersion{} + yyv1353 = []NodeUtilization{} yyc1353 = true } else if len(yyv1353) != 0 { yyv1353 = yyv1353[:0] @@ -16241,15 +16723,15 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode yyrg1353 := len(yyv1353) > 0 yyv21353 := yyv1353 - yyrl1353, yyrt1353 = z.DecInferLen(yyl1353, z.DecBasicHandle().MaxInitLen, 32) + yyrl1353, yyrt1353 = z.DecInferLen(yyl1353, z.DecBasicHandle().MaxInitLen, 24) if yyrt1353 { if yyrl1353 <= cap(yyv1353) { yyv1353 = yyv1353[:yyrl1353] } else { - yyv1353 = make([]APIVersion, yyrl1353) + yyv1353 = make([]NodeUtilization, yyrl1353) } } else { - yyv1353 = make([]APIVersion, yyrl1353) + yyv1353 = make([]NodeUtilization, yyrl1353) } yyc1353 = true yyrr1353 = len(yyv1353) @@ -16264,7 +16746,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode for ; yyj1353 < yyrr1353; yyj1353++ { yyh1353.ElemContainerState(yyj1353) if r.TryDecodeAsNil() { - yyv1353[yyj1353] = APIVersion{} + yyv1353[yyj1353] = NodeUtilization{} } else { yyv1354 := &yyv1353[yyj1353] yyv1354.CodecDecodeSelf(d) @@ -16273,10 +16755,10 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } if yyrt1353 { for ; yyj1353 < yyl1353; yyj1353++ { - yyv1353 = append(yyv1353, APIVersion{}) + yyv1353 = append(yyv1353, NodeUtilization{}) yyh1353.ElemContainerState(yyj1353) if r.TryDecodeAsNil() { - yyv1353[yyj1353] = APIVersion{} + yyv1353[yyj1353] = NodeUtilization{} } else { yyv1355 := &yyv1353[yyj1353] yyv1355.CodecDecodeSelf(d) @@ -16290,13 +16772,13 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode for ; !r.CheckBreak(); yyj1353++ { if yyj1353 >= len(yyv1353) { - yyv1353 = append(yyv1353, APIVersion{}) // var yyz1353 APIVersion + yyv1353 = append(yyv1353, NodeUtilization{}) // var yyz1353 NodeUtilization yyc1353 = true } yyh1353.ElemContainerState(yyj1353) if yyj1353 < len(yyv1353) { if r.TryDecodeAsNil() { - yyv1353[yyj1353] = APIVersion{} + yyv1353[yyj1353] = NodeUtilization{} } else { yyv1356 := &yyv1353[yyj1353] yyv1356.CodecDecodeSelf(d) @@ -16311,7 +16793,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode yyv1353 = yyv1353[:yyj1353] yyc1353 = true } else if yyj1353 == 0 && yyv1353 == nil { - yyv1353 = []APIVersion{} + yyv1353 = []NodeUtilization{} yyc1353 = true } } @@ -16321,7 +16803,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceClusterAutoscaler(v []ClusterAutoscaler, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16334,7 +16816,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) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16344,7 +16826,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * var yyc1359 bool if yyl1359 == 0 { if yyv1359 == nil { - yyv1359 = []ThirdPartyResource{} + yyv1359 = []ClusterAutoscaler{} yyc1359 = true } else if len(yyv1359) != 0 { yyv1359 = yyv1359[:0] @@ -16362,10 +16844,10 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * if yyrl1359 <= cap(yyv1359) { yyv1359 = yyv1359[:yyrl1359] } else { - yyv1359 = make([]ThirdPartyResource, yyrl1359) + yyv1359 = make([]ClusterAutoscaler, yyrl1359) } } else { - yyv1359 = make([]ThirdPartyResource, yyrl1359) + yyv1359 = make([]ClusterAutoscaler, yyrl1359) } yyc1359 = true yyrr1359 = len(yyv1359) @@ -16380,7 +16862,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * for ; yyj1359 < yyrr1359; yyj1359++ { yyh1359.ElemContainerState(yyj1359) if r.TryDecodeAsNil() { - yyv1359[yyj1359] = ThirdPartyResource{} + yyv1359[yyj1359] = ClusterAutoscaler{} } else { yyv1360 := &yyv1359[yyj1359] yyv1360.CodecDecodeSelf(d) @@ -16389,10 +16871,10 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } if yyrt1359 { for ; yyj1359 < yyl1359; yyj1359++ { - yyv1359 = append(yyv1359, ThirdPartyResource{}) + yyv1359 = append(yyv1359, ClusterAutoscaler{}) yyh1359.ElemContainerState(yyj1359) if r.TryDecodeAsNil() { - yyv1359[yyj1359] = ThirdPartyResource{} + yyv1359[yyj1359] = ClusterAutoscaler{} } else { yyv1361 := &yyv1359[yyj1359] yyv1361.CodecDecodeSelf(d) @@ -16406,13 +16888,13 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * for ; !r.CheckBreak(); yyj1359++ { if yyj1359 >= len(yyv1359) { - yyv1359 = append(yyv1359, ThirdPartyResource{}) // var yyz1359 ThirdPartyResource + yyv1359 = append(yyv1359, ClusterAutoscaler{}) // var yyz1359 ClusterAutoscaler yyc1359 = true } yyh1359.ElemContainerState(yyj1359) if yyj1359 < len(yyv1359) { if r.TryDecodeAsNil() { - yyv1359[yyj1359] = ThirdPartyResource{} + yyv1359[yyj1359] = ClusterAutoscaler{} } else { yyv1362 := &yyv1359[yyj1359] yyv1362.CodecDecodeSelf(d) @@ -16427,7 +16909,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * yyv1359 = yyv1359[:yyj1359] yyc1359 = true } else if yyj1359 == 0 && yyv1359 == nil { - yyv1359 = []ThirdPartyResource{} + yyv1359 = []ClusterAutoscaler{} yyc1359 = true } } @@ -16437,7 +16919,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } -func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequirement, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16450,7 +16932,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) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequirement, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16460,7 +16942,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode var yyc1365 bool if yyl1365 == 0 { if yyv1365 == nil { - yyv1365 = []Deployment{} + yyv1365 = []LabelSelectorRequirement{} yyc1365 = true } else if len(yyv1365) != 0 { yyv1365 = yyv1365[:0] @@ -16473,15 +16955,15 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode yyrg1365 := len(yyv1365) > 0 yyv21365 := yyv1365 - yyrl1365, yyrt1365 = z.DecInferLen(yyl1365, z.DecBasicHandle().MaxInitLen, 616) + yyrl1365, yyrt1365 = z.DecInferLen(yyl1365, z.DecBasicHandle().MaxInitLen, 56) if yyrt1365 { if yyrl1365 <= cap(yyv1365) { yyv1365 = yyv1365[:yyrl1365] } else { - yyv1365 = make([]Deployment, yyrl1365) + yyv1365 = make([]LabelSelectorRequirement, yyrl1365) } } else { - yyv1365 = make([]Deployment, yyrl1365) + yyv1365 = make([]LabelSelectorRequirement, yyrl1365) } yyc1365 = true yyrr1365 = len(yyv1365) @@ -16496,7 +16978,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode for ; yyj1365 < yyrr1365; yyj1365++ { yyh1365.ElemContainerState(yyj1365) if r.TryDecodeAsNil() { - yyv1365[yyj1365] = Deployment{} + yyv1365[yyj1365] = LabelSelectorRequirement{} } else { yyv1366 := &yyv1365[yyj1365] yyv1366.CodecDecodeSelf(d) @@ -16505,10 +16987,10 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } if yyrt1365 { for ; yyj1365 < yyl1365; yyj1365++ { - yyv1365 = append(yyv1365, Deployment{}) + yyv1365 = append(yyv1365, LabelSelectorRequirement{}) yyh1365.ElemContainerState(yyj1365) if r.TryDecodeAsNil() { - yyv1365[yyj1365] = Deployment{} + yyv1365[yyj1365] = LabelSelectorRequirement{} } else { yyv1367 := &yyv1365[yyj1365] yyv1367.CodecDecodeSelf(d) @@ -16522,13 +17004,13 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode for ; !r.CheckBreak(); yyj1365++ { if yyj1365 >= len(yyv1365) { - yyv1365 = append(yyv1365, Deployment{}) // var yyz1365 Deployment + yyv1365 = append(yyv1365, LabelSelectorRequirement{}) // var yyz1365 LabelSelectorRequirement yyc1365 = true } yyh1365.ElemContainerState(yyj1365) if yyj1365 < len(yyv1365) { if r.TryDecodeAsNil() { - yyv1365[yyj1365] = Deployment{} + yyv1365[yyj1365] = LabelSelectorRequirement{} } else { yyv1368 := &yyv1365[yyj1365] yyv1368.CodecDecodeSelf(d) @@ -16543,7 +17025,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode yyv1365 = yyv1365[:yyj1365] yyc1365 = true } else if yyj1365 == 0 && yyv1365 == nil { - yyv1365 = []Deployment{} + yyv1365 = []LabelSelectorRequirement{} yyc1365 = true } } @@ -16553,7 +17035,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16566,7 +17048,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) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16576,7 +17058,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) var yyc1371 bool if yyl1371 == 0 { if yyv1371 == nil { - yyv1371 = []DaemonSet{} + yyv1371 = []ReplicaSet{} yyc1371 = true } else if len(yyv1371) != 0 { yyv1371 = yyv1371[:0] @@ -16589,15 +17071,15 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyrg1371 := len(yyv1371) > 0 yyv21371 := yyv1371 - yyrl1371, yyrt1371 = z.DecInferLen(yyl1371, z.DecBasicHandle().MaxInitLen, 272) + yyrl1371, yyrt1371 = z.DecInferLen(yyl1371, z.DecBasicHandle().MaxInitLen, 232) if yyrt1371 { if yyrl1371 <= cap(yyv1371) { yyv1371 = yyv1371[:yyrl1371] } else { - yyv1371 = make([]DaemonSet, yyrl1371) + yyv1371 = make([]ReplicaSet, yyrl1371) } } else { - yyv1371 = make([]DaemonSet, yyrl1371) + yyv1371 = make([]ReplicaSet, yyrl1371) } yyc1371 = true yyrr1371 = len(yyv1371) @@ -16612,7 +17094,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; yyj1371 < yyrr1371; yyj1371++ { yyh1371.ElemContainerState(yyj1371) if r.TryDecodeAsNil() { - yyv1371[yyj1371] = DaemonSet{} + yyv1371[yyj1371] = ReplicaSet{} } else { yyv1372 := &yyv1371[yyj1371] yyv1372.CodecDecodeSelf(d) @@ -16621,10 +17103,10 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } if yyrt1371 { for ; yyj1371 < yyl1371; yyj1371++ { - yyv1371 = append(yyv1371, DaemonSet{}) + yyv1371 = append(yyv1371, ReplicaSet{}) yyh1371.ElemContainerState(yyj1371) if r.TryDecodeAsNil() { - yyv1371[yyj1371] = DaemonSet{} + yyv1371[yyj1371] = ReplicaSet{} } else { yyv1373 := &yyv1371[yyj1371] yyv1373.CodecDecodeSelf(d) @@ -16638,13 +17120,13 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj1371++ { if yyj1371 >= len(yyv1371) { - yyv1371 = append(yyv1371, DaemonSet{}) // var yyz1371 DaemonSet + yyv1371 = append(yyv1371, ReplicaSet{}) // var yyz1371 ReplicaSet yyc1371 = true } yyh1371.ElemContainerState(yyj1371) if yyj1371 < len(yyv1371) { if r.TryDecodeAsNil() { - yyv1371[yyj1371] = DaemonSet{} + yyv1371[yyj1371] = ReplicaSet{} } else { yyv1374 := &yyv1371[yyj1371] yyv1374.CodecDecodeSelf(d) @@ -16659,7 +17141,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyv1371 = yyv1371[:yyj1371] yyc1371 = true } else if yyj1371 == 0 && yyv1371 == nil { - yyv1371 = []DaemonSet{} + yyv1371 = []ReplicaSet{} yyc1371 = true } } @@ -16668,1279 +17150,3 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) *v = yyv1371 } } - -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 _, yyv1375 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1376 := &yyv1375 - yy1376.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 - - yyv1377 := *v - yyh1377, yyl1377 := z.DecSliceHelperStart() - var yyc1377 bool - if yyl1377 == 0 { - if yyv1377 == nil { - yyv1377 = []ThirdPartyResourceData{} - yyc1377 = true - } else if len(yyv1377) != 0 { - yyv1377 = yyv1377[:0] - yyc1377 = true - } - } else if yyl1377 > 0 { - var yyrr1377, yyrl1377 int - var yyrt1377 bool - if yyl1377 > cap(yyv1377) { - - yyrg1377 := len(yyv1377) > 0 - yyv21377 := yyv1377 - yyrl1377, yyrt1377 = z.DecInferLen(yyl1377, z.DecBasicHandle().MaxInitLen, 216) - if yyrt1377 { - if yyrl1377 <= cap(yyv1377) { - yyv1377 = yyv1377[:yyrl1377] - } else { - yyv1377 = make([]ThirdPartyResourceData, yyrl1377) - } - } else { - yyv1377 = make([]ThirdPartyResourceData, yyrl1377) - } - yyc1377 = true - yyrr1377 = len(yyv1377) - if yyrg1377 { - copy(yyv1377, yyv21377) - } - } else if yyl1377 != len(yyv1377) { - yyv1377 = yyv1377[:yyl1377] - yyc1377 = true - } - yyj1377 := 0 - for ; yyj1377 < yyrr1377; yyj1377++ { - yyh1377.ElemContainerState(yyj1377) - if r.TryDecodeAsNil() { - yyv1377[yyj1377] = ThirdPartyResourceData{} - } else { - yyv1378 := &yyv1377[yyj1377] - yyv1378.CodecDecodeSelf(d) - } - - } - if yyrt1377 { - for ; yyj1377 < yyl1377; yyj1377++ { - yyv1377 = append(yyv1377, ThirdPartyResourceData{}) - yyh1377.ElemContainerState(yyj1377) - if r.TryDecodeAsNil() { - yyv1377[yyj1377] = ThirdPartyResourceData{} - } else { - yyv1379 := &yyv1377[yyj1377] - yyv1379.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1377 := 0 - for ; !r.CheckBreak(); yyj1377++ { - - if yyj1377 >= len(yyv1377) { - yyv1377 = append(yyv1377, ThirdPartyResourceData{}) // var yyz1377 ThirdPartyResourceData - yyc1377 = true - } - yyh1377.ElemContainerState(yyj1377) - if yyj1377 < len(yyv1377) { - if r.TryDecodeAsNil() { - yyv1377[yyj1377] = ThirdPartyResourceData{} - } else { - yyv1380 := &yyv1377[yyj1377] - yyv1380.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1377 < len(yyv1377) { - yyv1377 = yyv1377[:yyj1377] - yyc1377 = true - } else if yyj1377 == 0 && yyv1377 == nil { - yyv1377 = []ThirdPartyResourceData{} - yyc1377 = true - } - } - yyh1377.End() - if yyc1377 { - *v = yyv1377 - } -} - -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 _, yyv1381 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1382 := &yyv1381 - yy1382.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 - - yyv1383 := *v - yyh1383, yyl1383 := z.DecSliceHelperStart() - var yyc1383 bool - if yyl1383 == 0 { - if yyv1383 == nil { - yyv1383 = []Job{} - yyc1383 = true - } else if len(yyv1383) != 0 { - yyv1383 = yyv1383[:0] - yyc1383 = true - } - } else if yyl1383 > 0 { - var yyrr1383, yyrl1383 int - var yyrt1383 bool - if yyl1383 > cap(yyv1383) { - - yyrg1383 := len(yyv1383) > 0 - yyv21383 := yyv1383 - yyrl1383, yyrt1383 = z.DecInferLen(yyl1383, z.DecBasicHandle().MaxInitLen, 616) - if yyrt1383 { - if yyrl1383 <= cap(yyv1383) { - yyv1383 = yyv1383[:yyrl1383] - } else { - yyv1383 = make([]Job, yyrl1383) - } - } else { - yyv1383 = make([]Job, yyrl1383) - } - yyc1383 = true - yyrr1383 = len(yyv1383) - if yyrg1383 { - copy(yyv1383, yyv21383) - } - } else if yyl1383 != len(yyv1383) { - yyv1383 = yyv1383[:yyl1383] - yyc1383 = true - } - yyj1383 := 0 - for ; yyj1383 < yyrr1383; yyj1383++ { - yyh1383.ElemContainerState(yyj1383) - if r.TryDecodeAsNil() { - yyv1383[yyj1383] = Job{} - } else { - yyv1384 := &yyv1383[yyj1383] - yyv1384.CodecDecodeSelf(d) - } - - } - if yyrt1383 { - for ; yyj1383 < yyl1383; yyj1383++ { - yyv1383 = append(yyv1383, Job{}) - yyh1383.ElemContainerState(yyj1383) - if r.TryDecodeAsNil() { - yyv1383[yyj1383] = Job{} - } else { - yyv1385 := &yyv1383[yyj1383] - yyv1385.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1383 := 0 - for ; !r.CheckBreak(); yyj1383++ { - - if yyj1383 >= len(yyv1383) { - yyv1383 = append(yyv1383, Job{}) // var yyz1383 Job - yyc1383 = true - } - yyh1383.ElemContainerState(yyj1383) - if yyj1383 < len(yyv1383) { - if r.TryDecodeAsNil() { - yyv1383[yyj1383] = Job{} - } else { - yyv1386 := &yyv1383[yyj1383] - yyv1386.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1383 < len(yyv1383) { - yyv1383 = yyv1383[:yyj1383] - yyc1383 = true - } else if yyj1383 == 0 && yyv1383 == nil { - yyv1383 = []Job{} - yyc1383 = true - } - } - yyh1383.End() - if yyc1383 { - *v = yyv1383 - } -} - -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 _, yyv1387 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1388 := &yyv1387 - yy1388.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 - - yyv1389 := *v - yyh1389, yyl1389 := z.DecSliceHelperStart() - var yyc1389 bool - if yyl1389 == 0 { - if yyv1389 == nil { - yyv1389 = []JobCondition{} - yyc1389 = true - } else if len(yyv1389) != 0 { - yyv1389 = yyv1389[:0] - yyc1389 = true - } - } else if yyl1389 > 0 { - var yyrr1389, yyrl1389 int - var yyrt1389 bool - if yyl1389 > cap(yyv1389) { - - yyrg1389 := len(yyv1389) > 0 - yyv21389 := yyv1389 - yyrl1389, yyrt1389 = z.DecInferLen(yyl1389, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1389 { - if yyrl1389 <= cap(yyv1389) { - yyv1389 = yyv1389[:yyrl1389] - } else { - yyv1389 = make([]JobCondition, yyrl1389) - } - } else { - yyv1389 = make([]JobCondition, yyrl1389) - } - yyc1389 = true - yyrr1389 = len(yyv1389) - if yyrg1389 { - copy(yyv1389, yyv21389) - } - } else if yyl1389 != len(yyv1389) { - yyv1389 = yyv1389[:yyl1389] - yyc1389 = true - } - yyj1389 := 0 - for ; yyj1389 < yyrr1389; yyj1389++ { - yyh1389.ElemContainerState(yyj1389) - if r.TryDecodeAsNil() { - yyv1389[yyj1389] = JobCondition{} - } else { - yyv1390 := &yyv1389[yyj1389] - yyv1390.CodecDecodeSelf(d) - } - - } - if yyrt1389 { - for ; yyj1389 < yyl1389; yyj1389++ { - yyv1389 = append(yyv1389, JobCondition{}) - yyh1389.ElemContainerState(yyj1389) - if r.TryDecodeAsNil() { - yyv1389[yyj1389] = JobCondition{} - } else { - yyv1391 := &yyv1389[yyj1389] - yyv1391.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1389 := 0 - for ; !r.CheckBreak(); yyj1389++ { - - if yyj1389 >= len(yyv1389) { - yyv1389 = append(yyv1389, JobCondition{}) // var yyz1389 JobCondition - yyc1389 = true - } - yyh1389.ElemContainerState(yyj1389) - if yyj1389 < len(yyv1389) { - if r.TryDecodeAsNil() { - yyv1389[yyj1389] = JobCondition{} - } else { - yyv1392 := &yyv1389[yyj1389] - yyv1392.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1389 < len(yyv1389) { - yyv1389 = yyv1389[:yyj1389] - yyc1389 = true - } else if yyj1389 == 0 && yyv1389 == nil { - yyv1389 = []JobCondition{} - yyc1389 = true - } - } - yyh1389.End() - if yyc1389 { - *v = yyv1389 - } -} - -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 _, yyv1393 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1394 := &yyv1393 - yy1394.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 - - yyv1395 := *v - yyh1395, yyl1395 := z.DecSliceHelperStart() - var yyc1395 bool - if yyl1395 == 0 { - if yyv1395 == nil { - yyv1395 = []Ingress{} - yyc1395 = true - } else if len(yyv1395) != 0 { - yyv1395 = yyv1395[:0] - yyc1395 = true - } - } else if yyl1395 > 0 { - var yyrr1395, yyrl1395 int - var yyrt1395 bool - if yyl1395 > cap(yyv1395) { - - yyrg1395 := len(yyv1395) > 0 - yyv21395 := yyv1395 - yyrl1395, yyrt1395 = z.DecInferLen(yyl1395, z.DecBasicHandle().MaxInitLen, 248) - if yyrt1395 { - if yyrl1395 <= cap(yyv1395) { - yyv1395 = yyv1395[:yyrl1395] - } else { - yyv1395 = make([]Ingress, yyrl1395) - } - } else { - yyv1395 = make([]Ingress, yyrl1395) - } - yyc1395 = true - yyrr1395 = len(yyv1395) - if yyrg1395 { - copy(yyv1395, yyv21395) - } - } else if yyl1395 != len(yyv1395) { - yyv1395 = yyv1395[:yyl1395] - yyc1395 = true - } - yyj1395 := 0 - for ; yyj1395 < yyrr1395; yyj1395++ { - yyh1395.ElemContainerState(yyj1395) - if r.TryDecodeAsNil() { - yyv1395[yyj1395] = Ingress{} - } else { - yyv1396 := &yyv1395[yyj1395] - yyv1396.CodecDecodeSelf(d) - } - - } - if yyrt1395 { - for ; yyj1395 < yyl1395; yyj1395++ { - yyv1395 = append(yyv1395, Ingress{}) - yyh1395.ElemContainerState(yyj1395) - if r.TryDecodeAsNil() { - yyv1395[yyj1395] = Ingress{} - } else { - yyv1397 := &yyv1395[yyj1395] - yyv1397.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1395 := 0 - for ; !r.CheckBreak(); yyj1395++ { - - if yyj1395 >= len(yyv1395) { - yyv1395 = append(yyv1395, Ingress{}) // var yyz1395 Ingress - yyc1395 = true - } - yyh1395.ElemContainerState(yyj1395) - if yyj1395 < len(yyv1395) { - if r.TryDecodeAsNil() { - yyv1395[yyj1395] = Ingress{} - } else { - yyv1398 := &yyv1395[yyj1395] - yyv1398.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1395 < len(yyv1395) { - yyv1395 = yyv1395[:yyj1395] - yyc1395 = true - } else if yyj1395 == 0 && yyv1395 == nil { - yyv1395 = []Ingress{} - yyc1395 = true - } - } - yyh1395.End() - if yyc1395 { - *v = yyv1395 - } -} - -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 _, yyv1399 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1400 := &yyv1399 - yy1400.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 - - yyv1401 := *v - yyh1401, yyl1401 := z.DecSliceHelperStart() - var yyc1401 bool - if yyl1401 == 0 { - if yyv1401 == nil { - yyv1401 = []IngressRule{} - yyc1401 = true - } else if len(yyv1401) != 0 { - yyv1401 = yyv1401[:0] - yyc1401 = true - } - } else if yyl1401 > 0 { - var yyrr1401, yyrl1401 int - var yyrt1401 bool - if yyl1401 > cap(yyv1401) { - - yyrg1401 := len(yyv1401) > 0 - yyv21401 := yyv1401 - yyrl1401, yyrt1401 = z.DecInferLen(yyl1401, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1401 { - if yyrl1401 <= cap(yyv1401) { - yyv1401 = yyv1401[:yyrl1401] - } else { - yyv1401 = make([]IngressRule, yyrl1401) - } - } else { - yyv1401 = make([]IngressRule, yyrl1401) - } - yyc1401 = true - yyrr1401 = len(yyv1401) - if yyrg1401 { - copy(yyv1401, yyv21401) - } - } else if yyl1401 != len(yyv1401) { - yyv1401 = yyv1401[:yyl1401] - yyc1401 = true - } - yyj1401 := 0 - for ; yyj1401 < yyrr1401; yyj1401++ { - yyh1401.ElemContainerState(yyj1401) - if r.TryDecodeAsNil() { - yyv1401[yyj1401] = IngressRule{} - } else { - yyv1402 := &yyv1401[yyj1401] - yyv1402.CodecDecodeSelf(d) - } - - } - if yyrt1401 { - for ; yyj1401 < yyl1401; yyj1401++ { - yyv1401 = append(yyv1401, IngressRule{}) - yyh1401.ElemContainerState(yyj1401) - if r.TryDecodeAsNil() { - yyv1401[yyj1401] = IngressRule{} - } else { - yyv1403 := &yyv1401[yyj1401] - yyv1403.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1401 := 0 - for ; !r.CheckBreak(); yyj1401++ { - - if yyj1401 >= len(yyv1401) { - yyv1401 = append(yyv1401, IngressRule{}) // var yyz1401 IngressRule - yyc1401 = true - } - yyh1401.ElemContainerState(yyj1401) - if yyj1401 < len(yyv1401) { - if r.TryDecodeAsNil() { - yyv1401[yyj1401] = IngressRule{} - } else { - yyv1404 := &yyv1401[yyj1401] - yyv1404.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1401 < len(yyv1401) { - yyv1401 = yyv1401[:yyj1401] - yyc1401 = true - } else if yyj1401 == 0 && yyv1401 == nil { - yyv1401 = []IngressRule{} - yyc1401 = true - } - } - yyh1401.End() - if yyc1401 { - *v = yyv1401 - } -} - -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 _, yyv1405 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1406 := &yyv1405 - yy1406.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 - - yyv1407 := *v - yyh1407, yyl1407 := z.DecSliceHelperStart() - var yyc1407 bool - if yyl1407 == 0 { - if yyv1407 == nil { - yyv1407 = []HTTPIngressPath{} - yyc1407 = true - } else if len(yyv1407) != 0 { - yyv1407 = yyv1407[:0] - yyc1407 = true - } - } else if yyl1407 > 0 { - var yyrr1407, yyrl1407 int - var yyrt1407 bool - if yyl1407 > cap(yyv1407) { - - yyrg1407 := len(yyv1407) > 0 - yyv21407 := yyv1407 - yyrl1407, yyrt1407 = z.DecInferLen(yyl1407, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1407 { - if yyrl1407 <= cap(yyv1407) { - yyv1407 = yyv1407[:yyrl1407] - } else { - yyv1407 = make([]HTTPIngressPath, yyrl1407) - } - } else { - yyv1407 = make([]HTTPIngressPath, yyrl1407) - } - yyc1407 = true - yyrr1407 = len(yyv1407) - if yyrg1407 { - copy(yyv1407, yyv21407) - } - } else if yyl1407 != len(yyv1407) { - yyv1407 = yyv1407[:yyl1407] - yyc1407 = true - } - yyj1407 := 0 - for ; yyj1407 < yyrr1407; yyj1407++ { - yyh1407.ElemContainerState(yyj1407) - if r.TryDecodeAsNil() { - yyv1407[yyj1407] = HTTPIngressPath{} - } else { - yyv1408 := &yyv1407[yyj1407] - yyv1408.CodecDecodeSelf(d) - } - - } - if yyrt1407 { - for ; yyj1407 < yyl1407; yyj1407++ { - yyv1407 = append(yyv1407, HTTPIngressPath{}) - yyh1407.ElemContainerState(yyj1407) - if r.TryDecodeAsNil() { - yyv1407[yyj1407] = HTTPIngressPath{} - } else { - yyv1409 := &yyv1407[yyj1407] - yyv1409.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1407 := 0 - for ; !r.CheckBreak(); yyj1407++ { - - if yyj1407 >= len(yyv1407) { - yyv1407 = append(yyv1407, HTTPIngressPath{}) // var yyz1407 HTTPIngressPath - yyc1407 = true - } - yyh1407.ElemContainerState(yyj1407) - if yyj1407 < len(yyv1407) { - if r.TryDecodeAsNil() { - yyv1407[yyj1407] = HTTPIngressPath{} - } else { - yyv1410 := &yyv1407[yyj1407] - yyv1410.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1407 < len(yyv1407) { - yyv1407 = yyv1407[:yyj1407] - yyc1407 = true - } else if yyj1407 == 0 && yyv1407 == nil { - yyv1407 = []HTTPIngressPath{} - yyc1407 = true - } - } - yyh1407.End() - if yyc1407 { - *v = yyv1407 - } -} - -func (x codecSelfer1234) encSliceNodeUtilization(v []NodeUtilization, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1411 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1412 := &yyv1411 - yy1412.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1413 := *v - yyh1413, yyl1413 := z.DecSliceHelperStart() - var yyc1413 bool - if yyl1413 == 0 { - if yyv1413 == nil { - yyv1413 = []NodeUtilization{} - yyc1413 = true - } else if len(yyv1413) != 0 { - yyv1413 = yyv1413[:0] - yyc1413 = true - } - } else if yyl1413 > 0 { - var yyrr1413, yyrl1413 int - var yyrt1413 bool - if yyl1413 > cap(yyv1413) { - - yyrg1413 := len(yyv1413) > 0 - yyv21413 := yyv1413 - yyrl1413, yyrt1413 = z.DecInferLen(yyl1413, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1413 { - if yyrl1413 <= cap(yyv1413) { - yyv1413 = yyv1413[:yyrl1413] - } else { - yyv1413 = make([]NodeUtilization, yyrl1413) - } - } else { - yyv1413 = make([]NodeUtilization, yyrl1413) - } - yyc1413 = true - yyrr1413 = len(yyv1413) - if yyrg1413 { - copy(yyv1413, yyv21413) - } - } else if yyl1413 != len(yyv1413) { - yyv1413 = yyv1413[:yyl1413] - yyc1413 = true - } - yyj1413 := 0 - for ; yyj1413 < yyrr1413; yyj1413++ { - yyh1413.ElemContainerState(yyj1413) - if r.TryDecodeAsNil() { - yyv1413[yyj1413] = NodeUtilization{} - } else { - yyv1414 := &yyv1413[yyj1413] - yyv1414.CodecDecodeSelf(d) - } - - } - if yyrt1413 { - for ; yyj1413 < yyl1413; yyj1413++ { - yyv1413 = append(yyv1413, NodeUtilization{}) - yyh1413.ElemContainerState(yyj1413) - if r.TryDecodeAsNil() { - yyv1413[yyj1413] = NodeUtilization{} - } else { - yyv1415 := &yyv1413[yyj1413] - yyv1415.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1413 := 0 - for ; !r.CheckBreak(); yyj1413++ { - - if yyj1413 >= len(yyv1413) { - yyv1413 = append(yyv1413, NodeUtilization{}) // var yyz1413 NodeUtilization - yyc1413 = true - } - yyh1413.ElemContainerState(yyj1413) - if yyj1413 < len(yyv1413) { - if r.TryDecodeAsNil() { - yyv1413[yyj1413] = NodeUtilization{} - } else { - yyv1416 := &yyv1413[yyj1413] - yyv1416.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1413 < len(yyv1413) { - yyv1413 = yyv1413[:yyj1413] - yyc1413 = true - } else if yyj1413 == 0 && yyv1413 == nil { - yyv1413 = []NodeUtilization{} - yyc1413 = true - } - } - yyh1413.End() - if yyc1413 { - *v = yyv1413 - } -} - -func (x codecSelfer1234) encSliceClusterAutoscaler(v []ClusterAutoscaler, 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) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, 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 = []ClusterAutoscaler{} - 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, 232) - if yyrt1419 { - if yyrl1419 <= cap(yyv1419) { - yyv1419 = yyv1419[:yyrl1419] - } else { - yyv1419 = make([]ClusterAutoscaler, yyrl1419) - } - } else { - yyv1419 = make([]ClusterAutoscaler, 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] = ClusterAutoscaler{} - } else { - yyv1420 := &yyv1419[yyj1419] - yyv1420.CodecDecodeSelf(d) - } - - } - if yyrt1419 { - for ; yyj1419 < yyl1419; yyj1419++ { - yyv1419 = append(yyv1419, ClusterAutoscaler{}) - yyh1419.ElemContainerState(yyj1419) - if r.TryDecodeAsNil() { - yyv1419[yyj1419] = ClusterAutoscaler{} - } else { - yyv1421 := &yyv1419[yyj1419] - yyv1421.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1419 := 0 - for ; !r.CheckBreak(); yyj1419++ { - - if yyj1419 >= len(yyv1419) { - yyv1419 = append(yyv1419, ClusterAutoscaler{}) // var yyz1419 ClusterAutoscaler - yyc1419 = true - } - yyh1419.ElemContainerState(yyj1419) - if yyj1419 < len(yyv1419) { - if r.TryDecodeAsNil() { - yyv1419[yyj1419] = ClusterAutoscaler{} - } 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 = []ClusterAutoscaler{} - yyc1419 = true - } - } - yyh1419.End() - if yyc1419 { - *v = yyv1419 - } -} - -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 _, yyv1423 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1424 := &yyv1423 - yy1424.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 - - yyv1425 := *v - yyh1425, yyl1425 := z.DecSliceHelperStart() - var yyc1425 bool - if yyl1425 == 0 { - if yyv1425 == nil { - yyv1425 = []LabelSelectorRequirement{} - 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, 56) - if yyrt1425 { - if yyrl1425 <= cap(yyv1425) { - yyv1425 = yyv1425[:yyrl1425] - } else { - yyv1425 = make([]LabelSelectorRequirement, yyrl1425) - } - } else { - yyv1425 = make([]LabelSelectorRequirement, 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] = LabelSelectorRequirement{} - } else { - yyv1426 := &yyv1425[yyj1425] - yyv1426.CodecDecodeSelf(d) - } - - } - if yyrt1425 { - for ; yyj1425 < yyl1425; yyj1425++ { - yyv1425 = append(yyv1425, LabelSelectorRequirement{}) - yyh1425.ElemContainerState(yyj1425) - if r.TryDecodeAsNil() { - yyv1425[yyj1425] = LabelSelectorRequirement{} - } else { - yyv1427 := &yyv1425[yyj1425] - yyv1427.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1425 := 0 - for ; !r.CheckBreak(); yyj1425++ { - - if yyj1425 >= len(yyv1425) { - yyv1425 = append(yyv1425, LabelSelectorRequirement{}) // var yyz1425 LabelSelectorRequirement - yyc1425 = true - } - yyh1425.ElemContainerState(yyj1425) - if yyj1425 < len(yyv1425) { - if r.TryDecodeAsNil() { - yyv1425[yyj1425] = LabelSelectorRequirement{} - } 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 = []LabelSelectorRequirement{} - yyc1425 = true - } - } - yyh1425.End() - if yyc1425 { - *v = yyv1425 - } -} - -func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, 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) - yy1430 := &yyv1429 - yy1430.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, 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 = []ConfigMap{} - 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) { - - yyrg1431 := len(yyv1431) > 0 - yyv21431 := yyv1431 - yyrl1431, yyrt1431 = z.DecInferLen(yyl1431, z.DecBasicHandle().MaxInitLen, 200) - if yyrt1431 { - if yyrl1431 <= cap(yyv1431) { - yyv1431 = yyv1431[:yyrl1431] - } else { - yyv1431 = make([]ConfigMap, yyrl1431) - } - } else { - yyv1431 = make([]ConfigMap, yyrl1431) - } - yyc1431 = true - yyrr1431 = len(yyv1431) - if yyrg1431 { - copy(yyv1431, yyv21431) - } - } else if yyl1431 != len(yyv1431) { - yyv1431 = yyv1431[:yyl1431] - yyc1431 = true - } - yyj1431 := 0 - for ; yyj1431 < yyrr1431; yyj1431++ { - yyh1431.ElemContainerState(yyj1431) - if r.TryDecodeAsNil() { - yyv1431[yyj1431] = ConfigMap{} - } else { - yyv1432 := &yyv1431[yyj1431] - yyv1432.CodecDecodeSelf(d) - } - - } - if yyrt1431 { - for ; yyj1431 < yyl1431; yyj1431++ { - yyv1431 = append(yyv1431, ConfigMap{}) - yyh1431.ElemContainerState(yyj1431) - if r.TryDecodeAsNil() { - yyv1431[yyj1431] = ConfigMap{} - } else { - yyv1433 := &yyv1431[yyj1431] - yyv1433.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1431 := 0 - for ; !r.CheckBreak(); yyj1431++ { - - if yyj1431 >= len(yyv1431) { - yyv1431 = append(yyv1431, ConfigMap{}) // var yyz1431 ConfigMap - yyc1431 = true - } - yyh1431.ElemContainerState(yyj1431) - if yyj1431 < len(yyv1431) { - if r.TryDecodeAsNil() { - yyv1431[yyj1431] = ConfigMap{} - } else { - yyv1434 := &yyv1431[yyj1431] - yyv1434.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1431 < len(yyv1431) { - yyv1431 = yyv1431[:yyj1431] - yyc1431 = true - } else if yyj1431 == 0 && yyv1431 == nil { - yyv1431 = []ConfigMap{} - yyc1431 = true - } - } - yyh1431.End() - if yyc1431 { - *v = yyv1431 - } -} - -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 _, yyv1435 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1436 := &yyv1435 - yy1436.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 - - yyv1437 := *v - yyh1437, yyl1437 := z.DecSliceHelperStart() - var yyc1437 bool - if yyl1437 == 0 { - if yyv1437 == nil { - yyv1437 = []ReplicaSet{} - yyc1437 = true - } else if len(yyv1437) != 0 { - yyv1437 = yyv1437[:0] - yyc1437 = true - } - } else if yyl1437 > 0 { - var yyrr1437, yyrl1437 int - var yyrt1437 bool - if yyl1437 > cap(yyv1437) { - - yyrg1437 := len(yyv1437) > 0 - yyv21437 := yyv1437 - yyrl1437, yyrt1437 = z.DecInferLen(yyl1437, z.DecBasicHandle().MaxInitLen, 232) - if yyrt1437 { - if yyrl1437 <= cap(yyv1437) { - yyv1437 = yyv1437[:yyrl1437] - } else { - yyv1437 = make([]ReplicaSet, yyrl1437) - } - } else { - yyv1437 = make([]ReplicaSet, yyrl1437) - } - yyc1437 = true - yyrr1437 = len(yyv1437) - if yyrg1437 { - copy(yyv1437, yyv21437) - } - } else if yyl1437 != len(yyv1437) { - yyv1437 = yyv1437[:yyl1437] - yyc1437 = true - } - yyj1437 := 0 - for ; yyj1437 < yyrr1437; yyj1437++ { - yyh1437.ElemContainerState(yyj1437) - if r.TryDecodeAsNil() { - yyv1437[yyj1437] = ReplicaSet{} - } else { - yyv1438 := &yyv1437[yyj1437] - yyv1438.CodecDecodeSelf(d) - } - - } - if yyrt1437 { - for ; yyj1437 < yyl1437; yyj1437++ { - yyv1437 = append(yyv1437, ReplicaSet{}) - yyh1437.ElemContainerState(yyj1437) - if r.TryDecodeAsNil() { - yyv1437[yyj1437] = ReplicaSet{} - } else { - yyv1439 := &yyv1437[yyj1437] - yyv1439.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1437 := 0 - for ; !r.CheckBreak(); yyj1437++ { - - if yyj1437 >= len(yyv1437) { - yyv1437 = append(yyv1437, ReplicaSet{}) // var yyz1437 ReplicaSet - yyc1437 = true - } - yyh1437.ElemContainerState(yyj1437) - if yyj1437 < len(yyv1437) { - if r.TryDecodeAsNil() { - yyv1437[yyj1437] = ReplicaSet{} - } else { - yyv1440 := &yyv1437[yyj1437] - yyv1440.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1437 < len(yyv1437) { - yyv1437 = yyv1437[:yyj1437] - yyc1437 = true - } else if yyj1437 == 0 && yyv1437 == nil { - yyv1437 = []ReplicaSet{} - yyc1437 = true - } - } - yyh1437.End() - if yyc1437 { - *v = yyv1437 - } -} diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index 3d4f44d0404..d58f4016e84 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -15158,7 +15158,7 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -15172,16 +15172,17 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep1267 := !z.EncBinary() yy2arr1267 := z.EncBasicHandle().StructToArray - var yyq1267 [4]bool + var yyq1267 [5]bool _, _, _ = yysep1267, yyq1267, yy2arr1267 const yyr1267 bool = false yyq1267[0] = x.Kind != "" yyq1267[1] = x.APIVersion != "" yyq1267[2] = true - yyq1267[3] = len(x.Data) != 0 + yyq1267[3] = true + yyq1267[4] = true var yynn1267 int if yyr1267 || yy2arr1267 { - r.EncodeArrayStart(4) + r.EncodeArrayStart(5) } else { yynn1267 = 0 for _, b := range yyq1267 { @@ -15262,717 +15263,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if yyr1267 || yy2arr1267 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1267[3] { - if x.Data == nil { - r.EncodeNil() - } else { - yym1278 := z.EncBinary() - _ = yym1278 - if false { - } else { - z.F.EncMapStringStringV(x.Data, false, e) - } - } + yy1278 := &x.Spec + yy1278.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { if yyq1267[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("data")) + r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Data == nil { - r.EncodeNil() - } else { - yym1279 := z.EncBinary() - _ = yym1279 - if false { - } else { - z.F.EncMapStringStringV(x.Data, false, e) - } - } + yy1279 := &x.Spec + yy1279.CodecEncodeSelf(e) } } if yyr1267 || yy2arr1267 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1280 := z.DecBinary() - _ = yym1280 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1281 := r.ContainerType() - if yyct1281 == codecSelferValueTypeMap1234 { - yyl1281 := r.ReadMapStart() - if yyl1281 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1281, d) - } - } else if yyct1281 == codecSelferValueTypeArray1234 { - yyl1281 := r.ReadArrayStart() - if yyl1281 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1281, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1282Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1282Slc - var yyhl1282 bool = l >= 0 - for yyj1282 := 0; ; yyj1282++ { - if yyhl1282 { - if yyj1282 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1282Slc = r.DecodeBytes(yys1282Slc, true, true) - yys1282 := string(yys1282Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1282 { - 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 { - yyv1285 := &x.ObjectMeta - yyv1285.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv1286 := &x.Data - yym1287 := z.DecBinary() - _ = yym1287 - if false { - } else { - z.F.DecMapStringStringX(yyv1286, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1282) - } // end switch yys1282 - } // end for yyj1282 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1288 int - var yyb1288 bool - var yyhl1288 bool = l >= 0 - yyj1288++ - if yyhl1288 { - yyb1288 = yyj1288 > l - } else { - yyb1288 = r.CheckBreak() - } - if yyb1288 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1288++ - if yyhl1288 { - yyb1288 = yyj1288 > l - } else { - yyb1288 = r.CheckBreak() - } - if yyb1288 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1288++ - if yyhl1288 { - yyb1288 = yyj1288 > l - } else { - yyb1288 = r.CheckBreak() - } - if yyb1288 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv1291 := &x.ObjectMeta - yyv1291.CodecDecodeSelf(d) - } - yyj1288++ - if yyhl1288 { - yyb1288 = yyj1288 > l - } else { - yyb1288 = r.CheckBreak() - } - if yyb1288 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv1292 := &x.Data - yym1293 := z.DecBinary() - _ = yym1293 - if false { - } else { - z.F.DecMapStringStringX(yyv1292, false, d) - } - } - for { - yyj1288++ - if yyhl1288 { - yyb1288 = yyj1288 > l - } else { - yyb1288 = r.CheckBreak() - } - if yyb1288 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1288-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1294 := z.EncBinary() - _ = yym1294 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1295 := !z.EncBinary() - yy2arr1295 := z.EncBasicHandle().StructToArray - var yyq1295 [4]bool - _, _, _ = yysep1295, yyq1295, yy2arr1295 - const yyr1295 bool = false - yyq1295[0] = x.Kind != "" - yyq1295[1] = x.APIVersion != "" - yyq1295[2] = true - yyq1295[3] = len(x.Items) != 0 - var yynn1295 int - if yyr1295 || yy2arr1295 { - r.EncodeArrayStart(4) - } else { - yynn1295 = 0 - for _, b := range yyq1295 { - if b { - yynn1295++ - } - } - r.EncodeMapStart(yynn1295) - yynn1295 = 0 - } - if yyr1295 || yy2arr1295 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1295[0] { - yym1297 := z.EncBinary() - _ = yym1297 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1295[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1298 := z.EncBinary() - _ = yym1298 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1295 || yy2arr1295 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1295[1] { - yym1300 := z.EncBinary() - _ = yym1300 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1295[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1301 := z.EncBinary() - _ = yym1301 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1295 || yy2arr1295 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1295[2] { - yy1303 := &x.ListMeta - yym1304 := z.EncBinary() - _ = yym1304 - if false { - } else if z.HasExtensions() && z.EncExt(yy1303) { - } else { - z.EncFallback(yy1303) - } + if yyq1267[4] { + yy1281 := &x.Status + yy1281.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1295[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1305 := &x.ListMeta - yym1306 := z.EncBinary() - _ = yym1306 - if false { - } else if z.HasExtensions() && z.EncExt(yy1305) { - } else { - z.EncFallback(yy1305) - } - } - } - if yyr1295 || yy2arr1295 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1295[3] { - if x.Items == nil { - r.EncodeNil() - } else { - yym1308 := z.EncBinary() - _ = yym1308 - if false { - } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1295[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1309 := z.EncBinary() - _ = yym1309 - if false { - } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) - } - } - } - } - if yyr1295 || yy2arr1295 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1310 := z.DecBinary() - _ = yym1310 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1311 := r.ContainerType() - if yyct1311 == codecSelferValueTypeMap1234 { - yyl1311 := r.ReadMapStart() - if yyl1311 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1311, d) - } - } else if yyct1311 == codecSelferValueTypeArray1234 { - yyl1311 := r.ReadArrayStart() - if yyl1311 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1311, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1312Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1312Slc - var yyhl1312 bool = l >= 0 - for yyj1312 := 0; ; yyj1312++ { - if yyhl1312 { - if yyj1312 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1312Slc = r.DecodeBytes(yys1312Slc, true, true) - yys1312 := string(yys1312Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1312 { - 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 { - yyv1315 := &x.ListMeta - yym1316 := z.DecBinary() - _ = yym1316 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1315) { - } else { - z.DecFallback(yyv1315, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1317 := &x.Items - yym1318 := z.DecBinary() - _ = yym1318 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1317), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1312) - } // end switch yys1312 - } // end for yyj1312 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1319 int - var yyb1319 bool - var yyhl1319 bool = l >= 0 - yyj1319++ - if yyhl1319 { - yyb1319 = yyj1319 > l - } else { - yyb1319 = r.CheckBreak() - } - if yyb1319 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1319++ - if yyhl1319 { - yyb1319 = yyj1319 > l - } else { - yyb1319 = r.CheckBreak() - } - if yyb1319 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1319++ - if yyhl1319 { - yyb1319 = yyj1319 > l - } else { - yyb1319 = r.CheckBreak() - } - if yyb1319 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1322 := &x.ListMeta - yym1323 := z.DecBinary() - _ = yym1323 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1322) { - } else { - z.DecFallback(yyv1322, false) - } - } - yyj1319++ - if yyhl1319 { - yyb1319 = yyj1319 > l - } else { - yyb1319 = r.CheckBreak() - } - if yyb1319 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1324 := &x.Items - yym1325 := z.DecBinary() - _ = yym1325 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1324), d) - } - } - for { - yyj1319++ - if yyhl1319 { - yyb1319 = yyj1319 > l - } else { - yyb1319 = r.CheckBreak() - } - if yyb1319 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1319-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1326 := z.EncBinary() - _ = yym1326 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1327 := !z.EncBinary() - yy2arr1327 := z.EncBasicHandle().StructToArray - var yyq1327 [5]bool - _, _, _ = yysep1327, yyq1327, yy2arr1327 - const yyr1327 bool = false - yyq1327[0] = x.Kind != "" - yyq1327[1] = x.APIVersion != "" - yyq1327[2] = true - yyq1327[3] = true - yyq1327[4] = true - var yynn1327 int - if yyr1327 || yy2arr1327 { - r.EncodeArrayStart(5) - } else { - yynn1327 = 0 - for _, b := range yyq1327 { - if b { - yynn1327++ - } - } - r.EncodeMapStart(yynn1327) - yynn1327 = 0 - } - if yyr1327 || yy2arr1327 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[0] { - yym1329 := z.EncBinary() - _ = yym1329 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1327[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1330 := z.EncBinary() - _ = yym1330 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1327 || yy2arr1327 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[1] { - yym1332 := z.EncBinary() - _ = yym1332 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1327[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1333 := z.EncBinary() - _ = yym1333 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1327 || yy2arr1327 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[2] { - yy1335 := &x.ObjectMeta - yy1335.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1327[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1336 := &x.ObjectMeta - yy1336.CodecEncodeSelf(e) - } - } - if yyr1327 || yy2arr1327 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[3] { - yy1338 := &x.Spec - yy1338.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1327[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1339 := &x.Spec - yy1339.CodecEncodeSelf(e) - } - } - if yyr1327 || yy2arr1327 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1327[4] { - yy1341 := &x.Status - yy1341.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1327[4] { + if yyq1267[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1342 := &x.Status - yy1342.CodecEncodeSelf(e) + yy1282 := &x.Status + yy1282.CodecEncodeSelf(e) } } - if yyr1327 || yy2arr1327 { + if yyr1267 || yy2arr1267 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15985,25 +15307,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1343 := z.DecBinary() - _ = yym1343 + yym1283 := z.DecBinary() + _ = yym1283 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1344 := r.ContainerType() - if yyct1344 == codecSelferValueTypeMap1234 { - yyl1344 := r.ReadMapStart() - if yyl1344 == 0 { + yyct1284 := r.ContainerType() + if yyct1284 == codecSelferValueTypeMap1234 { + yyl1284 := r.ReadMapStart() + if yyl1284 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1344, d) + x.codecDecodeSelfFromMap(yyl1284, d) } - } else if yyct1344 == codecSelferValueTypeArray1234 { - yyl1344 := r.ReadArrayStart() - if yyl1344 == 0 { + } else if yyct1284 == codecSelferValueTypeArray1234 { + yyl1284 := r.ReadArrayStart() + if yyl1284 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1344, d) + x.codecDecodeSelfFromArray(yyl1284, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16015,12 +15337,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1345Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1345Slc - var yyhl1345 bool = l >= 0 - for yyj1345 := 0; ; yyj1345++ { - if yyhl1345 { - if yyj1345 >= l { + var yys1285Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1285Slc + var yyhl1285 bool = l >= 0 + for yyj1285 := 0; ; yyj1285++ { + if yyhl1285 { + if yyj1285 >= l { break } } else { @@ -16029,10 +15351,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1345Slc = r.DecodeBytes(yys1345Slc, true, true) - yys1345 := string(yys1345Slc) + yys1285Slc = r.DecodeBytes(yys1285Slc, true, true) + yys1285 := string(yys1285Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1345 { + switch yys1285 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16049,27 +15371,27 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1348 := &x.ObjectMeta - yyv1348.CodecDecodeSelf(d) + yyv1288 := &x.ObjectMeta + yyv1288.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1349 := &x.Spec - yyv1349.CodecDecodeSelf(d) + yyv1289 := &x.Spec + yyv1289.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1350 := &x.Status - yyv1350.CodecDecodeSelf(d) + yyv1290 := &x.Status + yyv1290.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1345) - } // end switch yys1345 - } // end for yyj1345 + z.DecStructFieldNotFound(-1, yys1285) + } // end switch yys1285 + } // end for yyj1285 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16077,16 +15399,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1351 int - var yyb1351 bool - var yyhl1351 bool = l >= 0 - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + var yyj1291 int + var yyb1291 bool + var yyhl1291 bool = l >= 0 + yyj1291++ + if yyhl1291 { + yyb1291 = yyj1291 > l } else { - yyb1351 = r.CheckBreak() + yyb1291 = r.CheckBreak() } - if yyb1351 { + if yyb1291 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16096,13 +15418,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1291++ + if yyhl1291 { + yyb1291 = yyj1291 > l } else { - yyb1351 = r.CheckBreak() + yyb1291 = r.CheckBreak() } - if yyb1351 { + if yyb1291 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16112,13 +15434,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1291++ + if yyhl1291 { + yyb1291 = yyj1291 > l } else { - yyb1351 = r.CheckBreak() + yyb1291 = r.CheckBreak() } - if yyb1351 { + if yyb1291 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16126,16 +15448,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1354 := &x.ObjectMeta - yyv1354.CodecDecodeSelf(d) + yyv1294 := &x.ObjectMeta + yyv1294.CodecDecodeSelf(d) } - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1291++ + if yyhl1291 { + yyb1291 = yyj1291 > l } else { - yyb1351 = r.CheckBreak() + yyb1291 = r.CheckBreak() } - if yyb1351 { + if yyb1291 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16143,16 +15465,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1355 := &x.Spec - yyv1355.CodecDecodeSelf(d) + yyv1295 := &x.Spec + yyv1295.CodecDecodeSelf(d) } - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1291++ + if yyhl1291 { + yyb1291 = yyj1291 > l } else { - yyb1351 = r.CheckBreak() + yyb1291 = r.CheckBreak() } - if yyb1351 { + if yyb1291 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16160,21 +15482,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1356 := &x.Status - yyv1356.CodecDecodeSelf(d) + yyv1296 := &x.Status + yyv1296.CodecDecodeSelf(d) } for { - yyj1351++ - if yyhl1351 { - yyb1351 = yyj1351 > l + yyj1291++ + if yyhl1291 { + yyb1291 = yyj1291 > l } else { - yyb1351 = r.CheckBreak() + yyb1291 = r.CheckBreak() } - if yyb1351 { + if yyb1291 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1351-1, "") + z.DecStructFieldNotFound(yyj1291-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16186,37 +15508,37 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1357 := z.EncBinary() - _ = yym1357 + yym1297 := z.EncBinary() + _ = yym1297 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1358 := !z.EncBinary() - yy2arr1358 := z.EncBasicHandle().StructToArray - var yyq1358 [4]bool - _, _, _ = yysep1358, yyq1358, yy2arr1358 - const yyr1358 bool = false - yyq1358[0] = x.Kind != "" - yyq1358[1] = x.APIVersion != "" - yyq1358[2] = true - var yynn1358 int - if yyr1358 || yy2arr1358 { + yysep1298 := !z.EncBinary() + yy2arr1298 := z.EncBasicHandle().StructToArray + var yyq1298 [4]bool + _, _, _ = yysep1298, yyq1298, yy2arr1298 + const yyr1298 bool = false + yyq1298[0] = x.Kind != "" + yyq1298[1] = x.APIVersion != "" + yyq1298[2] = true + var yynn1298 int + if yyr1298 || yy2arr1298 { r.EncodeArrayStart(4) } else { - yynn1358 = 1 - for _, b := range yyq1358 { + yynn1298 = 1 + for _, b := range yyq1298 { if b { - yynn1358++ + yynn1298++ } } - r.EncodeMapStart(yynn1358) - yynn1358 = 0 + r.EncodeMapStart(yynn1298) + yynn1298 = 0 } - if yyr1358 || yy2arr1358 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1358[0] { - yym1360 := z.EncBinary() - _ = yym1360 + if yyq1298[0] { + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16225,23 +15547,23 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1358[0] { + if yyq1298[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1361 := z.EncBinary() - _ = yym1361 + yym1301 := z.EncBinary() + _ = yym1301 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1358 || yy2arr1358 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1358[1] { - yym1363 := z.EncBinary() - _ = yym1363 + if yyq1298[1] { + yym1303 := z.EncBinary() + _ = yym1303 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16250,54 +15572,54 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1358[1] { + if yyq1298[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1364 := z.EncBinary() - _ = yym1364 + yym1304 := z.EncBinary() + _ = yym1304 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1358 || yy2arr1358 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1358[2] { - yy1366 := &x.ListMeta - yym1367 := z.EncBinary() - _ = yym1367 + if yyq1298[2] { + yy1306 := &x.ListMeta + yym1307 := z.EncBinary() + _ = yym1307 if false { - } else if z.HasExtensions() && z.EncExt(yy1366) { + } else if z.HasExtensions() && z.EncExt(yy1306) { } else { - z.EncFallback(yy1366) + z.EncFallback(yy1306) } } else { r.EncodeNil() } } else { - if yyq1358[2] { + if yyq1298[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1368 := &x.ListMeta - yym1369 := z.EncBinary() - _ = yym1369 + yy1308 := &x.ListMeta + yym1309 := z.EncBinary() + _ = yym1309 if false { - } else if z.HasExtensions() && z.EncExt(yy1368) { + } else if z.HasExtensions() && z.EncExt(yy1308) { } else { - z.EncFallback(yy1368) + z.EncFallback(yy1308) } } } - if yyr1358 || yy2arr1358 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1371 := z.EncBinary() - _ = yym1371 + yym1311 := z.EncBinary() + _ = yym1311 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -16310,15 +15632,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1372 := z.EncBinary() - _ = yym1372 + yym1312 := z.EncBinary() + _ = yym1312 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr1358 || yy2arr1358 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16331,25 +15653,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1373 := z.DecBinary() - _ = yym1373 + yym1313 := z.DecBinary() + _ = yym1313 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1374 := r.ContainerType() - if yyct1374 == codecSelferValueTypeMap1234 { - yyl1374 := r.ReadMapStart() - if yyl1374 == 0 { + yyct1314 := r.ContainerType() + if yyct1314 == codecSelferValueTypeMap1234 { + yyl1314 := r.ReadMapStart() + if yyl1314 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1374, d) + x.codecDecodeSelfFromMap(yyl1314, d) } - } else if yyct1374 == codecSelferValueTypeArray1234 { - yyl1374 := r.ReadArrayStart() - if yyl1374 == 0 { + } else if yyct1314 == codecSelferValueTypeArray1234 { + yyl1314 := r.ReadArrayStart() + if yyl1314 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1374, d) + x.codecDecodeSelfFromArray(yyl1314, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16361,12 +15683,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1375Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1375Slc - var yyhl1375 bool = l >= 0 - for yyj1375 := 0; ; yyj1375++ { - if yyhl1375 { - if yyj1375 >= l { + var yys1315Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1315Slc + var yyhl1315 bool = l >= 0 + for yyj1315 := 0; ; yyj1315++ { + if yyhl1315 { + if yyj1315 >= l { break } } else { @@ -16375,10 +15697,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1375Slc = r.DecodeBytes(yys1375Slc, true, true) - yys1375 := string(yys1375Slc) + yys1315Slc = r.DecodeBytes(yys1315Slc, true, true) + yys1315 := string(yys1315Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1375 { + switch yys1315 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16395,31 +15717,31 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1378 := &x.ListMeta - yym1379 := z.DecBinary() - _ = yym1379 + yyv1318 := &x.ListMeta + yym1319 := z.DecBinary() + _ = yym1319 if false { - } else if z.HasExtensions() && z.DecExt(yyv1378) { + } else if z.HasExtensions() && z.DecExt(yyv1318) { } else { - z.DecFallback(yyv1378, false) + z.DecFallback(yyv1318, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1380 := &x.Items - yym1381 := z.DecBinary() - _ = yym1381 + yyv1320 := &x.Items + yym1321 := z.DecBinary() + _ = yym1321 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1380), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1320), d) } } default: - z.DecStructFieldNotFound(-1, yys1375) - } // end switch yys1375 - } // end for yyj1375 + z.DecStructFieldNotFound(-1, yys1315) + } // end switch yys1315 + } // end for yyj1315 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16427,16 +15749,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1382 int - var yyb1382 bool - var yyhl1382 bool = l >= 0 - yyj1382++ - if yyhl1382 { - yyb1382 = yyj1382 > l + var yyj1322 int + var yyb1322 bool + var yyhl1322 bool = l >= 0 + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb1382 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb1382 { + if yyb1322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16446,13 +15768,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1382++ - if yyhl1382 { - yyb1382 = yyj1382 > l + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb1382 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb1382 { + if yyb1322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16462,13 +15784,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1382++ - if yyhl1382 { - yyb1382 = yyj1382 > l + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb1382 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb1382 { + if yyb1322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16476,22 +15798,22 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1385 := &x.ListMeta - yym1386 := z.DecBinary() - _ = yym1386 + yyv1325 := &x.ListMeta + yym1326 := z.DecBinary() + _ = yym1326 if false { - } else if z.HasExtensions() && z.DecExt(yyv1385) { + } else if z.HasExtensions() && z.DecExt(yyv1325) { } else { - z.DecFallback(yyv1385, false) + z.DecFallback(yyv1325, false) } } - yyj1382++ - if yyhl1382 { - yyb1382 = yyj1382 > l + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb1382 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb1382 { + if yyb1322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16499,26 +15821,26 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1387 := &x.Items - yym1388 := z.DecBinary() - _ = yym1388 + yyv1327 := &x.Items + yym1328 := z.DecBinary() + _ = yym1328 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1387), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1327), d) } } for { - yyj1382++ - if yyhl1382 { - yyb1382 = yyj1382 > l + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb1382 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb1382 { + if yyb1322 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1382-1, "") + z.DecStructFieldNotFound(yyj1322-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16530,70 +15852,70 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1389 := z.EncBinary() - _ = yym1389 + yym1329 := z.EncBinary() + _ = yym1329 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1390 := !z.EncBinary() - yy2arr1390 := z.EncBasicHandle().StructToArray - var yyq1390 [3]bool - _, _, _ = yysep1390, yyq1390, yy2arr1390 - const yyr1390 bool = false - yyq1390[0] = x.Replicas != nil - yyq1390[1] = x.Selector != nil - yyq1390[2] = x.Template != nil - var yynn1390 int - if yyr1390 || yy2arr1390 { + yysep1330 := !z.EncBinary() + yy2arr1330 := z.EncBasicHandle().StructToArray + var yyq1330 [3]bool + _, _, _ = yysep1330, yyq1330, yy2arr1330 + const yyr1330 bool = false + yyq1330[0] = x.Replicas != nil + yyq1330[1] = x.Selector != nil + yyq1330[2] = x.Template != nil + var yynn1330 int + if yyr1330 || yy2arr1330 { r.EncodeArrayStart(3) } else { - yynn1390 = 0 - for _, b := range yyq1390 { + yynn1330 = 0 + for _, b := range yyq1330 { if b { - yynn1390++ + yynn1330++ } } - r.EncodeMapStart(yynn1390) - yynn1390 = 0 + r.EncodeMapStart(yynn1330) + yynn1330 = 0 } - if yyr1390 || yy2arr1390 { + if yyr1330 || yy2arr1330 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1390[0] { + if yyq1330[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1392 := *x.Replicas - yym1393 := z.EncBinary() - _ = yym1393 + yy1332 := *x.Replicas + yym1333 := z.EncBinary() + _ = yym1333 if false { } else { - r.EncodeInt(int64(yy1392)) + r.EncodeInt(int64(yy1332)) } } } else { r.EncodeNil() } } else { - if yyq1390[0] { + if yyq1330[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1394 := *x.Replicas - yym1395 := z.EncBinary() - _ = yym1395 + yy1334 := *x.Replicas + yym1335 := z.EncBinary() + _ = yym1335 if false { } else { - r.EncodeInt(int64(yy1394)) + r.EncodeInt(int64(yy1334)) } } } } - if yyr1390 || yy2arr1390 { + if yyr1330 || yy2arr1330 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1390[1] { + if yyq1330[1] { if x.Selector == nil { r.EncodeNil() } else { @@ -16603,7 +15925,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1390[1] { + if yyq1330[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16614,9 +15936,9 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1390 || yy2arr1390 { + if yyr1330 || yy2arr1330 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1390[2] { + if yyq1330[2] { if x.Template == nil { r.EncodeNil() } else { @@ -16626,7 +15948,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1390[2] { + if yyq1330[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16637,7 +15959,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1390 || yy2arr1390 { + if yyr1330 || yy2arr1330 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16650,25 +15972,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1398 := z.DecBinary() - _ = yym1398 + yym1338 := z.DecBinary() + _ = yym1338 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1399 := r.ContainerType() - if yyct1399 == codecSelferValueTypeMap1234 { - yyl1399 := r.ReadMapStart() - if yyl1399 == 0 { + yyct1339 := r.ContainerType() + if yyct1339 == codecSelferValueTypeMap1234 { + yyl1339 := r.ReadMapStart() + if yyl1339 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1399, d) + x.codecDecodeSelfFromMap(yyl1339, d) } - } else if yyct1399 == codecSelferValueTypeArray1234 { - yyl1399 := r.ReadArrayStart() - if yyl1399 == 0 { + } else if yyct1339 == codecSelferValueTypeArray1234 { + yyl1339 := r.ReadArrayStart() + if yyl1339 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1399, d) + x.codecDecodeSelfFromArray(yyl1339, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16680,12 +16002,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1400Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1400Slc - var yyhl1400 bool = l >= 0 - for yyj1400 := 0; ; yyj1400++ { - if yyhl1400 { - if yyj1400 >= l { + var yys1340Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1340Slc + var yyhl1340 bool = l >= 0 + for yyj1340 := 0; ; yyj1340++ { + if yyhl1340 { + if yyj1340 >= l { break } } else { @@ -16694,10 +16016,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1400Slc = r.DecodeBytes(yys1400Slc, true, true) - yys1400 := string(yys1400Slc) + yys1340Slc = r.DecodeBytes(yys1340Slc, true, true) + yys1340 := string(yys1340Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1400 { + switch yys1340 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -16707,8 +16029,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1402 := z.DecBinary() - _ = yym1402 + yym1342 := z.DecBinary() + _ = yym1342 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -16737,9 +16059,9 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1400) - } // end switch yys1400 - } // end for yyj1400 + z.DecStructFieldNotFound(-1, yys1340) + } // end switch yys1340 + } // end for yyj1340 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16747,16 +16069,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1405 int - var yyb1405 bool - var yyhl1405 bool = l >= 0 - yyj1405++ - if yyhl1405 { - yyb1405 = yyj1405 > l + var yyj1345 int + var yyb1345 bool + var yyhl1345 bool = l >= 0 + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l } else { - yyb1405 = r.CheckBreak() + yyb1345 = r.CheckBreak() } - if yyb1405 { + if yyb1345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16769,20 +16091,20 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1407 := z.DecBinary() - _ = yym1407 + yym1347 := z.DecBinary() + _ = yym1347 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1405++ - if yyhl1405 { - yyb1405 = yyj1405 > l + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l } else { - yyb1405 = r.CheckBreak() + yyb1345 = r.CheckBreak() } - if yyb1405 { + if yyb1345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16797,13 +16119,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj1405++ - if yyhl1405 { - yyb1405 = yyj1405 > l + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l } else { - yyb1405 = r.CheckBreak() + yyb1345 = r.CheckBreak() } - if yyb1405 { + if yyb1345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16819,17 +16141,17 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Template.CodecDecodeSelf(d) } for { - yyj1405++ - if yyhl1405 { - yyb1405 = yyj1405 > l + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l } else { - yyb1405 = r.CheckBreak() + yyb1345 = r.CheckBreak() } - if yyb1405 { + if yyb1345 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1405-1, "") + z.DecStructFieldNotFound(yyj1345-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16841,34 +16163,34 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1410 := z.EncBinary() - _ = yym1410 + yym1350 := z.EncBinary() + _ = yym1350 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1411 := !z.EncBinary() - yy2arr1411 := z.EncBasicHandle().StructToArray - var yyq1411 [2]bool - _, _, _ = yysep1411, yyq1411, yy2arr1411 - const yyr1411 bool = false - yyq1411[1] = x.ObservedGeneration != 0 - var yynn1411 int - if yyr1411 || yy2arr1411 { + yysep1351 := !z.EncBinary() + yy2arr1351 := z.EncBasicHandle().StructToArray + var yyq1351 [2]bool + _, _, _ = yysep1351, yyq1351, yy2arr1351 + const yyr1351 bool = false + yyq1351[1] = x.ObservedGeneration != 0 + var yynn1351 int + if yyr1351 || yy2arr1351 { r.EncodeArrayStart(2) } else { - yynn1411 = 1 - for _, b := range yyq1411 { + yynn1351 = 1 + for _, b := range yyq1351 { if b { - yynn1411++ + yynn1351++ } } - r.EncodeMapStart(yynn1411) - yynn1411 = 0 + r.EncodeMapStart(yynn1351) + yynn1351 = 0 } - if yyr1411 || yy2arr1411 { + if yyr1351 || yy2arr1351 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1413 := z.EncBinary() - _ = yym1413 + yym1353 := z.EncBinary() + _ = yym1353 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -16877,18 +16199,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1414 := z.EncBinary() - _ = yym1414 + yym1354 := z.EncBinary() + _ = yym1354 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1411 || yy2arr1411 { + if yyr1351 || yy2arr1351 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[1] { - yym1416 := z.EncBinary() - _ = yym1416 + if yyq1351[1] { + yym1356 := z.EncBinary() + _ = yym1356 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -16897,19 +16219,19 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1411[1] { + if yyq1351[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1417 := z.EncBinary() - _ = yym1417 + yym1357 := z.EncBinary() + _ = yym1357 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1411 || yy2arr1411 { + if yyr1351 || yy2arr1351 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16922,25 +16244,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1418 := z.DecBinary() - _ = yym1418 + yym1358 := z.DecBinary() + _ = yym1358 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1419 := r.ContainerType() - if yyct1419 == codecSelferValueTypeMap1234 { - yyl1419 := r.ReadMapStart() - if yyl1419 == 0 { + yyct1359 := r.ContainerType() + if yyct1359 == codecSelferValueTypeMap1234 { + yyl1359 := r.ReadMapStart() + if yyl1359 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1419, d) + x.codecDecodeSelfFromMap(yyl1359, d) } - } else if yyct1419 == codecSelferValueTypeArray1234 { - yyl1419 := r.ReadArrayStart() - if yyl1419 == 0 { + } else if yyct1359 == codecSelferValueTypeArray1234 { + yyl1359 := r.ReadArrayStart() + if yyl1359 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1419, d) + x.codecDecodeSelfFromArray(yyl1359, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16952,12 +16274,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1420Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1420Slc - var yyhl1420 bool = l >= 0 - for yyj1420 := 0; ; yyj1420++ { - if yyhl1420 { - if yyj1420 >= l { + var yys1360Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1360Slc + var yyhl1360 bool = l >= 0 + for yyj1360 := 0; ; yyj1360++ { + if yyhl1360 { + if yyj1360 >= l { break } } else { @@ -16966,10 +16288,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1420Slc = r.DecodeBytes(yys1420Slc, true, true) - yys1420 := string(yys1420Slc) + yys1360Slc = r.DecodeBytes(yys1360Slc, true, true) + yys1360 := string(yys1360Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1420 { + switch yys1360 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -16983,9 +16305,9 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1420) - } // end switch yys1420 - } // end for yyj1420 + z.DecStructFieldNotFound(-1, yys1360) + } // end switch yys1360 + } // end for yyj1360 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16993,16 +16315,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1423 int - var yyb1423 bool - var yyhl1423 bool = l >= 0 - yyj1423++ - if yyhl1423 { - yyb1423 = yyj1423 > l + var yyj1363 int + var yyb1363 bool + var yyhl1363 bool = l >= 0 + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1423 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1423 { + if yyb1363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17012,13 +16334,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1423++ - if yyhl1423 { - yyb1423 = yyj1423 > l + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1423 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1423 { + if yyb1363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17029,22 +16351,1182 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj1423++ - if yyhl1423 { - yyb1423 = yyj1423 > l + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1423 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1423 { + if yyb1363 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1423-1, "") + z.DecStructFieldNotFound(yyj1363-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutoscaler, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1366 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1367 := &yyv1366 + yy1367.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1368 := *v + yyh1368, yyl1368 := z.DecSliceHelperStart() + var yyc1368 bool + if yyl1368 == 0 { + if yyv1368 == nil { + yyv1368 = []HorizontalPodAutoscaler{} + yyc1368 = true + } else if len(yyv1368) != 0 { + yyv1368 = yyv1368[:0] + yyc1368 = true + } + } else if yyl1368 > 0 { + var yyrr1368, yyrl1368 int + var yyrt1368 bool + if yyl1368 > cap(yyv1368) { + + yyrg1368 := len(yyv1368) > 0 + yyv21368 := yyv1368 + yyrl1368, yyrt1368 = z.DecInferLen(yyl1368, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1368 { + if yyrl1368 <= cap(yyv1368) { + yyv1368 = yyv1368[:yyrl1368] + } else { + yyv1368 = make([]HorizontalPodAutoscaler, yyrl1368) + } + } else { + yyv1368 = make([]HorizontalPodAutoscaler, yyrl1368) + } + yyc1368 = true + yyrr1368 = len(yyv1368) + if yyrg1368 { + copy(yyv1368, yyv21368) + } + } else if yyl1368 != len(yyv1368) { + yyv1368 = yyv1368[:yyl1368] + yyc1368 = true + } + yyj1368 := 0 + for ; yyj1368 < yyrr1368; yyj1368++ { + yyh1368.ElemContainerState(yyj1368) + if r.TryDecodeAsNil() { + yyv1368[yyj1368] = HorizontalPodAutoscaler{} + } else { + yyv1369 := &yyv1368[yyj1368] + yyv1369.CodecDecodeSelf(d) + } + + } + if yyrt1368 { + for ; yyj1368 < yyl1368; yyj1368++ { + yyv1368 = append(yyv1368, HorizontalPodAutoscaler{}) + yyh1368.ElemContainerState(yyj1368) + if r.TryDecodeAsNil() { + yyv1368[yyj1368] = HorizontalPodAutoscaler{} + } else { + yyv1370 := &yyv1368[yyj1368] + yyv1370.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1368 := 0 + for ; !r.CheckBreak(); yyj1368++ { + + if yyj1368 >= len(yyv1368) { + yyv1368 = append(yyv1368, HorizontalPodAutoscaler{}) // var yyz1368 HorizontalPodAutoscaler + yyc1368 = true + } + yyh1368.ElemContainerState(yyj1368) + if yyj1368 < len(yyv1368) { + if r.TryDecodeAsNil() { + yyv1368[yyj1368] = HorizontalPodAutoscaler{} + } else { + yyv1371 := &yyv1368[yyj1368] + yyv1371.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1368 < len(yyv1368) { + yyv1368 = yyv1368[:yyj1368] + yyc1368 = true + } else if yyj1368 == 0 && yyv1368 == nil { + yyv1368 = []HorizontalPodAutoscaler{} + yyc1368 = true + } + } + yyh1368.End() + if yyc1368 { + *v = yyv1368 + } +} + +func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1372 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1373 := &yyv1372 + yy1373.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1374 := *v + yyh1374, yyl1374 := z.DecSliceHelperStart() + var yyc1374 bool + if yyl1374 == 0 { + if yyv1374 == nil { + yyv1374 = []APIVersion{} + yyc1374 = true + } else if len(yyv1374) != 0 { + yyv1374 = yyv1374[:0] + yyc1374 = true + } + } else if yyl1374 > 0 { + var yyrr1374, yyrl1374 int + var yyrt1374 bool + if yyl1374 > cap(yyv1374) { + + yyrg1374 := len(yyv1374) > 0 + yyv21374 := yyv1374 + yyrl1374, yyrt1374 = z.DecInferLen(yyl1374, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1374 { + if yyrl1374 <= cap(yyv1374) { + yyv1374 = yyv1374[:yyrl1374] + } else { + yyv1374 = make([]APIVersion, yyrl1374) + } + } else { + yyv1374 = make([]APIVersion, yyrl1374) + } + yyc1374 = true + yyrr1374 = len(yyv1374) + if yyrg1374 { + copy(yyv1374, yyv21374) + } + } else if yyl1374 != len(yyv1374) { + yyv1374 = yyv1374[:yyl1374] + yyc1374 = true + } + yyj1374 := 0 + for ; yyj1374 < yyrr1374; yyj1374++ { + yyh1374.ElemContainerState(yyj1374) + if r.TryDecodeAsNil() { + yyv1374[yyj1374] = APIVersion{} + } else { + yyv1375 := &yyv1374[yyj1374] + yyv1375.CodecDecodeSelf(d) + } + + } + if yyrt1374 { + for ; yyj1374 < yyl1374; yyj1374++ { + yyv1374 = append(yyv1374, APIVersion{}) + yyh1374.ElemContainerState(yyj1374) + if r.TryDecodeAsNil() { + yyv1374[yyj1374] = APIVersion{} + } else { + yyv1376 := &yyv1374[yyj1374] + yyv1376.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1374 := 0 + for ; !r.CheckBreak(); yyj1374++ { + + if yyj1374 >= len(yyv1374) { + yyv1374 = append(yyv1374, APIVersion{}) // var yyz1374 APIVersion + yyc1374 = true + } + yyh1374.ElemContainerState(yyj1374) + if yyj1374 < len(yyv1374) { + if r.TryDecodeAsNil() { + yyv1374[yyj1374] = APIVersion{} + } else { + yyv1377 := &yyv1374[yyj1374] + yyv1377.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1374 < len(yyv1374) { + yyv1374 = yyv1374[:yyj1374] + yyc1374 = true + } else if yyj1374 == 0 && yyv1374 == nil { + yyv1374 = []APIVersion{} + yyc1374 = true + } + } + yyh1374.End() + if yyc1374 { + *v = yyv1374 + } +} + +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 _, yyv1378 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1379 := &yyv1378 + yy1379.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 + + yyv1380 := *v + yyh1380, yyl1380 := z.DecSliceHelperStart() + var yyc1380 bool + if yyl1380 == 0 { + if yyv1380 == nil { + yyv1380 = []ThirdPartyResource{} + yyc1380 = true + } else if len(yyv1380) != 0 { + yyv1380 = yyv1380[:0] + yyc1380 = true + } + } else if yyl1380 > 0 { + var yyrr1380, yyrl1380 int + var yyrt1380 bool + if yyl1380 > cap(yyv1380) { + + yyrg1380 := len(yyv1380) > 0 + yyv21380 := yyv1380 + yyrl1380, yyrt1380 = z.DecInferLen(yyl1380, z.DecBasicHandle().MaxInitLen, 232) + if yyrt1380 { + if yyrl1380 <= cap(yyv1380) { + yyv1380 = yyv1380[:yyrl1380] + } else { + yyv1380 = make([]ThirdPartyResource, yyrl1380) + } + } else { + yyv1380 = make([]ThirdPartyResource, yyrl1380) + } + yyc1380 = true + yyrr1380 = len(yyv1380) + if yyrg1380 { + copy(yyv1380, yyv21380) + } + } else if yyl1380 != len(yyv1380) { + yyv1380 = yyv1380[:yyl1380] + yyc1380 = true + } + yyj1380 := 0 + for ; yyj1380 < yyrr1380; yyj1380++ { + yyh1380.ElemContainerState(yyj1380) + if r.TryDecodeAsNil() { + yyv1380[yyj1380] = ThirdPartyResource{} + } else { + yyv1381 := &yyv1380[yyj1380] + yyv1381.CodecDecodeSelf(d) + } + + } + if yyrt1380 { + for ; yyj1380 < yyl1380; yyj1380++ { + yyv1380 = append(yyv1380, ThirdPartyResource{}) + yyh1380.ElemContainerState(yyj1380) + if r.TryDecodeAsNil() { + yyv1380[yyj1380] = ThirdPartyResource{} + } else { + yyv1382 := &yyv1380[yyj1380] + yyv1382.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1380 := 0 + for ; !r.CheckBreak(); yyj1380++ { + + if yyj1380 >= len(yyv1380) { + yyv1380 = append(yyv1380, ThirdPartyResource{}) // var yyz1380 ThirdPartyResource + yyc1380 = true + } + yyh1380.ElemContainerState(yyj1380) + if yyj1380 < len(yyv1380) { + if r.TryDecodeAsNil() { + yyv1380[yyj1380] = ThirdPartyResource{} + } else { + yyv1383 := &yyv1380[yyj1380] + yyv1383.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1380 < len(yyv1380) { + yyv1380 = yyv1380[:yyj1380] + yyc1380 = true + } else if yyj1380 == 0 && yyv1380 == nil { + yyv1380 = []ThirdPartyResource{} + yyc1380 = true + } + } + yyh1380.End() + if yyc1380 { + *v = yyv1380 + } +} + +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 _, yyv1384 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1385 := &yyv1384 + yy1385.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 + + yyv1386 := *v + yyh1386, yyl1386 := z.DecSliceHelperStart() + var yyc1386 bool + if yyl1386 == 0 { + if yyv1386 == nil { + yyv1386 = []Deployment{} + yyc1386 = true + } else if len(yyv1386) != 0 { + yyv1386 = yyv1386[:0] + yyc1386 = true + } + } else if yyl1386 > 0 { + var yyrr1386, yyrl1386 int + var yyrt1386 bool + if yyl1386 > cap(yyv1386) { + + yyrg1386 := len(yyv1386) > 0 + yyv21386 := yyv1386 + yyrl1386, yyrt1386 = z.DecInferLen(yyl1386, z.DecBasicHandle().MaxInitLen, 616) + if yyrt1386 { + if yyrl1386 <= cap(yyv1386) { + yyv1386 = yyv1386[:yyrl1386] + } else { + yyv1386 = make([]Deployment, yyrl1386) + } + } else { + yyv1386 = make([]Deployment, yyrl1386) + } + yyc1386 = true + yyrr1386 = len(yyv1386) + if yyrg1386 { + copy(yyv1386, yyv21386) + } + } else if yyl1386 != len(yyv1386) { + yyv1386 = yyv1386[:yyl1386] + yyc1386 = true + } + yyj1386 := 0 + for ; yyj1386 < yyrr1386; yyj1386++ { + yyh1386.ElemContainerState(yyj1386) + if r.TryDecodeAsNil() { + yyv1386[yyj1386] = Deployment{} + } else { + yyv1387 := &yyv1386[yyj1386] + yyv1387.CodecDecodeSelf(d) + } + + } + if yyrt1386 { + for ; yyj1386 < yyl1386; yyj1386++ { + yyv1386 = append(yyv1386, Deployment{}) + yyh1386.ElemContainerState(yyj1386) + if r.TryDecodeAsNil() { + yyv1386[yyj1386] = Deployment{} + } else { + yyv1388 := &yyv1386[yyj1386] + yyv1388.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1386 := 0 + for ; !r.CheckBreak(); yyj1386++ { + + if yyj1386 >= len(yyv1386) { + yyv1386 = append(yyv1386, Deployment{}) // var yyz1386 Deployment + yyc1386 = true + } + yyh1386.ElemContainerState(yyj1386) + if yyj1386 < len(yyv1386) { + if r.TryDecodeAsNil() { + yyv1386[yyj1386] = Deployment{} + } else { + yyv1389 := &yyv1386[yyj1386] + yyv1389.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1386 < len(yyv1386) { + yyv1386 = yyv1386[:yyj1386] + yyc1386 = true + } else if yyj1386 == 0 && yyv1386 == nil { + yyv1386 = []Deployment{} + yyc1386 = true + } + } + yyh1386.End() + if yyc1386 { + *v = yyv1386 + } +} + +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 _, yyv1390 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1391 := &yyv1390 + yy1391.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 + + yyv1392 := *v + yyh1392, yyl1392 := z.DecSliceHelperStart() + var yyc1392 bool + if yyl1392 == 0 { + if yyv1392 == nil { + yyv1392 = []DaemonSet{} + yyc1392 = true + } else if len(yyv1392) != 0 { + yyv1392 = yyv1392[:0] + yyc1392 = true + } + } else if yyl1392 > 0 { + var yyrr1392, yyrl1392 int + var yyrt1392 bool + if yyl1392 > cap(yyv1392) { + + yyrg1392 := len(yyv1392) > 0 + yyv21392 := yyv1392 + yyrl1392, yyrt1392 = z.DecInferLen(yyl1392, z.DecBasicHandle().MaxInitLen, 256) + if yyrt1392 { + if yyrl1392 <= cap(yyv1392) { + yyv1392 = yyv1392[:yyrl1392] + } else { + yyv1392 = make([]DaemonSet, yyrl1392) + } + } else { + yyv1392 = make([]DaemonSet, yyrl1392) + } + yyc1392 = true + yyrr1392 = len(yyv1392) + if yyrg1392 { + copy(yyv1392, yyv21392) + } + } else if yyl1392 != len(yyv1392) { + yyv1392 = yyv1392[:yyl1392] + yyc1392 = true + } + yyj1392 := 0 + for ; yyj1392 < yyrr1392; yyj1392++ { + yyh1392.ElemContainerState(yyj1392) + if r.TryDecodeAsNil() { + yyv1392[yyj1392] = DaemonSet{} + } else { + yyv1393 := &yyv1392[yyj1392] + yyv1393.CodecDecodeSelf(d) + } + + } + if yyrt1392 { + for ; yyj1392 < yyl1392; yyj1392++ { + yyv1392 = append(yyv1392, DaemonSet{}) + yyh1392.ElemContainerState(yyj1392) + if r.TryDecodeAsNil() { + yyv1392[yyj1392] = DaemonSet{} + } else { + yyv1394 := &yyv1392[yyj1392] + yyv1394.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1392 := 0 + for ; !r.CheckBreak(); yyj1392++ { + + if yyj1392 >= len(yyv1392) { + yyv1392 = append(yyv1392, DaemonSet{}) // var yyz1392 DaemonSet + yyc1392 = true + } + yyh1392.ElemContainerState(yyj1392) + if yyj1392 < len(yyv1392) { + if r.TryDecodeAsNil() { + yyv1392[yyj1392] = DaemonSet{} + } else { + yyv1395 := &yyv1392[yyj1392] + yyv1395.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1392 < len(yyv1392) { + yyv1392 = yyv1392[:yyj1392] + yyc1392 = true + } else if yyj1392 == 0 && yyv1392 == nil { + yyv1392 = []DaemonSet{} + yyc1392 = true + } + } + yyh1392.End() + if yyc1392 { + *v = yyv1392 + } +} + +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 _, yyv1396 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1397 := &yyv1396 + yy1397.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 + + yyv1398 := *v + yyh1398, yyl1398 := z.DecSliceHelperStart() + var yyc1398 bool + if yyl1398 == 0 { + if yyv1398 == nil { + yyv1398 = []ThirdPartyResourceData{} + yyc1398 = true + } else if len(yyv1398) != 0 { + yyv1398 = yyv1398[:0] + yyc1398 = true + } + } else if yyl1398 > 0 { + var yyrr1398, yyrl1398 int + var yyrt1398 bool + if yyl1398 > cap(yyv1398) { + + yyrg1398 := len(yyv1398) > 0 + yyv21398 := yyv1398 + yyrl1398, yyrt1398 = z.DecInferLen(yyl1398, z.DecBasicHandle().MaxInitLen, 216) + if yyrt1398 { + if yyrl1398 <= cap(yyv1398) { + yyv1398 = yyv1398[:yyrl1398] + } else { + yyv1398 = make([]ThirdPartyResourceData, yyrl1398) + } + } else { + yyv1398 = make([]ThirdPartyResourceData, yyrl1398) + } + yyc1398 = true + yyrr1398 = len(yyv1398) + if yyrg1398 { + copy(yyv1398, yyv21398) + } + } else if yyl1398 != len(yyv1398) { + yyv1398 = yyv1398[:yyl1398] + yyc1398 = true + } + yyj1398 := 0 + for ; yyj1398 < yyrr1398; yyj1398++ { + yyh1398.ElemContainerState(yyj1398) + if r.TryDecodeAsNil() { + yyv1398[yyj1398] = ThirdPartyResourceData{} + } else { + yyv1399 := &yyv1398[yyj1398] + yyv1399.CodecDecodeSelf(d) + } + + } + if yyrt1398 { + for ; yyj1398 < yyl1398; yyj1398++ { + yyv1398 = append(yyv1398, ThirdPartyResourceData{}) + yyh1398.ElemContainerState(yyj1398) + if r.TryDecodeAsNil() { + yyv1398[yyj1398] = ThirdPartyResourceData{} + } else { + yyv1400 := &yyv1398[yyj1398] + yyv1400.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1398 := 0 + for ; !r.CheckBreak(); yyj1398++ { + + if yyj1398 >= len(yyv1398) { + yyv1398 = append(yyv1398, ThirdPartyResourceData{}) // var yyz1398 ThirdPartyResourceData + yyc1398 = true + } + yyh1398.ElemContainerState(yyj1398) + if yyj1398 < len(yyv1398) { + if r.TryDecodeAsNil() { + yyv1398[yyj1398] = ThirdPartyResourceData{} + } else { + yyv1401 := &yyv1398[yyj1398] + yyv1401.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1398 < len(yyv1398) { + yyv1398 = yyv1398[:yyj1398] + yyc1398 = true + } else if yyj1398 == 0 && yyv1398 == nil { + yyv1398 = []ThirdPartyResourceData{} + yyc1398 = true + } + } + yyh1398.End() + if yyc1398 { + *v = yyv1398 + } +} + +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 _, yyv1402 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1403 := &yyv1402 + yy1403.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 + + yyv1404 := *v + yyh1404, yyl1404 := z.DecSliceHelperStart() + var yyc1404 bool + if yyl1404 == 0 { + if yyv1404 == nil { + yyv1404 = []Job{} + yyc1404 = true + } else if len(yyv1404) != 0 { + yyv1404 = yyv1404[:0] + yyc1404 = true + } + } else if yyl1404 > 0 { + var yyrr1404, yyrl1404 int + var yyrt1404 bool + if yyl1404 > cap(yyv1404) { + + yyrg1404 := len(yyv1404) > 0 + yyv21404 := yyv1404 + yyrl1404, yyrt1404 = z.DecInferLen(yyl1404, z.DecBasicHandle().MaxInitLen, 632) + if yyrt1404 { + if yyrl1404 <= cap(yyv1404) { + yyv1404 = yyv1404[:yyrl1404] + } else { + yyv1404 = make([]Job, yyrl1404) + } + } else { + yyv1404 = make([]Job, yyrl1404) + } + yyc1404 = true + yyrr1404 = len(yyv1404) + if yyrg1404 { + copy(yyv1404, yyv21404) + } + } else if yyl1404 != len(yyv1404) { + yyv1404 = yyv1404[:yyl1404] + yyc1404 = true + } + yyj1404 := 0 + for ; yyj1404 < yyrr1404; yyj1404++ { + yyh1404.ElemContainerState(yyj1404) + if r.TryDecodeAsNil() { + yyv1404[yyj1404] = Job{} + } else { + yyv1405 := &yyv1404[yyj1404] + yyv1405.CodecDecodeSelf(d) + } + + } + if yyrt1404 { + for ; yyj1404 < yyl1404; yyj1404++ { + yyv1404 = append(yyv1404, Job{}) + yyh1404.ElemContainerState(yyj1404) + if r.TryDecodeAsNil() { + yyv1404[yyj1404] = Job{} + } else { + yyv1406 := &yyv1404[yyj1404] + yyv1406.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1404 := 0 + for ; !r.CheckBreak(); yyj1404++ { + + if yyj1404 >= len(yyv1404) { + yyv1404 = append(yyv1404, Job{}) // var yyz1404 Job + yyc1404 = true + } + yyh1404.ElemContainerState(yyj1404) + if yyj1404 < len(yyv1404) { + if r.TryDecodeAsNil() { + yyv1404[yyj1404] = Job{} + } else { + yyv1407 := &yyv1404[yyj1404] + yyv1407.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1404 < len(yyv1404) { + yyv1404 = yyv1404[:yyj1404] + yyc1404 = true + } else if yyj1404 == 0 && yyv1404 == nil { + yyv1404 = []Job{} + yyc1404 = true + } + } + yyh1404.End() + if yyc1404 { + *v = yyv1404 + } +} + +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 _, yyv1408 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1409 := &yyv1408 + yy1409.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 + + yyv1410 := *v + yyh1410, yyl1410 := z.DecSliceHelperStart() + var yyc1410 bool + if yyl1410 == 0 { + if yyv1410 == nil { + yyv1410 = []JobCondition{} + yyc1410 = true + } else if len(yyv1410) != 0 { + yyv1410 = yyv1410[:0] + yyc1410 = true + } + } else if yyl1410 > 0 { + var yyrr1410, yyrl1410 int + var yyrt1410 bool + if yyl1410 > cap(yyv1410) { + + yyrg1410 := len(yyv1410) > 0 + yyv21410 := yyv1410 + yyrl1410, yyrt1410 = z.DecInferLen(yyl1410, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1410 { + if yyrl1410 <= cap(yyv1410) { + yyv1410 = yyv1410[:yyrl1410] + } else { + yyv1410 = make([]JobCondition, yyrl1410) + } + } else { + yyv1410 = make([]JobCondition, yyrl1410) + } + yyc1410 = true + yyrr1410 = len(yyv1410) + if yyrg1410 { + copy(yyv1410, yyv21410) + } + } else if yyl1410 != len(yyv1410) { + yyv1410 = yyv1410[:yyl1410] + yyc1410 = true + } + yyj1410 := 0 + for ; yyj1410 < yyrr1410; yyj1410++ { + yyh1410.ElemContainerState(yyj1410) + if r.TryDecodeAsNil() { + yyv1410[yyj1410] = JobCondition{} + } else { + yyv1411 := &yyv1410[yyj1410] + yyv1411.CodecDecodeSelf(d) + } + + } + if yyrt1410 { + for ; yyj1410 < yyl1410; yyj1410++ { + yyv1410 = append(yyv1410, JobCondition{}) + yyh1410.ElemContainerState(yyj1410) + if r.TryDecodeAsNil() { + yyv1410[yyj1410] = JobCondition{} + } else { + yyv1412 := &yyv1410[yyj1410] + yyv1412.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1410 := 0 + for ; !r.CheckBreak(); yyj1410++ { + + if yyj1410 >= len(yyv1410) { + yyv1410 = append(yyv1410, JobCondition{}) // var yyz1410 JobCondition + yyc1410 = true + } + yyh1410.ElemContainerState(yyj1410) + if yyj1410 < len(yyv1410) { + if r.TryDecodeAsNil() { + yyv1410[yyj1410] = JobCondition{} + } else { + yyv1413 := &yyv1410[yyj1410] + yyv1413.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1410 < len(yyv1410) { + yyv1410 = yyv1410[:yyj1410] + yyc1410 = true + } else if yyj1410 == 0 && yyv1410 == nil { + yyv1410 = []JobCondition{} + yyc1410 = true + } + } + yyh1410.End() + if yyc1410 { + *v = yyv1410 + } +} + +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 _, yyv1414 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1415 := &yyv1414 + yy1415.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 + + yyv1416 := *v + yyh1416, yyl1416 := z.DecSliceHelperStart() + var yyc1416 bool + if yyl1416 == 0 { + if yyv1416 == nil { + yyv1416 = []Ingress{} + yyc1416 = true + } else if len(yyv1416) != 0 { + yyv1416 = yyv1416[:0] + yyc1416 = true + } + } else if yyl1416 > 0 { + var yyrr1416, yyrl1416 int + var yyrt1416 bool + if yyl1416 > cap(yyv1416) { + + yyrg1416 := len(yyv1416) > 0 + yyv21416 := yyv1416 + yyrl1416, yyrt1416 = z.DecInferLen(yyl1416, z.DecBasicHandle().MaxInitLen, 248) + if yyrt1416 { + if yyrl1416 <= cap(yyv1416) { + yyv1416 = yyv1416[:yyrl1416] + } else { + yyv1416 = make([]Ingress, yyrl1416) + } + } else { + yyv1416 = make([]Ingress, yyrl1416) + } + yyc1416 = true + yyrr1416 = len(yyv1416) + if yyrg1416 { + copy(yyv1416, yyv21416) + } + } else if yyl1416 != len(yyv1416) { + yyv1416 = yyv1416[:yyl1416] + yyc1416 = true + } + yyj1416 := 0 + for ; yyj1416 < yyrr1416; yyj1416++ { + yyh1416.ElemContainerState(yyj1416) + if r.TryDecodeAsNil() { + yyv1416[yyj1416] = Ingress{} + } else { + yyv1417 := &yyv1416[yyj1416] + yyv1417.CodecDecodeSelf(d) + } + + } + if yyrt1416 { + for ; yyj1416 < yyl1416; yyj1416++ { + yyv1416 = append(yyv1416, Ingress{}) + yyh1416.ElemContainerState(yyj1416) + if r.TryDecodeAsNil() { + yyv1416[yyj1416] = Ingress{} + } else { + yyv1418 := &yyv1416[yyj1416] + yyv1418.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1416 := 0 + for ; !r.CheckBreak(); yyj1416++ { + + if yyj1416 >= len(yyv1416) { + yyv1416 = append(yyv1416, Ingress{}) // var yyz1416 Ingress + yyc1416 = true + } + yyh1416.ElemContainerState(yyj1416) + if yyj1416 < len(yyv1416) { + if r.TryDecodeAsNil() { + yyv1416[yyj1416] = Ingress{} + } else { + yyv1419 := &yyv1416[yyj1416] + yyv1419.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1416 < len(yyv1416) { + yyv1416 = yyv1416[:yyj1416] + yyc1416 = true + } else if yyj1416 == 0 && yyv1416 == nil { + yyv1416 = []Ingress{} + yyc1416 = true + } + } + yyh1416.End() + if yyc1416 { + *v = yyv1416 + } +} + +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 _, yyv1420 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1421 := &yyv1420 + yy1421.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 + + yyv1422 := *v + yyh1422, yyl1422 := z.DecSliceHelperStart() + var yyc1422 bool + if yyl1422 == 0 { + if yyv1422 == nil { + yyv1422 = []IngressRule{} + yyc1422 = true + } else if len(yyv1422) != 0 { + yyv1422 = yyv1422[:0] + yyc1422 = true + } + } else if yyl1422 > 0 { + var yyrr1422, yyrl1422 int + var yyrt1422 bool + if yyl1422 > cap(yyv1422) { + + yyrg1422 := len(yyv1422) > 0 + yyv21422 := yyv1422 + yyrl1422, yyrt1422 = z.DecInferLen(yyl1422, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1422 { + if yyrl1422 <= cap(yyv1422) { + yyv1422 = yyv1422[:yyrl1422] + } else { + yyv1422 = make([]IngressRule, yyrl1422) + } + } else { + yyv1422 = make([]IngressRule, yyrl1422) + } + yyc1422 = true + yyrr1422 = len(yyv1422) + if yyrg1422 { + copy(yyv1422, yyv21422) + } + } else if yyl1422 != len(yyv1422) { + yyv1422 = yyv1422[:yyl1422] + yyc1422 = true + } + yyj1422 := 0 + for ; yyj1422 < yyrr1422; yyj1422++ { + yyh1422.ElemContainerState(yyj1422) + if r.TryDecodeAsNil() { + yyv1422[yyj1422] = IngressRule{} + } else { + yyv1423 := &yyv1422[yyj1422] + yyv1423.CodecDecodeSelf(d) + } + + } + if yyrt1422 { + for ; yyj1422 < yyl1422; yyj1422++ { + yyv1422 = append(yyv1422, IngressRule{}) + yyh1422.ElemContainerState(yyj1422) + if r.TryDecodeAsNil() { + yyv1422[yyj1422] = IngressRule{} + } else { + yyv1424 := &yyv1422[yyj1422] + yyv1424.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1422 := 0 + for ; !r.CheckBreak(); yyj1422++ { + + if yyj1422 >= len(yyv1422) { + yyv1422 = append(yyv1422, IngressRule{}) // var yyz1422 IngressRule + yyc1422 = true + } + yyh1422.ElemContainerState(yyj1422) + if yyj1422 < len(yyv1422) { + if r.TryDecodeAsNil() { + yyv1422[yyj1422] = IngressRule{} + } else { + yyv1425 := &yyv1422[yyj1422] + yyv1425.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1422 < len(yyv1422) { + yyv1422 = yyv1422[:yyj1422] + yyc1422 = true + } else if yyj1422 == 0 && yyv1422 == nil { + yyv1422 = []IngressRule{} + yyc1422 = true + } + } + yyh1422.End() + if yyc1422 { + *v = yyv1422 + } +} + +func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17057,7 +17539,7 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17067,7 +17549,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos var yyc1428 bool if yyl1428 == 0 { if yyv1428 == nil { - yyv1428 = []HorizontalPodAutoscaler{} + yyv1428 = []HTTPIngressPath{} yyc1428 = true } else if len(yyv1428) != 0 { yyv1428 = yyv1428[:0] @@ -17080,15 +17562,15 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos yyrg1428 := len(yyv1428) > 0 yyv21428 := yyv1428 - yyrl1428, yyrt1428 = z.DecInferLen(yyl1428, z.DecBasicHandle().MaxInitLen, 312) + yyrl1428, yyrt1428 = z.DecInferLen(yyl1428, z.DecBasicHandle().MaxInitLen, 64) if yyrt1428 { if yyrl1428 <= cap(yyv1428) { yyv1428 = yyv1428[:yyrl1428] } else { - yyv1428 = make([]HorizontalPodAutoscaler, yyrl1428) + yyv1428 = make([]HTTPIngressPath, yyrl1428) } } else { - yyv1428 = make([]HorizontalPodAutoscaler, yyrl1428) + yyv1428 = make([]HTTPIngressPath, yyrl1428) } yyc1428 = true yyrr1428 = len(yyv1428) @@ -17103,7 +17585,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos for ; yyj1428 < yyrr1428; yyj1428++ { yyh1428.ElemContainerState(yyj1428) if r.TryDecodeAsNil() { - yyv1428[yyj1428] = HorizontalPodAutoscaler{} + yyv1428[yyj1428] = HTTPIngressPath{} } else { yyv1429 := &yyv1428[yyj1428] yyv1429.CodecDecodeSelf(d) @@ -17112,10 +17594,10 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } if yyrt1428 { for ; yyj1428 < yyl1428; yyj1428++ { - yyv1428 = append(yyv1428, HorizontalPodAutoscaler{}) + yyv1428 = append(yyv1428, HTTPIngressPath{}) yyh1428.ElemContainerState(yyj1428) if r.TryDecodeAsNil() { - yyv1428[yyj1428] = HorizontalPodAutoscaler{} + yyv1428[yyj1428] = HTTPIngressPath{} } else { yyv1430 := &yyv1428[yyj1428] yyv1430.CodecDecodeSelf(d) @@ -17129,13 +17611,13 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos for ; !r.CheckBreak(); yyj1428++ { if yyj1428 >= len(yyv1428) { - yyv1428 = append(yyv1428, HorizontalPodAutoscaler{}) // var yyz1428 HorizontalPodAutoscaler + yyv1428 = append(yyv1428, HTTPIngressPath{}) // var yyz1428 HTTPIngressPath yyc1428 = true } yyh1428.ElemContainerState(yyj1428) if yyj1428 < len(yyv1428) { if r.TryDecodeAsNil() { - yyv1428[yyj1428] = HorizontalPodAutoscaler{} + yyv1428[yyj1428] = HTTPIngressPath{} } else { yyv1431 := &yyv1428[yyj1428] yyv1431.CodecDecodeSelf(d) @@ -17150,7 +17632,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos yyv1428 = yyv1428[:yyj1428] yyc1428 = true } else if yyj1428 == 0 && yyv1428 == nil { - yyv1428 = []HorizontalPodAutoscaler{} + yyv1428 = []HTTPIngressPath{} yyc1428 = true } } @@ -17160,7 +17642,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } -func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNodeUtilization(v []NodeUtilization, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17173,7 +17655,7 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17183,7 +17665,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode var yyc1434 bool if yyl1434 == 0 { if yyv1434 == nil { - yyv1434 = []APIVersion{} + yyv1434 = []NodeUtilization{} yyc1434 = true } else if len(yyv1434) != 0 { yyv1434 = yyv1434[:0] @@ -17196,15 +17678,15 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode yyrg1434 := len(yyv1434) > 0 yyv21434 := yyv1434 - yyrl1434, yyrt1434 = z.DecInferLen(yyl1434, z.DecBasicHandle().MaxInitLen, 32) + yyrl1434, yyrt1434 = z.DecInferLen(yyl1434, z.DecBasicHandle().MaxInitLen, 24) if yyrt1434 { if yyrl1434 <= cap(yyv1434) { yyv1434 = yyv1434[:yyrl1434] } else { - yyv1434 = make([]APIVersion, yyrl1434) + yyv1434 = make([]NodeUtilization, yyrl1434) } } else { - yyv1434 = make([]APIVersion, yyrl1434) + yyv1434 = make([]NodeUtilization, yyrl1434) } yyc1434 = true yyrr1434 = len(yyv1434) @@ -17219,7 +17701,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode for ; yyj1434 < yyrr1434; yyj1434++ { yyh1434.ElemContainerState(yyj1434) if r.TryDecodeAsNil() { - yyv1434[yyj1434] = APIVersion{} + yyv1434[yyj1434] = NodeUtilization{} } else { yyv1435 := &yyv1434[yyj1434] yyv1435.CodecDecodeSelf(d) @@ -17228,10 +17710,10 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } if yyrt1434 { for ; yyj1434 < yyl1434; yyj1434++ { - yyv1434 = append(yyv1434, APIVersion{}) + yyv1434 = append(yyv1434, NodeUtilization{}) yyh1434.ElemContainerState(yyj1434) if r.TryDecodeAsNil() { - yyv1434[yyj1434] = APIVersion{} + yyv1434[yyj1434] = NodeUtilization{} } else { yyv1436 := &yyv1434[yyj1434] yyv1436.CodecDecodeSelf(d) @@ -17245,13 +17727,13 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode for ; !r.CheckBreak(); yyj1434++ { if yyj1434 >= len(yyv1434) { - yyv1434 = append(yyv1434, APIVersion{}) // var yyz1434 APIVersion + yyv1434 = append(yyv1434, NodeUtilization{}) // var yyz1434 NodeUtilization yyc1434 = true } yyh1434.ElemContainerState(yyj1434) if yyj1434 < len(yyv1434) { if r.TryDecodeAsNil() { - yyv1434[yyj1434] = APIVersion{} + yyv1434[yyj1434] = NodeUtilization{} } else { yyv1437 := &yyv1434[yyj1434] yyv1437.CodecDecodeSelf(d) @@ -17266,7 +17748,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode yyv1434 = yyv1434[:yyj1434] yyc1434 = true } else if yyj1434 == 0 && yyv1434 == nil { - yyv1434 = []APIVersion{} + yyv1434 = []NodeUtilization{} yyc1434 = true } } @@ -17276,7 +17758,7 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceClusterAutoscaler(v []ClusterAutoscaler, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17289,7 +17771,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) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17299,7 +17781,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * var yyc1440 bool if yyl1440 == 0 { if yyv1440 == nil { - yyv1440 = []ThirdPartyResource{} + yyv1440 = []ClusterAutoscaler{} yyc1440 = true } else if len(yyv1440) != 0 { yyv1440 = yyv1440[:0] @@ -17312,15 +17794,15 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * yyrg1440 := len(yyv1440) > 0 yyv21440 := yyv1440 - yyrl1440, yyrt1440 = z.DecInferLen(yyl1440, z.DecBasicHandle().MaxInitLen, 232) + yyrl1440, yyrt1440 = z.DecInferLen(yyl1440, z.DecBasicHandle().MaxInitLen, 224) if yyrt1440 { if yyrl1440 <= cap(yyv1440) { yyv1440 = yyv1440[:yyrl1440] } else { - yyv1440 = make([]ThirdPartyResource, yyrl1440) + yyv1440 = make([]ClusterAutoscaler, yyrl1440) } } else { - yyv1440 = make([]ThirdPartyResource, yyrl1440) + yyv1440 = make([]ClusterAutoscaler, yyrl1440) } yyc1440 = true yyrr1440 = len(yyv1440) @@ -17335,7 +17817,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * for ; yyj1440 < yyrr1440; yyj1440++ { yyh1440.ElemContainerState(yyj1440) if r.TryDecodeAsNil() { - yyv1440[yyj1440] = ThirdPartyResource{} + yyv1440[yyj1440] = ClusterAutoscaler{} } else { yyv1441 := &yyv1440[yyj1440] yyv1441.CodecDecodeSelf(d) @@ -17344,10 +17826,10 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } if yyrt1440 { for ; yyj1440 < yyl1440; yyj1440++ { - yyv1440 = append(yyv1440, ThirdPartyResource{}) + yyv1440 = append(yyv1440, ClusterAutoscaler{}) yyh1440.ElemContainerState(yyj1440) if r.TryDecodeAsNil() { - yyv1440[yyj1440] = ThirdPartyResource{} + yyv1440[yyj1440] = ClusterAutoscaler{} } else { yyv1442 := &yyv1440[yyj1440] yyv1442.CodecDecodeSelf(d) @@ -17361,13 +17843,13 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * for ; !r.CheckBreak(); yyj1440++ { if yyj1440 >= len(yyv1440) { - yyv1440 = append(yyv1440, ThirdPartyResource{}) // var yyz1440 ThirdPartyResource + yyv1440 = append(yyv1440, ClusterAutoscaler{}) // var yyz1440 ClusterAutoscaler yyc1440 = true } yyh1440.ElemContainerState(yyj1440) if yyj1440 < len(yyv1440) { if r.TryDecodeAsNil() { - yyv1440[yyj1440] = ThirdPartyResource{} + yyv1440[yyj1440] = ClusterAutoscaler{} } else { yyv1443 := &yyv1440[yyj1440] yyv1443.CodecDecodeSelf(d) @@ -17382,7 +17864,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * yyv1440 = yyv1440[:yyj1440] yyc1440 = true } else if yyj1440 == 0 && yyv1440 == nil { - yyv1440 = []ThirdPartyResource{} + yyv1440 = []ClusterAutoscaler{} yyc1440 = true } } @@ -17392,7 +17874,7 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } -func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequirement, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17405,7 +17887,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) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequirement, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17415,7 +17897,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode var yyc1446 bool if yyl1446 == 0 { if yyv1446 == nil { - yyv1446 = []Deployment{} + yyv1446 = []LabelSelectorRequirement{} yyc1446 = true } else if len(yyv1446) != 0 { yyv1446 = yyv1446[:0] @@ -17428,15 +17910,15 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode yyrg1446 := len(yyv1446) > 0 yyv21446 := yyv1446 - yyrl1446, yyrt1446 = z.DecInferLen(yyl1446, z.DecBasicHandle().MaxInitLen, 616) + yyrl1446, yyrt1446 = z.DecInferLen(yyl1446, z.DecBasicHandle().MaxInitLen, 56) if yyrt1446 { if yyrl1446 <= cap(yyv1446) { yyv1446 = yyv1446[:yyrl1446] } else { - yyv1446 = make([]Deployment, yyrl1446) + yyv1446 = make([]LabelSelectorRequirement, yyrl1446) } } else { - yyv1446 = make([]Deployment, yyrl1446) + yyv1446 = make([]LabelSelectorRequirement, yyrl1446) } yyc1446 = true yyrr1446 = len(yyv1446) @@ -17451,7 +17933,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode for ; yyj1446 < yyrr1446; yyj1446++ { yyh1446.ElemContainerState(yyj1446) if r.TryDecodeAsNil() { - yyv1446[yyj1446] = Deployment{} + yyv1446[yyj1446] = LabelSelectorRequirement{} } else { yyv1447 := &yyv1446[yyj1446] yyv1447.CodecDecodeSelf(d) @@ -17460,10 +17942,10 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } if yyrt1446 { for ; yyj1446 < yyl1446; yyj1446++ { - yyv1446 = append(yyv1446, Deployment{}) + yyv1446 = append(yyv1446, LabelSelectorRequirement{}) yyh1446.ElemContainerState(yyj1446) if r.TryDecodeAsNil() { - yyv1446[yyj1446] = Deployment{} + yyv1446[yyj1446] = LabelSelectorRequirement{} } else { yyv1448 := &yyv1446[yyj1446] yyv1448.CodecDecodeSelf(d) @@ -17477,13 +17959,13 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode for ; !r.CheckBreak(); yyj1446++ { if yyj1446 >= len(yyv1446) { - yyv1446 = append(yyv1446, Deployment{}) // var yyz1446 Deployment + yyv1446 = append(yyv1446, LabelSelectorRequirement{}) // var yyz1446 LabelSelectorRequirement yyc1446 = true } yyh1446.ElemContainerState(yyj1446) if yyj1446 < len(yyv1446) { if r.TryDecodeAsNil() { - yyv1446[yyj1446] = Deployment{} + yyv1446[yyj1446] = LabelSelectorRequirement{} } else { yyv1449 := &yyv1446[yyj1446] yyv1449.CodecDecodeSelf(d) @@ -17498,7 +17980,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode yyv1446 = yyv1446[:yyj1446] yyc1446 = true } else if yyj1446 == 0 && yyv1446 == nil { - yyv1446 = []Deployment{} + yyv1446 = []LabelSelectorRequirement{} yyc1446 = true } } @@ -17508,7 +17990,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17521,7 +18003,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) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17531,7 +18013,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) var yyc1452 bool if yyl1452 == 0 { if yyv1452 == nil { - yyv1452 = []DaemonSet{} + yyv1452 = []ReplicaSet{} yyc1452 = true } else if len(yyv1452) != 0 { yyv1452 = yyv1452[:0] @@ -17544,15 +18026,15 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyrg1452 := len(yyv1452) > 0 yyv21452 := yyv1452 - yyrl1452, yyrt1452 = z.DecInferLen(yyl1452, z.DecBasicHandle().MaxInitLen, 256) + yyrl1452, yyrt1452 = z.DecInferLen(yyl1452, z.DecBasicHandle().MaxInitLen, 232) if yyrt1452 { if yyrl1452 <= cap(yyv1452) { yyv1452 = yyv1452[:yyrl1452] } else { - yyv1452 = make([]DaemonSet, yyrl1452) + yyv1452 = make([]ReplicaSet, yyrl1452) } } else { - yyv1452 = make([]DaemonSet, yyrl1452) + yyv1452 = make([]ReplicaSet, yyrl1452) } yyc1452 = true yyrr1452 = len(yyv1452) @@ -17567,7 +18049,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; yyj1452 < yyrr1452; yyj1452++ { yyh1452.ElemContainerState(yyj1452) if r.TryDecodeAsNil() { - yyv1452[yyj1452] = DaemonSet{} + yyv1452[yyj1452] = ReplicaSet{} } else { yyv1453 := &yyv1452[yyj1452] yyv1453.CodecDecodeSelf(d) @@ -17576,10 +18058,10 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } if yyrt1452 { for ; yyj1452 < yyl1452; yyj1452++ { - yyv1452 = append(yyv1452, DaemonSet{}) + yyv1452 = append(yyv1452, ReplicaSet{}) yyh1452.ElemContainerState(yyj1452) if r.TryDecodeAsNil() { - yyv1452[yyj1452] = DaemonSet{} + yyv1452[yyj1452] = ReplicaSet{} } else { yyv1454 := &yyv1452[yyj1452] yyv1454.CodecDecodeSelf(d) @@ -17593,13 +18075,13 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj1452++ { if yyj1452 >= len(yyv1452) { - yyv1452 = append(yyv1452, DaemonSet{}) // var yyz1452 DaemonSet + yyv1452 = append(yyv1452, ReplicaSet{}) // var yyz1452 ReplicaSet yyc1452 = true } yyh1452.ElemContainerState(yyj1452) if yyj1452 < len(yyv1452) { if r.TryDecodeAsNil() { - yyv1452[yyj1452] = DaemonSet{} + yyv1452[yyj1452] = ReplicaSet{} } else { yyv1455 := &yyv1452[yyj1452] yyv1455.CodecDecodeSelf(d) @@ -17614,7 +18096,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) yyv1452 = yyv1452[:yyj1452] yyc1452 = true } else if yyj1452 == 0 && yyv1452 == nil { - yyv1452 = []DaemonSet{} + yyv1452 = []ReplicaSet{} yyc1452 = true } } @@ -17623,1279 +18105,3 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) *v = yyv1452 } } - -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 _, yyv1456 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1457 := &yyv1456 - yy1457.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 - - yyv1458 := *v - yyh1458, yyl1458 := z.DecSliceHelperStart() - var yyc1458 bool - if yyl1458 == 0 { - if yyv1458 == nil { - yyv1458 = []ThirdPartyResourceData{} - yyc1458 = true - } else if len(yyv1458) != 0 { - yyv1458 = yyv1458[:0] - yyc1458 = true - } - } else if yyl1458 > 0 { - var yyrr1458, yyrl1458 int - var yyrt1458 bool - if yyl1458 > cap(yyv1458) { - - yyrg1458 := len(yyv1458) > 0 - yyv21458 := yyv1458 - yyrl1458, yyrt1458 = z.DecInferLen(yyl1458, z.DecBasicHandle().MaxInitLen, 216) - if yyrt1458 { - if yyrl1458 <= cap(yyv1458) { - yyv1458 = yyv1458[:yyrl1458] - } else { - yyv1458 = make([]ThirdPartyResourceData, yyrl1458) - } - } else { - yyv1458 = make([]ThirdPartyResourceData, yyrl1458) - } - yyc1458 = true - yyrr1458 = len(yyv1458) - if yyrg1458 { - copy(yyv1458, yyv21458) - } - } else if yyl1458 != len(yyv1458) { - yyv1458 = yyv1458[:yyl1458] - yyc1458 = true - } - yyj1458 := 0 - for ; yyj1458 < yyrr1458; yyj1458++ { - yyh1458.ElemContainerState(yyj1458) - if r.TryDecodeAsNil() { - yyv1458[yyj1458] = ThirdPartyResourceData{} - } else { - yyv1459 := &yyv1458[yyj1458] - yyv1459.CodecDecodeSelf(d) - } - - } - if yyrt1458 { - for ; yyj1458 < yyl1458; yyj1458++ { - yyv1458 = append(yyv1458, ThirdPartyResourceData{}) - yyh1458.ElemContainerState(yyj1458) - if r.TryDecodeAsNil() { - yyv1458[yyj1458] = ThirdPartyResourceData{} - } else { - yyv1460 := &yyv1458[yyj1458] - yyv1460.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1458 := 0 - for ; !r.CheckBreak(); yyj1458++ { - - if yyj1458 >= len(yyv1458) { - yyv1458 = append(yyv1458, ThirdPartyResourceData{}) // var yyz1458 ThirdPartyResourceData - yyc1458 = true - } - yyh1458.ElemContainerState(yyj1458) - if yyj1458 < len(yyv1458) { - if r.TryDecodeAsNil() { - yyv1458[yyj1458] = ThirdPartyResourceData{} - } else { - yyv1461 := &yyv1458[yyj1458] - yyv1461.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1458 < len(yyv1458) { - yyv1458 = yyv1458[:yyj1458] - yyc1458 = true - } else if yyj1458 == 0 && yyv1458 == nil { - yyv1458 = []ThirdPartyResourceData{} - yyc1458 = true - } - } - yyh1458.End() - if yyc1458 { - *v = yyv1458 - } -} - -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 _, yyv1462 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1463 := &yyv1462 - yy1463.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 - - yyv1464 := *v - yyh1464, yyl1464 := z.DecSliceHelperStart() - var yyc1464 bool - if yyl1464 == 0 { - if yyv1464 == nil { - yyv1464 = []Job{} - yyc1464 = true - } else if len(yyv1464) != 0 { - yyv1464 = yyv1464[:0] - yyc1464 = true - } - } else if yyl1464 > 0 { - var yyrr1464, yyrl1464 int - var yyrt1464 bool - if yyl1464 > cap(yyv1464) { - - yyrg1464 := len(yyv1464) > 0 - yyv21464 := yyv1464 - yyrl1464, yyrt1464 = z.DecInferLen(yyl1464, z.DecBasicHandle().MaxInitLen, 632) - if yyrt1464 { - if yyrl1464 <= cap(yyv1464) { - yyv1464 = yyv1464[:yyrl1464] - } else { - yyv1464 = make([]Job, yyrl1464) - } - } else { - yyv1464 = make([]Job, yyrl1464) - } - yyc1464 = true - yyrr1464 = len(yyv1464) - if yyrg1464 { - copy(yyv1464, yyv21464) - } - } else if yyl1464 != len(yyv1464) { - yyv1464 = yyv1464[:yyl1464] - yyc1464 = true - } - yyj1464 := 0 - for ; yyj1464 < yyrr1464; yyj1464++ { - yyh1464.ElemContainerState(yyj1464) - if r.TryDecodeAsNil() { - yyv1464[yyj1464] = Job{} - } else { - yyv1465 := &yyv1464[yyj1464] - yyv1465.CodecDecodeSelf(d) - } - - } - if yyrt1464 { - for ; yyj1464 < yyl1464; yyj1464++ { - yyv1464 = append(yyv1464, Job{}) - yyh1464.ElemContainerState(yyj1464) - if r.TryDecodeAsNil() { - yyv1464[yyj1464] = Job{} - } else { - yyv1466 := &yyv1464[yyj1464] - yyv1466.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1464 := 0 - for ; !r.CheckBreak(); yyj1464++ { - - if yyj1464 >= len(yyv1464) { - yyv1464 = append(yyv1464, Job{}) // var yyz1464 Job - yyc1464 = true - } - yyh1464.ElemContainerState(yyj1464) - if yyj1464 < len(yyv1464) { - if r.TryDecodeAsNil() { - yyv1464[yyj1464] = Job{} - } else { - yyv1467 := &yyv1464[yyj1464] - yyv1467.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1464 < len(yyv1464) { - yyv1464 = yyv1464[:yyj1464] - yyc1464 = true - } else if yyj1464 == 0 && yyv1464 == nil { - yyv1464 = []Job{} - yyc1464 = true - } - } - yyh1464.End() - if yyc1464 { - *v = yyv1464 - } -} - -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 _, yyv1468 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1469 := &yyv1468 - yy1469.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 - - yyv1470 := *v - yyh1470, yyl1470 := z.DecSliceHelperStart() - var yyc1470 bool - if yyl1470 == 0 { - if yyv1470 == nil { - yyv1470 = []JobCondition{} - yyc1470 = true - } else if len(yyv1470) != 0 { - yyv1470 = yyv1470[:0] - yyc1470 = true - } - } else if yyl1470 > 0 { - var yyrr1470, yyrl1470 int - var yyrt1470 bool - if yyl1470 > cap(yyv1470) { - - yyrg1470 := len(yyv1470) > 0 - yyv21470 := yyv1470 - yyrl1470, yyrt1470 = z.DecInferLen(yyl1470, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1470 { - if yyrl1470 <= cap(yyv1470) { - yyv1470 = yyv1470[:yyrl1470] - } else { - yyv1470 = make([]JobCondition, yyrl1470) - } - } else { - yyv1470 = make([]JobCondition, yyrl1470) - } - yyc1470 = true - yyrr1470 = len(yyv1470) - if yyrg1470 { - copy(yyv1470, yyv21470) - } - } else if yyl1470 != len(yyv1470) { - yyv1470 = yyv1470[:yyl1470] - yyc1470 = true - } - yyj1470 := 0 - for ; yyj1470 < yyrr1470; yyj1470++ { - yyh1470.ElemContainerState(yyj1470) - if r.TryDecodeAsNil() { - yyv1470[yyj1470] = JobCondition{} - } else { - yyv1471 := &yyv1470[yyj1470] - yyv1471.CodecDecodeSelf(d) - } - - } - if yyrt1470 { - for ; yyj1470 < yyl1470; yyj1470++ { - yyv1470 = append(yyv1470, JobCondition{}) - yyh1470.ElemContainerState(yyj1470) - if r.TryDecodeAsNil() { - yyv1470[yyj1470] = JobCondition{} - } else { - yyv1472 := &yyv1470[yyj1470] - yyv1472.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1470 := 0 - for ; !r.CheckBreak(); yyj1470++ { - - if yyj1470 >= len(yyv1470) { - yyv1470 = append(yyv1470, JobCondition{}) // var yyz1470 JobCondition - yyc1470 = true - } - yyh1470.ElemContainerState(yyj1470) - if yyj1470 < len(yyv1470) { - if r.TryDecodeAsNil() { - yyv1470[yyj1470] = JobCondition{} - } else { - yyv1473 := &yyv1470[yyj1470] - yyv1473.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1470 < len(yyv1470) { - yyv1470 = yyv1470[:yyj1470] - yyc1470 = true - } else if yyj1470 == 0 && yyv1470 == nil { - yyv1470 = []JobCondition{} - yyc1470 = true - } - } - yyh1470.End() - if yyc1470 { - *v = yyv1470 - } -} - -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 _, yyv1474 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1475 := &yyv1474 - yy1475.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 - - yyv1476 := *v - yyh1476, yyl1476 := z.DecSliceHelperStart() - var yyc1476 bool - if yyl1476 == 0 { - if yyv1476 == nil { - yyv1476 = []Ingress{} - yyc1476 = true - } else if len(yyv1476) != 0 { - yyv1476 = yyv1476[:0] - yyc1476 = true - } - } else if yyl1476 > 0 { - var yyrr1476, yyrl1476 int - var yyrt1476 bool - if yyl1476 > cap(yyv1476) { - - yyrg1476 := len(yyv1476) > 0 - yyv21476 := yyv1476 - yyrl1476, yyrt1476 = z.DecInferLen(yyl1476, z.DecBasicHandle().MaxInitLen, 248) - if yyrt1476 { - if yyrl1476 <= cap(yyv1476) { - yyv1476 = yyv1476[:yyrl1476] - } else { - yyv1476 = make([]Ingress, yyrl1476) - } - } else { - yyv1476 = make([]Ingress, yyrl1476) - } - yyc1476 = true - yyrr1476 = len(yyv1476) - if yyrg1476 { - copy(yyv1476, yyv21476) - } - } else if yyl1476 != len(yyv1476) { - yyv1476 = yyv1476[:yyl1476] - yyc1476 = true - } - yyj1476 := 0 - for ; yyj1476 < yyrr1476; yyj1476++ { - yyh1476.ElemContainerState(yyj1476) - if r.TryDecodeAsNil() { - yyv1476[yyj1476] = Ingress{} - } else { - yyv1477 := &yyv1476[yyj1476] - yyv1477.CodecDecodeSelf(d) - } - - } - if yyrt1476 { - for ; yyj1476 < yyl1476; yyj1476++ { - yyv1476 = append(yyv1476, Ingress{}) - yyh1476.ElemContainerState(yyj1476) - if r.TryDecodeAsNil() { - yyv1476[yyj1476] = Ingress{} - } else { - yyv1478 := &yyv1476[yyj1476] - yyv1478.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1476 := 0 - for ; !r.CheckBreak(); yyj1476++ { - - if yyj1476 >= len(yyv1476) { - yyv1476 = append(yyv1476, Ingress{}) // var yyz1476 Ingress - yyc1476 = true - } - yyh1476.ElemContainerState(yyj1476) - if yyj1476 < len(yyv1476) { - if r.TryDecodeAsNil() { - yyv1476[yyj1476] = Ingress{} - } else { - yyv1479 := &yyv1476[yyj1476] - yyv1479.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1476 < len(yyv1476) { - yyv1476 = yyv1476[:yyj1476] - yyc1476 = true - } else if yyj1476 == 0 && yyv1476 == nil { - yyv1476 = []Ingress{} - yyc1476 = true - } - } - yyh1476.End() - if yyc1476 { - *v = yyv1476 - } -} - -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 _, yyv1480 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1481 := &yyv1480 - yy1481.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 - - yyv1482 := *v - yyh1482, yyl1482 := z.DecSliceHelperStart() - var yyc1482 bool - if yyl1482 == 0 { - if yyv1482 == nil { - yyv1482 = []IngressRule{} - yyc1482 = true - } else if len(yyv1482) != 0 { - yyv1482 = yyv1482[:0] - yyc1482 = true - } - } else if yyl1482 > 0 { - var yyrr1482, yyrl1482 int - var yyrt1482 bool - if yyl1482 > cap(yyv1482) { - - yyrg1482 := len(yyv1482) > 0 - yyv21482 := yyv1482 - yyrl1482, yyrt1482 = z.DecInferLen(yyl1482, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1482 { - if yyrl1482 <= cap(yyv1482) { - yyv1482 = yyv1482[:yyrl1482] - } else { - yyv1482 = make([]IngressRule, yyrl1482) - } - } else { - yyv1482 = make([]IngressRule, yyrl1482) - } - yyc1482 = true - yyrr1482 = len(yyv1482) - if yyrg1482 { - copy(yyv1482, yyv21482) - } - } else if yyl1482 != len(yyv1482) { - yyv1482 = yyv1482[:yyl1482] - yyc1482 = true - } - yyj1482 := 0 - for ; yyj1482 < yyrr1482; yyj1482++ { - yyh1482.ElemContainerState(yyj1482) - if r.TryDecodeAsNil() { - yyv1482[yyj1482] = IngressRule{} - } else { - yyv1483 := &yyv1482[yyj1482] - yyv1483.CodecDecodeSelf(d) - } - - } - if yyrt1482 { - for ; yyj1482 < yyl1482; yyj1482++ { - yyv1482 = append(yyv1482, IngressRule{}) - yyh1482.ElemContainerState(yyj1482) - if r.TryDecodeAsNil() { - yyv1482[yyj1482] = IngressRule{} - } else { - yyv1484 := &yyv1482[yyj1482] - yyv1484.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1482 := 0 - for ; !r.CheckBreak(); yyj1482++ { - - if yyj1482 >= len(yyv1482) { - yyv1482 = append(yyv1482, IngressRule{}) // var yyz1482 IngressRule - yyc1482 = true - } - yyh1482.ElemContainerState(yyj1482) - if yyj1482 < len(yyv1482) { - if r.TryDecodeAsNil() { - yyv1482[yyj1482] = IngressRule{} - } else { - yyv1485 := &yyv1482[yyj1482] - yyv1485.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1482 < len(yyv1482) { - yyv1482 = yyv1482[:yyj1482] - yyc1482 = true - } else if yyj1482 == 0 && yyv1482 == nil { - yyv1482 = []IngressRule{} - yyc1482 = true - } - } - yyh1482.End() - if yyc1482 { - *v = yyv1482 - } -} - -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 _, yyv1486 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1487 := &yyv1486 - yy1487.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 - - yyv1488 := *v - yyh1488, yyl1488 := z.DecSliceHelperStart() - var yyc1488 bool - if yyl1488 == 0 { - if yyv1488 == nil { - yyv1488 = []HTTPIngressPath{} - yyc1488 = true - } else if len(yyv1488) != 0 { - yyv1488 = yyv1488[:0] - yyc1488 = true - } - } else if yyl1488 > 0 { - var yyrr1488, yyrl1488 int - var yyrt1488 bool - if yyl1488 > cap(yyv1488) { - - yyrg1488 := len(yyv1488) > 0 - yyv21488 := yyv1488 - yyrl1488, yyrt1488 = z.DecInferLen(yyl1488, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1488 { - if yyrl1488 <= cap(yyv1488) { - yyv1488 = yyv1488[:yyrl1488] - } else { - yyv1488 = make([]HTTPIngressPath, yyrl1488) - } - } else { - yyv1488 = make([]HTTPIngressPath, yyrl1488) - } - yyc1488 = true - yyrr1488 = len(yyv1488) - if yyrg1488 { - copy(yyv1488, yyv21488) - } - } else if yyl1488 != len(yyv1488) { - yyv1488 = yyv1488[:yyl1488] - yyc1488 = true - } - yyj1488 := 0 - for ; yyj1488 < yyrr1488; yyj1488++ { - yyh1488.ElemContainerState(yyj1488) - if r.TryDecodeAsNil() { - yyv1488[yyj1488] = HTTPIngressPath{} - } else { - yyv1489 := &yyv1488[yyj1488] - yyv1489.CodecDecodeSelf(d) - } - - } - if yyrt1488 { - for ; yyj1488 < yyl1488; yyj1488++ { - yyv1488 = append(yyv1488, HTTPIngressPath{}) - yyh1488.ElemContainerState(yyj1488) - if r.TryDecodeAsNil() { - yyv1488[yyj1488] = HTTPIngressPath{} - } else { - yyv1490 := &yyv1488[yyj1488] - yyv1490.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1488 := 0 - for ; !r.CheckBreak(); yyj1488++ { - - if yyj1488 >= len(yyv1488) { - yyv1488 = append(yyv1488, HTTPIngressPath{}) // var yyz1488 HTTPIngressPath - yyc1488 = true - } - yyh1488.ElemContainerState(yyj1488) - if yyj1488 < len(yyv1488) { - if r.TryDecodeAsNil() { - yyv1488[yyj1488] = HTTPIngressPath{} - } else { - yyv1491 := &yyv1488[yyj1488] - yyv1491.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1488 < len(yyv1488) { - yyv1488 = yyv1488[:yyj1488] - yyc1488 = true - } else if yyj1488 == 0 && yyv1488 == nil { - yyv1488 = []HTTPIngressPath{} - yyc1488 = true - } - } - yyh1488.End() - if yyc1488 { - *v = yyv1488 - } -} - -func (x codecSelfer1234) encSliceNodeUtilization(v []NodeUtilization, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1492 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1493 := &yyv1492 - yy1493.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1494 := *v - yyh1494, yyl1494 := z.DecSliceHelperStart() - var yyc1494 bool - if yyl1494 == 0 { - if yyv1494 == nil { - yyv1494 = []NodeUtilization{} - yyc1494 = true - } else if len(yyv1494) != 0 { - yyv1494 = yyv1494[:0] - yyc1494 = true - } - } else if yyl1494 > 0 { - var yyrr1494, yyrl1494 int - var yyrt1494 bool - if yyl1494 > cap(yyv1494) { - - yyrg1494 := len(yyv1494) > 0 - yyv21494 := yyv1494 - yyrl1494, yyrt1494 = z.DecInferLen(yyl1494, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1494 { - if yyrl1494 <= cap(yyv1494) { - yyv1494 = yyv1494[:yyrl1494] - } else { - yyv1494 = make([]NodeUtilization, yyrl1494) - } - } else { - yyv1494 = make([]NodeUtilization, yyrl1494) - } - yyc1494 = true - yyrr1494 = len(yyv1494) - if yyrg1494 { - copy(yyv1494, yyv21494) - } - } else if yyl1494 != len(yyv1494) { - yyv1494 = yyv1494[:yyl1494] - yyc1494 = true - } - yyj1494 := 0 - for ; yyj1494 < yyrr1494; yyj1494++ { - yyh1494.ElemContainerState(yyj1494) - if r.TryDecodeAsNil() { - yyv1494[yyj1494] = NodeUtilization{} - } else { - yyv1495 := &yyv1494[yyj1494] - yyv1495.CodecDecodeSelf(d) - } - - } - if yyrt1494 { - for ; yyj1494 < yyl1494; yyj1494++ { - yyv1494 = append(yyv1494, NodeUtilization{}) - yyh1494.ElemContainerState(yyj1494) - if r.TryDecodeAsNil() { - yyv1494[yyj1494] = NodeUtilization{} - } else { - yyv1496 := &yyv1494[yyj1494] - yyv1496.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1494 := 0 - for ; !r.CheckBreak(); yyj1494++ { - - if yyj1494 >= len(yyv1494) { - yyv1494 = append(yyv1494, NodeUtilization{}) // var yyz1494 NodeUtilization - yyc1494 = true - } - yyh1494.ElemContainerState(yyj1494) - if yyj1494 < len(yyv1494) { - if r.TryDecodeAsNil() { - yyv1494[yyj1494] = NodeUtilization{} - } else { - yyv1497 := &yyv1494[yyj1494] - yyv1497.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1494 < len(yyv1494) { - yyv1494 = yyv1494[:yyj1494] - yyc1494 = true - } else if yyj1494 == 0 && yyv1494 == nil { - yyv1494 = []NodeUtilization{} - yyc1494 = true - } - } - yyh1494.End() - if yyc1494 { - *v = yyv1494 - } -} - -func (x codecSelfer1234) encSliceClusterAutoscaler(v []ClusterAutoscaler, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1498 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1499 := &yyv1498 - yy1499.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1500 := *v - yyh1500, yyl1500 := z.DecSliceHelperStart() - var yyc1500 bool - if yyl1500 == 0 { - if yyv1500 == nil { - yyv1500 = []ClusterAutoscaler{} - yyc1500 = true - } else if len(yyv1500) != 0 { - yyv1500 = yyv1500[:0] - yyc1500 = true - } - } else if yyl1500 > 0 { - var yyrr1500, yyrl1500 int - var yyrt1500 bool - if yyl1500 > cap(yyv1500) { - - yyrg1500 := len(yyv1500) > 0 - yyv21500 := yyv1500 - yyrl1500, yyrt1500 = z.DecInferLen(yyl1500, z.DecBasicHandle().MaxInitLen, 224) - if yyrt1500 { - if yyrl1500 <= cap(yyv1500) { - yyv1500 = yyv1500[:yyrl1500] - } else { - yyv1500 = make([]ClusterAutoscaler, yyrl1500) - } - } else { - yyv1500 = make([]ClusterAutoscaler, yyrl1500) - } - yyc1500 = true - yyrr1500 = len(yyv1500) - if yyrg1500 { - copy(yyv1500, yyv21500) - } - } else if yyl1500 != len(yyv1500) { - yyv1500 = yyv1500[:yyl1500] - yyc1500 = true - } - yyj1500 := 0 - for ; yyj1500 < yyrr1500; yyj1500++ { - yyh1500.ElemContainerState(yyj1500) - if r.TryDecodeAsNil() { - yyv1500[yyj1500] = ClusterAutoscaler{} - } else { - yyv1501 := &yyv1500[yyj1500] - yyv1501.CodecDecodeSelf(d) - } - - } - if yyrt1500 { - for ; yyj1500 < yyl1500; yyj1500++ { - yyv1500 = append(yyv1500, ClusterAutoscaler{}) - yyh1500.ElemContainerState(yyj1500) - if r.TryDecodeAsNil() { - yyv1500[yyj1500] = ClusterAutoscaler{} - } else { - yyv1502 := &yyv1500[yyj1500] - yyv1502.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1500 := 0 - for ; !r.CheckBreak(); yyj1500++ { - - if yyj1500 >= len(yyv1500) { - yyv1500 = append(yyv1500, ClusterAutoscaler{}) // var yyz1500 ClusterAutoscaler - yyc1500 = true - } - yyh1500.ElemContainerState(yyj1500) - if yyj1500 < len(yyv1500) { - if r.TryDecodeAsNil() { - yyv1500[yyj1500] = ClusterAutoscaler{} - } else { - yyv1503 := &yyv1500[yyj1500] - yyv1503.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1500 < len(yyv1500) { - yyv1500 = yyv1500[:yyj1500] - yyc1500 = true - } else if yyj1500 == 0 && yyv1500 == nil { - yyv1500 = []ClusterAutoscaler{} - yyc1500 = true - } - } - yyh1500.End() - if yyc1500 { - *v = yyv1500 - } -} - -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 _, yyv1504 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1505 := &yyv1504 - yy1505.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 - - yyv1506 := *v - yyh1506, yyl1506 := z.DecSliceHelperStart() - var yyc1506 bool - if yyl1506 == 0 { - if yyv1506 == nil { - yyv1506 = []LabelSelectorRequirement{} - yyc1506 = true - } else if len(yyv1506) != 0 { - yyv1506 = yyv1506[:0] - yyc1506 = true - } - } else if yyl1506 > 0 { - var yyrr1506, yyrl1506 int - var yyrt1506 bool - if yyl1506 > cap(yyv1506) { - - yyrg1506 := len(yyv1506) > 0 - yyv21506 := yyv1506 - yyrl1506, yyrt1506 = z.DecInferLen(yyl1506, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1506 { - if yyrl1506 <= cap(yyv1506) { - yyv1506 = yyv1506[:yyrl1506] - } else { - yyv1506 = make([]LabelSelectorRequirement, yyrl1506) - } - } else { - yyv1506 = make([]LabelSelectorRequirement, yyrl1506) - } - yyc1506 = true - yyrr1506 = len(yyv1506) - if yyrg1506 { - copy(yyv1506, yyv21506) - } - } else if yyl1506 != len(yyv1506) { - yyv1506 = yyv1506[:yyl1506] - yyc1506 = true - } - yyj1506 := 0 - for ; yyj1506 < yyrr1506; yyj1506++ { - yyh1506.ElemContainerState(yyj1506) - if r.TryDecodeAsNil() { - yyv1506[yyj1506] = LabelSelectorRequirement{} - } else { - yyv1507 := &yyv1506[yyj1506] - yyv1507.CodecDecodeSelf(d) - } - - } - if yyrt1506 { - for ; yyj1506 < yyl1506; yyj1506++ { - yyv1506 = append(yyv1506, LabelSelectorRequirement{}) - yyh1506.ElemContainerState(yyj1506) - if r.TryDecodeAsNil() { - yyv1506[yyj1506] = LabelSelectorRequirement{} - } else { - yyv1508 := &yyv1506[yyj1506] - yyv1508.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1506 := 0 - for ; !r.CheckBreak(); yyj1506++ { - - if yyj1506 >= len(yyv1506) { - yyv1506 = append(yyv1506, LabelSelectorRequirement{}) // var yyz1506 LabelSelectorRequirement - yyc1506 = true - } - yyh1506.ElemContainerState(yyj1506) - if yyj1506 < len(yyv1506) { - if r.TryDecodeAsNil() { - yyv1506[yyj1506] = LabelSelectorRequirement{} - } else { - yyv1509 := &yyv1506[yyj1506] - yyv1509.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1506 < len(yyv1506) { - yyv1506 = yyv1506[:yyj1506] - yyc1506 = true - } else if yyj1506 == 0 && yyv1506 == nil { - yyv1506 = []LabelSelectorRequirement{} - yyc1506 = true - } - } - yyh1506.End() - if yyc1506 { - *v = yyv1506 - } -} - -func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1510 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1511 := &yyv1510 - yy1511.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1512 := *v - yyh1512, yyl1512 := z.DecSliceHelperStart() - var yyc1512 bool - if yyl1512 == 0 { - if yyv1512 == nil { - yyv1512 = []ConfigMap{} - yyc1512 = true - } else if len(yyv1512) != 0 { - yyv1512 = yyv1512[:0] - yyc1512 = true - } - } else if yyl1512 > 0 { - var yyrr1512, yyrl1512 int - var yyrt1512 bool - if yyl1512 > cap(yyv1512) { - - yyrg1512 := len(yyv1512) > 0 - yyv21512 := yyv1512 - yyrl1512, yyrt1512 = z.DecInferLen(yyl1512, z.DecBasicHandle().MaxInitLen, 200) - if yyrt1512 { - if yyrl1512 <= cap(yyv1512) { - yyv1512 = yyv1512[:yyrl1512] - } else { - yyv1512 = make([]ConfigMap, yyrl1512) - } - } else { - yyv1512 = make([]ConfigMap, yyrl1512) - } - yyc1512 = true - yyrr1512 = len(yyv1512) - if yyrg1512 { - copy(yyv1512, yyv21512) - } - } else if yyl1512 != len(yyv1512) { - yyv1512 = yyv1512[:yyl1512] - yyc1512 = true - } - yyj1512 := 0 - for ; yyj1512 < yyrr1512; yyj1512++ { - yyh1512.ElemContainerState(yyj1512) - if r.TryDecodeAsNil() { - yyv1512[yyj1512] = ConfigMap{} - } else { - yyv1513 := &yyv1512[yyj1512] - yyv1513.CodecDecodeSelf(d) - } - - } - if yyrt1512 { - for ; yyj1512 < yyl1512; yyj1512++ { - yyv1512 = append(yyv1512, ConfigMap{}) - yyh1512.ElemContainerState(yyj1512) - if r.TryDecodeAsNil() { - yyv1512[yyj1512] = ConfigMap{} - } else { - yyv1514 := &yyv1512[yyj1512] - yyv1514.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1512 := 0 - for ; !r.CheckBreak(); yyj1512++ { - - if yyj1512 >= len(yyv1512) { - yyv1512 = append(yyv1512, ConfigMap{}) // var yyz1512 ConfigMap - yyc1512 = true - } - yyh1512.ElemContainerState(yyj1512) - if yyj1512 < len(yyv1512) { - if r.TryDecodeAsNil() { - yyv1512[yyj1512] = ConfigMap{} - } else { - yyv1515 := &yyv1512[yyj1512] - yyv1515.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1512 < len(yyv1512) { - yyv1512 = yyv1512[:yyj1512] - yyc1512 = true - } else if yyj1512 == 0 && yyv1512 == nil { - yyv1512 = []ConfigMap{} - yyc1512 = true - } - } - yyh1512.End() - if yyc1512 { - *v = yyv1512 - } -} - -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 _, yyv1516 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1517 := &yyv1516 - yy1517.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 - - yyv1518 := *v - yyh1518, yyl1518 := z.DecSliceHelperStart() - var yyc1518 bool - if yyl1518 == 0 { - if yyv1518 == nil { - yyv1518 = []ReplicaSet{} - yyc1518 = true - } else if len(yyv1518) != 0 { - yyv1518 = yyv1518[:0] - yyc1518 = true - } - } else if yyl1518 > 0 { - var yyrr1518, yyrl1518 int - var yyrt1518 bool - if yyl1518 > cap(yyv1518) { - - yyrg1518 := len(yyv1518) > 0 - yyv21518 := yyv1518 - yyrl1518, yyrt1518 = z.DecInferLen(yyl1518, z.DecBasicHandle().MaxInitLen, 232) - if yyrt1518 { - if yyrl1518 <= cap(yyv1518) { - yyv1518 = yyv1518[:yyrl1518] - } else { - yyv1518 = make([]ReplicaSet, yyrl1518) - } - } else { - yyv1518 = make([]ReplicaSet, yyrl1518) - } - yyc1518 = true - yyrr1518 = len(yyv1518) - if yyrg1518 { - copy(yyv1518, yyv21518) - } - } else if yyl1518 != len(yyv1518) { - yyv1518 = yyv1518[:yyl1518] - yyc1518 = true - } - yyj1518 := 0 - for ; yyj1518 < yyrr1518; yyj1518++ { - yyh1518.ElemContainerState(yyj1518) - if r.TryDecodeAsNil() { - yyv1518[yyj1518] = ReplicaSet{} - } else { - yyv1519 := &yyv1518[yyj1518] - yyv1519.CodecDecodeSelf(d) - } - - } - if yyrt1518 { - for ; yyj1518 < yyl1518; yyj1518++ { - yyv1518 = append(yyv1518, ReplicaSet{}) - yyh1518.ElemContainerState(yyj1518) - if r.TryDecodeAsNil() { - yyv1518[yyj1518] = ReplicaSet{} - } else { - yyv1520 := &yyv1518[yyj1518] - yyv1520.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1518 := 0 - for ; !r.CheckBreak(); yyj1518++ { - - if yyj1518 >= len(yyv1518) { - yyv1518 = append(yyv1518, ReplicaSet{}) // var yyz1518 ReplicaSet - yyc1518 = true - } - yyh1518.ElemContainerState(yyj1518) - if yyj1518 < len(yyv1518) { - if r.TryDecodeAsNil() { - yyv1518[yyj1518] = ReplicaSet{} - } else { - yyv1521 := &yyv1518[yyj1518] - yyv1521.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1518 < len(yyv1518) { - yyv1518 = yyv1518[:yyj1518] - yyc1518 = true - } else if yyj1518 == 0 && yyv1518 == nil { - yyv1518 = []ReplicaSet{} - yyc1518 = true - } - } - yyh1518.End() - if yyc1518 { - *v = yyv1518 - } -}