diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index bfe4305d2fe..b14d768b78c 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -30272,7 +30272,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -30315,6 +30315,49 @@ } } }, + "v1.LabelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LabelSelectorRequirement" + } + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.Lifecycle": { "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", "properties": { @@ -32609,7 +32652,7 @@ "properties": { "selector": { "description": "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1beta1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", @@ -32739,7 +32782,7 @@ }, "selector": { "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1beta1.LabelSelector" }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", @@ -33096,7 +33139,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1beta1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -33139,6 +33182,49 @@ } } }, + "v1beta1.LabelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.LabelSelectorRequirement" + } + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "v1beta1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", "required": [ @@ -33212,11 +33298,11 @@ "properties": { "namespaceSelector": { "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1beta1.LabelSelector" }, "podSelector": { "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1beta1.LabelSelector" } } }, @@ -33246,7 +33332,7 @@ }, "podSelector": { "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1beta1.LabelSelector" } } }, @@ -33343,7 +33429,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1beta1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", diff --git a/api/swagger-spec/batch_v1.json b/api/swagger-spec/batch_v1.json index b0ac51aee55..21c43cf5e7c 100644 --- a/api/swagger-spec/batch_v1.json +++ b/api/swagger-spec/batch_v1.json @@ -1179,7 +1179,7 @@ "description": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "manualSelector": { @@ -1192,8 +1192,8 @@ } } }, - "unversioned.LabelSelector": { - "id": "unversioned.LabelSelector", + "v1.LabelSelector": { + "id": "v1.LabelSelector", "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { "matchLabels": { @@ -1203,14 +1203,14 @@ "matchExpressions": { "type": "array", "items": { - "$ref": "unversioned.LabelSelectorRequirement" + "$ref": "v1.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "unversioned.LabelSelectorRequirement": { - "id": "unversioned.LabelSelectorRequirement", + "v1.LabelSelectorRequirement": { + "id": "v1.LabelSelectorRequirement", "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ "key", diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index 721ab0d26c9..93b7270cd45 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -7792,7 +7792,7 @@ ], "properties": { "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1beta1.LabelSelector", "description": "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "template": { @@ -7801,8 +7801,8 @@ } } }, - "unversioned.LabelSelector": { - "id": "unversioned.LabelSelector", + "v1beta1.LabelSelector": { + "id": "v1beta1.LabelSelector", "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { "matchLabels": { @@ -7812,14 +7812,14 @@ "matchExpressions": { "type": "array", "items": { - "$ref": "unversioned.LabelSelectorRequirement" + "$ref": "v1beta1.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "unversioned.LabelSelectorRequirement": { - "id": "unversioned.LabelSelectorRequirement", + "v1beta1.LabelSelectorRequirement": { + "id": "v1beta1.LabelSelectorRequirement", "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ "key", @@ -9426,7 +9426,7 @@ "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1beta1.LabelSelector", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." }, "template": { @@ -10040,7 +10040,7 @@ "description": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1beta1.LabelSelector", "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "autoSelector": { @@ -10183,7 +10183,7 @@ ], "properties": { "podSelector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1beta1.LabelSelector", "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, "ingress": { @@ -10236,11 +10236,11 @@ "id": "v1beta1.NetworkPolicyPeer", "properties": { "podSelector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1beta1.LabelSelector", "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace." }, "namespaceSelector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1beta1.LabelSelector", "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces." } } @@ -10314,7 +10314,7 @@ "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1beta1.LabelSelector", "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "template": { diff --git a/docs/api-reference/batch/v1/definitions.html b/docs/api-reference/batch/v1/definitions.html index 21f807c199a..d4f2e13c369 100755 --- a/docs/api-reference/batch/v1/definitions.html +++ b/docs/api-reference/batch/v1/definitions.html @@ -652,6 +652,47 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } + +
+

v1.LabelSelector

+
+

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

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

matchLabels

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

false

object

matchExpressions

matchExpressions is a list of label selector requirements. The requirements are ANDed.

false

v1.LabelSelectorRequirement array

+

v1.CephFSVolumeSource

@@ -2445,47 +2486,6 @@ Populated by the system when a graceful deletion is requested. Read-only. More i -
-
-

unversioned.LabelSelector

-
-

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

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

matchLabels

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

false

object

matchExpressions

matchExpressions is a list of label selector requirements. The requirements are ANDed.

false

unversioned.LabelSelectorRequirement array

-

v1.JobCondition

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

v1.LabelSelectorRequirement

+
+

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

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

key

key is the label key that the selector applies to.

true

string

operator

operator represents a key’s relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.

true

string

values

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

false

string array

+

v1.EnvVar

@@ -3108,7 +3156,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

selector

Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

false

-

unversioned.LabelSelector

+

v1.LabelSelector

@@ -3509,54 +3557,6 @@ Populated by the system when a graceful deletion is requested. Read-only. More i -
-
-

unversioned.LabelSelectorRequirement

-
-

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

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

key

key is the label key that the selector applies to.

true

string

operator

operator represents a key’s relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.

true

string

values

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

false

string array

-

unversioned.APIResourceList

@@ -4328,7 +4328,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 821bf9478db..5a104622f6e 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -1848,7 +1848,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

selector

Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

false

-

unversioned.LabelSelector

+

v1beta1.LabelSelector

@@ -1889,7 +1889,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

selector

Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

false

-

unversioned.LabelSelector

+

v1beta1.LabelSelector

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

unversioned.LabelSelector

-
-

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

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

matchLabels

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

false

object

matchExpressions

matchExpressions is a list of label selector requirements. The requirements are ANDed.

false

unversioned.LabelSelectorRequirement array

-

v1beta1.RollbackConfig

@@ -3405,7 +3364,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

selector

Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.

false

-

unversioned.LabelSelector

+

v1beta1.LabelSelector

@@ -4405,7 +4364,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

podSelector

Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.

true

-

unversioned.LabelSelector

+

v1beta1.LabelSelector

@@ -5004,14 +4963,14 @@ Both these may change in the future. Incoming requests are matched against the h

podSelector

This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.

false

-

unversioned.LabelSelector

+

v1beta1.LabelSelector

namespaceSelector

Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.

false

-

unversioned.LabelSelector

+

v1beta1.LabelSelector

@@ -5595,6 +5554,47 @@ Both these may change in the future. Incoming requests are matched against the h +
+
+

v1beta1.LabelSelector

+
+

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

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

matchLabels

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

false

object

matchExpressions

matchExpressions is a list of label selector requirements. The requirements are ANDed.

false

v1beta1.LabelSelectorRequirement array

+

v1beta1.ReplicaSet

@@ -6049,6 +6049,54 @@ Both these may change in the future. Incoming requests are matched against the h +
+
+

v1beta1.LabelSelectorRequirement

+
+

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

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

key

key is the label key that the selector applies to.

true

string

operator

operator represents a key’s relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.

true

string

values

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

false

string array

+

v1.EnvVar

@@ -6266,7 +6314,7 @@ Both these may change in the future. Incoming requests are matched against the h

selector

Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

false

-

unversioned.LabelSelector

+

v1beta1.LabelSelector

@@ -6286,54 +6334,6 @@ Both these may change in the future. Incoming requests are matched against the h -
-
-

unversioned.LabelSelectorRequirement

-
-

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

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

key

key is the label key that the selector applies to.

true

string

operator

operator represents a key’s relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.

true

string

values

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

false

string array

-

unversioned.Status

@@ -6687,7 +6687,7 @@ Both these may change in the future. Incoming requests are matched against the h
diff --git a/federation/pkg/federation-controller/daemonset/BUILD b/federation/pkg/federation-controller/daemonset/BUILD index d8e392152d5..115fa4bc084 100644 --- a/federation/pkg/federation-controller/daemonset/BUILD +++ b/federation/pkg/federation-controller/daemonset/BUILD @@ -44,7 +44,6 @@ go_test( "//federation/client/clientset_generated/federation_release_1_5/fake:go_default_library", "//federation/pkg/federation-controller/util:go_default_library", "//federation/pkg/federation-controller/util/test:go_default_library", - "//pkg/api/unversioned:go_default_library", "//pkg/api/v1:go_default_library", "//pkg/apis/extensions/v1beta1:go_default_library", "//pkg/client/clientset_generated/release_1_5:go_default_library", diff --git a/federation/pkg/federation-controller/daemonset/daemonset_controller_test.go b/federation/pkg/federation-controller/daemonset/daemonset_controller_test.go index 90587d0f738..63d7457b18c 100644 --- a/federation/pkg/federation-controller/daemonset/daemonset_controller_test.go +++ b/federation/pkg/federation-controller/daemonset/daemonset_controller_test.go @@ -26,7 +26,6 @@ import ( fake_fedclientset "k8s.io/kubernetes/federation/client/clientset_generated/federation_release_1_5/fake" "k8s.io/kubernetes/federation/pkg/federation-controller/util" . "k8s.io/kubernetes/federation/pkg/federation-controller/util/test" - "k8s.io/kubernetes/pkg/api/unversioned" api_v1 "k8s.io/kubernetes/pkg/api/v1" extensionsv1 "k8s.io/kubernetes/pkg/apis/extensions/v1beta1" kubeclientset "k8s.io/kubernetes/pkg/client/clientset_generated/release_1_5" @@ -86,7 +85,7 @@ func TestDaemonSetController(t *testing.T) { SelfLink: "/api/v1/namespaces/ns/daemonsets/test-daemonset", }, Spec: extensionsv1.DaemonSetSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &extensionsv1.LabelSelector{ MatchLabels: make(map[string]string), }, }, diff --git a/federation/pkg/federation-controller/util/podanalyzer/BUILD b/federation/pkg/federation-controller/util/podanalyzer/BUILD index 41f85428ab3..6afc9910453 100644 --- a/federation/pkg/federation-controller/util/podanalyzer/BUILD +++ b/federation/pkg/federation-controller/util/podanalyzer/BUILD @@ -16,8 +16,10 @@ go_library( tags = ["automanaged"], deps = [ "//federation/pkg/federation-controller/util:go_default_library", + "//pkg/api:go_default_library", "//pkg/api/unversioned:go_default_library", "//pkg/api/v1:go_default_library", + "//pkg/apis/extensions/v1beta1:go_default_library", "//pkg/labels:go_default_library", ], ) diff --git a/federation/pkg/federation-controller/util/podanalyzer/pod_helper.go b/federation/pkg/federation-controller/util/podanalyzer/pod_helper.go index 493d9172bdc..773d3d207cd 100644 --- a/federation/pkg/federation-controller/util/podanalyzer/pod_helper.go +++ b/federation/pkg/federation-controller/util/podanalyzer/pod_helper.go @@ -21,8 +21,10 @@ import ( "time" "k8s.io/kubernetes/federation/pkg/federation-controller/util" + api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" api_v1 "k8s.io/kubernetes/pkg/api/v1" + "k8s.io/kubernetes/pkg/apis/extensions/v1beta1" "k8s.io/kubernetes/pkg/labels" ) @@ -45,8 +47,8 @@ const ( // A function that calculates how many pods from the list are in one of // the meaningful (from the replica set perspective) states. This function is // a temporary workaround against the current lack of ownerRef in pods. -func AnalysePods(selectorv1 *unversioned.LabelSelector, allPods []util.FederatedObject, currentTime time.Time) (map[string]PodAnalysisResult, error) { - selector, err := unversioned.LabelSelectorAsSelector(selectorv1) +func AnalysePods(selectorv1 *v1beta1.LabelSelector, allPods []util.FederatedObject, currentTime time.Time) (map[string]PodAnalysisResult, error) { + selector, err := labelSelectorAsSelector(selectorv1) if err != nil { return nil, fmt.Errorf("invalid selector: %v", err) } @@ -80,3 +82,11 @@ func AnalysePods(selectorv1 *unversioned.LabelSelector, allPods []util.Federated } return result, nil } + +func labelSelectorAsSelector(ps *v1beta1.LabelSelector) (labels.Selector, error) { + unversionedSelector := unversioned.LabelSelector{} + if err := api.Scheme.Convert(ps, &unversionedSelector, nil); err != nil { + return nil, err + } + return unversioned.LabelSelectorAsSelector(&unversionedSelector) +} diff --git a/federation/pkg/federation-controller/util/podanalyzer/pod_helper_test.go b/federation/pkg/federation-controller/util/podanalyzer/pod_helper_test.go index fea46fc5163..86e41a28df7 100644 --- a/federation/pkg/federation-controller/util/podanalyzer/pod_helper_test.go +++ b/federation/pkg/federation-controller/util/podanalyzer/pod_helper_test.go @@ -101,7 +101,7 @@ func newReplicaSet(selectorMap map[string]string) *v1beta1.ReplicaSet { }, Spec: v1beta1.ReplicaSetSpec{ Replicas: &replicas, - Selector: &unversioned.LabelSelector{MatchLabels: selectorMap}, + Selector: &v1beta1.LabelSelector{MatchLabels: selectorMap}, }, } return rs diff --git a/pkg/apis/batch/v1/BUILD b/pkg/apis/batch/v1/BUILD index 2011e9176f1..9d7f293ce97 100644 --- a/pkg/apis/batch/v1/BUILD +++ b/pkg/apis/batch/v1/BUILD @@ -38,6 +38,7 @@ go_library( "//pkg/util/intstr:go_default_library", "//pkg/watch/versioned:go_default_library", "//vendor:github.com/gogo/protobuf/proto", + "//vendor:github.com/gogo/protobuf/sortkeys", "//vendor:github.com/ugorji/go/codec", ], ) diff --git a/pkg/apis/batch/v1/conversion.go b/pkg/apis/batch/v1/conversion.go index e996bad27a7..01dfe02970b 100644 --- a/pkg/apis/batch/v1/conversion.go +++ b/pkg/apis/batch/v1/conversion.go @@ -20,6 +20,7 @@ import ( "fmt" "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/apis/batch" "k8s.io/kubernetes/pkg/conversion" @@ -52,7 +53,15 @@ func Convert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s conv out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1.LabelSelector + if in.Selector != nil { + out.Selector = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector @@ -70,7 +79,15 @@ func Convert_v1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s conv out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + // unable to generate simple pointer conversion for v1.LabelSelector -> unversioned.LabelSelector + if in.Selector != nil { + out.Selector = new(unversioned.LabelSelector) + if err := Convert_v1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector diff --git a/pkg/apis/batch/v1/generated.pb.go b/pkg/apis/batch/v1/generated.pb.go index f5d0adcbc1d..648a0487234 100644 --- a/pkg/apis/batch/v1/generated.pb.go +++ b/pkg/apis/batch/v1/generated.pb.go @@ -30,6 +30,8 @@ limitations under the License. JobList JobSpec JobStatus + LabelSelector + LabelSelectorRequirement */ package v1 @@ -42,6 +44,7 @@ import k8s_io_kubernetes_pkg_api_v1 "k8s.io/kubernetes/pkg/api/v1" import strings "strings" import reflect "reflect" +import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" import io "io" @@ -74,12 +77,24 @@ func (m *JobStatus) Reset() { *m = JobStatus{} } func (*JobStatus) ProtoMessage() {} func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } +func (m *LabelSelector) Reset() { *m = LabelSelector{} } +func (*LabelSelector) ProtoMessage() {} +func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } + +func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } +func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{6} +} + func init() { proto.RegisterType((*Job)(nil), "k8s.io.kubernetes.pkg.apis.batch.v1.Job") proto.RegisterType((*JobCondition)(nil), "k8s.io.kubernetes.pkg.apis.batch.v1.JobCondition") proto.RegisterType((*JobList)(nil), "k8s.io.kubernetes.pkg.apis.batch.v1.JobList") proto.RegisterType((*JobSpec)(nil), "k8s.io.kubernetes.pkg.apis.batch.v1.JobSpec") proto.RegisterType((*JobStatus)(nil), "k8s.io.kubernetes.pkg.apis.batch.v1.JobStatus") + proto.RegisterType((*LabelSelector)(nil), "k8s.io.kubernetes.pkg.apis.batch.v1.LabelSelector") + proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.kubernetes.pkg.apis.batch.v1.LabelSelectorRequirement") } func (m *Job) Marshal() (data []byte, err error) { size := m.Size() @@ -331,6 +346,94 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *LabelSelector) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *LabelSelector) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.MatchLabels) > 0 { + for k := range m.MatchLabels { + data[i] = 0xa + i++ + v := m.MatchLabels[k] + mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + i = encodeVarintGenerated(data, i, uint64(mapSize)) + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(k))) + i += copy(data[i:], k) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(v))) + i += copy(data[i:], v) + } + } + if len(m.MatchExpressions) > 0 { + for _, msg := range m.MatchExpressions { + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n + } + } + return i, nil +} + +func (m *LabelSelectorRequirement) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Key))) + i += copy(data[i:], m.Key) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Operator))) + i += copy(data[i:], m.Operator) + if len(m.Values) > 0 { + for _, s := range m.Values { + data[i] = 0x1a + i++ + l = len(s) + for l >= 1<<7 { + data[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + data[i] = uint8(l) + i++ + i += copy(data[i:], s) + } + } + return i, nil +} + func encodeFixed64Generated(data []byte, offset int, v uint64) int { data[offset] = uint8(v) data[offset+1] = uint8(v >> 8) @@ -449,6 +552,42 @@ func (m *JobStatus) Size() (n int) { return n } +func (m *LabelSelector) Size() (n int) { + var l int + _ = l + if len(m.MatchLabels) > 0 { + for k, v := range m.MatchLabels { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) + } + } + if len(m.MatchExpressions) > 0 { + for _, e := range m.MatchExpressions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func (m *LabelSelectorRequirement) Size() (n int) { + var l int + _ = l + l = len(m.Key) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Operator) + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Values) > 0 { + for _, s := range m.Values { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + func sovGenerated(x uint64) (n int) { for { n++ @@ -508,7 +647,7 @@ func (this *JobSpec) String() string { `Parallelism:` + valueToStringGenerated(this.Parallelism) + `,`, `Completions:` + valueToStringGenerated(this.Completions) + `,`, `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -530,6 +669,39 @@ func (this *JobStatus) String() string { }, "") return s } +func (this *LabelSelector) String() string { + if this == nil { + return "nil" + } + keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) + for k := range this.MatchLabels { + keysForMatchLabels = append(keysForMatchLabels, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) + mapStringForMatchLabels := "map[string]string{" + for _, k := range keysForMatchLabels { + mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) + } + mapStringForMatchLabels += "}" + s := strings.Join([]string{`&LabelSelector{`, + `MatchLabels:` + mapStringForMatchLabels + `,`, + `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *LabelSelectorRequirement) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&LabelSelectorRequirement{`, + `Key:` + fmt.Sprintf("%v", this.Key) + `,`, + `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, + `Values:` + fmt.Sprintf("%v", this.Values) + `,`, + `}`, + }, "") + return s +} func valueToStringGenerated(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -1131,7 +1303,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.Selector = &LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1413,6 +1585,335 @@ func (m *JobStatus) Unmarshal(data []byte) error { } return nil } +func (m *LabelSelector) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + var keykey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + keykey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapkey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey := string(data[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + var valuekey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + valuekey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapvalue |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue := string(data[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + if m.MatchLabels == nil { + m.MatchLabels = make(map[string]string) + } + m.MatchLabels[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) + if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LabelSelectorRequirement) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = LabelSelectorOperator(data[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Values = append(m.Values, string(data[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipGenerated(data []byte) (n int, err error) { l := len(data) iNdEx := 0 @@ -1519,59 +2020,71 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 863 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xce, 0x8f, 0xa6, 0x4d, 0xa6, 0x3f, 0x76, 0x19, 0xa9, 0x52, 0xc8, 0x21, 0x59, 0x05, 0x84, - 0x16, 0xb1, 0x1d, 0x2b, 0x65, 0x91, 0x10, 0x07, 0x24, 0x5c, 0x84, 0x44, 0xd5, 0xb2, 0xd5, 0xa4, - 0x42, 0x2b, 0x10, 0x48, 0x63, 0xfb, 0x6d, 0x3a, 0xd4, 0xf6, 0x58, 0x9e, 0x71, 0xd0, 0xde, 0xb8, - 0x71, 0xe5, 0xaf, 0x01, 0xf1, 0x1f, 0xf4, 0xb8, 0xe2, 0xc4, 0x29, 0xa2, 0xe6, 0xbf, 0xd8, 0x13, - 0xf2, 0x78, 0x62, 0x3b, 0x4d, 0x1a, 0xa5, 0xdc, 0x3c, 0x6f, 0xbe, 0xef, 0x7b, 0xcf, 0xef, 0x7d, - 0xf3, 0xd0, 0xc7, 0xd7, 0x9f, 0x4a, 0xc2, 0x85, 0x75, 0x9d, 0x38, 0x10, 0x87, 0xa0, 0x40, 0x5a, - 0xd1, 0xf5, 0xc4, 0x62, 0x11, 0x97, 0x96, 0xc3, 0x94, 0x7b, 0x65, 0x4d, 0x47, 0xd6, 0x04, 0x42, - 0x88, 0x99, 0x02, 0x8f, 0x44, 0xb1, 0x50, 0x02, 0xbf, 0x97, 0x93, 0x48, 0x49, 0x22, 0xd1, 0xf5, - 0x84, 0x64, 0x24, 0xa2, 0x49, 0x64, 0x3a, 0xea, 0x1d, 0x4d, 0xb8, 0xba, 0x4a, 0x1c, 0xe2, 0x8a, - 0xc0, 0x9a, 0x88, 0x89, 0xb0, 0x34, 0xd7, 0x49, 0x5e, 0xe9, 0x93, 0x3e, 0xe8, 0xaf, 0x5c, 0xb3, - 0x77, 0x7c, 0x6f, 0x21, 0x56, 0x0c, 0x52, 0x24, 0xb1, 0x0b, 0x77, 0xeb, 0xe8, 0x7d, 0x72, 0x3f, - 0x27, 0x09, 0xa7, 0x10, 0x4b, 0x2e, 0x42, 0xf0, 0x96, 0x68, 0xcf, 0xee, 0xa7, 0x2d, 0xff, 0x6c, - 0xef, 0x68, 0x35, 0x3a, 0x4e, 0x42, 0xc5, 0x83, 0xe5, 0x9a, 0x46, 0xab, 0xe1, 0x89, 0xe2, 0xbe, - 0xc5, 0x43, 0x25, 0x55, 0x7c, 0x97, 0x32, 0xfc, 0xb5, 0x81, 0x9a, 0xa7, 0xc2, 0xc1, 0x2f, 0x51, - 0x3b, 0x00, 0xc5, 0x3c, 0xa6, 0x58, 0xb7, 0xfe, 0xa4, 0xfe, 0x74, 0xf7, 0xf8, 0x29, 0xb9, 0xb7, - 0xd3, 0x64, 0x3a, 0x22, 0x2f, 0x9c, 0x9f, 0xc0, 0x55, 0xe7, 0xa0, 0x98, 0x8d, 0x6f, 0x66, 0x83, - 0x5a, 0x3a, 0x1b, 0xa0, 0x32, 0x46, 0x0b, 0x35, 0xfc, 0x0d, 0xda, 0x92, 0x11, 0xb8, 0xdd, 0x86, - 0x56, 0x7d, 0x46, 0x36, 0x98, 0x1f, 0x39, 0x15, 0xce, 0x38, 0x02, 0xd7, 0xde, 0x33, 0xca, 0x5b, - 0xd9, 0x89, 0x6a, 0x1d, 0xfc, 0x2d, 0xda, 0x96, 0x8a, 0xa9, 0x44, 0x76, 0x9b, 0x5a, 0x91, 0x6c, - 0xac, 0xa8, 0x59, 0xf6, 0x81, 0xd1, 0xdc, 0xce, 0xcf, 0xd4, 0xa8, 0x0d, 0xff, 0x6a, 0xa2, 0xbd, - 0x53, 0xe1, 0x9c, 0x88, 0xd0, 0xe3, 0x8a, 0x8b, 0x10, 0x3f, 0x47, 0x5b, 0xea, 0x75, 0x04, 0xba, - 0x1d, 0x1d, 0xfb, 0xc9, 0xbc, 0x94, 0xcb, 0xd7, 0x11, 0xbc, 0x9d, 0x0d, 0x1e, 0x57, 0xb1, 0x59, - 0x8c, 0x6a, 0x74, 0xa5, 0xbc, 0x86, 0xe6, 0x7d, 0xbe, 0x98, 0xee, 0xed, 0x6c, 0xb0, 0xd6, 0x02, - 0xa4, 0xd0, 0x5c, 0x2c, 0x0f, 0x5f, 0xa1, 0x7d, 0x9f, 0x49, 0x75, 0x11, 0x0b, 0x07, 0x2e, 0x79, - 0x00, 0xe6, 0xef, 0x3f, 0x5a, 0x33, 0xa5, 0x8a, 0x0f, 0x49, 0x46, 0xb1, 0x0f, 0x4d, 0x2d, 0xfb, - 0x67, 0x55, 0x25, 0xba, 0x28, 0x8c, 0x7f, 0x46, 0x38, 0x0b, 0x5c, 0xc6, 0x2c, 0x94, 0xf9, 0xdf, - 0x65, 0xe9, 0xb6, 0x1e, 0x9e, 0xae, 0x67, 0xd2, 0xe1, 0xb3, 0x25, 0x39, 0xba, 0x22, 0x05, 0xfe, - 0x00, 0x6d, 0xc7, 0xc0, 0xa4, 0x08, 0xbb, 0x2d, 0xdd, 0xba, 0x62, 0x52, 0x54, 0x47, 0xa9, 0xb9, - 0xc5, 0x1f, 0xa2, 0x9d, 0x00, 0xa4, 0x64, 0x13, 0xe8, 0x6e, 0x6b, 0xe0, 0x23, 0x03, 0xdc, 0x39, - 0xcf, 0xc3, 0x74, 0x7e, 0x3f, 0xfc, 0xa3, 0x8e, 0x76, 0x4e, 0x85, 0x73, 0xc6, 0xa5, 0xc2, 0x3f, - 0x2c, 0x59, 0xdc, 0xda, 0xf0, 0x6f, 0x32, 0xba, 0x76, 0xfa, 0x63, 0x93, 0xa8, 0x3d, 0x8f, 0x54, - 0x7c, 0x7e, 0x8e, 0x5a, 0x5c, 0x41, 0x90, 0xcd, 0xbd, 0xb9, 0xfe, 0xf9, 0x2c, 0xda, 0xd2, 0xde, - 0x37, 0xa2, 0xad, 0xaf, 0x33, 0x3a, 0xcd, 0x55, 0x86, 0x7f, 0x36, 0x75, 0xe5, 0x99, 0xf1, 0xf1, - 0x08, 0xed, 0x46, 0x2c, 0x66, 0xbe, 0x0f, 0x3e, 0x97, 0x81, 0x2e, 0xbe, 0x65, 0x3f, 0x4a, 0x67, - 0x83, 0xdd, 0x8b, 0x32, 0x4c, 0xab, 0x98, 0x8c, 0xe2, 0x8a, 0x20, 0xf2, 0x21, 0xeb, 0x6e, 0xee, - 0x45, 0x43, 0x39, 0x29, 0xc3, 0xb4, 0x8a, 0xc1, 0x2f, 0xd0, 0x21, 0x73, 0x15, 0x9f, 0xc2, 0x97, - 0xc0, 0x3c, 0x9f, 0x87, 0x30, 0x06, 0x57, 0x84, 0x5e, 0xfe, 0xce, 0x9a, 0xf6, 0xbb, 0xe9, 0x6c, - 0x70, 0xf8, 0xc5, 0x2a, 0x00, 0x5d, 0xcd, 0xc3, 0x3f, 0xa2, 0xb6, 0x04, 0x1f, 0x5c, 0x25, 0x62, - 0x63, 0x9f, 0xe7, 0x9b, 0x36, 0x9c, 0x39, 0xe0, 0x8f, 0x0d, 0xd7, 0xde, 0xcb, 0x3a, 0x3e, 0x3f, - 0xd1, 0x42, 0x13, 0x7f, 0x86, 0x0e, 0x02, 0x16, 0x26, 0xac, 0x40, 0x6a, 0xdf, 0xb4, 0x6d, 0x9c, - 0xce, 0x06, 0x07, 0xe7, 0x0b, 0x37, 0xf4, 0x0e, 0x12, 0x7f, 0x8f, 0xda, 0x0a, 0x82, 0xc8, 0x67, - 0x2a, 0x37, 0xd1, 0xee, 0xf1, 0xd1, 0xfa, 0x7d, 0x77, 0x21, 0xbc, 0x4b, 0x43, 0xd0, 0xab, 0xa9, - 0xb0, 0xc2, 0x3c, 0x4a, 0x0b, 0xc1, 0xe1, 0xef, 0x4d, 0xd4, 0x29, 0x16, 0x0e, 0x06, 0x84, 0xdc, - 0xf9, 0xa3, 0x96, 0xdd, 0xba, 0x76, 0xc7, 0x68, 0x53, 0x77, 0x14, 0xeb, 0xa0, 0xdc, 0xb2, 0x45, - 0x48, 0xd2, 0x8a, 0x30, 0x7e, 0x89, 0x3a, 0x52, 0xb1, 0x58, 0xe9, 0xd7, 0xda, 0x78, 0xf8, 0x6b, - 0xdd, 0x4f, 0x67, 0x83, 0xce, 0x78, 0xae, 0x40, 0x4b, 0x31, 0x3c, 0x41, 0x07, 0xa5, 0x4f, 0xfe, - 0xef, 0xee, 0xd1, 0x43, 0x39, 0x59, 0x90, 0xa1, 0x77, 0x64, 0xb3, 0x05, 0x90, 0x3b, 0x49, 0xdb, - 0xa5, 0x55, 0x2e, 0x80, 0xdc, 0x76, 0xd4, 0xdc, 0x62, 0x0b, 0x75, 0x64, 0xe2, 0xba, 0x00, 0x1e, - 0x78, 0x7a, 0xe6, 0x2d, 0xfb, 0x1d, 0x03, 0xed, 0x8c, 0xe7, 0x17, 0xb4, 0xc4, 0x64, 0xc2, 0xaf, - 0x18, 0xf7, 0xc1, 0xd3, 0xb3, 0xae, 0x08, 0x7f, 0xa5, 0xa3, 0xd4, 0xdc, 0xda, 0xef, 0xdf, 0xdc, - 0xf6, 0x6b, 0x6f, 0x6e, 0xfb, 0xb5, 0xbf, 0x6f, 0xfb, 0xb5, 0x5f, 0xd2, 0x7e, 0xfd, 0x26, 0xed, - 0xd7, 0xdf, 0xa4, 0xfd, 0xfa, 0x3f, 0x69, 0xbf, 0xfe, 0xdb, 0xbf, 0xfd, 0xda, 0x77, 0x8d, 0xe9, - 0xe8, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x45, 0x86, 0xd9, 0xb8, 0x08, 0x00, 0x00, + // 1041 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x56, 0xdf, 0x6e, 0xe3, 0xc4, + 0x17, 0xae, 0x93, 0xa6, 0x4d, 0x26, 0x6d, 0x37, 0xbf, 0xf9, 0x51, 0x29, 0x44, 0x22, 0x59, 0x05, + 0x84, 0xba, 0x62, 0x6b, 0x2b, 0x05, 0xa4, 0xd5, 0x4a, 0xac, 0x84, 0x4b, 0x91, 0x28, 0x0d, 0xad, + 0xa6, 0xd5, 0x6a, 0xc5, 0x9f, 0x8b, 0xb1, 0x73, 0x36, 0x35, 0xb5, 0x3d, 0xc6, 0x33, 0x0e, 0x94, + 0x2b, 0x24, 0x2e, 0xb8, 0xe5, 0x21, 0x78, 0x06, 0xf6, 0x15, 0x7a, 0xb9, 0x70, 0xc5, 0x55, 0x44, + 0xc3, 0x5b, 0xf4, 0x0a, 0xcd, 0x78, 0xec, 0x38, 0x49, 0x5b, 0xb5, 0xdc, 0x75, 0xce, 0x39, 0xdf, + 0x77, 0x3e, 0xcf, 0xf9, 0xce, 0xa4, 0xe8, 0xfd, 0xb3, 0x27, 0xdc, 0xf4, 0x98, 0x75, 0x96, 0x38, + 0x10, 0x87, 0x20, 0x80, 0x5b, 0xd1, 0xd9, 0xd0, 0xa2, 0x91, 0xc7, 0x2d, 0x87, 0x0a, 0xf7, 0xd4, + 0x1a, 0xf5, 0xac, 0x21, 0x84, 0x10, 0x53, 0x01, 0x03, 0x33, 0x8a, 0x99, 0x60, 0xf8, 0xed, 0x14, + 0x64, 0x4e, 0x41, 0x66, 0x74, 0x36, 0x34, 0x25, 0xc8, 0x54, 0x20, 0x73, 0xd4, 0x6b, 0x6d, 0x0f, + 0x3d, 0x71, 0x9a, 0x38, 0xa6, 0xcb, 0x02, 0x6b, 0xc8, 0x86, 0xcc, 0x52, 0x58, 0x27, 0x79, 0xa9, + 0x4e, 0xea, 0xa0, 0xfe, 0x4a, 0x39, 0x5b, 0x3b, 0x37, 0x0a, 0xb1, 0x62, 0xe0, 0x2c, 0x89, 0x5d, + 0x98, 0xd7, 0xd1, 0xfa, 0xf0, 0x66, 0x4c, 0x12, 0x8e, 0x20, 0xe6, 0x1e, 0x0b, 0x61, 0xb0, 0x00, + 0x7b, 0x7c, 0x33, 0x6c, 0xf1, 0x63, 0x5b, 0xdb, 0xd7, 0x57, 0xc7, 0x49, 0x28, 0xbc, 0x60, 0x51, + 0x53, 0xef, 0xfa, 0xf2, 0x44, 0x78, 0xbe, 0xe5, 0x85, 0x82, 0x8b, 0x78, 0x1e, 0xd2, 0xfd, 0xa5, + 0x84, 0xca, 0xfb, 0xcc, 0xc1, 0x2f, 0x50, 0x35, 0x00, 0x41, 0x07, 0x54, 0xd0, 0xa6, 0xf1, 0xd0, + 0xd8, 0xaa, 0xef, 0x6c, 0x99, 0x37, 0xde, 0xb4, 0x39, 0xea, 0x99, 0x87, 0xce, 0xb7, 0xe0, 0x8a, + 0x3e, 0x08, 0x6a, 0xe3, 0x8b, 0x71, 0x67, 0x69, 0x32, 0xee, 0xa0, 0x69, 0x8c, 0xe4, 0x6c, 0xf8, + 0x0b, 0xb4, 0xcc, 0x23, 0x70, 0x9b, 0x25, 0xc5, 0xfa, 0xd8, 0xbc, 0xc3, 0xfc, 0xcc, 0x7d, 0xe6, + 0x1c, 0x47, 0xe0, 0xda, 0x6b, 0x9a, 0x79, 0x59, 0x9e, 0x88, 0xe2, 0xc1, 0xcf, 0xd1, 0x0a, 0x17, + 0x54, 0x24, 0xbc, 0x59, 0x56, 0x8c, 0xe6, 0x9d, 0x19, 0x15, 0xca, 0xde, 0xd0, 0x9c, 0x2b, 0xe9, + 0x99, 0x68, 0xb6, 0xee, 0x9f, 0x65, 0xb4, 0xb6, 0xcf, 0x9c, 0x5d, 0x16, 0x0e, 0x3c, 0xe1, 0xb1, + 0x10, 0x7f, 0x80, 0x96, 0xc5, 0x79, 0x04, 0xea, 0x3a, 0x6a, 0xf6, 0xc3, 0x4c, 0xca, 0xc9, 0x79, + 0x04, 0x57, 0xe3, 0x4e, 0xa3, 0x58, 0x2b, 0x63, 0x44, 0x55, 0x17, 0xe4, 0x95, 0x14, 0xee, 0xd9, + 0x6c, 0xbb, 0xab, 0x71, 0xe7, 0x56, 0x0b, 0x98, 0x39, 0xe7, 0xac, 0x3c, 0x7c, 0x8a, 0xd6, 0x7d, + 0xca, 0xc5, 0x51, 0xcc, 0x1c, 0x38, 0xf1, 0x02, 0xd0, 0x5f, 0xff, 0xde, 0x2d, 0x53, 0x2a, 0xf8, + 0xd0, 0x94, 0x10, 0x7b, 0x53, 0x6b, 0x59, 0x3f, 0x28, 0x32, 0x91, 0x59, 0x62, 0xfc, 0x3d, 0xc2, + 0x32, 0x70, 0x12, 0xd3, 0x90, 0xa7, 0x5f, 0x27, 0xdb, 0x2d, 0xdf, 0xbf, 0x5d, 0x4b, 0xb7, 0xc3, + 0x07, 0x0b, 0x74, 0xe4, 0x9a, 0x16, 0xf8, 0x5d, 0xb4, 0x12, 0x03, 0xe5, 0x2c, 0x6c, 0x56, 0xd4, + 0xd5, 0xe5, 0x93, 0x22, 0x2a, 0x4a, 0x74, 0x16, 0x3f, 0x42, 0xab, 0x01, 0x70, 0x4e, 0x87, 0xd0, + 0x5c, 0x51, 0x85, 0x0f, 0x74, 0xe1, 0x6a, 0x3f, 0x0d, 0x93, 0x2c, 0xdf, 0x7d, 0x65, 0xa0, 0xd5, + 0x7d, 0xe6, 0x1c, 0x78, 0x5c, 0xe0, 0x6f, 0x16, 0x2c, 0x6e, 0xdd, 0xf1, 0x6b, 0x24, 0x5c, 0x39, + 0xbd, 0xa1, 0x1b, 0x55, 0xb3, 0x48, 0xc1, 0xe7, 0x7d, 0x54, 0xf1, 0x04, 0x04, 0x72, 0xee, 0xe5, + 0xdb, 0xd7, 0x67, 0xd6, 0x96, 0xf6, 0xba, 0x26, 0xad, 0x7c, 0x26, 0xe1, 0x24, 0x65, 0xe9, 0xbe, + 0x2a, 0x2b, 0xe5, 0xd2, 0xf8, 0xb8, 0x87, 0xea, 0x11, 0x8d, 0xa9, 0xef, 0x83, 0xef, 0xf1, 0x40, + 0x89, 0xaf, 0xd8, 0x0f, 0x26, 0xe3, 0x4e, 0xfd, 0x68, 0x1a, 0x26, 0xc5, 0x1a, 0x09, 0x71, 0x59, + 0x10, 0xf9, 0x20, 0x6f, 0x37, 0xf5, 0xa2, 0x86, 0xec, 0x4e, 0xc3, 0xa4, 0x58, 0x83, 0x0f, 0xd1, + 0x26, 0x75, 0x85, 0x37, 0x82, 0x4f, 0x80, 0x0e, 0x7c, 0x2f, 0x84, 0x63, 0x70, 0x59, 0x38, 0x48, + 0xf7, 0xac, 0x6c, 0xbf, 0x39, 0x19, 0x77, 0x36, 0x3f, 0xbe, 0xae, 0x80, 0x5c, 0x8f, 0xc3, 0x5f, + 0xa3, 0x2a, 0x07, 0x1f, 0x5c, 0xc1, 0x62, 0x6d, 0x9f, 0x9d, 0x3b, 0x5d, 0xca, 0x01, 0x75, 0xc0, + 0x3f, 0xd6, 0x48, 0x7b, 0x4d, 0xde, 0x77, 0x76, 0x22, 0x39, 0x23, 0x7e, 0x8a, 0x36, 0x02, 0x1a, + 0x26, 0x34, 0xaf, 0x54, 0xae, 0xa9, 0xda, 0x78, 0x32, 0xee, 0x6c, 0xf4, 0x67, 0x32, 0x64, 0xae, + 0x12, 0x7f, 0x85, 0xaa, 0x02, 0x82, 0xc8, 0xa7, 0x22, 0xb5, 0x50, 0x7d, 0x67, 0xfb, 0xf6, 0xd7, + 0xee, 0x88, 0x0d, 0x4e, 0x34, 0x40, 0x3d, 0x4c, 0xb9, 0x11, 0xb2, 0x28, 0xc9, 0x09, 0xbb, 0xbf, + 0x97, 0x51, 0x2d, 0x7f, 0x6e, 0x30, 0x20, 0xe4, 0x66, 0x2b, 0xcd, 0x9b, 0x86, 0xf2, 0x46, 0xef, + 0xae, 0xde, 0xc8, 0x1f, 0x83, 0xe9, 0x1b, 0x9b, 0x87, 0x38, 0x29, 0x10, 0xe3, 0x17, 0xa8, 0xc6, + 0x05, 0x8d, 0x85, 0xda, 0xd5, 0xd2, 0xfd, 0x77, 0x75, 0x7d, 0x32, 0xee, 0xd4, 0x8e, 0x33, 0x06, + 0x32, 0x25, 0xc3, 0x43, 0xb4, 0x31, 0x75, 0xc9, 0x7f, 0x7d, 0x79, 0xd4, 0x50, 0x76, 0x67, 0x68, + 0xc8, 0x1c, 0xad, 0x5c, 0xff, 0xd4, 0x47, 0xca, 0x2c, 0x95, 0xe9, 0xfa, 0xa7, 0xa6, 0x23, 0x3a, + 0x8b, 0x2d, 0x54, 0xe3, 0x89, 0xeb, 0x02, 0x0c, 0x60, 0xa0, 0x66, 0x5e, 0xb1, 0xff, 0xa7, 0x4b, + 0x6b, 0xc7, 0x59, 0x82, 0x4c, 0x6b, 0x24, 0xf1, 0x4b, 0xea, 0xf9, 0x30, 0x50, 0xb3, 0x2e, 0x10, + 0x7f, 0xaa, 0xa2, 0x44, 0x67, 0xbb, 0x7f, 0x94, 0xd0, 0xfa, 0x8c, 0xf7, 0xf0, 0x8f, 0xa8, 0x1e, + 0xc8, 0x71, 0xa8, 0x68, 0x36, 0xbd, 0xdd, 0xfb, 0x9b, 0xd8, 0xec, 0x4f, 0x59, 0xf6, 0x42, 0x11, + 0x9f, 0xdb, 0xff, 0xd7, 0x1a, 0xea, 0x85, 0x0c, 0x29, 0x36, 0xc3, 0x3f, 0x1b, 0xa8, 0xa1, 0xce, + 0x7b, 0x3f, 0x44, 0x31, 0x70, 0xae, 0xf7, 0x58, 0x2a, 0xf8, 0xe8, 0xfe, 0x0a, 0x08, 0x7c, 0x97, + 0x78, 0x31, 0x04, 0x10, 0x0a, 0xbb, 0xa9, 0x7b, 0x37, 0xfa, 0x73, 0xf4, 0x64, 0xa1, 0x61, 0xeb, + 0x19, 0x6a, 0xcc, 0x6b, 0xc7, 0x0d, 0x54, 0x3e, 0x83, 0xf3, 0xf4, 0x77, 0x91, 0xc8, 0x3f, 0xf1, + 0x1b, 0xa8, 0x32, 0xa2, 0x7e, 0x92, 0x3a, 0xaf, 0x46, 0xd2, 0xc3, 0xd3, 0xd2, 0x13, 0xa3, 0xfb, + 0x9b, 0x81, 0x9a, 0x37, 0x09, 0xc1, 0x6f, 0x15, 0x88, 0xec, 0xba, 0x56, 0x55, 0xfe, 0x1c, 0xce, + 0x53, 0xd6, 0x3d, 0x54, 0x65, 0x91, 0xfc, 0x6f, 0x85, 0xc5, 0xfa, 0xc7, 0xf4, 0x51, 0xb6, 0x76, + 0x87, 0x3a, 0x7e, 0x35, 0xee, 0x6c, 0xce, 0xd0, 0x67, 0x09, 0x92, 0x43, 0x71, 0x17, 0xad, 0x28, + 0x3d, 0xf2, 0x21, 0x2b, 0x6f, 0xd5, 0x6c, 0x24, 0x47, 0xff, 0x5c, 0x45, 0x88, 0xce, 0xd8, 0xef, + 0x5c, 0x5c, 0xb6, 0x97, 0x5e, 0x5f, 0xb6, 0x97, 0xfe, 0xba, 0x6c, 0x2f, 0xfd, 0x34, 0x69, 0x1b, + 0x17, 0x93, 0xb6, 0xf1, 0x7a, 0xd2, 0x36, 0xfe, 0x9e, 0xb4, 0x8d, 0x5f, 0xff, 0x69, 0x2f, 0x7d, + 0x59, 0x1a, 0xf5, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x8b, 0x10, 0xf1, 0xb1, 0x0a, 0x00, + 0x00, } diff --git a/pkg/apis/batch/v1/generated.proto b/pkg/apis/batch/v1/generated.proto index 17a6add05ac..c119f3ce7a8 100644 --- a/pkg/apis/batch/v1/generated.proto +++ b/pkg/apis/batch/v1/generated.proto @@ -112,7 +112,7 @@ message JobSpec { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; + optional LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -165,3 +165,36 @@ message JobStatus { optional int32 failed = 6; } +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +message LabelSelector { + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + map matchLabels = 1; + + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + repeated LabelSelectorRequirement matchExpressions = 2; +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +message LabelSelectorRequirement { + // key is the label key that the selector applies to. + optional string key = 1; + + // operator represents a key's relationship to a set of values. + // Valid operators ard In, NotIn, Exists and DoesNotExist. + optional string operator = 2; + + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + repeated string values = 3; +} + diff --git a/pkg/apis/batch/v1/types.generated.go b/pkg/apis/batch/v1/types.generated.go index 0b6d641da2f..09ac15efc8d 100644 --- a/pkg/apis/batch/v1/types.generated.go +++ b/pkg/apis/batch/v1/types.generated.go @@ -908,13 +908,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym82 := z.EncBinary() - _ = yym82 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -927,13 +921,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym83 := z.EncBinary() - _ = yym83 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } } @@ -943,12 +931,12 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy85 := *x.ManualSelector - yym86 := z.EncBinary() - _ = yym86 + yy83 := *x.ManualSelector + yym84 := z.EncBinary() + _ = yym84 if false { } else { - r.EncodeBool(bool(yy85)) + r.EncodeBool(bool(yy83)) } } } else { @@ -962,26 +950,26 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy87 := *x.ManualSelector - yym88 := z.EncBinary() - _ = yym88 + yy85 := *x.ManualSelector + yym86 := z.EncBinary() + _ = yym86 if false { } else { - r.EncodeBool(bool(yy87)) + r.EncodeBool(bool(yy85)) } } } } if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy90 := &x.Template - yy90.CodecEncodeSelf(e) + yy88 := &x.Template + yy88.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy91 := &x.Template - yy91.CodecEncodeSelf(e) + yy89 := &x.Template + yy89.CodecEncodeSelf(e) } if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -996,25 +984,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym92 := z.DecBinary() - _ = yym92 + yym90 := z.DecBinary() + _ = yym90 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct93 := r.ContainerType() - if yyct93 == codecSelferValueTypeMap1234 { - yyl93 := r.ReadMapStart() - if yyl93 == 0 { + yyct91 := r.ContainerType() + if yyct91 == codecSelferValueTypeMap1234 { + yyl91 := r.ReadMapStart() + if yyl91 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl93, d) + x.codecDecodeSelfFromMap(yyl91, d) } - } else if yyct93 == codecSelferValueTypeArray1234 { - yyl93 := r.ReadArrayStart() - if yyl93 == 0 { + } else if yyct91 == codecSelferValueTypeArray1234 { + yyl91 := r.ReadArrayStart() + if yyl91 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl93, d) + x.codecDecodeSelfFromArray(yyl91, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1026,12 +1014,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys94Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys94Slc - var yyhl94 bool = l >= 0 - for yyj94 := 0; ; yyj94++ { - if yyhl94 { - if yyj94 >= l { + var yys92Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys92Slc + var yyhl92 bool = l >= 0 + for yyj92 := 0; ; yyj92++ { + if yyhl92 { + if yyj92 >= l { break } } else { @@ -1040,10 +1028,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys94Slc = r.DecodeBytes(yys94Slc, true, true) - yys94 := string(yys94Slc) + yys92Slc = r.DecodeBytes(yys92Slc, true, true) + yys92 := string(yys92Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys94 { + switch yys92 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1053,8 +1041,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym96 := z.DecBinary() - _ = yym96 + yym94 := z.DecBinary() + _ = yym94 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1069,8 +1057,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym98 := z.DecBinary() - _ = yym98 + yym96 := z.DecBinary() + _ = yym96 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1085,8 +1073,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym100 := z.DecBinary() - _ = yym100 + yym98 := z.DecBinary() + _ = yym98 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1099,15 +1087,9 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym102 := z.DecBinary() - _ = yym102 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } case "manualSelector": if r.TryDecodeAsNil() { @@ -1118,8 +1100,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym104 := z.DecBinary() - _ = yym104 + yym101 := z.DecBinary() + _ = yym101 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1129,13 +1111,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv105 := &x.Template - yyv105.CodecDecodeSelf(d) + yyv102 := &x.Template + yyv102.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys94) - } // end switch yys94 - } // end for yyj94 + z.DecStructFieldNotFound(-1, yys92) + } // end switch yys92 + } // end for yyj92 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1143,16 +1125,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj106 int - var yyb106 bool - var yyhl106 bool = l >= 0 - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + var yyj103 int + var yyb103 bool + var yyhl103 bool = l >= 0 + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb106 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb106 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1165,20 +1147,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym108 := z.DecBinary() - _ = yym108 + yym105 := z.DecBinary() + _ = yym105 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb106 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb106 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1191,20 +1173,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym110 := z.DecBinary() - _ = yym110 + yym107 := z.DecBinary() + _ = yym107 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb106 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb106 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1217,20 +1199,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym112 := z.DecBinary() - _ = yym112 + yym109 := z.DecBinary() + _ = yym109 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb106 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb106 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1241,23 +1223,17 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym114 := z.DecBinary() - _ = yym114 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb106 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb106 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1270,20 +1246,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym116 := z.DecBinary() - _ = yym116 + yym112 := z.DecBinary() + _ = yym112 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb106 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb106 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1291,21 +1267,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv117 := &x.Template - yyv117.CodecDecodeSelf(d) + yyv113 := &x.Template + yyv113.CodecDecodeSelf(d) } for { - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb106 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb106 { + if yyb103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj106-1, "") + z.DecStructFieldNotFound(yyj103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1317,43 +1293,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym118 := z.EncBinary() - _ = yym118 + yym114 := z.EncBinary() + _ = yym114 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep119 := !z.EncBinary() - yy2arr119 := z.EncBasicHandle().StructToArray - var yyq119 [6]bool - _, _, _ = yysep119, yyq119, yy2arr119 - const yyr119 bool = false - yyq119[0] = len(x.Conditions) != 0 - yyq119[1] = x.StartTime != nil - yyq119[2] = x.CompletionTime != nil - yyq119[3] = x.Active != 0 - yyq119[4] = x.Succeeded != 0 - yyq119[5] = x.Failed != 0 - var yynn119 int - if yyr119 || yy2arr119 { + yysep115 := !z.EncBinary() + yy2arr115 := z.EncBasicHandle().StructToArray + var yyq115 [6]bool + _, _, _ = yysep115, yyq115, yy2arr115 + const yyr115 bool = false + yyq115[0] = len(x.Conditions) != 0 + yyq115[1] = x.StartTime != nil + yyq115[2] = x.CompletionTime != nil + yyq115[3] = x.Active != 0 + yyq115[4] = x.Succeeded != 0 + yyq115[5] = x.Failed != 0 + var yynn115 int + if yyr115 || yy2arr115 { r.EncodeArrayStart(6) } else { - yynn119 = 0 - for _, b := range yyq119 { + yynn115 = 0 + for _, b := range yyq115 { if b { - yynn119++ + yynn115++ } } - r.EncodeMapStart(yynn119) - yynn119 = 0 + r.EncodeMapStart(yynn115) + yynn115 = 0 } - if yyr119 || yy2arr119 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[0] { + if yyq115[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym121 := z.EncBinary() - _ = yym121 + yym117 := z.EncBinary() + _ = yym117 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1363,15 +1339,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq119[0] { + if yyq115[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym122 := z.EncBinary() - _ = yym122 + yym118 := z.EncBinary() + _ = yym118 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1379,19 +1355,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr119 || yy2arr119 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[1] { + if yyq115[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym124 := z.EncBinary() - _ = yym124 + yym120 := z.EncBinary() + _ = yym120 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym124 { + } else if yym120 { z.EncBinaryMarshal(x.StartTime) - } else if !yym124 && z.IsJSONHandle() { + } else if !yym120 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1401,20 +1377,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq119[1] { + if yyq115[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym125 := z.EncBinary() - _ = yym125 + yym121 := z.EncBinary() + _ = yym121 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym125 { + } else if yym121 { z.EncBinaryMarshal(x.StartTime) - } else if !yym125 && z.IsJSONHandle() { + } else if !yym121 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1422,19 +1398,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr119 || yy2arr119 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[2] { + if yyq115[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym127 := z.EncBinary() - _ = yym127 + yym123 := z.EncBinary() + _ = yym123 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym127 { + } else if yym123 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym127 && z.IsJSONHandle() { + } else if !yym123 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1444,20 +1420,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq119[2] { + if yyq115[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym128 := z.EncBinary() - _ = yym128 + yym124 := z.EncBinary() + _ = yym124 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym128 { + } else if yym124 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym128 && z.IsJSONHandle() { + } else if !yym124 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1465,82 +1441,82 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr119 || yy2arr119 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[3] { + if yyq115[3] { + yym126 := z.EncBinary() + _ = yym126 + if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq115[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("active")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym127 := z.EncBinary() + _ = yym127 + if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } + } + if yyr115 || yy2arr115 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq115[4] { + yym129 := z.EncBinary() + _ = yym129 + if false { + } else { + r.EncodeInt(int64(x.Succeeded)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq115[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("succeeded")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym130 := z.EncBinary() _ = yym130 if false { } else { - r.EncodeInt(int64(x.Active)) + r.EncodeInt(int64(x.Succeeded)) + } + } + } + if yyr115 || yy2arr115 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq115[5] { + yym132 := z.EncBinary() + _ = yym132 + if false { + } else { + r.EncodeInt(int64(x.Failed)) } } else { r.EncodeInt(0) } } else { - if yyq119[3] { + if yyq115[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("active")) + r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym131 := z.EncBinary() - _ = yym131 - if false { - } else { - r.EncodeInt(int64(x.Active)) - } - } - } - if yyr119 || yy2arr119 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[4] { yym133 := z.EncBinary() _ = yym133 if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq119[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("succeeded")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym134 := z.EncBinary() - _ = yym134 - if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } - } - if yyr119 || yy2arr119 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[5] { - yym136 := z.EncBinary() - _ = yym136 - if false { - } else { - r.EncodeInt(int64(x.Failed)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq119[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("failed")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym137 := z.EncBinary() - _ = yym137 - if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr119 || yy2arr119 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1553,25 +1529,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym138 := z.DecBinary() - _ = yym138 + yym134 := z.DecBinary() + _ = yym134 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct139 := r.ContainerType() - if yyct139 == codecSelferValueTypeMap1234 { - yyl139 := r.ReadMapStart() - if yyl139 == 0 { + yyct135 := r.ContainerType() + if yyct135 == codecSelferValueTypeMap1234 { + yyl135 := r.ReadMapStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl139, d) + x.codecDecodeSelfFromMap(yyl135, d) } - } else if yyct139 == codecSelferValueTypeArray1234 { - yyl139 := r.ReadArrayStart() - if yyl139 == 0 { + } else if yyct135 == codecSelferValueTypeArray1234 { + yyl135 := r.ReadArrayStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl139, d) + x.codecDecodeSelfFromArray(yyl135, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1583,12 +1559,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys140Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys140Slc - var yyhl140 bool = l >= 0 - for yyj140 := 0; ; yyj140++ { - if yyhl140 { - if yyj140 >= l { + var yys136Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys136Slc + var yyhl136 bool = l >= 0 + for yyj136 := 0; ; yyj136++ { + if yyhl136 { + if yyj136 >= l { break } } else { @@ -1597,20 +1573,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys140Slc = r.DecodeBytes(yys140Slc, true, true) - yys140 := string(yys140Slc) + yys136Slc = r.DecodeBytes(yys136Slc, true, true) + yys136 := string(yys136Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys140 { + switch yys136 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv141 := &x.Conditions - yym142 := z.DecBinary() - _ = yym142 + yyv137 := &x.Conditions + yym138 := z.DecBinary() + _ = yym138 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv141), d) + h.decSliceJobCondition((*[]JobCondition)(yyv137), d) } } case "startTime": @@ -1622,13 +1598,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym144 := z.DecBinary() - _ = yym144 + yym140 := z.DecBinary() + _ = yym140 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym144 { + } else if yym140 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym144 && z.IsJSONHandle() { + } else if !yym140 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -1643,13 +1619,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym146 := z.DecBinary() - _ = yym146 + yym142 := z.DecBinary() + _ = yym142 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym146 { + } else if yym142 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym146 && z.IsJSONHandle() { + } else if !yym142 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -1674,9 +1650,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys140) - } // end switch yys140 - } // end for yyj140 + z.DecStructFieldNotFound(-1, yys136) + } // end switch yys136 + } // end for yyj136 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1684,16 +1660,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj150 int - var yyb150 bool - var yyhl150 bool = l >= 0 - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + var yyj146 int + var yyb146 bool + var yyhl146 bool = l >= 0 + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb150 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb150 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1701,21 +1677,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv151 := &x.Conditions - yym152 := z.DecBinary() - _ = yym152 + yyv147 := &x.Conditions + yym148 := z.DecBinary() + _ = yym148 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv151), d) + h.decSliceJobCondition((*[]JobCondition)(yyv147), d) } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb150 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb150 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1728,25 +1704,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym154 := z.DecBinary() - _ = yym154 + yym150 := z.DecBinary() + _ = yym150 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym154 { + } else if yym150 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym154 && z.IsJSONHandle() { + } else if !yym150 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb150 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb150 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1759,25 +1735,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym156 := z.DecBinary() - _ = yym156 + yym152 := z.DecBinary() + _ = yym152 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym156 { + } else if yym152 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym156 && z.IsJSONHandle() { + } else if !yym152 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb150 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb150 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1787,13 +1763,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb150 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb150 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1803,13 +1779,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb150 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb150 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1820,17 +1796,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb150 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb150 { + if yyb146 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj150-1, "") + z.DecStructFieldNotFound(yyj146-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1839,8 +1815,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym160 := z.EncBinary() - _ = yym160 + yym156 := z.EncBinary() + _ = yym156 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1852,8 +1828,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym161 := z.DecBinary() - _ = yym161 + yym157 := z.DecBinary() + _ = yym157 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1868,34 +1844,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym162 := z.EncBinary() - _ = yym162 + yym158 := z.EncBinary() + _ = yym158 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep163 := !z.EncBinary() - yy2arr163 := z.EncBasicHandle().StructToArray - var yyq163 [6]bool - _, _, _ = yysep163, yyq163, yy2arr163 - const yyr163 bool = false - yyq163[2] = true - yyq163[3] = true - yyq163[4] = x.Reason != "" - yyq163[5] = x.Message != "" - var yynn163 int - if yyr163 || yy2arr163 { + yysep159 := !z.EncBinary() + yy2arr159 := z.EncBasicHandle().StructToArray + var yyq159 [6]bool + _, _, _ = yysep159, yyq159, yy2arr159 + const yyr159 bool = false + yyq159[2] = true + yyq159[3] = true + yyq159[4] = x.Reason != "" + yyq159[5] = x.Message != "" + var yynn159 int + if yyr159 || yy2arr159 { r.EncodeArrayStart(6) } else { - yynn163 = 2 - for _, b := range yyq163 { + yynn159 = 2 + for _, b := range yyq159 { if b { - yynn163++ + yynn159++ } } - r.EncodeMapStart(yynn163) - yynn163 = 0 + r.EncodeMapStart(yynn159) + yynn159 = 0 } - if yyr163 || yy2arr163 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1904,10 +1880,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr163 || yy2arr163 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym166 := z.EncBinary() - _ = yym166 + yym162 := z.EncBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -1917,139 +1893,139 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym167 := z.EncBinary() - _ = yym167 + yym163 := z.EncBinary() + _ = yym163 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr163 || yy2arr163 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[2] { - yy169 := &x.LastProbeTime - yym170 := z.EncBinary() - _ = yym170 + if yyq159[2] { + yy165 := &x.LastProbeTime + yym166 := z.EncBinary() + _ = yym166 if false { - } else if z.HasExtensions() && z.EncExt(yy169) { - } else if yym170 { - z.EncBinaryMarshal(yy169) - } else if !yym170 && z.IsJSONHandle() { - z.EncJSONMarshal(yy169) + } else if z.HasExtensions() && z.EncExt(yy165) { + } else if yym166 { + z.EncBinaryMarshal(yy165) + } else if !yym166 && z.IsJSONHandle() { + z.EncJSONMarshal(yy165) } else { - z.EncFallback(yy169) + z.EncFallback(yy165) } } else { r.EncodeNil() } } else { - if yyq163[2] { + if yyq159[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy171 := &x.LastProbeTime - yym172 := z.EncBinary() - _ = yym172 + yy167 := &x.LastProbeTime + yym168 := z.EncBinary() + _ = yym168 if false { - } else if z.HasExtensions() && z.EncExt(yy171) { - } else if yym172 { - z.EncBinaryMarshal(yy171) - } else if !yym172 && z.IsJSONHandle() { - z.EncJSONMarshal(yy171) + } else if z.HasExtensions() && z.EncExt(yy167) { + } else if yym168 { + z.EncBinaryMarshal(yy167) + } else if !yym168 && z.IsJSONHandle() { + z.EncJSONMarshal(yy167) } else { - z.EncFallback(yy171) + z.EncFallback(yy167) } } } - if yyr163 || yy2arr163 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[3] { - yy174 := &x.LastTransitionTime - yym175 := z.EncBinary() - _ = yym175 + if yyq159[3] { + yy170 := &x.LastTransitionTime + yym171 := z.EncBinary() + _ = yym171 if false { - } else if z.HasExtensions() && z.EncExt(yy174) { - } else if yym175 { - z.EncBinaryMarshal(yy174) - } else if !yym175 && z.IsJSONHandle() { - z.EncJSONMarshal(yy174) + } else if z.HasExtensions() && z.EncExt(yy170) { + } else if yym171 { + z.EncBinaryMarshal(yy170) + } else if !yym171 && z.IsJSONHandle() { + z.EncJSONMarshal(yy170) } else { - z.EncFallback(yy174) + z.EncFallback(yy170) } } else { r.EncodeNil() } } else { - if yyq163[3] { + if yyq159[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy176 := &x.LastTransitionTime - yym177 := z.EncBinary() - _ = yym177 + yy172 := &x.LastTransitionTime + yym173 := z.EncBinary() + _ = yym173 if false { - } else if z.HasExtensions() && z.EncExt(yy176) { - } else if yym177 { - z.EncBinaryMarshal(yy176) - } else if !yym177 && z.IsJSONHandle() { - z.EncJSONMarshal(yy176) + } else if z.HasExtensions() && z.EncExt(yy172) { + } else if yym173 { + z.EncBinaryMarshal(yy172) + } else if !yym173 && z.IsJSONHandle() { + z.EncJSONMarshal(yy172) } else { - z.EncFallback(yy176) + z.EncFallback(yy172) } } } - if yyr163 || yy2arr163 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[4] { + if yyq159[4] { + yym175 := z.EncBinary() + _ = yym175 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq159[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym176 := z.EncBinary() + _ = yym176 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr159 || yy2arr159 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq159[5] { + yym178 := z.EncBinary() + _ = yym178 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq159[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym179 := z.EncBinary() _ = yym179 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq163[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym180 := z.EncBinary() - _ = yym180 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr163 || yy2arr163 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[5] { - yym182 := z.EncBinary() - _ = yym182 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq163[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym183 := z.EncBinary() - _ = yym183 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr163 || yy2arr163 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2062,25 +2038,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym184 := z.DecBinary() - _ = yym184 + yym180 := z.DecBinary() + _ = yym180 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct185 := r.ContainerType() - if yyct185 == codecSelferValueTypeMap1234 { - yyl185 := r.ReadMapStart() - if yyl185 == 0 { + yyct181 := r.ContainerType() + if yyct181 == codecSelferValueTypeMap1234 { + yyl181 := r.ReadMapStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl185, d) + x.codecDecodeSelfFromMap(yyl181, d) } - } else if yyct185 == codecSelferValueTypeArray1234 { - yyl185 := r.ReadArrayStart() - if yyl185 == 0 { + } else if yyct181 == codecSelferValueTypeArray1234 { + yyl181 := r.ReadArrayStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl185, d) + x.codecDecodeSelfFromArray(yyl181, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2092,12 +2068,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys186Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys186Slc - var yyhl186 bool = l >= 0 - for yyj186 := 0; ; yyj186++ { - if yyhl186 { - if yyj186 >= l { + var yys182Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys182Slc + var yyhl182 bool = l >= 0 + for yyj182 := 0; ; yyj182++ { + if yyhl182 { + if yyj182 >= l { break } } else { @@ -2106,10 +2082,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys186Slc = r.DecodeBytes(yys186Slc, true, true) - yys186 := string(yys186Slc) + yys182Slc = r.DecodeBytes(yys182Slc, true, true) + yys182 := string(yys182Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys186 { + switch yys182 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2126,34 +2102,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv189 := &x.LastProbeTime - yym190 := z.DecBinary() - _ = yym190 + yyv185 := &x.LastProbeTime + yym186 := z.DecBinary() + _ = yym186 if false { - } else if z.HasExtensions() && z.DecExt(yyv189) { - } else if yym190 { - z.DecBinaryUnmarshal(yyv189) - } else if !yym190 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv189) + } else if z.HasExtensions() && z.DecExt(yyv185) { + } else if yym186 { + z.DecBinaryUnmarshal(yyv185) + } else if !yym186 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv185) } else { - z.DecFallback(yyv189, false) + z.DecFallback(yyv185, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv191 := &x.LastTransitionTime - yym192 := z.DecBinary() - _ = yym192 + yyv187 := &x.LastTransitionTime + yym188 := z.DecBinary() + _ = yym188 if false { - } else if z.HasExtensions() && z.DecExt(yyv191) { - } else if yym192 { - z.DecBinaryUnmarshal(yyv191) - } else if !yym192 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv191) + } else if z.HasExtensions() && z.DecExt(yyv187) { + } else if yym188 { + z.DecBinaryUnmarshal(yyv187) + } else if !yym188 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv187) } else { - z.DecFallback(yyv191, false) + z.DecFallback(yyv187, false) } } case "reason": @@ -2169,9 +2145,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys186) - } // end switch yys186 - } // end for yyj186 + z.DecStructFieldNotFound(-1, yys182) + } // end switch yys182 + } // end for yyj182 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2179,16 +2155,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj195 int - var yyb195 bool - var yyhl195 bool = l >= 0 - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + var yyj191 int + var yyb191 bool + var yyhl191 bool = l >= 0 + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb195 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb195 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2198,13 +2174,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb195 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb195 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2214,13 +2190,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb195 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb195 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2228,26 +2204,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv198 := &x.LastProbeTime - yym199 := z.DecBinary() - _ = yym199 + yyv194 := &x.LastProbeTime + yym195 := z.DecBinary() + _ = yym195 if false { - } else if z.HasExtensions() && z.DecExt(yyv198) { - } else if yym199 { - z.DecBinaryUnmarshal(yyv198) - } else if !yym199 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv198) + } else if z.HasExtensions() && z.DecExt(yyv194) { + } else if yym195 { + z.DecBinaryUnmarshal(yyv194) + } else if !yym195 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv194) } else { - z.DecFallback(yyv198, false) + z.DecFallback(yyv194, false) } } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb195 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb195 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2255,26 +2231,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv200 := &x.LastTransitionTime - yym201 := z.DecBinary() - _ = yym201 + yyv196 := &x.LastTransitionTime + yym197 := z.DecBinary() + _ = yym197 if false { - } else if z.HasExtensions() && z.DecExt(yyv200) { - } else if yym201 { - z.DecBinaryUnmarshal(yyv200) - } else if !yym201 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv200) + } else if z.HasExtensions() && z.DecExt(yyv196) { + } else if yym197 { + z.DecBinaryUnmarshal(yyv196) + } else if !yym197 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv196) } else { - z.DecFallback(yyv200, false) + z.DecFallback(yyv196, false) } } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb195 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb195 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2284,13 +2260,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb195 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb195 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2301,30 +2277,574 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb195 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb195 { + if yyb191 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj195-1, "") + z.DecStructFieldNotFound(yyj191-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym200 := z.EncBinary() + _ = yym200 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep201 := !z.EncBinary() + yy2arr201 := z.EncBasicHandle().StructToArray + var yyq201 [2]bool + _, _, _ = yysep201, yyq201, yy2arr201 + const yyr201 bool = false + yyq201[0] = len(x.MatchLabels) != 0 + yyq201[1] = len(x.MatchExpressions) != 0 + var yynn201 int + if yyr201 || yy2arr201 { + r.EncodeArrayStart(2) + } else { + yynn201 = 0 + for _, b := range yyq201 { + if b { + yynn201++ + } + } + r.EncodeMapStart(yynn201) + yynn201 = 0 + } + if yyr201 || yy2arr201 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq201[0] { + if x.MatchLabels == nil { + r.EncodeNil() + } else { + yym203 := z.EncBinary() + _ = yym203 + if false { + } else { + z.F.EncMapStringStringV(x.MatchLabels, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq201[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MatchLabels == nil { + r.EncodeNil() + } else { + yym204 := z.EncBinary() + _ = yym204 + if false { + } else { + z.F.EncMapStringStringV(x.MatchLabels, false, e) + } + } + } + } + if yyr201 || yy2arr201 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq201[1] { + if x.MatchExpressions == nil { + r.EncodeNil() + } else { + yym206 := z.EncBinary() + _ = yym206 + if false { + } else { + h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq201[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MatchExpressions == nil { + r.EncodeNil() + } else { + yym207 := z.EncBinary() + _ = yym207 + if false { + } else { + h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) + } + } + } + } + if yyr201 || yy2arr201 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym208 := z.DecBinary() + _ = yym208 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct209 := r.ContainerType() + if yyct209 == codecSelferValueTypeMap1234 { + yyl209 := r.ReadMapStart() + if yyl209 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl209, d) + } + } else if yyct209 == codecSelferValueTypeArray1234 { + yyl209 := r.ReadArrayStart() + if yyl209 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl209, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys210Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys210Slc + var yyhl210 bool = l >= 0 + for yyj210 := 0; ; yyj210++ { + if yyhl210 { + if yyj210 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys210Slc = r.DecodeBytes(yys210Slc, true, true) + yys210 := string(yys210Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys210 { + case "matchLabels": + if r.TryDecodeAsNil() { + x.MatchLabels = nil + } else { + yyv211 := &x.MatchLabels + yym212 := z.DecBinary() + _ = yym212 + if false { + } else { + z.F.DecMapStringStringX(yyv211, false, d) + } + } + case "matchExpressions": + if r.TryDecodeAsNil() { + x.MatchExpressions = nil + } else { + yyv213 := &x.MatchExpressions + yym214 := z.DecBinary() + _ = yym214 + if false { + } else { + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv213), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys210) + } // end switch yys210 + } // end for yyj210 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj215 int + var yyb215 bool + var yyhl215 bool = l >= 0 + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l + } else { + yyb215 = r.CheckBreak() + } + if yyb215 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MatchLabels = nil + } else { + yyv216 := &x.MatchLabels + yym217 := z.DecBinary() + _ = yym217 + if false { + } else { + z.F.DecMapStringStringX(yyv216, false, d) + } + } + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l + } else { + yyb215 = r.CheckBreak() + } + if yyb215 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MatchExpressions = nil + } else { + yyv218 := &x.MatchExpressions + yym219 := z.DecBinary() + _ = yym219 + if false { + } else { + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv218), d) + } + } + for { + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l + } else { + yyb215 = r.CheckBreak() + } + if yyb215 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj215-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym220 := z.EncBinary() + _ = yym220 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep221 := !z.EncBinary() + yy2arr221 := z.EncBasicHandle().StructToArray + var yyq221 [3]bool + _, _, _ = yysep221, yyq221, yy2arr221 + const yyr221 bool = false + yyq221[2] = len(x.Values) != 0 + var yynn221 int + if yyr221 || yy2arr221 { + r.EncodeArrayStart(3) + } else { + yynn221 = 2 + for _, b := range yyq221 { + if b { + yynn221++ + } + } + r.EncodeMapStart(yynn221) + yynn221 = 0 + } + if yyr221 || yy2arr221 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym223 := z.EncBinary() + _ = yym223 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym224 := z.EncBinary() + _ = yym224 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr221 || yy2arr221 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Operator.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("operator")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Operator.CodecEncodeSelf(e) + } + if yyr221 || yy2arr221 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq221[2] { + if x.Values == nil { + r.EncodeNil() + } else { + yym227 := z.EncBinary() + _ = yym227 + if false { + } else { + z.F.EncSliceStringV(x.Values, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq221[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("values")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Values == nil { + r.EncodeNil() + } else { + yym228 := z.EncBinary() + _ = yym228 + if false { + } else { + z.F.EncSliceStringV(x.Values, false, e) + } + } + } + } + if yyr221 || yy2arr221 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym229 := z.DecBinary() + _ = yym229 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct230 := r.ContainerType() + if yyct230 == codecSelferValueTypeMap1234 { + yyl230 := r.ReadMapStart() + if yyl230 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl230, d) + } + } else if yyct230 == codecSelferValueTypeArray1234 { + yyl230 := r.ReadArrayStart() + if yyl230 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl230, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys231Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys231Slc + var yyhl231 bool = l >= 0 + for yyj231 := 0; ; yyj231++ { + if yyhl231 { + if yyj231 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys231Slc = r.DecodeBytes(yys231Slc, true, true) + yys231 := string(yys231Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys231 { + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + case "operator": + if r.TryDecodeAsNil() { + x.Operator = "" + } else { + x.Operator = LabelSelectorOperator(r.DecodeString()) + } + case "values": + if r.TryDecodeAsNil() { + x.Values = nil + } else { + yyv234 := &x.Values + yym235 := z.DecBinary() + _ = yym235 + if false { + } else { + z.F.DecSliceStringX(yyv234, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys231) + } // end switch yys231 + } // end for yyj231 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj236 int + var yyb236 bool + var yyhl236 bool = l >= 0 + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l + } else { + yyb236 = r.CheckBreak() + } + if yyb236 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l + } else { + yyb236 = r.CheckBreak() + } + if yyb236 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Operator = "" + } else { + x.Operator = LabelSelectorOperator(r.DecodeString()) + } + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l + } else { + yyb236 = r.CheckBreak() + } + if yyb236 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Values = nil + } else { + yyv239 := &x.Values + yym240 := z.DecBinary() + _ = yym240 + if false { + } else { + z.F.DecSliceStringX(yyv239, false, d) + } + } + for { + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l + } else { + yyb236 = r.CheckBreak() + } + if yyb236 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj236-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym241 := z.EncBinary() + _ = yym241 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym242 := z.DecBinary() + _ = yym242 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + 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 _, yyv204 := range v { + for _, yyv243 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy205 := &yyv204 - yy205.CodecEncodeSelf(e) + yy244 := &yyv243 + yy244.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2334,83 +2854,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv206 := *v - yyh206, yyl206 := z.DecSliceHelperStart() - var yyc206 bool - if yyl206 == 0 { - if yyv206 == nil { - yyv206 = []Job{} - yyc206 = true - } else if len(yyv206) != 0 { - yyv206 = yyv206[:0] - yyc206 = true + yyv245 := *v + yyh245, yyl245 := z.DecSliceHelperStart() + var yyc245 bool + if yyl245 == 0 { + if yyv245 == nil { + yyv245 = []Job{} + yyc245 = true + } else if len(yyv245) != 0 { + yyv245 = yyv245[:0] + yyc245 = true } - } else if yyl206 > 0 { - var yyrr206, yyrl206 int - var yyrt206 bool - if yyl206 > cap(yyv206) { + } else if yyl245 > 0 { + var yyrr245, yyrl245 int + var yyrt245 bool + if yyl245 > cap(yyv245) { - yyrg206 := len(yyv206) > 0 - yyv2206 := yyv206 - yyrl206, yyrt206 = z.DecInferLen(yyl206, z.DecBasicHandle().MaxInitLen, 824) - if yyrt206 { - if yyrl206 <= cap(yyv206) { - yyv206 = yyv206[:yyrl206] + yyrg245 := len(yyv245) > 0 + yyv2245 := yyv245 + yyrl245, yyrt245 = z.DecInferLen(yyl245, z.DecBasicHandle().MaxInitLen, 824) + if yyrt245 { + if yyrl245 <= cap(yyv245) { + yyv245 = yyv245[:yyrl245] } else { - yyv206 = make([]Job, yyrl206) + yyv245 = make([]Job, yyrl245) } } else { - yyv206 = make([]Job, yyrl206) + yyv245 = make([]Job, yyrl245) } - yyc206 = true - yyrr206 = len(yyv206) - if yyrg206 { - copy(yyv206, yyv2206) + yyc245 = true + yyrr245 = len(yyv245) + if yyrg245 { + copy(yyv245, yyv2245) } - } else if yyl206 != len(yyv206) { - yyv206 = yyv206[:yyl206] - yyc206 = true + } else if yyl245 != len(yyv245) { + yyv245 = yyv245[:yyl245] + yyc245 = true } - yyj206 := 0 - for ; yyj206 < yyrr206; yyj206++ { - yyh206.ElemContainerState(yyj206) + yyj245 := 0 + for ; yyj245 < yyrr245; yyj245++ { + yyh245.ElemContainerState(yyj245) if r.TryDecodeAsNil() { - yyv206[yyj206] = Job{} + yyv245[yyj245] = Job{} } else { - yyv207 := &yyv206[yyj206] - yyv207.CodecDecodeSelf(d) + yyv246 := &yyv245[yyj245] + yyv246.CodecDecodeSelf(d) } } - if yyrt206 { - for ; yyj206 < yyl206; yyj206++ { - yyv206 = append(yyv206, Job{}) - yyh206.ElemContainerState(yyj206) + if yyrt245 { + for ; yyj245 < yyl245; yyj245++ { + yyv245 = append(yyv245, Job{}) + yyh245.ElemContainerState(yyj245) if r.TryDecodeAsNil() { - yyv206[yyj206] = Job{} + yyv245[yyj245] = Job{} } else { - yyv208 := &yyv206[yyj206] - yyv208.CodecDecodeSelf(d) + yyv247 := &yyv245[yyj245] + yyv247.CodecDecodeSelf(d) } } } } else { - yyj206 := 0 - for ; !r.CheckBreak(); yyj206++ { + yyj245 := 0 + for ; !r.CheckBreak(); yyj245++ { - if yyj206 >= len(yyv206) { - yyv206 = append(yyv206, Job{}) // var yyz206 Job - yyc206 = true + if yyj245 >= len(yyv245) { + yyv245 = append(yyv245, Job{}) // var yyz245 Job + yyc245 = true } - yyh206.ElemContainerState(yyj206) - if yyj206 < len(yyv206) { + yyh245.ElemContainerState(yyj245) + if yyj245 < len(yyv245) { if r.TryDecodeAsNil() { - yyv206[yyj206] = Job{} + yyv245[yyj245] = Job{} } else { - yyv209 := &yyv206[yyj206] - yyv209.CodecDecodeSelf(d) + yyv248 := &yyv245[yyj245] + yyv248.CodecDecodeSelf(d) } } else { @@ -2418,17 +2938,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj206 < len(yyv206) { - yyv206 = yyv206[:yyj206] - yyc206 = true - } else if yyj206 == 0 && yyv206 == nil { - yyv206 = []Job{} - yyc206 = true + if yyj245 < len(yyv245) { + yyv245 = yyv245[:yyj245] + yyc245 = true + } else if yyj245 == 0 && yyv245 == nil { + yyv245 = []Job{} + yyc245 = true } } - yyh206.End() - if yyc206 { - *v = yyv206 + yyh245.End() + if yyc245 { + *v = yyv245 } } @@ -2437,10 +2957,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv210 := range v { + for _, yyv249 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy211 := &yyv210 - yy211.CodecEncodeSelf(e) + yy250 := &yyv249 + yy250.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2450,83 +2970,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv212 := *v - yyh212, yyl212 := z.DecSliceHelperStart() - var yyc212 bool - if yyl212 == 0 { - if yyv212 == nil { - yyv212 = []JobCondition{} - yyc212 = true - } else if len(yyv212) != 0 { - yyv212 = yyv212[:0] - yyc212 = true + yyv251 := *v + yyh251, yyl251 := z.DecSliceHelperStart() + var yyc251 bool + if yyl251 == 0 { + if yyv251 == nil { + yyv251 = []JobCondition{} + yyc251 = true + } else if len(yyv251) != 0 { + yyv251 = yyv251[:0] + yyc251 = true } - } else if yyl212 > 0 { - var yyrr212, yyrl212 int - var yyrt212 bool - if yyl212 > cap(yyv212) { + } else if yyl251 > 0 { + var yyrr251, yyrl251 int + var yyrt251 bool + if yyl251 > cap(yyv251) { - yyrg212 := len(yyv212) > 0 - yyv2212 := yyv212 - yyrl212, yyrt212 = z.DecInferLen(yyl212, z.DecBasicHandle().MaxInitLen, 112) - if yyrt212 { - if yyrl212 <= cap(yyv212) { - yyv212 = yyv212[:yyrl212] + yyrg251 := len(yyv251) > 0 + yyv2251 := yyv251 + yyrl251, yyrt251 = z.DecInferLen(yyl251, z.DecBasicHandle().MaxInitLen, 112) + if yyrt251 { + if yyrl251 <= cap(yyv251) { + yyv251 = yyv251[:yyrl251] } else { - yyv212 = make([]JobCondition, yyrl212) + yyv251 = make([]JobCondition, yyrl251) } } else { - yyv212 = make([]JobCondition, yyrl212) + yyv251 = make([]JobCondition, yyrl251) } - yyc212 = true - yyrr212 = len(yyv212) - if yyrg212 { - copy(yyv212, yyv2212) + yyc251 = true + yyrr251 = len(yyv251) + if yyrg251 { + copy(yyv251, yyv2251) } - } else if yyl212 != len(yyv212) { - yyv212 = yyv212[:yyl212] - yyc212 = true + } else if yyl251 != len(yyv251) { + yyv251 = yyv251[:yyl251] + yyc251 = true } - yyj212 := 0 - for ; yyj212 < yyrr212; yyj212++ { - yyh212.ElemContainerState(yyj212) + yyj251 := 0 + for ; yyj251 < yyrr251; yyj251++ { + yyh251.ElemContainerState(yyj251) if r.TryDecodeAsNil() { - yyv212[yyj212] = JobCondition{} + yyv251[yyj251] = JobCondition{} } else { - yyv213 := &yyv212[yyj212] - yyv213.CodecDecodeSelf(d) + yyv252 := &yyv251[yyj251] + yyv252.CodecDecodeSelf(d) } } - if yyrt212 { - for ; yyj212 < yyl212; yyj212++ { - yyv212 = append(yyv212, JobCondition{}) - yyh212.ElemContainerState(yyj212) + if yyrt251 { + for ; yyj251 < yyl251; yyj251++ { + yyv251 = append(yyv251, JobCondition{}) + yyh251.ElemContainerState(yyj251) if r.TryDecodeAsNil() { - yyv212[yyj212] = JobCondition{} + yyv251[yyj251] = JobCondition{} } else { - yyv214 := &yyv212[yyj212] - yyv214.CodecDecodeSelf(d) + yyv253 := &yyv251[yyj251] + yyv253.CodecDecodeSelf(d) } } } } else { - yyj212 := 0 - for ; !r.CheckBreak(); yyj212++ { + yyj251 := 0 + for ; !r.CheckBreak(); yyj251++ { - if yyj212 >= len(yyv212) { - yyv212 = append(yyv212, JobCondition{}) // var yyz212 JobCondition - yyc212 = true + if yyj251 >= len(yyv251) { + yyv251 = append(yyv251, JobCondition{}) // var yyz251 JobCondition + yyc251 = true } - yyh212.ElemContainerState(yyj212) - if yyj212 < len(yyv212) { + yyh251.ElemContainerState(yyj251) + if yyj251 < len(yyv251) { if r.TryDecodeAsNil() { - yyv212[yyj212] = JobCondition{} + yyv251[yyj251] = JobCondition{} } else { - yyv215 := &yyv212[yyj212] - yyv215.CodecDecodeSelf(d) + yyv254 := &yyv251[yyj251] + yyv254.CodecDecodeSelf(d) } } else { @@ -2534,16 +3054,132 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj212 < len(yyv212) { - yyv212 = yyv212[:yyj212] - yyc212 = true - } else if yyj212 == 0 && yyv212 == nil { - yyv212 = []JobCondition{} - yyc212 = true + if yyj251 < len(yyv251) { + yyv251 = yyv251[:yyj251] + yyc251 = true + } else if yyj251 == 0 && yyv251 == nil { + yyv251 = []JobCondition{} + yyc251 = true } } - yyh212.End() - if yyc212 { - *v = yyv212 + yyh251.End() + if yyc251 { + *v = yyv251 + } +} + +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 _, yyv255 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy256 := &yyv255 + yy256.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 + + yyv257 := *v + yyh257, yyl257 := z.DecSliceHelperStart() + var yyc257 bool + if yyl257 == 0 { + if yyv257 == nil { + yyv257 = []LabelSelectorRequirement{} + yyc257 = true + } else if len(yyv257) != 0 { + yyv257 = yyv257[:0] + yyc257 = true + } + } else if yyl257 > 0 { + var yyrr257, yyrl257 int + var yyrt257 bool + if yyl257 > cap(yyv257) { + + yyrg257 := len(yyv257) > 0 + yyv2257 := yyv257 + yyrl257, yyrt257 = z.DecInferLen(yyl257, z.DecBasicHandle().MaxInitLen, 56) + if yyrt257 { + if yyrl257 <= cap(yyv257) { + yyv257 = yyv257[:yyrl257] + } else { + yyv257 = make([]LabelSelectorRequirement, yyrl257) + } + } else { + yyv257 = make([]LabelSelectorRequirement, yyrl257) + } + yyc257 = true + yyrr257 = len(yyv257) + if yyrg257 { + copy(yyv257, yyv2257) + } + } else if yyl257 != len(yyv257) { + yyv257 = yyv257[:yyl257] + yyc257 = true + } + yyj257 := 0 + for ; yyj257 < yyrr257; yyj257++ { + yyh257.ElemContainerState(yyj257) + if r.TryDecodeAsNil() { + yyv257[yyj257] = LabelSelectorRequirement{} + } else { + yyv258 := &yyv257[yyj257] + yyv258.CodecDecodeSelf(d) + } + + } + if yyrt257 { + for ; yyj257 < yyl257; yyj257++ { + yyv257 = append(yyv257, LabelSelectorRequirement{}) + yyh257.ElemContainerState(yyj257) + if r.TryDecodeAsNil() { + yyv257[yyj257] = LabelSelectorRequirement{} + } else { + yyv259 := &yyv257[yyj257] + yyv259.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj257 := 0 + for ; !r.CheckBreak(); yyj257++ { + + if yyj257 >= len(yyv257) { + yyv257 = append(yyv257, LabelSelectorRequirement{}) // var yyz257 LabelSelectorRequirement + yyc257 = true + } + yyh257.ElemContainerState(yyj257) + if yyj257 < len(yyv257) { + if r.TryDecodeAsNil() { + yyv257[yyj257] = LabelSelectorRequirement{} + } else { + yyv260 := &yyv257[yyj257] + yyv260.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj257 < len(yyv257) { + yyv257 = yyv257[:yyj257] + yyc257 = true + } else if yyj257 == 0 && yyv257 == nil { + yyv257 = []LabelSelectorRequirement{} + yyc257 = true + } + } + yyh257.End() + if yyc257 { + *v = yyv257 } } diff --git a/pkg/apis/batch/v1/types.go b/pkg/apis/batch/v1/types.go index af179bcce64..9049c7ffd2e 100644 --- a/pkg/apis/batch/v1/types.go +++ b/pkg/apis/batch/v1/types.go @@ -83,7 +83,7 @@ type JobSpec struct { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -166,3 +166,43 @@ type JobCondition struct { // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } + +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +type LabelSelector struct { + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +type LabelSelectorRequirement struct { + // key is the label key that the selector applies to. + Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` + // operator represents a key's relationship to a set of values. + // Valid operators ard In, NotIn, Exists and DoesNotExist. + Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"` + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` +} + +// A label selector operator is the set of operators that can be used in a selector requirement. +type LabelSelectorOperator string + +const ( + LabelSelectorOpIn LabelSelectorOperator = "In" + LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" + LabelSelectorOpExists LabelSelectorOperator = "Exists" + LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" +) diff --git a/pkg/apis/batch/v1/types_swagger_doc_generated.go b/pkg/apis/batch/v1/types_swagger_doc_generated.go index 3d224e703aa..10d76e29586 100644 --- a/pkg/apis/batch/v1/types_swagger_doc_generated.go +++ b/pkg/apis/batch/v1/types_swagger_doc_generated.go @@ -90,4 +90,25 @@ func (JobStatus) SwaggerDoc() map[string]string { return map_JobStatus } +var map_LabelSelector = map[string]string{ + "": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "matchLabels": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "matchExpressions": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", +} + +func (LabelSelector) SwaggerDoc() map[string]string { + return map_LabelSelector +} + +var map_LabelSelectorRequirement = map[string]string{ + "": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "key": "key is the label key that the selector applies to.", + "operator": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + "values": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", +} + +func (LabelSelectorRequirement) SwaggerDoc() map[string]string { + return map_LabelSelectorRequirement +} + // AUTO-GENERATED FUNCTIONS END HERE diff --git a/pkg/apis/batch/v1/zz_generated.conversion.go b/pkg/apis/batch/v1/zz_generated.conversion.go index b6655600f02..2c6049e5247 100644 --- a/pkg/apis/batch/v1/zz_generated.conversion.go +++ b/pkg/apis/batch/v1/zz_generated.conversion.go @@ -22,6 +22,7 @@ package v1 import ( api "k8s.io/kubernetes/pkg/api" + unversioned "k8s.io/kubernetes/pkg/api/unversioned" api_v1 "k8s.io/kubernetes/pkg/api/v1" batch "k8s.io/kubernetes/pkg/apis/batch" conversion "k8s.io/kubernetes/pkg/conversion" @@ -46,6 +47,10 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_batch_JobSpec_To_v1_JobSpec, Convert_v1_JobStatus_To_batch_JobStatus, Convert_batch_JobStatus_To_v1_JobStatus, + Convert_v1_LabelSelector_To_unversioned_LabelSelector, + Convert_unversioned_LabelSelector_To_v1_LabelSelector, + Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, + Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement, ) } @@ -181,7 +186,15 @@ func autoConvert_v1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(unversioned.LabelSelector) + if err := Convert_v1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } out.ManualSelector = in.ManualSelector if err := api_v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -193,7 +206,15 @@ func autoConvert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } out.ManualSelector = in.ManualSelector if err := api_v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -248,3 +269,65 @@ func autoConvert_batch_JobStatus_To_v1_JobStatus(in *batch.JobStatus, out *JobSt func Convert_batch_JobStatus_To_v1_JobStatus(in *batch.JobStatus, out *JobStatus, s conversion.Scope) error { return autoConvert_batch_JobStatus_To_v1_JobStatus(in, out, s) } + +func autoConvert_v1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { + out.MatchLabels = in.MatchLabels + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]unversioned.LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil +} + +func Convert_v1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { + return autoConvert_v1_LabelSelector_To_unversioned_LabelSelector(in, out, s) +} + +func autoConvert_unversioned_LabelSelector_To_v1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { + out.MatchLabels = in.MatchLabels + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil +} + +func Convert_unversioned_LabelSelector_To_v1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { + return autoConvert_unversioned_LabelSelector_To_v1_LabelSelector(in, out, s) +} + +func autoConvert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { + out.Key = in.Key + out.Operator = unversioned.LabelSelectorOperator(in.Operator) + out.Values = in.Values + return nil +} + +func Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { + return autoConvert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in, out, s) +} + +func autoConvert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { + out.Key = in.Key + out.Operator = LabelSelectorOperator(in.Operator) + out.Values = in.Values + return nil +} + +func Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { + return autoConvert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(in, out, s) +} diff --git a/pkg/apis/batch/v1/zz_generated.deepcopy.go b/pkg/apis/batch/v1/zz_generated.deepcopy.go index 162373788dc..9163e830bcb 100644 --- a/pkg/apis/batch/v1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v1/zz_generated.deepcopy.go @@ -41,6 +41,8 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobList, InType: reflect.TypeOf(&JobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, ) } @@ -124,8 +126,8 @@ func DeepCopy_v1_JobSpec(in interface{}, out interface{}, c *conversion.Cloner) } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -180,3 +182,48 @@ func DeepCopy_v1_JobStatus(in interface{}, out interface{}, c *conversion.Cloner return nil } } + +func DeepCopy_v1_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*LabelSelector) + out := out.(*LabelSelector) + if in.MatchLabels != nil { + in, out := &in.MatchLabels, &out.MatchLabels + *out = make(map[string]string) + for key, val := range *in { + (*out)[key] = val + } + } else { + out.MatchLabels = nil + } + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := DeepCopy_v1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil + } +} + +func DeepCopy_v1_LabelSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*LabelSelectorRequirement) + out := out.(*LabelSelectorRequirement) + out.Key = in.Key + out.Operator = in.Operator + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]string, len(*in)) + copy(*out, *in) + } else { + out.Values = nil + } + return nil + } +} diff --git a/pkg/apis/batch/v2alpha1/BUILD b/pkg/apis/batch/v2alpha1/BUILD index ab909339938..595ce75dea1 100644 --- a/pkg/apis/batch/v2alpha1/BUILD +++ b/pkg/apis/batch/v2alpha1/BUILD @@ -38,6 +38,7 @@ go_library( "//pkg/util/intstr:go_default_library", "//pkg/watch/versioned:go_default_library", "//vendor:github.com/gogo/protobuf/proto", + "//vendor:github.com/gogo/protobuf/sortkeys", "//vendor:github.com/ugorji/go/codec", ], ) diff --git a/pkg/apis/batch/v2alpha1/conversion.go b/pkg/apis/batch/v2alpha1/conversion.go index 080292a00c7..4884d9334be 100644 --- a/pkg/apis/batch/v2alpha1/conversion.go +++ b/pkg/apis/batch/v2alpha1/conversion.go @@ -20,6 +20,7 @@ import ( "fmt" "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/apis/batch" "k8s.io/kubernetes/pkg/conversion" @@ -58,7 +59,15 @@ func Convert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSpec, out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1.LabelSelector + if in.Selector != nil { + out.Selector = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector @@ -76,7 +85,15 @@ func Convert_v2alpha1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1.LabelSelector + if in.Selector != nil { + out.Selector = new(unversioned.LabelSelector) + if err := Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector diff --git a/pkg/apis/batch/v2alpha1/generated.pb.go b/pkg/apis/batch/v2alpha1/generated.pb.go index 91a512f1bc5..7a8a7082b11 100644 --- a/pkg/apis/batch/v2alpha1/generated.pb.go +++ b/pkg/apis/batch/v2alpha1/generated.pb.go @@ -32,6 +32,8 @@ limitations under the License. JobStatus JobTemplate JobTemplateSpec + LabelSelector + LabelSelectorRequirement ScheduledJob ScheduledJobList ScheduledJobSpec @@ -48,6 +50,7 @@ import k8s_io_kubernetes_pkg_api_v1 "k8s.io/kubernetes/pkg/api/v1" import strings "strings" import reflect "reflect" +import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" import io "io" @@ -88,21 +91,31 @@ func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} } func (*JobTemplateSpec) ProtoMessage() {} func (*JobTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } +func (m *LabelSelector) Reset() { *m = LabelSelector{} } +func (*LabelSelector) ProtoMessage() {} +func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } + +func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } +func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{8} +} + func (m *ScheduledJob) Reset() { *m = ScheduledJob{} } func (*ScheduledJob) ProtoMessage() {} -func (*ScheduledJob) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } +func (*ScheduledJob) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } func (m *ScheduledJobList) Reset() { *m = ScheduledJobList{} } func (*ScheduledJobList) ProtoMessage() {} -func (*ScheduledJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } +func (*ScheduledJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } func (m *ScheduledJobSpec) Reset() { *m = ScheduledJobSpec{} } func (*ScheduledJobSpec) ProtoMessage() {} -func (*ScheduledJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } +func (*ScheduledJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } func (m *ScheduledJobStatus) Reset() { *m = ScheduledJobStatus{} } func (*ScheduledJobStatus) ProtoMessage() {} -func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } +func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } func init() { proto.RegisterType((*Job)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.Job") @@ -112,6 +125,8 @@ func init() { proto.RegisterType((*JobStatus)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.JobStatus") proto.RegisterType((*JobTemplate)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.JobTemplate") proto.RegisterType((*JobTemplateSpec)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.JobTemplateSpec") + proto.RegisterType((*LabelSelector)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.LabelSelector") + proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.LabelSelectorRequirement") proto.RegisterType((*ScheduledJob)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.ScheduledJob") proto.RegisterType((*ScheduledJobList)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.ScheduledJobList") proto.RegisterType((*ScheduledJobSpec)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.ScheduledJobSpec") @@ -435,6 +450,94 @@ func (m *JobTemplateSpec) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *LabelSelector) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *LabelSelector) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.MatchLabels) > 0 { + for k := range m.MatchLabels { + data[i] = 0xa + i++ + v := m.MatchLabels[k] + mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + i = encodeVarintGenerated(data, i, uint64(mapSize)) + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(k))) + i += copy(data[i:], k) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(v))) + i += copy(data[i:], v) + } + } + if len(m.MatchExpressions) > 0 { + for _, msg := range m.MatchExpressions { + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n + } + } + return i, nil +} + +func (m *LabelSelectorRequirement) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Key))) + i += copy(data[i:], m.Key) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Operator))) + i += copy(data[i:], m.Operator) + if len(m.Values) > 0 { + for _, s := range m.Values { + data[i] = 0x1a + i++ + l = len(s) + for l >= 1<<7 { + data[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + data[i] = uint8(l) + i++ + i += copy(data[i:], s) + } + } + return i, nil +} + func (m *ScheduledJob) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -742,6 +845,42 @@ func (m *JobTemplateSpec) Size() (n int) { return n } +func (m *LabelSelector) Size() (n int) { + var l int + _ = l + if len(m.MatchLabels) > 0 { + for k, v := range m.MatchLabels { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) + } + } + if len(m.MatchExpressions) > 0 { + for _, e := range m.MatchExpressions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func (m *LabelSelectorRequirement) Size() (n int) { + var l int + _ = l + l = len(m.Key) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Operator) + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Values) > 0 { + for _, s := range m.Values { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + func (m *ScheduledJob) Size() (n int) { var l int _ = l @@ -861,7 +1000,7 @@ func (this *JobSpec) String() string { `Parallelism:` + valueToStringGenerated(this.Parallelism) + `,`, `Completions:` + valueToStringGenerated(this.Completions) + `,`, `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -905,6 +1044,39 @@ func (this *JobTemplateSpec) String() string { }, "") return s } +func (this *LabelSelector) String() string { + if this == nil { + return "nil" + } + keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) + for k := range this.MatchLabels { + keysForMatchLabels = append(keysForMatchLabels, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) + mapStringForMatchLabels := "map[string]string{" + for _, k := range keysForMatchLabels { + mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) + } + mapStringForMatchLabels += "}" + s := strings.Join([]string{`&LabelSelector{`, + `MatchLabels:` + mapStringForMatchLabels + `,`, + `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *LabelSelectorRequirement) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&LabelSelectorRequirement{`, + `Key:` + fmt.Sprintf("%v", this.Key) + `,`, + `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, + `Values:` + fmt.Sprintf("%v", this.Values) + `,`, + `}`, + }, "") + return s +} func (this *ScheduledJob) String() string { if this == nil { return "nil" @@ -1554,7 +1726,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.Selector = &LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -2056,6 +2228,335 @@ func (m *JobTemplateSpec) Unmarshal(data []byte) error { } return nil } +func (m *LabelSelector) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + var keykey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + keykey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapkey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey := string(data[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + var valuekey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + valuekey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapvalue |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue := string(data[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + if m.MatchLabels == nil { + m.MatchLabels = make(map[string]string) + } + m.MatchLabels[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) + if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LabelSelectorRequirement) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = LabelSelectorOperator(data[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Values = append(m.Values, string(data[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *ScheduledJob) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -2706,77 +3207,88 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 1139 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x56, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xae, 0x93, 0xa6, 0x4d, 0x26, 0x6d, 0xb7, 0x1d, 0xa8, 0x36, 0x14, 0x29, 0x59, 0x45, 0x02, - 0x75, 0x61, 0x6b, 0xab, 0x51, 0xd1, 0xc2, 0x22, 0x90, 0x70, 0x11, 0x12, 0x55, 0xab, 0xad, 0x26, - 0x5d, 0xb4, 0x82, 0x2e, 0xd2, 0xd8, 0x7e, 0x4d, 0xbc, 0x75, 0x3c, 0xc6, 0x33, 0x2e, 0xea, 0x8d, - 0xff, 0x00, 0x24, 0xfe, 0x0f, 0xee, 0x48, 0x70, 0xe0, 0xd6, 0x1b, 0x0b, 0x27, 0xc4, 0x21, 0xa2, - 0xe6, 0xbf, 0xe8, 0x09, 0x79, 0xfc, 0x23, 0xce, 0xaf, 0xaa, 0x29, 0x5a, 0x24, 0x6e, 0xf6, 0x9b, - 0xef, 0xfb, 0xe6, 0xcd, 0xbc, 0x6f, 0xde, 0x0c, 0x7a, 0xef, 0xf4, 0x5d, 0xae, 0xda, 0x4c, 0x3b, - 0x0d, 0x0c, 0xf0, 0x5d, 0x10, 0xc0, 0x35, 0xef, 0xb4, 0xa3, 0x51, 0xcf, 0xe6, 0x9a, 0x41, 0x85, - 0xd9, 0xd5, 0xce, 0x5a, 0xd4, 0xf1, 0xba, 0x74, 0x5b, 0xeb, 0x80, 0x0b, 0x3e, 0x15, 0x60, 0xa9, - 0x9e, 0xcf, 0x04, 0xc3, 0xf7, 0x63, 0xaa, 0x3a, 0xa0, 0xaa, 0xde, 0x69, 0x47, 0x8d, 0xa8, 0xaa, - 0xa4, 0xaa, 0x29, 0x75, 0x63, 0xab, 0x63, 0x8b, 0x6e, 0x60, 0xa8, 0x26, 0xeb, 0x69, 0x1d, 0xd6, - 0x61, 0x9a, 0x54, 0x30, 0x82, 0x13, 0xf9, 0x27, 0x7f, 0xe4, 0x57, 0xac, 0xbc, 0xd1, 0x9a, 0x9a, - 0x94, 0xe6, 0x03, 0x67, 0x81, 0x6f, 0xc2, 0x68, 0x36, 0x1b, 0xef, 0x4c, 0xe7, 0x04, 0xee, 0x19, - 0xf8, 0xdc, 0x66, 0x2e, 0x58, 0x63, 0xb4, 0x07, 0xd3, 0x69, 0x67, 0x63, 0x4b, 0xde, 0xd8, 0x9a, - 0x8c, 0xf6, 0x03, 0x57, 0xd8, 0xbd, 0xf1, 0x9c, 0xb6, 0x27, 0xc3, 0x03, 0x61, 0x3b, 0x9a, 0xed, - 0x0a, 0x2e, 0xfc, 0x51, 0x4a, 0xf3, 0xfb, 0x02, 0x2a, 0xee, 0x31, 0x03, 0x3f, 0x45, 0xe5, 0x1e, - 0x08, 0x6a, 0x51, 0x41, 0x6b, 0xca, 0x3d, 0x65, 0xb3, 0xda, 0xda, 0x54, 0xa7, 0xee, 0xb7, 0x7a, - 0xb6, 0xad, 0x3e, 0x36, 0x9e, 0x83, 0x29, 0x0e, 0x40, 0x50, 0x1d, 0x5f, 0xf4, 0x1b, 0x73, 0x61, - 0xbf, 0x81, 0x06, 0x31, 0x92, 0xa9, 0xe1, 0x23, 0x34, 0xcf, 0x3d, 0x30, 0x6b, 0x05, 0xa9, 0xda, - 0x52, 0x6f, 0x5c, 0x45, 0x75, 0x8f, 0x19, 0x6d, 0x0f, 0x4c, 0x7d, 0x29, 0xd1, 0x9f, 0x8f, 0xfe, - 0x88, 0x54, 0xc3, 0xc7, 0x68, 0x81, 0x0b, 0x2a, 0x02, 0x5e, 0x2b, 0x4a, 0xdd, 0x9d, 0x19, 0x75, - 0x25, 0x57, 0x5f, 0x49, 0x94, 0x17, 0xe2, 0x7f, 0x92, 0x68, 0x36, 0x7f, 0x2f, 0xa2, 0xa5, 0x3d, - 0x66, 0xec, 0x32, 0xd7, 0xb2, 0x85, 0xcd, 0x5c, 0xbc, 0x83, 0xe6, 0xc5, 0xb9, 0x07, 0x72, 0x6b, - 0x2a, 0xfa, 0xbd, 0x34, 0xa1, 0xa3, 0x73, 0x0f, 0xae, 0xfa, 0x8d, 0xd5, 0x3c, 0x36, 0x8a, 0x11, - 0x89, 0xc6, 0x9f, 0x65, 0x49, 0x16, 0x24, 0xef, 0xc3, 0xe1, 0xe9, 0xae, 0xfa, 0x8d, 0x6b, 0xed, - 0xa0, 0x66, 0x9a, 0xc3, 0xe9, 0xe1, 0x2e, 0x5a, 0x76, 0x28, 0x17, 0x87, 0x3e, 0x33, 0xe0, 0xc8, - 0xee, 0x41, 0xb2, 0x07, 0x6f, 0x5f, 0x53, 0xb1, 0x9c, 0x27, 0xd5, 0x88, 0xa2, 0xaf, 0x27, 0xb9, - 0x2c, 0xef, 0xe7, 0x95, 0xc8, 0xb0, 0x30, 0xfe, 0x1a, 0xe1, 0x28, 0x70, 0xe4, 0x53, 0x97, 0xc7, - 0xab, 0x8b, 0xa6, 0x9b, 0x9f, 0x7d, 0xba, 0x8d, 0x64, 0x3a, 0xbc, 0x3f, 0x26, 0x47, 0x26, 0x4c, - 0x81, 0xdf, 0x44, 0x0b, 0x3e, 0x50, 0xce, 0xdc, 0x5a, 0x49, 0x6e, 0x5d, 0x56, 0x29, 0x22, 0xa3, - 0x24, 0x19, 0xc5, 0xf7, 0xd1, 0x62, 0x0f, 0x38, 0xa7, 0x1d, 0xa8, 0x2d, 0x48, 0xe0, 0x9d, 0x04, - 0xb8, 0x78, 0x10, 0x87, 0x49, 0x3a, 0xde, 0xfc, 0x59, 0x41, 0x8b, 0x7b, 0xcc, 0xd8, 0xb7, 0xb9, - 0xc0, 0xcf, 0xc6, 0xec, 0xae, 0xdd, 0x70, 0x35, 0x11, 0x5d, 0xba, 0x7e, 0x35, 0x99, 0xa8, 0x9c, - 0x46, 0x72, 0x9e, 0x6f, 0xa3, 0x92, 0x2d, 0xa0, 0x17, 0xd5, 0xbd, 0xb8, 0x59, 0x6d, 0xa9, 0xb3, - 0x99, 0x53, 0x5f, 0x4e, 0xa4, 0x4b, 0x9f, 0x46, 0x22, 0x24, 0xd6, 0x6a, 0xfe, 0x58, 0x94, 0xf9, - 0x47, 0x87, 0x00, 0x6f, 0xa3, 0xaa, 0x47, 0x7d, 0xea, 0x38, 0xe0, 0xd8, 0xbc, 0x27, 0x97, 0x50, - 0xd2, 0xef, 0x84, 0xfd, 0x46, 0xf5, 0x70, 0x10, 0x26, 0x79, 0x4c, 0x44, 0x31, 0x59, 0xcf, 0x73, - 0x20, 0xda, 0xe3, 0xd8, 0x91, 0x09, 0x65, 0x77, 0x10, 0x26, 0x79, 0x0c, 0x7e, 0x8c, 0xd6, 0xa9, - 0x29, 0xec, 0x33, 0xf8, 0x18, 0xa8, 0xe5, 0xd8, 0x2e, 0xb4, 0xc1, 0x64, 0xae, 0x15, 0x9f, 0xb9, - 0xa2, 0xfe, 0x5a, 0xd8, 0x6f, 0xac, 0x7f, 0x34, 0x09, 0x40, 0x26, 0xf3, 0xf0, 0x97, 0xa8, 0xcc, - 0xc1, 0x01, 0x53, 0x30, 0x3f, 0x31, 0xd1, 0xce, 0x4d, 0xb7, 0x9d, 0x1a, 0xe0, 0xb4, 0x13, 0xae, - 0xbe, 0x14, 0xed, 0x7b, 0xfa, 0x47, 0x32, 0x4d, 0xfc, 0x08, 0xad, 0xf4, 0xa8, 0x1b, 0xd0, 0x0c, - 0x29, 0xdd, 0x53, 0xd6, 0x71, 0xd8, 0x6f, 0xac, 0x1c, 0x0c, 0x8d, 0x90, 0x11, 0x24, 0xfe, 0x02, - 0x95, 0x05, 0xf4, 0x3c, 0x87, 0x8a, 0xd8, 0x4a, 0xd5, 0xd6, 0xd6, 0xf5, 0x1d, 0xf0, 0x90, 0x59, - 0x47, 0x09, 0x41, 0xb6, 0xa9, 0xcc, 0x10, 0x69, 0x94, 0x64, 0x82, 0xcd, 0x9f, 0x8a, 0xa8, 0x92, - 0xb5, 0x1d, 0x7c, 0x8a, 0x90, 0x99, 0x1e, 0x6d, 0x5e, 0x53, 0xa4, 0x47, 0x1e, 0xce, 0xe6, 0x91, - 0xac, 0x35, 0x0c, 0xba, 0x6f, 0x16, 0xe2, 0x24, 0x27, 0x8f, 0x9f, 0xa2, 0x0a, 0x17, 0xd4, 0x17, - 0xf2, 0xe4, 0x16, 0x66, 0x3f, 0xb9, 0xcb, 0x61, 0xbf, 0x51, 0x69, 0xa7, 0x0a, 0x64, 0x20, 0x86, - 0x3b, 0x68, 0x65, 0xe0, 0x96, 0xdb, 0xf6, 0x21, 0x59, 0x9a, 0xdd, 0x21, 0x19, 0x32, 0x22, 0x1b, - 0x35, 0x83, 0xd8, 0x4f, 0xd2, 0x34, 0xa5, 0x41, 0x33, 0x88, 0xcd, 0x47, 0x92, 0x51, 0xac, 0xa1, - 0x0a, 0x0f, 0x4c, 0x13, 0xc0, 0x02, 0x4b, 0x56, 0xbe, 0xa4, 0xaf, 0x25, 0xd0, 0x4a, 0x3b, 0x1d, - 0x20, 0x03, 0x4c, 0x24, 0x7c, 0x42, 0x6d, 0x07, 0x2c, 0x59, 0xf1, 0x9c, 0xf0, 0x27, 0x32, 0x4a, - 0x92, 0xd1, 0xe6, 0x6f, 0x0a, 0xaa, 0xee, 0x31, 0x23, 0x2d, 0xec, 0x4b, 0xbc, 0x2d, 0xbb, 0x39, - 0x17, 0xc6, 0xc5, 0x7a, 0x34, 0x9b, 0x31, 0x6e, 0x6c, 0xc9, 0x5f, 0x14, 0x74, 0x67, 0x04, 0xff, - 0x7f, 0x7b, 0x05, 0x34, 0x7f, 0x28, 0xa0, 0xa5, 0xb6, 0xd9, 0x05, 0x2b, 0x70, 0xc0, 0x7a, 0xb9, - 0xcf, 0x98, 0x67, 0x43, 0x0b, 0x78, 0x7f, 0x86, 0x05, 0xe4, 0x13, 0x9c, 0xfa, 0x9e, 0x81, 0x91, - 0xf7, 0xcc, 0x07, 0xb7, 0x9d, 0xe0, 0xfa, 0x87, 0xcd, 0xaf, 0x0a, 0x5a, 0xcd, 0xc3, 0xff, 0x8b, - 0xcb, 0xf0, 0x78, 0xf8, 0x32, 0x7c, 0x78, 0xcb, 0x95, 0x4d, 0xb9, 0x15, 0xbf, 0x2d, 0x0e, 0xaf, - 0x48, 0xfa, 0xf8, 0x01, 0x2a, 0xf3, 0x24, 0x96, 0x3c, 0xd9, 0xb2, 0x04, 0x53, 0x2c, 0xc9, 0x10, - 0xf8, 0x09, 0xba, 0x2b, 0x9b, 0x9a, 0xed, 0x76, 0x46, 0x2f, 0xba, 0x82, 0xbc, 0xe8, 0x5e, 0x0f, - 0xfb, 0x8d, 0xbb, 0xed, 0xc9, 0x10, 0x32, 0x8d, 0x8b, 0x8f, 0xd1, 0x9a, 0xc9, 0x5c, 0x33, 0xf0, - 0x7d, 0x70, 0xcd, 0xf3, 0x43, 0xe6, 0xd8, 0xe6, 0xb9, 0xac, 0x6e, 0x45, 0x57, 0x93, 0x6c, 0xd6, - 0x76, 0x47, 0x01, 0x57, 0x93, 0x82, 0x64, 0x5c, 0x08, 0xbf, 0x81, 0x16, 0x79, 0xc0, 0x3d, 0x70, - 0x2d, 0xd9, 0x14, 0xcb, 0x7a, 0x35, 0x7a, 0xf4, 0xb4, 0xe3, 0x10, 0x49, 0xc7, 0xf0, 0x57, 0xa8, - 0xfa, 0x7c, 0x70, 0xc8, 0x65, 0x53, 0xfc, 0x77, 0x2d, 0xe5, 0x95, 0x24, 0xf5, 0x7c, 0x3f, 0x24, - 0xf9, 0x39, 0x9a, 0x7f, 0x2a, 0x08, 0x8f, 0x5b, 0x12, 0x3f, 0xc9, 0x9a, 0x78, 0x7c, 0xe1, 0x6d, - 0xdd, 0xe4, 0x60, 0x12, 0x38, 0x81, 0x68, 0xd5, 0x30, 0xb5, 0xe7, 0xf7, 0xd0, 0x6a, 0xf4, 0x7c, - 0x4c, 0x27, 0xbc, 0xed, 0xfb, 0xf4, 0xd5, 0xb0, 0xdf, 0x58, 0xdd, 0x1f, 0x11, 0x22, 0x63, 0xd2, - 0xfa, 0x5b, 0x17, 0x97, 0xf5, 0xb9, 0x17, 0x97, 0xf5, 0xb9, 0x3f, 0x2e, 0xeb, 0x73, 0xdf, 0x84, - 0x75, 0xe5, 0x22, 0xac, 0x2b, 0x2f, 0xc2, 0xba, 0xf2, 0x57, 0x58, 0x57, 0xbe, 0xfb, 0xbb, 0x3e, - 0xf7, 0x79, 0x39, 0xdd, 0xba, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x80, 0x6a, 0xa7, 0x35, 0xec, - 0x0e, 0x00, 0x00, + // 1316 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, + 0x17, 0xcf, 0xda, 0x71, 0x62, 0x8f, 0x93, 0xd4, 0x9d, 0x6f, 0xa3, 0xfa, 0x1b, 0x84, 0x5d, 0x59, + 0x02, 0xa5, 0xd0, 0xac, 0x95, 0xa8, 0xa8, 0xa5, 0x88, 0x4a, 0x6c, 0x28, 0x52, 0x43, 0xa2, 0x46, + 0xe3, 0xb4, 0xaa, 0xa0, 0x3d, 0xac, 0x77, 0x5f, 0x9d, 0x6d, 0x76, 0x77, 0xb6, 0x3b, 0xb3, 0x01, + 0xdf, 0x7a, 0xe5, 0x04, 0x12, 0xff, 0x02, 0x67, 0xfe, 0x02, 0x7a, 0xe0, 0xd6, 0x1b, 0x85, 0x13, + 0xe2, 0x60, 0x51, 0xf3, 0x5f, 0xe4, 0x84, 0x66, 0x76, 0x76, 0xbd, 0xfe, 0x15, 0xc5, 0x41, 0x45, + 0xe2, 0xb6, 0xf3, 0x7e, 0x7c, 0xde, 0x9b, 0x79, 0x9f, 0x79, 0xf3, 0x16, 0x7d, 0x78, 0x74, 0x93, + 0xe9, 0x0e, 0x6d, 0x1e, 0x45, 0x6d, 0x08, 0x7d, 0xe0, 0xc0, 0x9a, 0xc1, 0x51, 0xa7, 0x69, 0x06, + 0x0e, 0x6b, 0xb6, 0x4d, 0x6e, 0x1d, 0x36, 0x8f, 0xb7, 0x4c, 0x37, 0x38, 0x34, 0x37, 0x9b, 0x1d, + 0xf0, 0x21, 0x34, 0x39, 0xd8, 0x7a, 0x10, 0x52, 0x4e, 0xf1, 0xd5, 0xd8, 0x55, 0x1f, 0xb8, 0xea, + 0xc1, 0x51, 0x47, 0x17, 0xae, 0xba, 0x74, 0xd5, 0x13, 0xd7, 0xb5, 0x8d, 0x8e, 0xc3, 0x0f, 0xa3, + 0xb6, 0x6e, 0x51, 0xaf, 0xd9, 0xa1, 0x1d, 0xda, 0x94, 0x08, 0xed, 0xe8, 0x89, 0x5c, 0xc9, 0x85, + 0xfc, 0x8a, 0x91, 0xd7, 0xb6, 0xa6, 0x26, 0xd5, 0x0c, 0x81, 0xd1, 0x28, 0xb4, 0x60, 0x34, 0x9b, + 0xb5, 0x0f, 0xa6, 0xfb, 0x44, 0xfe, 0x31, 0x84, 0xcc, 0xa1, 0x3e, 0xd8, 0x63, 0x6e, 0xd7, 0xa6, + 0xbb, 0x1d, 0x8f, 0x6d, 0x79, 0x6d, 0x63, 0xb2, 0x75, 0x18, 0xf9, 0xdc, 0xf1, 0xc6, 0x73, 0xda, + 0x9c, 0x6c, 0x1e, 0x71, 0xc7, 0x6d, 0x3a, 0x3e, 0x67, 0x3c, 0x1c, 0x75, 0x69, 0x7c, 0x9f, 0x43, + 0xf9, 0x1d, 0xda, 0xc6, 0x0f, 0x51, 0xd1, 0x03, 0x6e, 0xda, 0x26, 0x37, 0xab, 0xda, 0x15, 0x6d, + 0xbd, 0xbc, 0xb5, 0xae, 0x4f, 0x3d, 0x6f, 0xfd, 0x78, 0x53, 0xbf, 0xd7, 0x7e, 0x0a, 0x16, 0xdf, + 0x03, 0x6e, 0x1a, 0xf8, 0x65, 0xaf, 0x3e, 0xd7, 0xef, 0xd5, 0xd1, 0x40, 0x46, 0x52, 0x34, 0x7c, + 0x80, 0xe6, 0x59, 0x00, 0x56, 0x35, 0x27, 0x51, 0xb7, 0xf4, 0x33, 0x57, 0x51, 0xdf, 0xa1, 0xed, + 0x56, 0x00, 0x96, 0xb1, 0xa4, 0xf0, 0xe7, 0xc5, 0x8a, 0x48, 0x34, 0xfc, 0x08, 0x2d, 0x30, 0x6e, + 0xf2, 0x88, 0x55, 0xf3, 0x12, 0xf7, 0xfa, 0x8c, 0xb8, 0xd2, 0xd7, 0x58, 0x51, 0xc8, 0x0b, 0xf1, + 0x9a, 0x28, 0xcc, 0xc6, 0x6f, 0x79, 0xb4, 0xb4, 0x43, 0xdb, 0xdb, 0xd4, 0xb7, 0x1d, 0xee, 0x50, + 0x1f, 0x5f, 0x47, 0xf3, 0xbc, 0x1b, 0x80, 0x3c, 0x9a, 0x92, 0x71, 0x25, 0x49, 0xe8, 0xa0, 0x1b, + 0xc0, 0x49, 0xaf, 0x5e, 0xc9, 0xda, 0x0a, 0x19, 0x91, 0xd6, 0xf8, 0x41, 0x9a, 0x64, 0x4e, 0xfa, + 0xdd, 0x1e, 0x0e, 0x77, 0xd2, 0xab, 0x9f, 0x4a, 0x07, 0x3d, 0xc5, 0x1c, 0x4e, 0x0f, 0x1f, 0xa2, + 0x65, 0xd7, 0x64, 0x7c, 0x3f, 0xa4, 0x6d, 0x38, 0x70, 0x3c, 0x50, 0x67, 0xf0, 0xfe, 0x29, 0x15, + 0xcb, 0x70, 0x52, 0x17, 0x2e, 0xc6, 0xaa, 0xca, 0x65, 0x79, 0x37, 0x8b, 0x44, 0x86, 0x81, 0xf1, + 0x57, 0x08, 0x0b, 0xc1, 0x41, 0x68, 0xfa, 0x2c, 0xde, 0x9d, 0x08, 0x37, 0x3f, 0x7b, 0xb8, 0x35, + 0x15, 0x0e, 0xef, 0x8e, 0xc1, 0x91, 0x09, 0x21, 0xf0, 0xbb, 0x68, 0x21, 0x04, 0x93, 0x51, 0xbf, + 0x5a, 0x90, 0x47, 0x97, 0x56, 0x8a, 0x48, 0x29, 0x51, 0x5a, 0x7c, 0x15, 0x2d, 0x7a, 0xc0, 0x98, + 0xd9, 0x81, 0xea, 0x82, 0x34, 0xbc, 0xa0, 0x0c, 0x17, 0xf7, 0x62, 0x31, 0x49, 0xf4, 0x8d, 0x17, + 0x1a, 0x5a, 0xdc, 0xa1, 0xed, 0x5d, 0x87, 0x71, 0xfc, 0x78, 0x8c, 0xee, 0xcd, 0x33, 0xee, 0x46, + 0xb8, 0x4b, 0xd6, 0x57, 0x54, 0xa0, 0x62, 0x22, 0xc9, 0x70, 0xbe, 0x85, 0x0a, 0x0e, 0x07, 0x4f, + 0xd4, 0x3d, 0xbf, 0x5e, 0xde, 0xd2, 0x67, 0x23, 0xa7, 0xb1, 0xac, 0xa0, 0x0b, 0x77, 0x05, 0x08, + 0x89, 0xb1, 0x1a, 0x2f, 0xf2, 0x32, 0x7f, 0x71, 0x09, 0xf0, 0x26, 0x2a, 0x07, 0x66, 0x68, 0xba, + 0x2e, 0xb8, 0x0e, 0xf3, 0xe4, 0x16, 0x0a, 0xc6, 0x85, 0x7e, 0xaf, 0x5e, 0xde, 0x1f, 0x88, 0x49, + 0xd6, 0x46, 0xb8, 0x58, 0xd4, 0x0b, 0x5c, 0x10, 0x67, 0x1c, 0x33, 0x52, 0xb9, 0x6c, 0x0f, 0xc4, + 0x24, 0x6b, 0x83, 0xef, 0xa1, 0x55, 0xd3, 0xe2, 0xce, 0x31, 0x7c, 0x0a, 0xa6, 0xed, 0x3a, 0x3e, + 0xb4, 0xc0, 0xa2, 0xbe, 0x1d, 0xdf, 0xb9, 0xbc, 0xf1, 0xff, 0x7e, 0xaf, 0xbe, 0xfa, 0xc9, 0x24, + 0x03, 0x32, 0xd9, 0x0f, 0xb7, 0x51, 0x91, 0x81, 0x0b, 0x16, 0xa7, 0xa1, 0x22, 0xd1, 0xcd, 0x19, + 0x8e, 0x66, 0xd7, 0x6c, 0x83, 0xdb, 0x52, 0xfe, 0xc6, 0x92, 0x38, 0xfb, 0x64, 0x45, 0x52, 0x5c, + 0x7c, 0x0b, 0xad, 0x78, 0xa6, 0x1f, 0x99, 0xa9, 0xa5, 0x64, 0x50, 0xd1, 0xc0, 0xfd, 0x5e, 0x7d, + 0x65, 0x6f, 0x48, 0x43, 0x46, 0x2c, 0xf1, 0x97, 0xa8, 0xc8, 0xc1, 0x0b, 0x5c, 0x93, 0xc7, 0x74, + 0x2a, 0x6f, 0x6d, 0x9c, 0xde, 0x05, 0xf7, 0xa9, 0x7d, 0xa0, 0x1c, 0x64, 0xab, 0x4a, 0x49, 0x91, + 0x48, 0x49, 0x0a, 0xd8, 0xf8, 0x29, 0x8f, 0x4a, 0x69, 0xeb, 0xc1, 0x47, 0x08, 0x59, 0xc9, 0xf5, + 0x66, 0x55, 0x4d, 0xf2, 0xe4, 0xc6, 0x6c, 0x3c, 0x49, 0xdb, 0xc3, 0xa0, 0x03, 0xa7, 0x22, 0x46, + 0x32, 0xf0, 0xf8, 0x21, 0x2a, 0x31, 0x6e, 0x86, 0x5c, 0xde, 0xde, 0xdc, 0xec, 0xb7, 0x77, 0xb9, + 0xdf, 0xab, 0x97, 0x5a, 0x09, 0x02, 0x19, 0x80, 0xe1, 0x0e, 0x5a, 0x19, 0x30, 0xe6, 0xbc, 0xbd, + 0x48, 0x96, 0x66, 0x7b, 0x08, 0x86, 0x8c, 0xc0, 0x8a, 0x86, 0x10, 0x73, 0x4a, 0x12, 0xa7, 0x30, + 0x68, 0x08, 0x31, 0x01, 0x89, 0xd2, 0xe2, 0x26, 0x2a, 0xb1, 0xc8, 0xb2, 0x00, 0x6c, 0xb0, 0x65, + 0xe5, 0x0b, 0xc6, 0x45, 0x65, 0x5a, 0x6a, 0x25, 0x0a, 0x32, 0xb0, 0x11, 0xc0, 0x4f, 0x4c, 0xc7, + 0x05, 0x5b, 0x56, 0x3c, 0x03, 0xfc, 0x99, 0x94, 0x12, 0xa5, 0x6d, 0xfc, 0xaa, 0xa1, 0xf2, 0x0e, + 0x6d, 0x27, 0x85, 0x7d, 0x83, 0x2f, 0xe6, 0x61, 0x86, 0x85, 0x71, 0xb1, 0x6e, 0xcd, 0x46, 0x8c, + 0x33, 0x53, 0xf2, 0x67, 0x0d, 0x5d, 0x18, 0xb1, 0xff, 0xaf, 0x4d, 0x02, 0x8d, 0x5e, 0x0e, 0x2d, + 0x0f, 0x75, 0x06, 0xfc, 0x5c, 0x43, 0x65, 0x4f, 0x00, 0x48, 0x71, 0x72, 0xb9, 0xee, 0x9e, 0xb7, + 0xd3, 0xe8, 0x7b, 0x03, 0xac, 0x3b, 0x3e, 0x0f, 0xbb, 0xc6, 0xff, 0x54, 0x1a, 0xe5, 0x8c, 0x86, + 0x64, 0x43, 0xe2, 0x6f, 0x34, 0x54, 0x91, 0xeb, 0x3b, 0x5f, 0x07, 0x21, 0x30, 0xa6, 0x5a, 0xae, + 0xc8, 0x63, 0xfb, 0xbc, 0x79, 0x10, 0x78, 0x16, 0x39, 0x21, 0x78, 0xe0, 0x73, 0xa3, 0xaa, 0x32, + 0xa8, 0xec, 0x8d, 0x04, 0x21, 0x63, 0x61, 0xd7, 0x6e, 0xa3, 0xca, 0xe8, 0x0e, 0x70, 0x05, 0xe5, + 0x8f, 0xa0, 0x1b, 0x8f, 0x33, 0x44, 0x7c, 0xe2, 0x4b, 0xa8, 0x70, 0x6c, 0xba, 0x51, 0xcc, 0xb8, + 0x12, 0x89, 0x17, 0xb7, 0x72, 0x37, 0xb5, 0xc6, 0x0f, 0x1a, 0xaa, 0x4e, 0x4b, 0x04, 0xbf, 0x9d, + 0x01, 0x32, 0xca, 0x2a, 0xab, 0xfc, 0xe7, 0xd0, 0x8d, 0x51, 0xef, 0xa0, 0x22, 0x0d, 0xc4, 0xc0, + 0x49, 0x43, 0x35, 0x03, 0x5d, 0x4d, 0xe8, 0x78, 0x4f, 0xc9, 0x4f, 0x7a, 0xf5, 0xd5, 0x21, 0xf8, + 0x44, 0x41, 0x52, 0x57, 0xdc, 0x40, 0x0b, 0x32, 0x1f, 0xf1, 0xf2, 0xe4, 0xd7, 0x4b, 0x06, 0x12, + 0xf7, 0xf3, 0x81, 0x94, 0x10, 0xa5, 0x69, 0xfc, 0x98, 0x43, 0x4b, 0x2d, 0xeb, 0x10, 0xec, 0xc8, + 0x05, 0xfb, 0xcd, 0x8e, 0xb4, 0x8f, 0x87, 0x88, 0xfc, 0xd1, 0x0c, 0x05, 0xcd, 0x26, 0x38, 0x75, + 0xb6, 0x85, 0x91, 0xd9, 0xf6, 0xe3, 0xf3, 0x06, 0x38, 0x7d, 0xc8, 0xfd, 0x45, 0x43, 0x95, 0xac, + 0xf9, 0xbf, 0x31, 0x18, 0x3d, 0x1a, 0x1e, 0x8c, 0x6e, 0x9c, 0x73, 0x67, 0x53, 0x26, 0xa4, 0x6f, + 0xf3, 0xc3, 0x3b, 0x92, 0xfd, 0xec, 0x1a, 0x2a, 0x32, 0x25, 0x53, 0x34, 0x4d, 0x13, 0x4c, 0x6c, + 0x49, 0x6a, 0x81, 0xef, 0xa3, 0xcb, 0xf2, 0x71, 0x73, 0xfc, 0xce, 0xe8, 0xd0, 0x93, 0x93, 0x43, + 0xcf, 0x5b, 0xfd, 0x5e, 0xfd, 0x72, 0x6b, 0xb2, 0x09, 0x99, 0xe6, 0x8b, 0x1f, 0xa1, 0x8b, 0x16, + 0xf5, 0xad, 0x28, 0x0c, 0xc1, 0xb7, 0xba, 0xfb, 0xd4, 0x75, 0xac, 0xae, 0xac, 0x6e, 0xc9, 0xd0, + 0x55, 0x36, 0x17, 0xb7, 0x47, 0x0d, 0x4e, 0x26, 0x09, 0xc9, 0x38, 0x10, 0x7e, 0x07, 0x2d, 0xb2, + 0x88, 0x05, 0xe0, 0xdb, 0xf2, 0x71, 0x2c, 0x1a, 0x65, 0x31, 0x00, 0xb7, 0x62, 0x11, 0x49, 0x74, + 0xf8, 0x19, 0x2a, 0x3f, 0x1d, 0x34, 0x7b, 0xf9, 0x38, 0xfe, 0xb3, 0xa7, 0x25, 0xed, 0x83, 0x19, + 0x05, 0xc9, 0xc6, 0x68, 0xfc, 0xa1, 0x21, 0x3c, 0x4e, 0x49, 0x7c, 0x3f, 0x7d, 0xcc, 0xe3, 0xde, + 0xbc, 0x71, 0x96, 0x8b, 0x49, 0xe0, 0x09, 0x88, 0x5d, 0xc3, 0xd4, 0xb7, 0xdf, 0x43, 0x15, 0xf1, + 0x2b, 0x91, 0x04, 0x3c, 0xef, 0xbf, 0xca, 0x25, 0xd1, 0x58, 0x77, 0x47, 0x80, 0xc8, 0x18, 0xb4, + 0xf1, 0xde, 0xcb, 0xd7, 0xb5, 0xb9, 0x57, 0xaf, 0x6b, 0x73, 0xbf, 0xbf, 0xae, 0xcd, 0x3d, 0xef, + 0xd7, 0xb4, 0x97, 0xfd, 0x9a, 0xf6, 0xaa, 0x5f, 0xd3, 0xfe, 0xec, 0xd7, 0xb4, 0xef, 0xfe, 0xaa, + 0xcd, 0x7d, 0x51, 0x4c, 0x8e, 0xee, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x67, 0x5d, 0xb9, 0x32, + 0xf8, 0x10, 0x00, 0x00, } diff --git a/pkg/apis/batch/v2alpha1/generated.proto b/pkg/apis/batch/v2alpha1/generated.proto index ebc58b082eb..fe8172f8a75 100644 --- a/pkg/apis/batch/v2alpha1/generated.proto +++ b/pkg/apis/batch/v2alpha1/generated.proto @@ -112,7 +112,7 @@ message JobSpec { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; + optional LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -191,6 +191,39 @@ message JobTemplateSpec { optional JobSpec spec = 2; } +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +message LabelSelector { + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + map matchLabels = 1; + + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + repeated LabelSelectorRequirement matchExpressions = 2; +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +message LabelSelectorRequirement { + // key is the label key that the selector applies to. + optional string key = 1; + + // operator represents a key's relationship to a set of values. + // Valid operators ard In, NotIn, Exists and DoesNotExist. + optional string operator = 2; + + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + repeated string values = 3; +} + // ScheduledJob represents the configuration of a single scheduled job. message ScheduledJob { // Standard object's metadata. diff --git a/pkg/apis/batch/v2alpha1/types.generated.go b/pkg/apis/batch/v2alpha1/types.generated.go index b6aa0a5ff01..b2d4e8f28e6 100644 --- a/pkg/apis/batch/v2alpha1/types.generated.go +++ b/pkg/apis/batch/v2alpha1/types.generated.go @@ -1414,13 +1414,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym124 := z.EncBinary() - _ = yym124 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1433,13 +1427,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym125 := z.EncBinary() - _ = yym125 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } } @@ -1449,12 +1437,12 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy127 := *x.ManualSelector - yym128 := z.EncBinary() - _ = yym128 + yy125 := *x.ManualSelector + yym126 := z.EncBinary() + _ = yym126 if false { } else { - r.EncodeBool(bool(yy127)) + r.EncodeBool(bool(yy125)) } } } else { @@ -1468,26 +1456,26 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy129 := *x.ManualSelector - yym130 := z.EncBinary() - _ = yym130 + yy127 := *x.ManualSelector + yym128 := z.EncBinary() + _ = yym128 if false { } else { - r.EncodeBool(bool(yy129)) + r.EncodeBool(bool(yy127)) } } } } if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy132 := &x.Template - yy132.CodecEncodeSelf(e) + yy130 := &x.Template + yy130.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy133 := &x.Template - yy133.CodecEncodeSelf(e) + yy131 := &x.Template + yy131.CodecEncodeSelf(e) } if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -1502,25 +1490,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym134 := z.DecBinary() - _ = yym134 + yym132 := z.DecBinary() + _ = yym132 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct135 := r.ContainerType() - if yyct135 == codecSelferValueTypeMap1234 { - yyl135 := r.ReadMapStart() - if yyl135 == 0 { + yyct133 := r.ContainerType() + if yyct133 == codecSelferValueTypeMap1234 { + yyl133 := r.ReadMapStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl135, d) + x.codecDecodeSelfFromMap(yyl133, d) } - } else if yyct135 == codecSelferValueTypeArray1234 { - yyl135 := r.ReadArrayStart() - if yyl135 == 0 { + } else if yyct133 == codecSelferValueTypeArray1234 { + yyl133 := r.ReadArrayStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl135, d) + x.codecDecodeSelfFromArray(yyl133, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1532,12 +1520,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys136Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys136Slc - var yyhl136 bool = l >= 0 - for yyj136 := 0; ; yyj136++ { - if yyhl136 { - if yyj136 >= l { + var yys134Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys134Slc + var yyhl134 bool = l >= 0 + for yyj134 := 0; ; yyj134++ { + if yyhl134 { + if yyj134 >= l { break } } else { @@ -1546,10 +1534,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys136Slc = r.DecodeBytes(yys136Slc, true, true) - yys136 := string(yys136Slc) + yys134Slc = r.DecodeBytes(yys134Slc, true, true) + yys134 := string(yys134Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys136 { + switch yys134 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1559,8 +1547,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym138 := z.DecBinary() - _ = yym138 + yym136 := z.DecBinary() + _ = yym136 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1575,8 +1563,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym140 := z.DecBinary() - _ = yym140 + yym138 := z.DecBinary() + _ = yym138 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1591,8 +1579,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym142 := z.DecBinary() - _ = yym142 + yym140 := z.DecBinary() + _ = yym140 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1605,15 +1593,9 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym144 := z.DecBinary() - _ = yym144 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } case "manualSelector": if r.TryDecodeAsNil() { @@ -1624,8 +1606,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym146 := z.DecBinary() - _ = yym146 + yym143 := z.DecBinary() + _ = yym143 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1635,13 +1617,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv147 := &x.Template - yyv147.CodecDecodeSelf(d) + yyv144 := &x.Template + yyv144.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys136) - } // end switch yys136 - } // end for yyj136 + z.DecStructFieldNotFound(-1, yys134) + } // end switch yys134 + } // end for yyj134 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1649,16 +1631,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj148 int - var yyb148 bool - var yyhl148 bool = l >= 0 - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + var yyj145 int + var yyb145 bool + var yyhl145 bool = l >= 0 + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb148 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb148 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1671,20 +1653,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym150 := z.DecBinary() - _ = yym150 + yym147 := z.DecBinary() + _ = yym147 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb148 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb148 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1697,20 +1679,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym152 := z.DecBinary() - _ = yym152 + yym149 := z.DecBinary() + _ = yym149 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb148 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb148 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1723,20 +1705,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym154 := z.DecBinary() - _ = yym154 + yym151 := z.DecBinary() + _ = yym151 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb148 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb148 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1747,23 +1729,17 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym156 := z.DecBinary() - _ = yym156 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb148 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb148 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1776,20 +1752,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym158 := z.DecBinary() - _ = yym158 + yym154 := z.DecBinary() + _ = yym154 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb148 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb148 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1797,21 +1773,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv159 := &x.Template - yyv159.CodecDecodeSelf(d) + yyv155 := &x.Template + yyv155.CodecDecodeSelf(d) } for { - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb148 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb148 { + if yyb145 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj148-1, "") + z.DecStructFieldNotFound(yyj145-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1823,43 +1799,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym160 := z.EncBinary() - _ = yym160 + yym156 := z.EncBinary() + _ = yym156 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep161 := !z.EncBinary() - yy2arr161 := z.EncBasicHandle().StructToArray - var yyq161 [6]bool - _, _, _ = yysep161, yyq161, yy2arr161 - const yyr161 bool = false - yyq161[0] = len(x.Conditions) != 0 - yyq161[1] = x.StartTime != nil - yyq161[2] = x.CompletionTime != nil - yyq161[3] = x.Active != 0 - yyq161[4] = x.Succeeded != 0 - yyq161[5] = x.Failed != 0 - var yynn161 int - if yyr161 || yy2arr161 { + yysep157 := !z.EncBinary() + yy2arr157 := z.EncBasicHandle().StructToArray + var yyq157 [6]bool + _, _, _ = yysep157, yyq157, yy2arr157 + const yyr157 bool = false + yyq157[0] = len(x.Conditions) != 0 + yyq157[1] = x.StartTime != nil + yyq157[2] = x.CompletionTime != nil + yyq157[3] = x.Active != 0 + yyq157[4] = x.Succeeded != 0 + yyq157[5] = x.Failed != 0 + var yynn157 int + if yyr157 || yy2arr157 { r.EncodeArrayStart(6) } else { - yynn161 = 0 - for _, b := range yyq161 { + yynn157 = 0 + for _, b := range yyq157 { if b { - yynn161++ + yynn157++ } } - r.EncodeMapStart(yynn161) - yynn161 = 0 + r.EncodeMapStart(yynn157) + yynn157 = 0 } - if yyr161 || yy2arr161 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[0] { + if yyq157[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym163 := z.EncBinary() - _ = yym163 + yym159 := z.EncBinary() + _ = yym159 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1869,15 +1845,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq161[0] { + if yyq157[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym164 := z.EncBinary() - _ = yym164 + yym160 := z.EncBinary() + _ = yym160 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1885,19 +1861,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr161 || yy2arr161 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[1] { + if yyq157[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym166 := z.EncBinary() - _ = yym166 + yym162 := z.EncBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym166 { + } else if yym162 { z.EncBinaryMarshal(x.StartTime) - } else if !yym166 && z.IsJSONHandle() { + } else if !yym162 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1907,20 +1883,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq161[1] { + if yyq157[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym167 := z.EncBinary() - _ = yym167 + yym163 := z.EncBinary() + _ = yym163 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym167 { + } else if yym163 { z.EncBinaryMarshal(x.StartTime) - } else if !yym167 && z.IsJSONHandle() { + } else if !yym163 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1928,19 +1904,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr161 || yy2arr161 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[2] { + if yyq157[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym169 := z.EncBinary() - _ = yym169 + yym165 := z.EncBinary() + _ = yym165 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym169 { + } else if yym165 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym169 && z.IsJSONHandle() { + } else if !yym165 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1950,20 +1926,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq161[2] { + if yyq157[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym170 := z.EncBinary() - _ = yym170 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym170 { + } else if yym166 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym170 && z.IsJSONHandle() { + } else if !yym166 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1971,82 +1947,82 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr161 || yy2arr161 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[3] { + if yyq157[3] { + yym168 := z.EncBinary() + _ = yym168 + if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq157[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("active")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym169 := z.EncBinary() + _ = yym169 + if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } + } + if yyr157 || yy2arr157 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq157[4] { + yym171 := z.EncBinary() + _ = yym171 + if false { + } else { + r.EncodeInt(int64(x.Succeeded)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq157[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("succeeded")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym172 := z.EncBinary() _ = yym172 if false { } else { - r.EncodeInt(int64(x.Active)) + r.EncodeInt(int64(x.Succeeded)) + } + } + } + if yyr157 || yy2arr157 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq157[5] { + yym174 := z.EncBinary() + _ = yym174 + if false { + } else { + r.EncodeInt(int64(x.Failed)) } } else { r.EncodeInt(0) } } else { - if yyq161[3] { + if yyq157[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("active")) + r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym173 := z.EncBinary() - _ = yym173 - if false { - } else { - r.EncodeInt(int64(x.Active)) - } - } - } - if yyr161 || yy2arr161 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[4] { yym175 := z.EncBinary() _ = yym175 if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq161[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("succeeded")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym176 := z.EncBinary() - _ = yym176 - if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } - } - if yyr161 || yy2arr161 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[5] { - yym178 := z.EncBinary() - _ = yym178 - if false { - } else { - r.EncodeInt(int64(x.Failed)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq161[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("failed")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym179 := z.EncBinary() - _ = yym179 - if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr161 || yy2arr161 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2059,25 +2035,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym180 := z.DecBinary() - _ = yym180 + yym176 := z.DecBinary() + _ = yym176 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct181 := r.ContainerType() - if yyct181 == codecSelferValueTypeMap1234 { - yyl181 := r.ReadMapStart() - if yyl181 == 0 { + yyct177 := r.ContainerType() + if yyct177 == codecSelferValueTypeMap1234 { + yyl177 := r.ReadMapStart() + if yyl177 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl181, d) + x.codecDecodeSelfFromMap(yyl177, d) } - } else if yyct181 == codecSelferValueTypeArray1234 { - yyl181 := r.ReadArrayStart() - if yyl181 == 0 { + } else if yyct177 == codecSelferValueTypeArray1234 { + yyl177 := r.ReadArrayStart() + if yyl177 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl181, d) + x.codecDecodeSelfFromArray(yyl177, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2089,12 +2065,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys182Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys182Slc - var yyhl182 bool = l >= 0 - for yyj182 := 0; ; yyj182++ { - if yyhl182 { - if yyj182 >= l { + var yys178Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys178Slc + var yyhl178 bool = l >= 0 + for yyj178 := 0; ; yyj178++ { + if yyhl178 { + if yyj178 >= l { break } } else { @@ -2103,20 +2079,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys182Slc = r.DecodeBytes(yys182Slc, true, true) - yys182 := string(yys182Slc) + yys178Slc = r.DecodeBytes(yys178Slc, true, true) + yys178 := string(yys178Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys182 { + switch yys178 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv183 := &x.Conditions - yym184 := z.DecBinary() - _ = yym184 + yyv179 := &x.Conditions + yym180 := z.DecBinary() + _ = yym180 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv183), d) + h.decSliceJobCondition((*[]JobCondition)(yyv179), d) } } case "startTime": @@ -2128,13 +2104,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym186 := z.DecBinary() - _ = yym186 + yym182 := z.DecBinary() + _ = yym182 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym186 { + } else if yym182 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym186 && z.IsJSONHandle() { + } else if !yym182 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -2149,13 +2125,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym188 := z.DecBinary() - _ = yym188 + yym184 := z.DecBinary() + _ = yym184 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym188 { + } else if yym184 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym188 && z.IsJSONHandle() { + } else if !yym184 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -2180,9 +2156,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys182) - } // end switch yys182 - } // end for yyj182 + z.DecStructFieldNotFound(-1, yys178) + } // end switch yys178 + } // end for yyj178 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2190,16 +2166,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj192 int - var yyb192 bool - var yyhl192 bool = l >= 0 - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + var yyj188 int + var yyb188 bool + var yyhl188 bool = l >= 0 + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb192 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb192 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2207,21 +2183,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv193 := &x.Conditions - yym194 := z.DecBinary() - _ = yym194 + yyv189 := &x.Conditions + yym190 := z.DecBinary() + _ = yym190 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv193), d) + h.decSliceJobCondition((*[]JobCondition)(yyv189), d) } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb192 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb192 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2234,25 +2210,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym196 := z.DecBinary() - _ = yym196 + yym192 := z.DecBinary() + _ = yym192 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym196 { + } else if yym192 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym196 && z.IsJSONHandle() { + } else if !yym192 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb192 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb192 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2265,25 +2241,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym198 := z.DecBinary() - _ = yym198 + yym194 := z.DecBinary() + _ = yym194 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym198 { + } else if yym194 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym198 && z.IsJSONHandle() { + } else if !yym194 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb192 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb192 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2293,13 +2269,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb192 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb192 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2309,13 +2285,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb192 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb192 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2326,17 +2302,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb192 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb192 { + if yyb188 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj192-1, "") + z.DecStructFieldNotFound(yyj188-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2345,8 +2321,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym202 := z.EncBinary() - _ = yym202 + yym198 := z.EncBinary() + _ = yym198 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2358,8 +2334,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym203 := z.DecBinary() - _ = yym203 + yym199 := z.DecBinary() + _ = yym199 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2374,34 +2350,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym204 := z.EncBinary() - _ = yym204 + yym200 := z.EncBinary() + _ = yym200 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep205 := !z.EncBinary() - yy2arr205 := z.EncBasicHandle().StructToArray - var yyq205 [6]bool - _, _, _ = yysep205, yyq205, yy2arr205 - const yyr205 bool = false - yyq205[2] = true - yyq205[3] = true - yyq205[4] = x.Reason != "" - yyq205[5] = x.Message != "" - var yynn205 int - if yyr205 || yy2arr205 { + yysep201 := !z.EncBinary() + yy2arr201 := z.EncBasicHandle().StructToArray + var yyq201 [6]bool + _, _, _ = yysep201, yyq201, yy2arr201 + const yyr201 bool = false + yyq201[2] = true + yyq201[3] = true + yyq201[4] = x.Reason != "" + yyq201[5] = x.Message != "" + var yynn201 int + if yyr201 || yy2arr201 { r.EncodeArrayStart(6) } else { - yynn205 = 2 - for _, b := range yyq205 { + yynn201 = 2 + for _, b := range yyq201 { if b { - yynn205++ + yynn201++ } } - r.EncodeMapStart(yynn205) - yynn205 = 0 + r.EncodeMapStart(yynn201) + yynn201 = 0 } - if yyr205 || yy2arr205 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -2410,10 +2386,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr205 || yy2arr205 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym208 := z.EncBinary() - _ = yym208 + yym204 := z.EncBinary() + _ = yym204 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -2423,139 +2399,139 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym209 := z.EncBinary() - _ = yym209 + yym205 := z.EncBinary() + _ = yym205 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr205 || yy2arr205 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[2] { - yy211 := &x.LastProbeTime - yym212 := z.EncBinary() - _ = yym212 + if yyq201[2] { + yy207 := &x.LastProbeTime + yym208 := z.EncBinary() + _ = yym208 if false { - } else if z.HasExtensions() && z.EncExt(yy211) { - } else if yym212 { - z.EncBinaryMarshal(yy211) - } else if !yym212 && z.IsJSONHandle() { - z.EncJSONMarshal(yy211) + } else if z.HasExtensions() && z.EncExt(yy207) { + } else if yym208 { + z.EncBinaryMarshal(yy207) + } else if !yym208 && z.IsJSONHandle() { + z.EncJSONMarshal(yy207) } else { - z.EncFallback(yy211) + z.EncFallback(yy207) } } else { r.EncodeNil() } } else { - if yyq205[2] { + if yyq201[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy213 := &x.LastProbeTime - yym214 := z.EncBinary() - _ = yym214 + yy209 := &x.LastProbeTime + yym210 := z.EncBinary() + _ = yym210 if false { - } else if z.HasExtensions() && z.EncExt(yy213) { - } else if yym214 { - z.EncBinaryMarshal(yy213) - } else if !yym214 && z.IsJSONHandle() { - z.EncJSONMarshal(yy213) + } else if z.HasExtensions() && z.EncExt(yy209) { + } else if yym210 { + z.EncBinaryMarshal(yy209) + } else if !yym210 && z.IsJSONHandle() { + z.EncJSONMarshal(yy209) } else { - z.EncFallback(yy213) + z.EncFallback(yy209) } } } - if yyr205 || yy2arr205 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[3] { - yy216 := &x.LastTransitionTime - yym217 := z.EncBinary() - _ = yym217 + if yyq201[3] { + yy212 := &x.LastTransitionTime + yym213 := z.EncBinary() + _ = yym213 if false { - } else if z.HasExtensions() && z.EncExt(yy216) { - } else if yym217 { - z.EncBinaryMarshal(yy216) - } else if !yym217 && z.IsJSONHandle() { - z.EncJSONMarshal(yy216) + } else if z.HasExtensions() && z.EncExt(yy212) { + } else if yym213 { + z.EncBinaryMarshal(yy212) + } else if !yym213 && z.IsJSONHandle() { + z.EncJSONMarshal(yy212) } else { - z.EncFallback(yy216) + z.EncFallback(yy212) } } else { r.EncodeNil() } } else { - if yyq205[3] { + if yyq201[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy218 := &x.LastTransitionTime - yym219 := z.EncBinary() - _ = yym219 + yy214 := &x.LastTransitionTime + yym215 := z.EncBinary() + _ = yym215 if false { - } else if z.HasExtensions() && z.EncExt(yy218) { - } else if yym219 { - z.EncBinaryMarshal(yy218) - } else if !yym219 && z.IsJSONHandle() { - z.EncJSONMarshal(yy218) + } else if z.HasExtensions() && z.EncExt(yy214) { + } else if yym215 { + z.EncBinaryMarshal(yy214) + } else if !yym215 && z.IsJSONHandle() { + z.EncJSONMarshal(yy214) } else { - z.EncFallback(yy218) + z.EncFallback(yy214) } } } - if yyr205 || yy2arr205 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[4] { + if yyq201[4] { + yym217 := z.EncBinary() + _ = yym217 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq201[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym218 := z.EncBinary() + _ = yym218 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr201 || yy2arr201 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq201[5] { + yym220 := z.EncBinary() + _ = yym220 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq201[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym221 := z.EncBinary() _ = yym221 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq205[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym222 := z.EncBinary() - _ = yym222 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr205 || yy2arr205 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[5] { - yym224 := z.EncBinary() - _ = yym224 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq205[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym225 := z.EncBinary() - _ = yym225 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr205 || yy2arr205 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2568,25 +2544,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym226 := z.DecBinary() - _ = yym226 + yym222 := z.DecBinary() + _ = yym222 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct227 := r.ContainerType() - if yyct227 == codecSelferValueTypeMap1234 { - yyl227 := r.ReadMapStart() - if yyl227 == 0 { + yyct223 := r.ContainerType() + if yyct223 == codecSelferValueTypeMap1234 { + yyl223 := r.ReadMapStart() + if yyl223 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl227, d) + x.codecDecodeSelfFromMap(yyl223, d) } - } else if yyct227 == codecSelferValueTypeArray1234 { - yyl227 := r.ReadArrayStart() - if yyl227 == 0 { + } else if yyct223 == codecSelferValueTypeArray1234 { + yyl223 := r.ReadArrayStart() + if yyl223 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl227, d) + x.codecDecodeSelfFromArray(yyl223, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2598,12 +2574,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys228Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys228Slc - var yyhl228 bool = l >= 0 - for yyj228 := 0; ; yyj228++ { - if yyhl228 { - if yyj228 >= l { + var yys224Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys224Slc + var yyhl224 bool = l >= 0 + for yyj224 := 0; ; yyj224++ { + if yyhl224 { + if yyj224 >= l { break } } else { @@ -2612,10 +2588,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys228Slc = r.DecodeBytes(yys228Slc, true, true) - yys228 := string(yys228Slc) + yys224Slc = r.DecodeBytes(yys224Slc, true, true) + yys224 := string(yys224Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys228 { + switch yys224 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2632,34 +2608,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv231 := &x.LastProbeTime - yym232 := z.DecBinary() - _ = yym232 + yyv227 := &x.LastProbeTime + yym228 := z.DecBinary() + _ = yym228 if false { - } else if z.HasExtensions() && z.DecExt(yyv231) { - } else if yym232 { - z.DecBinaryUnmarshal(yyv231) - } else if !yym232 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv231) + } else if z.HasExtensions() && z.DecExt(yyv227) { + } else if yym228 { + z.DecBinaryUnmarshal(yyv227) + } else if !yym228 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv227) } else { - z.DecFallback(yyv231, false) + z.DecFallback(yyv227, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv233 := &x.LastTransitionTime - yym234 := z.DecBinary() - _ = yym234 + yyv229 := &x.LastTransitionTime + yym230 := z.DecBinary() + _ = yym230 if false { - } else if z.HasExtensions() && z.DecExt(yyv233) { - } else if yym234 { - z.DecBinaryUnmarshal(yyv233) - } else if !yym234 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv233) + } else if z.HasExtensions() && z.DecExt(yyv229) { + } else if yym230 { + z.DecBinaryUnmarshal(yyv229) + } else if !yym230 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv229) } else { - z.DecFallback(yyv233, false) + z.DecFallback(yyv229, false) } } case "reason": @@ -2675,9 +2651,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys228) - } // end switch yys228 - } // end for yyj228 + z.DecStructFieldNotFound(-1, yys224) + } // end switch yys224 + } // end for yyj224 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2685,16 +2661,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj237 int - var yyb237 bool - var yyhl237 bool = l >= 0 - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + var yyj233 int + var yyb233 bool + var yyhl233 bool = l >= 0 + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb237 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb237 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2704,13 +2680,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb237 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb237 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2720,13 +2696,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb237 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb237 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2734,26 +2710,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv240 := &x.LastProbeTime - yym241 := z.DecBinary() - _ = yym241 + yyv236 := &x.LastProbeTime + yym237 := z.DecBinary() + _ = yym237 if false { - } else if z.HasExtensions() && z.DecExt(yyv240) { - } else if yym241 { - z.DecBinaryUnmarshal(yyv240) - } else if !yym241 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv240) + } else if z.HasExtensions() && z.DecExt(yyv236) { + } else if yym237 { + z.DecBinaryUnmarshal(yyv236) + } else if !yym237 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv236) } else { - z.DecFallback(yyv240, false) + z.DecFallback(yyv236, false) } } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb237 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb237 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2761,26 +2737,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv242 := &x.LastTransitionTime - yym243 := z.DecBinary() - _ = yym243 + yyv238 := &x.LastTransitionTime + yym239 := z.DecBinary() + _ = yym239 if false { - } else if z.HasExtensions() && z.DecExt(yyv242) { - } else if yym243 { - z.DecBinaryUnmarshal(yyv242) - } else if !yym243 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv242) + } else if z.HasExtensions() && z.DecExt(yyv238) { + } else if yym239 { + z.DecBinaryUnmarshal(yyv238) + } else if !yym239 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv238) } else { - z.DecFallback(yyv242, false) + z.DecFallback(yyv238, false) } } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb237 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb237 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2790,13 +2766,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb237 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb237 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2807,17 +2783,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb237 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb237 { + if yyb233 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj237-1, "") + z.DecStructFieldNotFound(yyj233-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2829,136 +2805,136 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym246 := z.EncBinary() - _ = yym246 + yym242 := z.EncBinary() + _ = yym242 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep247 := !z.EncBinary() - yy2arr247 := z.EncBasicHandle().StructToArray - var yyq247 [5]bool - _, _, _ = yysep247, yyq247, yy2arr247 - const yyr247 bool = false - yyq247[0] = x.Kind != "" - yyq247[1] = x.APIVersion != "" - yyq247[2] = true - yyq247[3] = true - yyq247[4] = true - var yynn247 int - if yyr247 || yy2arr247 { + yysep243 := !z.EncBinary() + yy2arr243 := z.EncBasicHandle().StructToArray + var yyq243 [5]bool + _, _, _ = yysep243, yyq243, yy2arr243 + const yyr243 bool = false + yyq243[0] = x.Kind != "" + yyq243[1] = x.APIVersion != "" + yyq243[2] = true + yyq243[3] = true + yyq243[4] = true + var yynn243 int + if yyr243 || yy2arr243 { r.EncodeArrayStart(5) } else { - yynn247 = 0 - for _, b := range yyq247 { + yynn243 = 0 + for _, b := range yyq243 { if b { - yynn247++ + yynn243++ } } - r.EncodeMapStart(yynn247) - yynn247 = 0 + r.EncodeMapStart(yynn243) + yynn243 = 0 } - if yyr247 || yy2arr247 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[0] { + if yyq243[0] { + yym245 := z.EncBinary() + _ = yym245 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq243[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym246 := z.EncBinary() + _ = yym246 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr243 || yy2arr243 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq243[1] { + yym248 := z.EncBinary() + _ = yym248 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq243[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym249 := z.EncBinary() _ = yym249 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq247[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym250 := z.EncBinary() - _ = yym250 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr247 || yy2arr247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[1] { - yym252 := z.EncBinary() - _ = yym252 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq247[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym253 := z.EncBinary() - _ = yym253 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr247 || yy2arr247 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[2] { - yy255 := &x.ObjectMeta - yy255.CodecEncodeSelf(e) + if yyq243[2] { + yy251 := &x.ObjectMeta + yy251.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq247[2] { + if yyq243[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy256 := &x.ObjectMeta - yy256.CodecEncodeSelf(e) + yy252 := &x.ObjectMeta + yy252.CodecEncodeSelf(e) } } - if yyr247 || yy2arr247 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[3] { - yy258 := &x.Spec - yy258.CodecEncodeSelf(e) + if yyq243[3] { + yy254 := &x.Spec + yy254.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq247[3] { + if yyq243[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy259 := &x.Spec - yy259.CodecEncodeSelf(e) + yy255 := &x.Spec + yy255.CodecEncodeSelf(e) } } - if yyr247 || yy2arr247 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[4] { - yy261 := &x.Status - yy261.CodecEncodeSelf(e) + if yyq243[4] { + yy257 := &x.Status + yy257.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq247[4] { + if yyq243[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy262 := &x.Status - yy262.CodecEncodeSelf(e) + yy258 := &x.Status + yy258.CodecEncodeSelf(e) } } - if yyr247 || yy2arr247 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2971,25 +2947,25 @@ func (x *ScheduledJob) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym263 := z.DecBinary() - _ = yym263 + yym259 := z.DecBinary() + _ = yym259 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct264 := r.ContainerType() - if yyct264 == codecSelferValueTypeMap1234 { - yyl264 := r.ReadMapStart() - if yyl264 == 0 { + yyct260 := r.ContainerType() + if yyct260 == codecSelferValueTypeMap1234 { + yyl260 := r.ReadMapStart() + if yyl260 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl264, d) + x.codecDecodeSelfFromMap(yyl260, d) } - } else if yyct264 == codecSelferValueTypeArray1234 { - yyl264 := r.ReadArrayStart() - if yyl264 == 0 { + } else if yyct260 == codecSelferValueTypeArray1234 { + yyl260 := r.ReadArrayStart() + if yyl260 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl264, d) + x.codecDecodeSelfFromArray(yyl260, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3001,12 +2977,12 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys265Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys265Slc - var yyhl265 bool = l >= 0 - for yyj265 := 0; ; yyj265++ { - if yyhl265 { - if yyj265 >= l { + var yys261Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys261Slc + var yyhl261 bool = l >= 0 + for yyj261 := 0; ; yyj261++ { + if yyhl261 { + if yyj261 >= l { break } } else { @@ -3015,10 +2991,10 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys265Slc = r.DecodeBytes(yys265Slc, true, true) - yys265 := string(yys265Slc) + yys261Slc = r.DecodeBytes(yys261Slc, true, true) + yys261 := string(yys261Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys265 { + switch yys261 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3035,27 +3011,27 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv268 := &x.ObjectMeta - yyv268.CodecDecodeSelf(d) + yyv264 := &x.ObjectMeta + yyv264.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ScheduledJobSpec{} } else { - yyv269 := &x.Spec - yyv269.CodecDecodeSelf(d) + yyv265 := &x.Spec + yyv265.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ScheduledJobStatus{} } else { - yyv270 := &x.Status - yyv270.CodecDecodeSelf(d) + yyv266 := &x.Status + yyv266.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys265) - } // end switch yys265 - } // end for yyj265 + z.DecStructFieldNotFound(-1, yys261) + } // end switch yys261 + } // end for yyj261 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3063,16 +3039,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj271 int - var yyb271 bool - var yyhl271 bool = l >= 0 - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + var yyj267 int + var yyb267 bool + var yyhl267 bool = l >= 0 + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb271 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb271 { + if yyb267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3082,13 +3058,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb271 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb271 { + if yyb267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3098,13 +3074,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb271 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb271 { + if yyb267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3112,16 +3088,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv274 := &x.ObjectMeta - yyv274.CodecDecodeSelf(d) + yyv270 := &x.ObjectMeta + yyv270.CodecDecodeSelf(d) } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb271 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb271 { + if yyb267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3129,16 +3105,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ScheduledJobSpec{} } else { - yyv275 := &x.Spec - yyv275.CodecDecodeSelf(d) + yyv271 := &x.Spec + yyv271.CodecDecodeSelf(d) } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb271 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb271 { + if yyb267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3146,21 +3122,21 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ScheduledJobStatus{} } else { - yyv276 := &x.Status - yyv276.CodecDecodeSelf(d) + yyv272 := &x.Status + yyv272.CodecDecodeSelf(d) } for { - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb271 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb271 { + if yyb267 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj271-1, "") + z.DecStructFieldNotFound(yyj267-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3172,118 +3148,118 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym277 := z.EncBinary() - _ = yym277 + yym273 := z.EncBinary() + _ = yym273 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep278 := !z.EncBinary() - yy2arr278 := z.EncBasicHandle().StructToArray - var yyq278 [4]bool - _, _, _ = yysep278, yyq278, yy2arr278 - const yyr278 bool = false - yyq278[0] = x.Kind != "" - yyq278[1] = x.APIVersion != "" - yyq278[2] = true - var yynn278 int - if yyr278 || yy2arr278 { + yysep274 := !z.EncBinary() + yy2arr274 := z.EncBasicHandle().StructToArray + var yyq274 [4]bool + _, _, _ = yysep274, yyq274, yy2arr274 + const yyr274 bool = false + yyq274[0] = x.Kind != "" + yyq274[1] = x.APIVersion != "" + yyq274[2] = true + var yynn274 int + if yyr274 || yy2arr274 { r.EncodeArrayStart(4) } else { - yynn278 = 1 - for _, b := range yyq278 { + yynn274 = 1 + for _, b := range yyq274 { if b { - yynn278++ + yynn274++ } } - r.EncodeMapStart(yynn278) - yynn278 = 0 + r.EncodeMapStart(yynn274) + yynn274 = 0 } - if yyr278 || yy2arr278 { + if yyr274 || yy2arr274 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq278[0] { + if yyq274[0] { + yym276 := z.EncBinary() + _ = yym276 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq274[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym277 := z.EncBinary() + _ = yym277 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr274 || yy2arr274 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq274[1] { + yym279 := z.EncBinary() + _ = yym279 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq274[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym280 := z.EncBinary() _ = yym280 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq278[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym281 := z.EncBinary() - _ = yym281 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr278 || yy2arr278 { + if yyr274 || yy2arr274 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq278[1] { + if yyq274[2] { + yy282 := &x.ListMeta yym283 := z.EncBinary() _ = yym283 if false { + } else if z.HasExtensions() && z.EncExt(yy282) { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq278[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym284 := z.EncBinary() - _ = yym284 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr278 || yy2arr278 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq278[2] { - yy286 := &x.ListMeta - yym287 := z.EncBinary() - _ = yym287 - if false { - } else if z.HasExtensions() && z.EncExt(yy286) { - } else { - z.EncFallback(yy286) + z.EncFallback(yy282) } } else { r.EncodeNil() } } else { - if yyq278[2] { + if yyq274[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy288 := &x.ListMeta - yym289 := z.EncBinary() - _ = yym289 + yy284 := &x.ListMeta + yym285 := z.EncBinary() + _ = yym285 if false { - } else if z.HasExtensions() && z.EncExt(yy288) { + } else if z.HasExtensions() && z.EncExt(yy284) { } else { - z.EncFallback(yy288) + z.EncFallback(yy284) } } } - if yyr278 || yy2arr278 { + if yyr274 || yy2arr274 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym291 := z.EncBinary() - _ = yym291 + yym287 := z.EncBinary() + _ = yym287 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) @@ -3296,15 +3272,15 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym292 := z.EncBinary() - _ = yym292 + yym288 := z.EncBinary() + _ = yym288 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) } } } - if yyr278 || yy2arr278 { + if yyr274 || yy2arr274 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3317,25 +3293,25 @@ func (x *ScheduledJobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym293 := z.DecBinary() - _ = yym293 + yym289 := z.DecBinary() + _ = yym289 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct294 := r.ContainerType() - if yyct294 == codecSelferValueTypeMap1234 { - yyl294 := r.ReadMapStart() - if yyl294 == 0 { + yyct290 := r.ContainerType() + if yyct290 == codecSelferValueTypeMap1234 { + yyl290 := r.ReadMapStart() + if yyl290 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl294, d) + x.codecDecodeSelfFromMap(yyl290, d) } - } else if yyct294 == codecSelferValueTypeArray1234 { - yyl294 := r.ReadArrayStart() - if yyl294 == 0 { + } else if yyct290 == codecSelferValueTypeArray1234 { + yyl290 := r.ReadArrayStart() + if yyl290 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl294, d) + x.codecDecodeSelfFromArray(yyl290, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3347,12 +3323,12 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys295Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys295Slc - var yyhl295 bool = l >= 0 - for yyj295 := 0; ; yyj295++ { - if yyhl295 { - if yyj295 >= l { + var yys291Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys291Slc + var yyhl291 bool = l >= 0 + for yyj291 := 0; ; yyj291++ { + if yyhl291 { + if yyj291 >= l { break } } else { @@ -3361,10 +3337,10 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys295Slc = r.DecodeBytes(yys295Slc, true, true) - yys295 := string(yys295Slc) + yys291Slc = r.DecodeBytes(yys291Slc, true, true) + yys291 := string(yys291Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys295 { + switch yys291 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3381,31 +3357,31 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv298 := &x.ListMeta - yym299 := z.DecBinary() - _ = yym299 + yyv294 := &x.ListMeta + yym295 := z.DecBinary() + _ = yym295 if false { - } else if z.HasExtensions() && z.DecExt(yyv298) { + } else if z.HasExtensions() && z.DecExt(yyv294) { } else { - z.DecFallback(yyv298, false) + z.DecFallback(yyv294, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv300 := &x.Items - yym301 := z.DecBinary() - _ = yym301 + yyv296 := &x.Items + yym297 := z.DecBinary() + _ = yym297 if false { } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv300), d) + h.decSliceScheduledJob((*[]ScheduledJob)(yyv296), d) } } default: - z.DecStructFieldNotFound(-1, yys295) - } // end switch yys295 - } // end for yyj295 + z.DecStructFieldNotFound(-1, yys291) + } // end switch yys291 + } // end for yyj291 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3413,16 +3389,16 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj302 int - var yyb302 bool - var yyhl302 bool = l >= 0 - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + var yyj298 int + var yyb298 bool + var yyhl298 bool = l >= 0 + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l } else { - yyb302 = r.CheckBreak() + yyb298 = r.CheckBreak() } - if yyb302 { + if yyb298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3432,13 +3408,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l } else { - yyb302 = r.CheckBreak() + yyb298 = r.CheckBreak() } - if yyb302 { + if yyb298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3448,13 +3424,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l } else { - yyb302 = r.CheckBreak() + yyb298 = r.CheckBreak() } - if yyb302 { + if yyb298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3462,22 +3438,22 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv305 := &x.ListMeta - yym306 := z.DecBinary() - _ = yym306 + yyv301 := &x.ListMeta + yym302 := z.DecBinary() + _ = yym302 if false { - } else if z.HasExtensions() && z.DecExt(yyv305) { + } else if z.HasExtensions() && z.DecExt(yyv301) { } else { - z.DecFallback(yyv305, false) + z.DecFallback(yyv301, false) } } - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l } else { - yyb302 = r.CheckBreak() + yyb298 = r.CheckBreak() } - if yyb302 { + if yyb298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3485,26 +3461,26 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv307 := &x.Items - yym308 := z.DecBinary() - _ = yym308 + yyv303 := &x.Items + yym304 := z.DecBinary() + _ = yym304 if false { } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv307), d) + h.decSliceScheduledJob((*[]ScheduledJob)(yyv303), d) } } for { - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l } else { - yyb302 = r.CheckBreak() + yyb298 = r.CheckBreak() } - if yyb302 { + if yyb298 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj302-1, "") + z.DecStructFieldNotFound(yyj298-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3516,36 +3492,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym309 := z.EncBinary() - _ = yym309 + yym305 := z.EncBinary() + _ = yym305 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep310 := !z.EncBinary() - yy2arr310 := z.EncBasicHandle().StructToArray - var yyq310 [5]bool - _, _, _ = yysep310, yyq310, yy2arr310 - const yyr310 bool = false - yyq310[1] = x.StartingDeadlineSeconds != nil - yyq310[2] = x.ConcurrencyPolicy != "" - yyq310[3] = x.Suspend != nil - var yynn310 int - if yyr310 || yy2arr310 { + yysep306 := !z.EncBinary() + yy2arr306 := z.EncBasicHandle().StructToArray + var yyq306 [5]bool + _, _, _ = yysep306, yyq306, yy2arr306 + const yyr306 bool = false + yyq306[1] = x.StartingDeadlineSeconds != nil + yyq306[2] = x.ConcurrencyPolicy != "" + yyq306[3] = x.Suspend != nil + var yynn306 int + if yyr306 || yy2arr306 { r.EncodeArrayStart(5) } else { - yynn310 = 2 - for _, b := range yyq310 { + yynn306 = 2 + for _, b := range yyq306 { if b { - yynn310++ + yynn306++ } } - r.EncodeMapStart(yynn310) - yynn310 = 0 + r.EncodeMapStart(yynn306) + yynn306 = 0 } - if yyr310 || yy2arr310 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym312 := z.EncBinary() - _ = yym312 + yym308 := z.EncBinary() + _ = yym308 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) @@ -3554,110 +3530,110 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym313 := z.EncBinary() - _ = yym313 + yym309 := z.EncBinary() + _ = yym309 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) } } - if yyr310 || yy2arr310 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq310[1] { + if yyq306[1] { if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy315 := *x.StartingDeadlineSeconds - yym316 := z.EncBinary() - _ = yym316 + yy311 := *x.StartingDeadlineSeconds + yym312 := z.EncBinary() + _ = yym312 if false { } else { - r.EncodeInt(int64(yy315)) + r.EncodeInt(int64(yy311)) } } } else { r.EncodeNil() } } else { - if yyq310[1] { + if yyq306[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startingDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy317 := *x.StartingDeadlineSeconds - yym318 := z.EncBinary() - _ = yym318 + yy313 := *x.StartingDeadlineSeconds + yym314 := z.EncBinary() + _ = yym314 if false { } else { - r.EncodeInt(int64(yy317)) + r.EncodeInt(int64(yy313)) } } } } - if yyr310 || yy2arr310 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq310[2] { + if yyq306[2] { x.ConcurrencyPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq310[2] { + if yyq306[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrencyPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ConcurrencyPolicy.CodecEncodeSelf(e) } } - if yyr310 || yy2arr310 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq310[3] { + if yyq306[3] { if x.Suspend == nil { r.EncodeNil() } else { - yy321 := *x.Suspend - yym322 := z.EncBinary() - _ = yym322 + yy317 := *x.Suspend + yym318 := z.EncBinary() + _ = yym318 if false { } else { - r.EncodeBool(bool(yy321)) + r.EncodeBool(bool(yy317)) } } } else { r.EncodeNil() } } else { - if yyq310[3] { + if yyq306[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Suspend == nil { r.EncodeNil() } else { - yy323 := *x.Suspend - yym324 := z.EncBinary() - _ = yym324 + yy319 := *x.Suspend + yym320 := z.EncBinary() + _ = yym320 if false { } else { - r.EncodeBool(bool(yy323)) + r.EncodeBool(bool(yy319)) } } } } - if yyr310 || yy2arr310 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy326 := &x.JobTemplate - yy326.CodecEncodeSelf(e) + yy322 := &x.JobTemplate + yy322.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("jobTemplate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy327 := &x.JobTemplate - yy327.CodecEncodeSelf(e) + yy323 := &x.JobTemplate + yy323.CodecEncodeSelf(e) } - if yyr310 || yy2arr310 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3670,25 +3646,25 @@ func (x *ScheduledJobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym328 := z.DecBinary() - _ = yym328 + yym324 := z.DecBinary() + _ = yym324 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct329 := r.ContainerType() - if yyct329 == codecSelferValueTypeMap1234 { - yyl329 := r.ReadMapStart() - if yyl329 == 0 { + yyct325 := r.ContainerType() + if yyct325 == codecSelferValueTypeMap1234 { + yyl325 := r.ReadMapStart() + if yyl325 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl329, d) + x.codecDecodeSelfFromMap(yyl325, d) } - } else if yyct329 == codecSelferValueTypeArray1234 { - yyl329 := r.ReadArrayStart() - if yyl329 == 0 { + } else if yyct325 == codecSelferValueTypeArray1234 { + yyl325 := r.ReadArrayStart() + if yyl325 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl329, d) + x.codecDecodeSelfFromArray(yyl325, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3700,12 +3676,12 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys330Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys330Slc - var yyhl330 bool = l >= 0 - for yyj330 := 0; ; yyj330++ { - if yyhl330 { - if yyj330 >= l { + var yys326Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys326Slc + var yyhl326 bool = l >= 0 + for yyj326 := 0; ; yyj326++ { + if yyhl326 { + if yyj326 >= l { break } } else { @@ -3714,10 +3690,10 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys330Slc = r.DecodeBytes(yys330Slc, true, true) - yys330 := string(yys330Slc) + yys326Slc = r.DecodeBytes(yys326Slc, true, true) + yys326 := string(yys326Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys330 { + switch yys326 { case "schedule": if r.TryDecodeAsNil() { x.Schedule = "" @@ -3733,8 +3709,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym333 := z.DecBinary() - _ = yym333 + yym329 := z.DecBinary() + _ = yym329 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -3755,8 +3731,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Suspend == nil { x.Suspend = new(bool) } - yym336 := z.DecBinary() - _ = yym336 + yym332 := z.DecBinary() + _ = yym332 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() @@ -3766,13 +3742,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv337 := &x.JobTemplate - yyv337.CodecDecodeSelf(d) + yyv333 := &x.JobTemplate + yyv333.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys330) - } // end switch yys330 - } // end for yyj330 + z.DecStructFieldNotFound(-1, yys326) + } // end switch yys326 + } // end for yyj326 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3780,16 +3756,16 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj338 int - var yyb338 bool - var yyhl338 bool = l >= 0 - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + var yyj334 int + var yyb334 bool + var yyhl334 bool = l >= 0 + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb338 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb338 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3799,13 +3775,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Schedule = string(r.DecodeString()) } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb338 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb338 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3818,20 +3794,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym341 := z.DecBinary() - _ = yym341 + yym337 := z.DecBinary() + _ = yym337 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb338 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb338 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3841,13 +3817,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ConcurrencyPolicy = ConcurrencyPolicy(r.DecodeString()) } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb338 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb338 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3860,20 +3836,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Suspend == nil { x.Suspend = new(bool) } - yym344 := z.DecBinary() - _ = yym344 + yym340 := z.DecBinary() + _ = yym340 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() } } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb338 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb338 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3881,21 +3857,21 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv345 := &x.JobTemplate - yyv345.CodecDecodeSelf(d) + yyv341 := &x.JobTemplate + yyv341.CodecDecodeSelf(d) } for { - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb338 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb338 { + if yyb334 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj338-1, "") + z.DecStructFieldNotFound(yyj334-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3904,8 +3880,8 @@ func (x ConcurrencyPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym346 := z.EncBinary() - _ = yym346 + yym342 := z.EncBinary() + _ = yym342 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -3917,8 +3893,8 @@ func (x *ConcurrencyPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym347 := z.DecBinary() - _ = yym347 + yym343 := z.DecBinary() + _ = yym343 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -3933,39 +3909,39 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym348 := z.EncBinary() - _ = yym348 + yym344 := z.EncBinary() + _ = yym344 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep349 := !z.EncBinary() - yy2arr349 := z.EncBasicHandle().StructToArray - var yyq349 [2]bool - _, _, _ = yysep349, yyq349, yy2arr349 - const yyr349 bool = false - yyq349[0] = len(x.Active) != 0 - yyq349[1] = x.LastScheduleTime != nil - var yynn349 int - if yyr349 || yy2arr349 { + yysep345 := !z.EncBinary() + yy2arr345 := z.EncBasicHandle().StructToArray + var yyq345 [2]bool + _, _, _ = yysep345, yyq345, yy2arr345 + const yyr345 bool = false + yyq345[0] = len(x.Active) != 0 + yyq345[1] = x.LastScheduleTime != nil + var yynn345 int + if yyr345 || yy2arr345 { r.EncodeArrayStart(2) } else { - yynn349 = 0 - for _, b := range yyq349 { + yynn345 = 0 + for _, b := range yyq345 { if b { - yynn349++ + yynn345++ } } - r.EncodeMapStart(yynn349) - yynn349 = 0 + r.EncodeMapStart(yynn345) + yynn345 = 0 } - if yyr349 || yy2arr349 { + if yyr345 || yy2arr345 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq349[0] { + if yyq345[0] { if x.Active == nil { r.EncodeNil() } else { - yym351 := z.EncBinary() - _ = yym351 + yym347 := z.EncBinary() + _ = yym347 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3975,15 +3951,15 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq349[0] { + if yyq345[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Active == nil { r.EncodeNil() } else { - yym352 := z.EncBinary() - _ = yym352 + yym348 := z.EncBinary() + _ = yym348 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3991,19 +3967,19 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr349 || yy2arr349 { + if yyr345 || yy2arr345 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq349[1] { + if yyq345[1] { if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym354 := z.EncBinary() - _ = yym354 + yym350 := z.EncBinary() + _ = yym350 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym354 { + } else if yym350 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym354 && z.IsJSONHandle() { + } else if !yym350 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4013,20 +3989,20 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq349[1] { + if yyq345[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScheduleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym355 := z.EncBinary() - _ = yym355 + yym351 := z.EncBinary() + _ = yym351 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym355 { + } else if yym351 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym355 && z.IsJSONHandle() { + } else if !yym351 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4034,7 +4010,7 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr349 || yy2arr349 { + if yyr345 || yy2arr345 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4047,25 +4023,25 @@ func (x *ScheduledJobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym356 := z.DecBinary() - _ = yym356 + yym352 := z.DecBinary() + _ = yym352 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct357 := r.ContainerType() - if yyct357 == codecSelferValueTypeMap1234 { - yyl357 := r.ReadMapStart() - if yyl357 == 0 { + yyct353 := r.ContainerType() + if yyct353 == codecSelferValueTypeMap1234 { + yyl353 := r.ReadMapStart() + if yyl353 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl357, d) + x.codecDecodeSelfFromMap(yyl353, d) } - } else if yyct357 == codecSelferValueTypeArray1234 { - yyl357 := r.ReadArrayStart() - if yyl357 == 0 { + } else if yyct353 == codecSelferValueTypeArray1234 { + yyl353 := r.ReadArrayStart() + if yyl353 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl357, d) + x.codecDecodeSelfFromArray(yyl353, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4077,12 +4053,12 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys358Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys358Slc - var yyhl358 bool = l >= 0 - for yyj358 := 0; ; yyj358++ { - if yyhl358 { - if yyj358 >= l { + var yys354Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys354Slc + var yyhl354 bool = l >= 0 + for yyj354 := 0; ; yyj354++ { + if yyhl354 { + if yyj354 >= l { break } } else { @@ -4091,20 +4067,20 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys358Slc = r.DecodeBytes(yys358Slc, true, true) - yys358 := string(yys358Slc) + yys354Slc = r.DecodeBytes(yys354Slc, true, true) + yys354 := string(yys354Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys358 { + switch yys354 { case "active": if r.TryDecodeAsNil() { x.Active = nil } else { - yyv359 := &x.Active - yym360 := z.DecBinary() - _ = yym360 + yyv355 := &x.Active + yym356 := z.DecBinary() + _ = yym356 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv359), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv355), d) } } case "lastScheduleTime": @@ -4116,22 +4092,22 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym362 := z.DecBinary() - _ = yym362 + yym358 := z.DecBinary() + _ = yym358 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym362 { + } else if yym358 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym362 && z.IsJSONHandle() { + } else if !yym358 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } default: - z.DecStructFieldNotFound(-1, yys358) - } // end switch yys358 - } // end for yyj358 + z.DecStructFieldNotFound(-1, yys354) + } // end switch yys354 + } // end for yyj354 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4139,16 +4115,16 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj363 int - var yyb363 bool - var yyhl363 bool = l >= 0 - yyj363++ - if yyhl363 { - yyb363 = yyj363 > l + var yyj359 int + var yyb359 bool + var yyhl359 bool = l >= 0 + yyj359++ + if yyhl359 { + yyb359 = yyj359 > l } else { - yyb363 = r.CheckBreak() + yyb359 = r.CheckBreak() } - if yyb363 { + if yyb359 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4156,21 +4132,21 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Active = nil } else { - yyv364 := &x.Active - yym365 := z.DecBinary() - _ = yym365 + yyv360 := &x.Active + yym361 := z.DecBinary() + _ = yym361 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv364), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv360), d) } } - yyj363++ - if yyhl363 { - yyb363 = yyj363 > l + yyj359++ + if yyhl359 { + yyb359 = yyj359 > l } else { - yyb363 = r.CheckBreak() + yyb359 = r.CheckBreak() } - if yyb363 { + if yyb359 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4183,43 +4159,587 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym367 := z.DecBinary() - _ = yym367 + yym363 := z.DecBinary() + _ = yym363 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym367 { + } else if yym363 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym367 && z.IsJSONHandle() { + } else if !yym363 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } for { - yyj363++ - if yyhl363 { - yyb363 = yyj363 > l + yyj359++ + if yyhl359 { + yyb359 = yyj359 > l } else { - yyb363 = r.CheckBreak() + yyb359 = r.CheckBreak() } - if yyb363 { + if yyb359 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj363-1, "") + z.DecStructFieldNotFound(yyj359-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym364 := z.EncBinary() + _ = yym364 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep365 := !z.EncBinary() + yy2arr365 := z.EncBasicHandle().StructToArray + var yyq365 [2]bool + _, _, _ = yysep365, yyq365, yy2arr365 + const yyr365 bool = false + yyq365[0] = len(x.MatchLabels) != 0 + yyq365[1] = len(x.MatchExpressions) != 0 + var yynn365 int + if yyr365 || yy2arr365 { + r.EncodeArrayStart(2) + } else { + yynn365 = 0 + for _, b := range yyq365 { + if b { + yynn365++ + } + } + r.EncodeMapStart(yynn365) + yynn365 = 0 + } + if yyr365 || yy2arr365 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq365[0] { + if x.MatchLabels == nil { + r.EncodeNil() + } else { + yym367 := z.EncBinary() + _ = yym367 + if false { + } else { + z.F.EncMapStringStringV(x.MatchLabels, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq365[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MatchLabels == nil { + r.EncodeNil() + } else { + yym368 := z.EncBinary() + _ = yym368 + if false { + } else { + z.F.EncMapStringStringV(x.MatchLabels, false, e) + } + } + } + } + if yyr365 || yy2arr365 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq365[1] { + if x.MatchExpressions == nil { + r.EncodeNil() + } else { + yym370 := z.EncBinary() + _ = yym370 + if false { + } else { + h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq365[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MatchExpressions == nil { + r.EncodeNil() + } else { + yym371 := z.EncBinary() + _ = yym371 + if false { + } else { + h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) + } + } + } + } + if yyr365 || yy2arr365 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym372 := z.DecBinary() + _ = yym372 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct373 := r.ContainerType() + if yyct373 == codecSelferValueTypeMap1234 { + yyl373 := r.ReadMapStart() + if yyl373 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl373, d) + } + } else if yyct373 == codecSelferValueTypeArray1234 { + yyl373 := r.ReadArrayStart() + if yyl373 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl373, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys374Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys374Slc + var yyhl374 bool = l >= 0 + for yyj374 := 0; ; yyj374++ { + if yyhl374 { + if yyj374 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys374Slc = r.DecodeBytes(yys374Slc, true, true) + yys374 := string(yys374Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys374 { + case "matchLabels": + if r.TryDecodeAsNil() { + x.MatchLabels = nil + } else { + yyv375 := &x.MatchLabels + yym376 := z.DecBinary() + _ = yym376 + if false { + } else { + z.F.DecMapStringStringX(yyv375, false, d) + } + } + case "matchExpressions": + if r.TryDecodeAsNil() { + x.MatchExpressions = nil + } else { + yyv377 := &x.MatchExpressions + yym378 := z.DecBinary() + _ = yym378 + if false { + } else { + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv377), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys374) + } // end switch yys374 + } // end for yyj374 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj379 int + var yyb379 bool + var yyhl379 bool = l >= 0 + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l + } else { + yyb379 = r.CheckBreak() + } + if yyb379 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MatchLabels = nil + } else { + yyv380 := &x.MatchLabels + yym381 := z.DecBinary() + _ = yym381 + if false { + } else { + z.F.DecMapStringStringX(yyv380, false, d) + } + } + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l + } else { + yyb379 = r.CheckBreak() + } + if yyb379 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MatchExpressions = nil + } else { + yyv382 := &x.MatchExpressions + yym383 := z.DecBinary() + _ = yym383 + if false { + } else { + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv382), d) + } + } + for { + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l + } else { + yyb379 = r.CheckBreak() + } + if yyb379 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj379-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym384 := z.EncBinary() + _ = yym384 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep385 := !z.EncBinary() + yy2arr385 := z.EncBasicHandle().StructToArray + var yyq385 [3]bool + _, _, _ = yysep385, yyq385, yy2arr385 + const yyr385 bool = false + yyq385[2] = len(x.Values) != 0 + var yynn385 int + if yyr385 || yy2arr385 { + r.EncodeArrayStart(3) + } else { + yynn385 = 2 + for _, b := range yyq385 { + if b { + yynn385++ + } + } + r.EncodeMapStart(yynn385) + yynn385 = 0 + } + if yyr385 || yy2arr385 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym387 := z.EncBinary() + _ = yym387 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym388 := z.EncBinary() + _ = yym388 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr385 || yy2arr385 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Operator.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("operator")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Operator.CodecEncodeSelf(e) + } + if yyr385 || yy2arr385 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq385[2] { + if x.Values == nil { + r.EncodeNil() + } else { + yym391 := z.EncBinary() + _ = yym391 + if false { + } else { + z.F.EncSliceStringV(x.Values, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq385[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("values")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Values == nil { + r.EncodeNil() + } else { + yym392 := z.EncBinary() + _ = yym392 + if false { + } else { + z.F.EncSliceStringV(x.Values, false, e) + } + } + } + } + if yyr385 || yy2arr385 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym393 := z.DecBinary() + _ = yym393 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct394 := r.ContainerType() + if yyct394 == codecSelferValueTypeMap1234 { + yyl394 := r.ReadMapStart() + if yyl394 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl394, d) + } + } else if yyct394 == codecSelferValueTypeArray1234 { + yyl394 := r.ReadArrayStart() + if yyl394 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl394, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys395Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys395Slc + var yyhl395 bool = l >= 0 + for yyj395 := 0; ; yyj395++ { + if yyhl395 { + if yyj395 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys395Slc = r.DecodeBytes(yys395Slc, true, true) + yys395 := string(yys395Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys395 { + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + case "operator": + if r.TryDecodeAsNil() { + x.Operator = "" + } else { + x.Operator = LabelSelectorOperator(r.DecodeString()) + } + case "values": + if r.TryDecodeAsNil() { + x.Values = nil + } else { + yyv398 := &x.Values + yym399 := z.DecBinary() + _ = yym399 + if false { + } else { + z.F.DecSliceStringX(yyv398, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys395) + } // end switch yys395 + } // end for yyj395 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj400 int + var yyb400 bool + var yyhl400 bool = l >= 0 + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l + } else { + yyb400 = r.CheckBreak() + } + if yyb400 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l + } else { + yyb400 = r.CheckBreak() + } + if yyb400 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Operator = "" + } else { + x.Operator = LabelSelectorOperator(r.DecodeString()) + } + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l + } else { + yyb400 = r.CheckBreak() + } + if yyb400 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Values = nil + } else { + yyv403 := &x.Values + yym404 := z.DecBinary() + _ = yym404 + if false { + } else { + z.F.DecSliceStringX(yyv403, false, d) + } + } + for { + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l + } else { + yyb400 = r.CheckBreak() + } + if yyb400 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj400-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym405 := z.EncBinary() + _ = yym405 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym406 := z.DecBinary() + _ = yym406 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + 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 _, yyv368 := range v { + for _, yyv407 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy369 := &yyv368 - yy369.CodecEncodeSelf(e) + yy408 := &yyv407 + yy408.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4229,83 +4749,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv370 := *v - yyh370, yyl370 := z.DecSliceHelperStart() - var yyc370 bool - if yyl370 == 0 { - if yyv370 == nil { - yyv370 = []Job{} - yyc370 = true - } else if len(yyv370) != 0 { - yyv370 = yyv370[:0] - yyc370 = true + yyv409 := *v + yyh409, yyl409 := z.DecSliceHelperStart() + var yyc409 bool + if yyl409 == 0 { + if yyv409 == nil { + yyv409 = []Job{} + yyc409 = true + } else if len(yyv409) != 0 { + yyv409 = yyv409[:0] + yyc409 = true } - } else if yyl370 > 0 { - var yyrr370, yyrl370 int - var yyrt370 bool - if yyl370 > cap(yyv370) { + } else if yyl409 > 0 { + var yyrr409, yyrl409 int + var yyrt409 bool + if yyl409 > cap(yyv409) { - yyrg370 := len(yyv370) > 0 - yyv2370 := yyv370 - yyrl370, yyrt370 = z.DecInferLen(yyl370, z.DecBasicHandle().MaxInitLen, 824) - if yyrt370 { - if yyrl370 <= cap(yyv370) { - yyv370 = yyv370[:yyrl370] + yyrg409 := len(yyv409) > 0 + yyv2409 := yyv409 + yyrl409, yyrt409 = z.DecInferLen(yyl409, z.DecBasicHandle().MaxInitLen, 824) + if yyrt409 { + if yyrl409 <= cap(yyv409) { + yyv409 = yyv409[:yyrl409] } else { - yyv370 = make([]Job, yyrl370) + yyv409 = make([]Job, yyrl409) } } else { - yyv370 = make([]Job, yyrl370) + yyv409 = make([]Job, yyrl409) } - yyc370 = true - yyrr370 = len(yyv370) - if yyrg370 { - copy(yyv370, yyv2370) + yyc409 = true + yyrr409 = len(yyv409) + if yyrg409 { + copy(yyv409, yyv2409) } - } else if yyl370 != len(yyv370) { - yyv370 = yyv370[:yyl370] - yyc370 = true + } else if yyl409 != len(yyv409) { + yyv409 = yyv409[:yyl409] + yyc409 = true } - yyj370 := 0 - for ; yyj370 < yyrr370; yyj370++ { - yyh370.ElemContainerState(yyj370) + yyj409 := 0 + for ; yyj409 < yyrr409; yyj409++ { + yyh409.ElemContainerState(yyj409) if r.TryDecodeAsNil() { - yyv370[yyj370] = Job{} + yyv409[yyj409] = Job{} } else { - yyv371 := &yyv370[yyj370] - yyv371.CodecDecodeSelf(d) + yyv410 := &yyv409[yyj409] + yyv410.CodecDecodeSelf(d) } } - if yyrt370 { - for ; yyj370 < yyl370; yyj370++ { - yyv370 = append(yyv370, Job{}) - yyh370.ElemContainerState(yyj370) + if yyrt409 { + for ; yyj409 < yyl409; yyj409++ { + yyv409 = append(yyv409, Job{}) + yyh409.ElemContainerState(yyj409) if r.TryDecodeAsNil() { - yyv370[yyj370] = Job{} + yyv409[yyj409] = Job{} } else { - yyv372 := &yyv370[yyj370] - yyv372.CodecDecodeSelf(d) + yyv411 := &yyv409[yyj409] + yyv411.CodecDecodeSelf(d) } } } } else { - yyj370 := 0 - for ; !r.CheckBreak(); yyj370++ { + yyj409 := 0 + for ; !r.CheckBreak(); yyj409++ { - if yyj370 >= len(yyv370) { - yyv370 = append(yyv370, Job{}) // var yyz370 Job - yyc370 = true + if yyj409 >= len(yyv409) { + yyv409 = append(yyv409, Job{}) // var yyz409 Job + yyc409 = true } - yyh370.ElemContainerState(yyj370) - if yyj370 < len(yyv370) { + yyh409.ElemContainerState(yyj409) + if yyj409 < len(yyv409) { if r.TryDecodeAsNil() { - yyv370[yyj370] = Job{} + yyv409[yyj409] = Job{} } else { - yyv373 := &yyv370[yyj370] - yyv373.CodecDecodeSelf(d) + yyv412 := &yyv409[yyj409] + yyv412.CodecDecodeSelf(d) } } else { @@ -4313,17 +4833,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj370 < len(yyv370) { - yyv370 = yyv370[:yyj370] - yyc370 = true - } else if yyj370 == 0 && yyv370 == nil { - yyv370 = []Job{} - yyc370 = true + if yyj409 < len(yyv409) { + yyv409 = yyv409[:yyj409] + yyc409 = true + } else if yyj409 == 0 && yyv409 == nil { + yyv409 = []Job{} + yyc409 = true } } - yyh370.End() - if yyc370 { - *v = yyv370 + yyh409.End() + if yyc409 { + *v = yyv409 } } @@ -4332,10 +4852,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv374 := range v { + for _, yyv413 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy375 := &yyv374 - yy375.CodecEncodeSelf(e) + yy414 := &yyv413 + yy414.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4345,83 +4865,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv376 := *v - yyh376, yyl376 := z.DecSliceHelperStart() - var yyc376 bool - if yyl376 == 0 { - if yyv376 == nil { - yyv376 = []JobCondition{} - yyc376 = true - } else if len(yyv376) != 0 { - yyv376 = yyv376[:0] - yyc376 = true + yyv415 := *v + yyh415, yyl415 := z.DecSliceHelperStart() + var yyc415 bool + if yyl415 == 0 { + if yyv415 == nil { + yyv415 = []JobCondition{} + yyc415 = true + } else if len(yyv415) != 0 { + yyv415 = yyv415[:0] + yyc415 = true } - } else if yyl376 > 0 { - var yyrr376, yyrl376 int - var yyrt376 bool - if yyl376 > cap(yyv376) { + } else if yyl415 > 0 { + var yyrr415, yyrl415 int + var yyrt415 bool + if yyl415 > cap(yyv415) { - yyrg376 := len(yyv376) > 0 - yyv2376 := yyv376 - yyrl376, yyrt376 = z.DecInferLen(yyl376, z.DecBasicHandle().MaxInitLen, 112) - if yyrt376 { - if yyrl376 <= cap(yyv376) { - yyv376 = yyv376[:yyrl376] + yyrg415 := len(yyv415) > 0 + yyv2415 := yyv415 + yyrl415, yyrt415 = z.DecInferLen(yyl415, z.DecBasicHandle().MaxInitLen, 112) + if yyrt415 { + if yyrl415 <= cap(yyv415) { + yyv415 = yyv415[:yyrl415] } else { - yyv376 = make([]JobCondition, yyrl376) + yyv415 = make([]JobCondition, yyrl415) } } else { - yyv376 = make([]JobCondition, yyrl376) + yyv415 = make([]JobCondition, yyrl415) } - yyc376 = true - yyrr376 = len(yyv376) - if yyrg376 { - copy(yyv376, yyv2376) + yyc415 = true + yyrr415 = len(yyv415) + if yyrg415 { + copy(yyv415, yyv2415) } - } else if yyl376 != len(yyv376) { - yyv376 = yyv376[:yyl376] - yyc376 = true + } else if yyl415 != len(yyv415) { + yyv415 = yyv415[:yyl415] + yyc415 = true } - yyj376 := 0 - for ; yyj376 < yyrr376; yyj376++ { - yyh376.ElemContainerState(yyj376) + yyj415 := 0 + for ; yyj415 < yyrr415; yyj415++ { + yyh415.ElemContainerState(yyj415) if r.TryDecodeAsNil() { - yyv376[yyj376] = JobCondition{} + yyv415[yyj415] = JobCondition{} } else { - yyv377 := &yyv376[yyj376] - yyv377.CodecDecodeSelf(d) + yyv416 := &yyv415[yyj415] + yyv416.CodecDecodeSelf(d) } } - if yyrt376 { - for ; yyj376 < yyl376; yyj376++ { - yyv376 = append(yyv376, JobCondition{}) - yyh376.ElemContainerState(yyj376) + if yyrt415 { + for ; yyj415 < yyl415; yyj415++ { + yyv415 = append(yyv415, JobCondition{}) + yyh415.ElemContainerState(yyj415) if r.TryDecodeAsNil() { - yyv376[yyj376] = JobCondition{} + yyv415[yyj415] = JobCondition{} } else { - yyv378 := &yyv376[yyj376] - yyv378.CodecDecodeSelf(d) + yyv417 := &yyv415[yyj415] + yyv417.CodecDecodeSelf(d) } } } } else { - yyj376 := 0 - for ; !r.CheckBreak(); yyj376++ { + yyj415 := 0 + for ; !r.CheckBreak(); yyj415++ { - if yyj376 >= len(yyv376) { - yyv376 = append(yyv376, JobCondition{}) // var yyz376 JobCondition - yyc376 = true + if yyj415 >= len(yyv415) { + yyv415 = append(yyv415, JobCondition{}) // var yyz415 JobCondition + yyc415 = true } - yyh376.ElemContainerState(yyj376) - if yyj376 < len(yyv376) { + yyh415.ElemContainerState(yyj415) + if yyj415 < len(yyv415) { if r.TryDecodeAsNil() { - yyv376[yyj376] = JobCondition{} + yyv415[yyj415] = JobCondition{} } else { - yyv379 := &yyv376[yyj376] - yyv379.CodecDecodeSelf(d) + yyv418 := &yyv415[yyj415] + yyv418.CodecDecodeSelf(d) } } else { @@ -4429,17 +4949,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj376 < len(yyv376) { - yyv376 = yyv376[:yyj376] - yyc376 = true - } else if yyj376 == 0 && yyv376 == nil { - yyv376 = []JobCondition{} - yyc376 = true + if yyj415 < len(yyv415) { + yyv415 = yyv415[:yyj415] + yyc415 = true + } else if yyj415 == 0 && yyv415 == nil { + yyv415 = []JobCondition{} + yyc415 = true } } - yyh376.End() - if yyc376 { - *v = yyv376 + yyh415.End() + if yyc415 { + *v = yyv415 } } @@ -4448,10 +4968,10 @@ func (x codecSelfer1234) encSliceScheduledJob(v []ScheduledJob, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv380 := range v { + for _, yyv419 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy381 := &yyv380 - yy381.CodecEncodeSelf(e) + yy420 := &yyv419 + yy420.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4461,83 +4981,83 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv382 := *v - yyh382, yyl382 := z.DecSliceHelperStart() - var yyc382 bool - if yyl382 == 0 { - if yyv382 == nil { - yyv382 = []ScheduledJob{} - yyc382 = true - } else if len(yyv382) != 0 { - yyv382 = yyv382[:0] - yyc382 = true + yyv421 := *v + yyh421, yyl421 := z.DecSliceHelperStart() + var yyc421 bool + if yyl421 == 0 { + if yyv421 == nil { + yyv421 = []ScheduledJob{} + yyc421 = true + } else if len(yyv421) != 0 { + yyv421 = yyv421[:0] + yyc421 = true } - } else if yyl382 > 0 { - var yyrr382, yyrl382 int - var yyrt382 bool - if yyl382 > cap(yyv382) { + } else if yyl421 > 0 { + var yyrr421, yyrl421 int + var yyrt421 bool + if yyl421 > cap(yyv421) { - yyrg382 := len(yyv382) > 0 - yyv2382 := yyv382 - yyrl382, yyrt382 = z.DecInferLen(yyl382, z.DecBasicHandle().MaxInitLen, 1072) - if yyrt382 { - if yyrl382 <= cap(yyv382) { - yyv382 = yyv382[:yyrl382] + yyrg421 := len(yyv421) > 0 + yyv2421 := yyv421 + yyrl421, yyrt421 = z.DecInferLen(yyl421, z.DecBasicHandle().MaxInitLen, 1072) + if yyrt421 { + if yyrl421 <= cap(yyv421) { + yyv421 = yyv421[:yyrl421] } else { - yyv382 = make([]ScheduledJob, yyrl382) + yyv421 = make([]ScheduledJob, yyrl421) } } else { - yyv382 = make([]ScheduledJob, yyrl382) + yyv421 = make([]ScheduledJob, yyrl421) } - yyc382 = true - yyrr382 = len(yyv382) - if yyrg382 { - copy(yyv382, yyv2382) + yyc421 = true + yyrr421 = len(yyv421) + if yyrg421 { + copy(yyv421, yyv2421) } - } else if yyl382 != len(yyv382) { - yyv382 = yyv382[:yyl382] - yyc382 = true + } else if yyl421 != len(yyv421) { + yyv421 = yyv421[:yyl421] + yyc421 = true } - yyj382 := 0 - for ; yyj382 < yyrr382; yyj382++ { - yyh382.ElemContainerState(yyj382) + yyj421 := 0 + for ; yyj421 < yyrr421; yyj421++ { + yyh421.ElemContainerState(yyj421) if r.TryDecodeAsNil() { - yyv382[yyj382] = ScheduledJob{} + yyv421[yyj421] = ScheduledJob{} } else { - yyv383 := &yyv382[yyj382] - yyv383.CodecDecodeSelf(d) + yyv422 := &yyv421[yyj421] + yyv422.CodecDecodeSelf(d) } } - if yyrt382 { - for ; yyj382 < yyl382; yyj382++ { - yyv382 = append(yyv382, ScheduledJob{}) - yyh382.ElemContainerState(yyj382) + if yyrt421 { + for ; yyj421 < yyl421; yyj421++ { + yyv421 = append(yyv421, ScheduledJob{}) + yyh421.ElemContainerState(yyj421) if r.TryDecodeAsNil() { - yyv382[yyj382] = ScheduledJob{} + yyv421[yyj421] = ScheduledJob{} } else { - yyv384 := &yyv382[yyj382] - yyv384.CodecDecodeSelf(d) + yyv423 := &yyv421[yyj421] + yyv423.CodecDecodeSelf(d) } } } } else { - yyj382 := 0 - for ; !r.CheckBreak(); yyj382++ { + yyj421 := 0 + for ; !r.CheckBreak(); yyj421++ { - if yyj382 >= len(yyv382) { - yyv382 = append(yyv382, ScheduledJob{}) // var yyz382 ScheduledJob - yyc382 = true + if yyj421 >= len(yyv421) { + yyv421 = append(yyv421, ScheduledJob{}) // var yyz421 ScheduledJob + yyc421 = true } - yyh382.ElemContainerState(yyj382) - if yyj382 < len(yyv382) { + yyh421.ElemContainerState(yyj421) + if yyj421 < len(yyv421) { if r.TryDecodeAsNil() { - yyv382[yyj382] = ScheduledJob{} + yyv421[yyj421] = ScheduledJob{} } else { - yyv385 := &yyv382[yyj382] - yyv385.CodecDecodeSelf(d) + yyv424 := &yyv421[yyj421] + yyv424.CodecDecodeSelf(d) } } else { @@ -4545,17 +5065,17 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De } } - if yyj382 < len(yyv382) { - yyv382 = yyv382[:yyj382] - yyc382 = true - } else if yyj382 == 0 && yyv382 == nil { - yyv382 = []ScheduledJob{} - yyc382 = true + if yyj421 < len(yyv421) { + yyv421 = yyv421[:yyj421] + yyc421 = true + } else if yyj421 == 0 && yyv421 == nil { + yyv421 = []ScheduledJob{} + yyc421 = true } } - yyh382.End() - if yyc382 { - *v = yyv382 + yyh421.End() + if yyc421 { + *v = yyv421 } } @@ -4564,10 +5084,10 @@ func (x codecSelfer1234) encSlicev1_ObjectReference(v []pkg2_v1.ObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv386 := range v { + for _, yyv425 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy387 := &yyv386 - yy387.CodecEncodeSelf(e) + yy426 := &yyv425 + yy426.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4577,83 +5097,83 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv388 := *v - yyh388, yyl388 := z.DecSliceHelperStart() - var yyc388 bool - if yyl388 == 0 { - if yyv388 == nil { - yyv388 = []pkg2_v1.ObjectReference{} - yyc388 = true - } else if len(yyv388) != 0 { - yyv388 = yyv388[:0] - yyc388 = true + yyv427 := *v + yyh427, yyl427 := z.DecSliceHelperStart() + var yyc427 bool + if yyl427 == 0 { + if yyv427 == nil { + yyv427 = []pkg2_v1.ObjectReference{} + yyc427 = true + } else if len(yyv427) != 0 { + yyv427 = yyv427[:0] + yyc427 = true } - } else if yyl388 > 0 { - var yyrr388, yyrl388 int - var yyrt388 bool - if yyl388 > cap(yyv388) { + } else if yyl427 > 0 { + var yyrr427, yyrl427 int + var yyrt427 bool + if yyl427 > cap(yyv427) { - yyrg388 := len(yyv388) > 0 - yyv2388 := yyv388 - yyrl388, yyrt388 = z.DecInferLen(yyl388, z.DecBasicHandle().MaxInitLen, 112) - if yyrt388 { - if yyrl388 <= cap(yyv388) { - yyv388 = yyv388[:yyrl388] + yyrg427 := len(yyv427) > 0 + yyv2427 := yyv427 + yyrl427, yyrt427 = z.DecInferLen(yyl427, z.DecBasicHandle().MaxInitLen, 112) + if yyrt427 { + if yyrl427 <= cap(yyv427) { + yyv427 = yyv427[:yyrl427] } else { - yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) + yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) } } else { - yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) + yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) } - yyc388 = true - yyrr388 = len(yyv388) - if yyrg388 { - copy(yyv388, yyv2388) + yyc427 = true + yyrr427 = len(yyv427) + if yyrg427 { + copy(yyv427, yyv2427) } - } else if yyl388 != len(yyv388) { - yyv388 = yyv388[:yyl388] - yyc388 = true + } else if yyl427 != len(yyv427) { + yyv427 = yyv427[:yyl427] + yyc427 = true } - yyj388 := 0 - for ; yyj388 < yyrr388; yyj388++ { - yyh388.ElemContainerState(yyj388) + yyj427 := 0 + for ; yyj427 < yyrr427; yyj427++ { + yyh427.ElemContainerState(yyj427) if r.TryDecodeAsNil() { - yyv388[yyj388] = pkg2_v1.ObjectReference{} + yyv427[yyj427] = pkg2_v1.ObjectReference{} } else { - yyv389 := &yyv388[yyj388] - yyv389.CodecDecodeSelf(d) + yyv428 := &yyv427[yyj427] + yyv428.CodecDecodeSelf(d) } } - if yyrt388 { - for ; yyj388 < yyl388; yyj388++ { - yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) - yyh388.ElemContainerState(yyj388) + if yyrt427 { + for ; yyj427 < yyl427; yyj427++ { + yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) + yyh427.ElemContainerState(yyj427) if r.TryDecodeAsNil() { - yyv388[yyj388] = pkg2_v1.ObjectReference{} + yyv427[yyj427] = pkg2_v1.ObjectReference{} } else { - yyv390 := &yyv388[yyj388] - yyv390.CodecDecodeSelf(d) + yyv429 := &yyv427[yyj427] + yyv429.CodecDecodeSelf(d) } } } } else { - yyj388 := 0 - for ; !r.CheckBreak(); yyj388++ { + yyj427 := 0 + for ; !r.CheckBreak(); yyj427++ { - if yyj388 >= len(yyv388) { - yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) // var yyz388 pkg2_v1.ObjectReference - yyc388 = true + if yyj427 >= len(yyv427) { + yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) // var yyz427 pkg2_v1.ObjectReference + yyc427 = true } - yyh388.ElemContainerState(yyj388) - if yyj388 < len(yyv388) { + yyh427.ElemContainerState(yyj427) + if yyj427 < len(yyv427) { if r.TryDecodeAsNil() { - yyv388[yyj388] = pkg2_v1.ObjectReference{} + yyv427[yyj427] = pkg2_v1.ObjectReference{} } else { - yyv391 := &yyv388[yyj388] - yyv391.CodecDecodeSelf(d) + yyv430 := &yyv427[yyj427] + yyv430.CodecDecodeSelf(d) } } else { @@ -4661,16 +5181,132 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference } } - if yyj388 < len(yyv388) { - yyv388 = yyv388[:yyj388] - yyc388 = true - } else if yyj388 == 0 && yyv388 == nil { - yyv388 = []pkg2_v1.ObjectReference{} - yyc388 = true + if yyj427 < len(yyv427) { + yyv427 = yyv427[:yyj427] + yyc427 = true + } else if yyj427 == 0 && yyv427 == nil { + yyv427 = []pkg2_v1.ObjectReference{} + yyc427 = true } } - yyh388.End() - if yyc388 { - *v = yyv388 + yyh427.End() + if yyc427 { + *v = yyv427 + } +} + +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 _, yyv431 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy432 := &yyv431 + yy432.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 + + yyv433 := *v + yyh433, yyl433 := z.DecSliceHelperStart() + var yyc433 bool + if yyl433 == 0 { + if yyv433 == nil { + yyv433 = []LabelSelectorRequirement{} + yyc433 = true + } else if len(yyv433) != 0 { + yyv433 = yyv433[:0] + yyc433 = true + } + } else if yyl433 > 0 { + var yyrr433, yyrl433 int + var yyrt433 bool + if yyl433 > cap(yyv433) { + + yyrg433 := len(yyv433) > 0 + yyv2433 := yyv433 + yyrl433, yyrt433 = z.DecInferLen(yyl433, z.DecBasicHandle().MaxInitLen, 56) + if yyrt433 { + if yyrl433 <= cap(yyv433) { + yyv433 = yyv433[:yyrl433] + } else { + yyv433 = make([]LabelSelectorRequirement, yyrl433) + } + } else { + yyv433 = make([]LabelSelectorRequirement, yyrl433) + } + yyc433 = true + yyrr433 = len(yyv433) + if yyrg433 { + copy(yyv433, yyv2433) + } + } else if yyl433 != len(yyv433) { + yyv433 = yyv433[:yyl433] + yyc433 = true + } + yyj433 := 0 + for ; yyj433 < yyrr433; yyj433++ { + yyh433.ElemContainerState(yyj433) + if r.TryDecodeAsNil() { + yyv433[yyj433] = LabelSelectorRequirement{} + } else { + yyv434 := &yyv433[yyj433] + yyv434.CodecDecodeSelf(d) + } + + } + if yyrt433 { + for ; yyj433 < yyl433; yyj433++ { + yyv433 = append(yyv433, LabelSelectorRequirement{}) + yyh433.ElemContainerState(yyj433) + if r.TryDecodeAsNil() { + yyv433[yyj433] = LabelSelectorRequirement{} + } else { + yyv435 := &yyv433[yyj433] + yyv435.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj433 := 0 + for ; !r.CheckBreak(); yyj433++ { + + if yyj433 >= len(yyv433) { + yyv433 = append(yyv433, LabelSelectorRequirement{}) // var yyz433 LabelSelectorRequirement + yyc433 = true + } + yyh433.ElemContainerState(yyj433) + if yyj433 < len(yyv433) { + if r.TryDecodeAsNil() { + yyv433[yyj433] = LabelSelectorRequirement{} + } else { + yyv436 := &yyv433[yyj433] + yyv436.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj433 < len(yyv433) { + yyv433 = yyv433[:yyj433] + yyc433 = true + } else if yyj433 == 0 && yyv433 == nil { + yyv433 = []LabelSelectorRequirement{} + yyc433 = true + } + } + yyh433.End() + if yyc433 { + *v = yyv433 } } diff --git a/pkg/apis/batch/v2alpha1/types.go b/pkg/apis/batch/v2alpha1/types.go index 6b471e8ed46..83032deb3c6 100644 --- a/pkg/apis/batch/v2alpha1/types.go +++ b/pkg/apis/batch/v2alpha1/types.go @@ -108,7 +108,7 @@ type JobSpec struct { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -276,3 +276,43 @@ type ScheduledJobStatus struct { // +optional LastScheduleTime *unversioned.Time `json:"lastScheduleTime,omitempty" protobuf:"bytes,4,opt,name=lastScheduleTime"` } + +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +type LabelSelector struct { + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +type LabelSelectorRequirement struct { + // key is the label key that the selector applies to. + Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` + // operator represents a key's relationship to a set of values. + // Valid operators ard In, NotIn, Exists and DoesNotExist. + Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"` + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` +} + +// A label selector operator is the set of operators that can be used in a selector requirement. +type LabelSelectorOperator string + +const ( + LabelSelectorOpIn LabelSelectorOperator = "In" + LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" + LabelSelectorOpExists LabelSelectorOperator = "Exists" + LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" +) diff --git a/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go b/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go index 4eb60928d85..5d965f4fa61 100644 --- a/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go @@ -110,6 +110,27 @@ func (JobTemplateSpec) SwaggerDoc() map[string]string { return map_JobTemplateSpec } +var map_LabelSelector = map[string]string{ + "": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "matchLabels": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "matchExpressions": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", +} + +func (LabelSelector) SwaggerDoc() map[string]string { + return map_LabelSelector +} + +var map_LabelSelectorRequirement = map[string]string{ + "": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "key": "key is the label key that the selector applies to.", + "operator": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + "values": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", +} + +func (LabelSelectorRequirement) SwaggerDoc() map[string]string { + return map_LabelSelectorRequirement +} + var map_ScheduledJob = map[string]string{ "": "ScheduledJob represents the configuration of a single scheduled job.", "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", diff --git a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go index bda6c35b52d..0d5c33fbe2d 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go @@ -22,6 +22,7 @@ package v2alpha1 import ( api "k8s.io/kubernetes/pkg/api" + unversioned "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" batch "k8s.io/kubernetes/pkg/apis/batch" conversion "k8s.io/kubernetes/pkg/conversion" @@ -50,6 +51,10 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_batch_JobTemplate_To_v2alpha1_JobTemplate, Convert_v2alpha1_JobTemplateSpec_To_batch_JobTemplateSpec, Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec, + Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector, + Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector, + Convert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, + Convert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement, Convert_v2alpha1_ScheduledJob_To_batch_ScheduledJob, Convert_batch_ScheduledJob_To_v2alpha1_ScheduledJob, Convert_v2alpha1_ScheduledJobList_To_batch_ScheduledJobList, @@ -193,7 +198,15 @@ func autoConvert_v2alpha1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSp out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(unversioned.LabelSelector) + if err := Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } out.ManualSelector = in.ManualSelector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -205,7 +218,15 @@ func autoConvert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSp out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } out.ManualSelector = in.ManualSelector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -327,6 +348,68 @@ func Convert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(in *batch.JobTemp return autoConvert_batch_JobTemplateSpec_To_v2alpha1_JobTemplateSpec(in, out, s) } +func autoConvert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { + out.MatchLabels = in.MatchLabels + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]unversioned.LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := Convert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil +} + +func Convert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { + return autoConvert_v2alpha1_LabelSelector_To_unversioned_LabelSelector(in, out, s) +} + +func autoConvert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { + out.MatchLabels = in.MatchLabels + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := Convert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil +} + +func Convert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { + return autoConvert_unversioned_LabelSelector_To_v2alpha1_LabelSelector(in, out, s) +} + +func autoConvert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { + out.Key = in.Key + out.Operator = unversioned.LabelSelectorOperator(in.Operator) + out.Values = in.Values + return nil +} + +func Convert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { + return autoConvert_v2alpha1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in, out, s) +} + +func autoConvert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { + out.Key = in.Key + out.Operator = LabelSelectorOperator(in.Operator) + out.Values = in.Values + return nil +} + +func Convert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { + return autoConvert_unversioned_LabelSelectorRequirement_To_v2alpha1_LabelSelectorRequirement(in, out, s) +} + func autoConvert_v2alpha1_ScheduledJob_To_batch_ScheduledJob(in *ScheduledJob, out *batch.ScheduledJob, s conversion.Scope) error { if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { return err diff --git a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go index b7a896dca93..2980bac9d3d 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go @@ -43,6 +43,8 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplate, InType: reflect.TypeOf(&JobTemplate{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplateSpec, InType: reflect.TypeOf(&JobTemplateSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJob, InType: reflect.TypeOf(&ScheduledJob{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobList, InType: reflect.TypeOf(&ScheduledJobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobSpec, InType: reflect.TypeOf(&ScheduledJobSpec{})}, @@ -130,8 +132,8 @@ func DeepCopy_v2alpha1_JobSpec(in interface{}, out interface{}, c *conversion.Cl } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v2alpha1_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -216,6 +218,51 @@ func DeepCopy_v2alpha1_JobTemplateSpec(in interface{}, out interface{}, c *conve } } +func DeepCopy_v2alpha1_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*LabelSelector) + out := out.(*LabelSelector) + if in.MatchLabels != nil { + in, out := &in.MatchLabels, &out.MatchLabels + *out = make(map[string]string) + for key, val := range *in { + (*out)[key] = val + } + } else { + out.MatchLabels = nil + } + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := DeepCopy_v2alpha1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil + } +} + +func DeepCopy_v2alpha1_LabelSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*LabelSelectorRequirement) + out := out.(*LabelSelectorRequirement) + out.Key = in.Key + out.Operator = in.Operator + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]string, len(*in)) + copy(*out, *in) + } else { + out.Values = nil + } + return nil + } +} + func DeepCopy_v2alpha1_ScheduledJob(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ScheduledJob) diff --git a/pkg/apis/extensions/v1beta1/BUILD b/pkg/apis/extensions/v1beta1/BUILD index 95f62d1389e..6866aecb095 100644 --- a/pkg/apis/extensions/v1beta1/BUILD +++ b/pkg/apis/extensions/v1beta1/BUILD @@ -56,7 +56,6 @@ go_test( "//pkg/api:go_default_library", "//pkg/api/install:go_default_library", "//pkg/api/resource:go_default_library", - "//pkg/api/unversioned:go_default_library", "//pkg/api/v1:go_default_library", "//pkg/apis/batch:go_default_library", "//pkg/apis/extensions/install:go_default_library", diff --git a/pkg/apis/extensions/v1beta1/conversion.go b/pkg/apis/extensions/v1beta1/conversion.go index 5501f40369d..dddd7cf7392 100644 --- a/pkg/apis/extensions/v1beta1/conversion.go +++ b/pkg/apis/extensions/v1beta1/conversion.go @@ -134,7 +134,14 @@ func Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus(in *ScaleStatus, out func Convert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensions.DeploymentSpec, out *DeploymentSpec, s conversion.Scope) error { out.Replicas = &in.Replicas - out.Selector = in.Selector + if in.Selector != nil { + out.Selector = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -160,7 +167,15 @@ func Convert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *DeploymentS if in.Replicas != nil { out.Replicas = *in.Replicas } - out.Selector = in.Selector + + if in.Selector != nil { + out.Selector = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -235,7 +250,15 @@ func Convert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensions. out.Replicas = new(int32) *out.Replicas = int32(in.Replicas) out.MinReadySeconds = in.MinReadySeconds - out.Selector = in.Selector + if in.Selector != nil { + out.Selector = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } + if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -247,7 +270,14 @@ func Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *ReplicaSetS out.Replicas = *in.Replicas } out.MinReadySeconds = in.MinReadySeconds - out.Selector = in.Selector + if in.Selector != nil { + out.Selector = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -258,7 +288,16 @@ func Convert_batch_JobSpec_To_v1beta1_JobSpec(in *batch.JobSpec, out *JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + // unable to generate simple pointer conversion for unversioned.LabelSelector -> v1beta1.LabelSelector + if in.Selector != nil { + out.Selector = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } + // BEGIN non-standard conversion // autoSelector has opposite meaning as manualSelector. // in both cases, unset means false, and unset is always preferred to false. @@ -283,7 +322,16 @@ func Convert_v1beta1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + // unable to generate simple pointer conversion for v1beta1.LabelSelector -> unversioned.LabelSelector + if in.Selector != nil { + out.Selector = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in.Selector, out.Selector, s); err != nil { + return err + } + } else { + out.Selector = nil + } + // BEGIN non-standard conversion // autoSelector has opposite meaning as manualSelector. // in both cases, unset means false, and unset is always preferred to false. diff --git a/pkg/apis/extensions/v1beta1/defaults.go b/pkg/apis/extensions/v1beta1/defaults.go index 5b17d7ea118..256c748dae3 100644 --- a/pkg/apis/extensions/v1beta1/defaults.go +++ b/pkg/apis/extensions/v1beta1/defaults.go @@ -17,7 +17,6 @@ limitations under the License. package v1beta1 import ( - "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util/intstr" @@ -41,7 +40,7 @@ func SetDefaults_DaemonSet(obj *DaemonSet) { // TODO: support templates defined elsewhere when we support them in the API if labels != nil { if obj.Spec.Selector == nil { - obj.Spec.Selector = &unversioned.LabelSelector{ + obj.Spec.Selector = &LabelSelector{ MatchLabels: labels, } } @@ -57,7 +56,7 @@ func SetDefaults_Deployment(obj *Deployment) { if labels != nil { if obj.Spec.Selector == nil { - obj.Spec.Selector = &unversioned.LabelSelector{MatchLabels: labels} + obj.Spec.Selector = &LabelSelector{MatchLabels: labels} } if len(obj.Labels) == 0 { obj.Labels = labels @@ -103,7 +102,7 @@ func SetDefaults_Job(obj *Job) { // and default behavior for an unspecified manual selector is to use the pod template labels if manualSelector && obj.Spec.Selector == nil { - obj.Spec.Selector = &unversioned.LabelSelector{ + obj.Spec.Selector = &LabelSelector{ MatchLabels: labels, } } @@ -141,7 +140,7 @@ func SetDefaults_ReplicaSet(obj *ReplicaSet) { // TODO: support templates defined elsewhere when we support them in the API if labels != nil { if obj.Spec.Selector == nil { - obj.Spec.Selector = &unversioned.LabelSelector{ + obj.Spec.Selector = &LabelSelector{ MatchLabels: labels, } } diff --git a/pkg/apis/extensions/v1beta1/defaults_test.go b/pkg/apis/extensions/v1beta1/defaults_test.go index e6741f1efbf..8df4d5b3283 100644 --- a/pkg/apis/extensions/v1beta1/defaults_test.go +++ b/pkg/apis/extensions/v1beta1/defaults_test.go @@ -23,7 +23,6 @@ import ( "k8s.io/kubernetes/pkg/api" _ "k8s.io/kubernetes/pkg/api/install" "k8s.io/kubernetes/pkg/api/resource" - "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/v1" _ "k8s.io/kubernetes/pkg/apis/extensions/install" . "k8s.io/kubernetes/pkg/apis/extensions/v1beta1" @@ -68,7 +67,7 @@ func TestSetDefaultDaemonSet(t *testing.T) { Labels: defaultLabels, }, Spec: DaemonSetSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &LabelSelector{ MatchLabels: defaultLabels, }, Template: defaultTemplate, @@ -93,7 +92,7 @@ func TestSetDefaultDaemonSet(t *testing.T) { }, }, Spec: DaemonSetSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &LabelSelector{ MatchLabels: defaultLabels, }, Template: defaultTemplate, @@ -450,18 +449,18 @@ func TestSetDefaultJob(t *testing.T) { func TestSetDefaultJobSelector(t *testing.T) { tests := []struct { original *Job - expectedSelector *unversioned.LabelSelector + expectedSelector *LabelSelector }{ // selector set explicitly, nil autoSelector { original: &Job{ Spec: JobSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, }, - expectedSelector: &unversioned.LabelSelector{ + expectedSelector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -469,13 +468,13 @@ func TestSetDefaultJobSelector(t *testing.T) { { original: &Job{ Spec: JobSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, AutoSelector: newBool(true), }, }, - expectedSelector: &unversioned.LabelSelector{ + expectedSelector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -483,13 +482,13 @@ func TestSetDefaultJobSelector(t *testing.T) { { original: &Job{ Spec: JobSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, AutoSelector: newBool(false), }, }, - expectedSelector: &unversioned.LabelSelector{ + expectedSelector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -504,7 +503,7 @@ func TestSetDefaultJobSelector(t *testing.T) { }, }, }, - expectedSelector: &unversioned.LabelSelector{ + expectedSelector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -520,7 +519,7 @@ func TestSetDefaultJobSelector(t *testing.T) { AutoSelector: newBool(false), }, }, - expectedSelector: &unversioned.LabelSelector{ + expectedSelector: &LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -602,7 +601,7 @@ func TestSetDefaultReplicaSet(t *testing.T) { }, }, Spec: ReplicaSetSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &LabelSelector{ MatchLabels: map[string]string{ "some": "other", }, @@ -622,7 +621,7 @@ func TestSetDefaultReplicaSet(t *testing.T) { { rs: &ReplicaSet{ Spec: ReplicaSetSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &LabelSelector{ MatchLabels: map[string]string{ "some": "other", }, diff --git a/pkg/apis/extensions/v1beta1/generated.pb.go b/pkg/apis/extensions/v1beta1/generated.pb.go index a622cabb3d7..704432cace6 100644 --- a/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/pkg/apis/extensions/v1beta1/generated.pb.go @@ -64,6 +64,8 @@ limitations under the License. JobList JobSpec JobStatus + LabelSelector + LabelSelectorRequirement NetworkPolicy NetworkPolicyIngressRule NetworkPolicyList @@ -287,129 +289,139 @@ func (m *JobStatus) Reset() { *m = JobStatus{} } func (*JobStatus) ProtoMessage() {} func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } +func (m *LabelSelector) Reset() { *m = LabelSelector{} } +func (*LabelSelector) ProtoMessage() {} +func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } + +func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } +func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{40} +} + func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } func (*NetworkPolicy) ProtoMessage() {} -func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } +func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } func (*NetworkPolicyIngressRule) ProtoMessage() {} func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{40} + return fileDescriptorGenerated, []int{42} } func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } func (*NetworkPolicyList) ProtoMessage() {} -func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } +func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } func (*NetworkPolicyPeer) ProtoMessage() {} -func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } func (*NetworkPolicyPort) ProtoMessage() {} -func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } func (*NetworkPolicySpec) ProtoMessage() {} -func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } func (*PodSecurityPolicy) ProtoMessage() {} -func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } +func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } func (*PodSecurityPolicyList) ProtoMessage() {} -func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } +func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } func (*PodSecurityPolicySpec) ProtoMessage() {} -func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } +func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } func (*ReplicaSet) ProtoMessage() {} -func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } +func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } func (*ReplicaSetCondition) ProtoMessage() {} -func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } +func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } func (*ReplicaSetList) ProtoMessage() {} -func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } +func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } func (*ReplicaSetSpec) ProtoMessage() {} -func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } +func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } func (*ReplicaSetStatus) ProtoMessage() {} -func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } +func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} } func (*ReplicationControllerDummy) ProtoMessage() {} func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{53} + return fileDescriptorGenerated, []int{55} } func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } func (*RollbackConfig) ProtoMessage() {} -func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } +func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } func (*RollingUpdateDeployment) ProtoMessage() {} func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{55} + return fileDescriptorGenerated, []int{57} } func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} } func (*RunAsUserStrategyOptions) ProtoMessage() {} func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{56} + return fileDescriptorGenerated, []int{58} } func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} } func (*SELinuxStrategyOptions) ProtoMessage() {} -func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} } +func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } func (m *Scale) Reset() { *m = Scale{} } func (*Scale) ProtoMessage() {} -func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } +func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } func (*ScaleSpec) ProtoMessage() {} -func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } +func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } func (*ScaleStatus) ProtoMessage() {} -func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } +func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } func (m *SubresourceReference) Reset() { *m = SubresourceReference{} } func (*SubresourceReference) ProtoMessage() {} -func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } +func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} } func (*SupplementalGroupsStrategyOptions) ProtoMessage() {} func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{62} + return fileDescriptorGenerated, []int{64} } func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} } func (*ThirdPartyResource) ProtoMessage() {} -func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } +func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} } func (*ThirdPartyResourceData) ProtoMessage() {} -func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } +func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} } func (*ThirdPartyResourceDataList) ProtoMessage() {} func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{65} + return fileDescriptorGenerated, []int{67} } func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} } func (*ThirdPartyResourceList) ProtoMessage() {} -func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } +func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } func init() { proto.RegisterType((*APIVersion)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.APIVersion") @@ -451,6 +463,8 @@ func init() { proto.RegisterType((*JobList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.JobList") proto.RegisterType((*JobSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.JobSpec") proto.RegisterType((*JobStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.JobStatus") + proto.RegisterType((*LabelSelector)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.LabelSelector") + proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.LabelSelectorRequirement") proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicy") proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicyIngressRule") proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicyList") @@ -1933,6 +1947,94 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *LabelSelector) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *LabelSelector) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.MatchLabels) > 0 { + for k := range m.MatchLabels { + data[i] = 0xa + i++ + v := m.MatchLabels[k] + mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + i = encodeVarintGenerated(data, i, uint64(mapSize)) + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(k))) + i += copy(data[i:], k) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(v))) + i += copy(data[i:], v) + } + } + if len(m.MatchExpressions) > 0 { + for _, msg := range m.MatchExpressions { + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n + } + } + return i, nil +} + +func (m *LabelSelectorRequirement) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Key))) + i += copy(data[i:], m.Key) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Operator))) + i += copy(data[i:], m.Operator) + if len(m.Values) > 0 { + for _, s := range m.Values { + data[i] = 0x1a + i++ + l = len(s) + for l >= 1<<7 { + data[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + data[i] = uint8(l) + i++ + i += copy(data[i:], s) + } + } + return i, nil +} + func (m *NetworkPolicy) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -3606,6 +3708,42 @@ func (m *JobStatus) Size() (n int) { return n } +func (m *LabelSelector) Size() (n int) { + var l int + _ = l + if len(m.MatchLabels) > 0 { + for k, v := range m.MatchLabels { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) + } + } + if len(m.MatchExpressions) > 0 { + for _, e := range m.MatchExpressions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func (m *LabelSelectorRequirement) Size() (n int) { + var l int + _ = l + l = len(m.Key) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Operator) + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Values) > 0 { + for _, s := range m.Values { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + func (m *NetworkPolicy) Size() (n int) { var l int _ = l @@ -4114,7 +4252,7 @@ func (this *DaemonSetSpec) String() string { return "nil" } s := strings.Join([]string{`&DaemonSetSpec{`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -4184,7 +4322,7 @@ func (this *DeploymentSpec) String() string { } s := strings.Join([]string{`&DeploymentSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`, `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, @@ -4469,7 +4607,7 @@ func (this *JobSpec) String() string { `Parallelism:` + valueToStringGenerated(this.Parallelism) + `,`, `Completions:` + valueToStringGenerated(this.Completions) + `,`, `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, `AutoSelector:` + valueToStringGenerated(this.AutoSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -4491,6 +4629,39 @@ func (this *JobStatus) String() string { }, "") return s } +func (this *LabelSelector) String() string { + if this == nil { + return "nil" + } + keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) + for k := range this.MatchLabels { + keysForMatchLabels = append(keysForMatchLabels, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) + mapStringForMatchLabels := "map[string]string{" + for _, k := range keysForMatchLabels { + mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) + } + mapStringForMatchLabels += "}" + s := strings.Join([]string{`&LabelSelector{`, + `MatchLabels:` + mapStringForMatchLabels + `,`, + `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *LabelSelectorRequirement) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&LabelSelectorRequirement{`, + `Key:` + fmt.Sprintf("%v", this.Key) + `,`, + `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, + `Values:` + fmt.Sprintf("%v", this.Values) + `,`, + `}`, + }, "") + return s +} func (this *NetworkPolicy) String() string { if this == nil { return "nil" @@ -4529,8 +4700,8 @@ func (this *NetworkPolicyPeer) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicyPeer{`, - `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, - `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "LabelSelector", 1) + `,`, + `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "LabelSelector", 1) + `,`, `}`, }, "") return s @@ -4551,7 +4722,7 @@ func (this *NetworkPolicySpec) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicySpec{`, - `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1), `&`, ``, 1) + `,`, + `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "LabelSelector", 1), `&`, ``, 1) + `,`, `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -4645,7 +4816,7 @@ func (this *ReplicaSetSpec) String() string { } s := strings.Join([]string{`&ReplicaSetSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, `}`, @@ -5675,7 +5846,7 @@ func (m *DaemonSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.Selector = &LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -6405,7 +6576,7 @@ func (m *DeploymentSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.Selector = &LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -9449,7 +9620,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.Selector = &LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -9731,6 +9902,335 @@ func (m *JobStatus) Unmarshal(data []byte) error { } return nil } +func (m *LabelSelector) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + var keykey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + keykey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapkey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey := string(data[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + var valuekey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + valuekey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapvalue |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue := string(data[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + if m.MatchLabels == nil { + m.MatchLabels = make(map[string]string) + } + m.MatchLabels[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) + if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LabelSelectorRequirement) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = LabelSelectorOperator(data[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Values = append(m.Values, string(data[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *NetworkPolicy) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -10120,7 +10620,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.PodSelector == nil { - m.PodSelector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.PodSelector = &LabelSelector{} } if err := m.PodSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -10153,7 +10653,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.NamespaceSelector == nil { - m.NamespaceSelector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.NamespaceSelector = &LabelSelector{} } if err := m.NamespaceSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -11565,7 +12065,7 @@ func (m *ReplicaSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} + m.Selector = &LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -13547,244 +14047,253 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 3817 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5b, 0x5d, 0x8c, 0x1c, 0xd9, - 0x55, 0x76, 0x75, 0xcf, 0x4f, 0xf7, 0x99, 0xff, 0xeb, 0xf1, 0xb8, 0x77, 0xb2, 0x3b, 0xed, 0xd4, - 0x8a, 0x8d, 0x23, 0xd6, 0x3d, 0x78, 0x58, 0x07, 0xc7, 0xde, 0x38, 0x99, 0x9e, 0xf1, 0xd8, 0x63, - 0x66, 0xec, 0xce, 0xed, 0xb1, 0x63, 0x92, 0x8d, 0x43, 0x75, 0xd7, 0x9d, 0x9e, 0xf2, 0xd4, 0xdf, - 0x56, 0xdd, 0x9a, 0x9d, 0x4e, 0x84, 0x12, 0x09, 0xf1, 0x1a, 0xf6, 0x0d, 0x24, 0xe0, 0x81, 0x07, - 0xc4, 0x13, 0x11, 0x11, 0x48, 0x91, 0x78, 0x02, 0x04, 0xc2, 0x48, 0xa0, 0x04, 0x24, 0x04, 0x0f, - 0x30, 0x61, 0x07, 0xa1, 0x15, 0xef, 0x08, 0x24, 0xf3, 0x82, 0xee, 0xad, 0x5b, 0xbf, 0x5d, 0xd5, - 0x76, 0xf7, 0xfc, 0x48, 0x88, 0xb7, 0xae, 0x7b, 0xcf, 0xf9, 0xce, 0xb9, 0xe7, 0x9e, 0x3a, 0xe7, - 0xdc, 0x5b, 0xa7, 0xe1, 0x4b, 0xfb, 0x37, 0xdd, 0x9a, 0x66, 0x2d, 0xef, 0x7b, 0x2d, 0xe2, 0x98, - 0x84, 0x12, 0x77, 0xd9, 0xde, 0xef, 0x2c, 0x2b, 0xb6, 0xe6, 0x2e, 0x93, 0x43, 0x4a, 0x4c, 0x57, - 0xb3, 0x4c, 0x77, 0xf9, 0xe0, 0x7a, 0x8b, 0x50, 0xe5, 0xfa, 0x72, 0x87, 0x98, 0xc4, 0x51, 0x28, - 0x51, 0x6b, 0xb6, 0x63, 0x51, 0x0b, 0x5d, 0xf3, 0xd9, 0x6b, 0x11, 0x7b, 0xcd, 0xde, 0xef, 0xd4, - 0x18, 0x7b, 0x2d, 0x62, 0xaf, 0x09, 0xf6, 0xc5, 0x6b, 0x1d, 0x8d, 0xee, 0x79, 0xad, 0x5a, 0xdb, - 0x32, 0x96, 0x3b, 0x56, 0xc7, 0x5a, 0xe6, 0x28, 0x2d, 0x6f, 0x97, 0x3f, 0xf1, 0x07, 0xfe, 0xcb, - 0x47, 0x5f, 0x5c, 0xc9, 0x55, 0x6e, 0xd9, 0x21, 0xae, 0xe5, 0x39, 0x6d, 0x92, 0xd6, 0x68, 0xf1, - 0x46, 0x3e, 0x8f, 0x67, 0x1e, 0x10, 0x87, 0x29, 0x44, 0xd4, 0x1e, 0xb6, 0x77, 0xf3, 0xd9, 0x0e, - 0x7a, 0x96, 0xbd, 0x78, 0x2d, 0x9b, 0xda, 0xf1, 0x4c, 0xaa, 0x19, 0xbd, 0x3a, 0x5d, 0xcf, 0x26, - 0xf7, 0xa8, 0xa6, 0x2f, 0x6b, 0x26, 0x75, 0xa9, 0x93, 0x66, 0x91, 0x6b, 0x00, 0xab, 0x8d, 0xcd, - 0x27, 0xbe, 0xbe, 0xe8, 0x0a, 0x8c, 0x98, 0x8a, 0x41, 0x2a, 0xd2, 0x15, 0xe9, 0x6a, 0xb9, 0x3e, - 0xf9, 0xe2, 0xa8, 0x7a, 0xe1, 0xf8, 0xa8, 0x3a, 0xf2, 0x50, 0x31, 0x08, 0xe6, 0x33, 0xf2, 0x07, - 0x30, 0xbf, 0xd6, 0x78, 0xbc, 0xa3, 0x38, 0x1d, 0x42, 0x1f, 0x53, 0x4d, 0xd7, 0xbe, 0xad, 0x50, - 0xc6, 0xb9, 0x0e, 0xb3, 0x94, 0x0f, 0x36, 0x88, 0xd3, 0x26, 0x26, 0x55, 0x3a, 0x3e, 0xca, 0x68, - 0xbd, 0x22, 0x50, 0x66, 0x77, 0x52, 0xf3, 0xb8, 0x87, 0x43, 0xfe, 0x0d, 0x09, 0xde, 0x58, 0xf3, - 0x5c, 0x6a, 0x19, 0xdb, 0x84, 0x3a, 0x5a, 0x7b, 0xcd, 0x73, 0x1c, 0x62, 0xd2, 0x26, 0x55, 0xa8, - 0xe7, 0xbe, 0x5a, 0x3b, 0xf4, 0x14, 0x46, 0x0f, 0x14, 0xdd, 0x23, 0x95, 0xc2, 0x15, 0xe9, 0xea, - 0xc4, 0xca, 0xbb, 0xb5, 0x5c, 0xb7, 0xa9, 0x05, 0x1b, 0x5b, 0xfb, 0xaa, 0xa7, 0x98, 0x54, 0xa3, - 0xdd, 0xfa, 0xbc, 0x00, 0x9c, 0x14, 0x52, 0x9f, 0x30, 0x24, 0xec, 0x03, 0xca, 0xdf, 0x97, 0xe0, - 0xad, 0x5c, 0xcd, 0xb6, 0x34, 0x97, 0x22, 0x03, 0x46, 0x35, 0x4a, 0x0c, 0xb7, 0x22, 0x5d, 0x29, - 0x5e, 0x9d, 0x58, 0xb9, 0x5f, 0x1b, 0xc8, 0x65, 0x6b, 0xb9, 0xe0, 0xf5, 0x29, 0xa1, 0xd7, 0xe8, - 0x26, 0x83, 0xc7, 0xbe, 0x14, 0xf9, 0xd7, 0x25, 0x40, 0x71, 0x1e, 0xdf, 0xba, 0xaf, 0x61, 0xa3, - 0xaf, 0x9d, 0xc4, 0x46, 0x17, 0x05, 0xe0, 0x84, 0x2f, 0x2e, 0x61, 0xa2, 0xef, 0x49, 0xb0, 0xd0, - 0xab, 0x11, 0xb7, 0xcd, 0x6e, 0xd2, 0x36, 0xab, 0x27, 0xb0, 0x8d, 0x8f, 0x9a, 0x63, 0x94, 0x3f, - 0x28, 0x40, 0x79, 0x5d, 0x21, 0x86, 0x65, 0x36, 0x09, 0x45, 0x4f, 0xa1, 0x64, 0x10, 0xaa, 0xa8, - 0x0a, 0x55, 0xb8, 0x3d, 0x26, 0x56, 0xae, 0xf6, 0x59, 0xec, 0xc1, 0xf5, 0xda, 0xa3, 0xd6, 0x73, - 0xd2, 0xa6, 0xdb, 0x84, 0x2a, 0x75, 0x24, 0xf0, 0x21, 0x1a, 0xc3, 0x21, 0x1a, 0x7a, 0x06, 0x23, - 0xae, 0x4d, 0xda, 0xc2, 0x84, 0xef, 0x0f, 0xb8, 0x9c, 0x50, 0xc3, 0xa6, 0x4d, 0xda, 0xd1, 0x1e, - 0xb1, 0x27, 0xcc, 0x71, 0xd1, 0x2e, 0x8c, 0xb9, 0x7c, 0xf3, 0x2b, 0x45, 0x2e, 0xe1, 0xce, 0xd0, - 0x12, 0x7c, 0x17, 0x9a, 0x16, 0x32, 0xc6, 0xfc, 0x67, 0x2c, 0xd0, 0xe5, 0xbf, 0x95, 0x60, 0x2a, - 0xa4, 0xe5, 0x3b, 0xf5, 0xcd, 0x1e, 0x9b, 0x2d, 0xf7, 0xb1, 0x59, 0x2c, 0xd2, 0xd5, 0x18, 0x3b, - 0x37, 0xdd, 0xac, 0x10, 0x56, 0x0a, 0x46, 0x62, 0x86, 0xfb, 0x66, 0xe0, 0x08, 0x05, 0xee, 0x08, - 0x37, 0x87, 0x5d, 0x57, 0xce, 0xfe, 0xff, 0x4d, 0x7c, 0x3d, 0xcc, 0x9e, 0xe8, 0x19, 0x94, 0x5c, - 0xa2, 0x93, 0x36, 0xb5, 0x1c, 0xb1, 0x9e, 0xf7, 0x5e, 0x77, 0x3d, 0x4a, 0x8b, 0xe8, 0x4d, 0xc1, - 0x5b, 0x9f, 0x64, 0x0b, 0x0a, 0x9e, 0x70, 0x88, 0x89, 0xbe, 0x01, 0x25, 0x4a, 0x0c, 0x5b, 0x57, - 0x68, 0xf0, 0x42, 0x5d, 0xeb, 0xef, 0x63, 0x0d, 0x4b, 0xdd, 0x11, 0x0c, 0x7c, 0xfb, 0x43, 0x6b, - 0x05, 0xa3, 0x38, 0x04, 0x94, 0xff, 0xa2, 0x00, 0x33, 0xa9, 0xad, 0x44, 0x4f, 0x60, 0xa1, 0xed, - 0x87, 0x87, 0x87, 0x9e, 0xd1, 0x22, 0x4e, 0xb3, 0xbd, 0x47, 0x54, 0x4f, 0x27, 0xaa, 0x08, 0xb7, - 0x4b, 0x02, 0x6f, 0x61, 0x2d, 0x93, 0x0a, 0xe7, 0x70, 0xa3, 0x07, 0x80, 0x4c, 0x3e, 0xb4, 0xad, - 0xb9, 0x6e, 0x88, 0x59, 0xe0, 0x98, 0x8b, 0x02, 0x13, 0x3d, 0xec, 0xa1, 0xc0, 0x19, 0x5c, 0x4c, - 0x47, 0x95, 0xb8, 0x9a, 0x43, 0xd4, 0xb4, 0x8e, 0xc5, 0xa4, 0x8e, 0xeb, 0x99, 0x54, 0x38, 0x87, - 0x1b, 0xdd, 0x80, 0x09, 0x5f, 0x1a, 0x26, 0x8a, 0xda, 0xad, 0x8c, 0x70, 0xb0, 0x30, 0x24, 0x3d, - 0x8c, 0xa6, 0x70, 0x9c, 0x4e, 0xfe, 0xc3, 0x02, 0xc0, 0x3a, 0xb1, 0x75, 0xab, 0x6b, 0x10, 0xf3, - 0x2c, 0xc3, 0xc2, 0xb7, 0x12, 0x61, 0xe1, 0x4b, 0x83, 0x3a, 0x77, 0xa8, 0x62, 0x6e, 0x5c, 0xe8, - 0xa4, 0xe2, 0xc2, 0x97, 0x87, 0x17, 0xd1, 0x3f, 0x30, 0xfc, 0x58, 0x82, 0xe9, 0x88, 0xf8, 0x3c, - 0x22, 0xc3, 0xb3, 0x64, 0x64, 0xf8, 0xe2, 0xd0, 0x2b, 0xcb, 0x09, 0x0d, 0xbf, 0x59, 0x04, 0x14, - 0x11, 0x61, 0x4b, 0xd7, 0x5b, 0x4a, 0x7b, 0xff, 0x35, 0xf2, 0xe5, 0xef, 0x49, 0x80, 0x3c, 0x5b, - 0x65, 0x35, 0xd3, 0xaa, 0x69, 0x5a, 0x94, 0xd7, 0x3b, 0x81, 0x9a, 0xbf, 0x34, 0xb4, 0x9a, 0x81, - 0x06, 0xb5, 0xc7, 0x3d, 0xd8, 0x77, 0x4d, 0xea, 0x74, 0xa3, 0x97, 0xae, 0x97, 0x00, 0x67, 0x28, - 0x84, 0x3e, 0x04, 0x70, 0x04, 0xe6, 0x8e, 0x25, 0xfc, 0x63, 0x50, 0x17, 0x0c, 0x94, 0x5a, 0xb3, - 0xcc, 0x5d, 0xad, 0x13, 0x79, 0x3b, 0x0e, 0x81, 0x71, 0x4c, 0xc8, 0xe2, 0x5d, 0xb8, 0x9c, 0xa3, - 0x3d, 0x9a, 0x85, 0xe2, 0x3e, 0xe9, 0xfa, 0x66, 0xc5, 0xec, 0x27, 0x9a, 0x8f, 0xd7, 0x1d, 0x65, - 0x51, 0x34, 0xdc, 0x2a, 0xdc, 0x94, 0xe4, 0x8f, 0x47, 0xe3, 0xce, 0xc6, 0xc3, 0xf6, 0x55, 0x28, - 0x39, 0xc4, 0xd6, 0xb5, 0xb6, 0xe2, 0x8a, 0xb8, 0xc6, 0x03, 0x30, 0x16, 0x63, 0x38, 0x9c, 0x4d, - 0x04, 0xf8, 0xc2, 0x19, 0x07, 0xf8, 0xe2, 0x29, 0x07, 0x78, 0x64, 0x41, 0xc9, 0xa5, 0xac, 0x1c, - 0xef, 0xf8, 0xd1, 0x6c, 0xf0, 0xd2, 0x28, 0xfe, 0x46, 0xfb, 0x40, 0x91, 0xc0, 0x60, 0x04, 0x87, - 0x42, 0xd0, 0x2a, 0xcc, 0x18, 0x9a, 0xc9, 0xc3, 0x62, 0x93, 0xb4, 0x2d, 0x53, 0x75, 0x2b, 0xa3, - 0xdc, 0xbc, 0x97, 0x05, 0xd3, 0xcc, 0x76, 0x72, 0x1a, 0xa7, 0xe9, 0xd1, 0x16, 0xcc, 0x3b, 0xe4, - 0x40, 0x63, 0x6a, 0xdc, 0xd7, 0x5c, 0x6a, 0x39, 0xdd, 0x2d, 0xcd, 0xd0, 0x68, 0x65, 0xcc, 0xaf, - 0xf6, 0x8f, 0x8f, 0xaa, 0xf3, 0x38, 0x63, 0x1e, 0x67, 0x72, 0xa1, 0x77, 0x60, 0xcc, 0x56, 0x3c, - 0x97, 0xa8, 0x95, 0xf1, 0x2b, 0xd2, 0xd5, 0x52, 0x14, 0x90, 0x1a, 0x7c, 0x14, 0x8b, 0x59, 0x64, - 0x24, 0xbc, 0xbb, 0x74, 0x1a, 0xde, 0x3d, 0x9d, 0xef, 0xd9, 0xf2, 0xa7, 0x05, 0x98, 0x4d, 0x07, - 0x4b, 0x96, 0x22, 0xad, 0x96, 0x4b, 0x9c, 0x03, 0xa2, 0xde, 0xf3, 0x8f, 0x51, 0x9a, 0x65, 0x72, - 0xf7, 0x2c, 0x46, 0x6f, 0xeb, 0xa3, 0x1e, 0x0a, 0x9c, 0xc1, 0x85, 0xde, 0x8d, 0x39, 0xb8, 0x9f, - 0x64, 0xc3, 0x6d, 0xcb, 0x70, 0xf2, 0x55, 0x98, 0x11, 0x6f, 0x7c, 0x30, 0x29, 0x32, 0x69, 0xb8, - 0x6d, 0x8f, 0x93, 0xd3, 0x38, 0x4d, 0x8f, 0xee, 0xc1, 0x9c, 0x72, 0xa0, 0x68, 0xba, 0xd2, 0xd2, - 0x49, 0x08, 0xe2, 0x67, 0xd0, 0x37, 0x04, 0xc8, 0xdc, 0x6a, 0x9a, 0x00, 0xf7, 0xf2, 0xa0, 0x6d, - 0xb8, 0xe8, 0x99, 0xbd, 0x50, 0xbe, 0x1b, 0x7d, 0x46, 0x40, 0x5d, 0x7c, 0xdc, 0x4b, 0x82, 0xb3, - 0xf8, 0xe4, 0xbf, 0x93, 0xe2, 0x71, 0x39, 0x70, 0x59, 0x74, 0x0b, 0x46, 0x68, 0xd7, 0x0e, 0xe2, - 0xf2, 0x3b, 0x41, 0x5c, 0xde, 0xe9, 0xda, 0xe4, 0x25, 0x2f, 0x1c, 0xd2, 0x1c, 0x6c, 0x06, 0x73, - 0x1e, 0xf4, 0x5d, 0x98, 0x62, 0x5b, 0xa9, 0x99, 0x1d, 0xdf, 0x2a, 0x22, 0x2e, 0x6c, 0x0c, 0xe1, - 0x2e, 0x21, 0x46, 0x2c, 0xbf, 0xcc, 0x1d, 0x1f, 0x55, 0xa7, 0x12, 0x93, 0x38, 0x29, 0x4f, 0xfe, - 0x00, 0xa6, 0xee, 0x1e, 0xda, 0x96, 0x43, 0x1f, 0xd9, 0x7e, 0x6c, 0x7e, 0x07, 0xc6, 0x08, 0x1f, - 0xe0, 0xeb, 0x89, 0x79, 0xb9, 0x4f, 0x86, 0xc5, 0x2c, 0x7a, 0x1b, 0x46, 0xc9, 0xa1, 0xd2, 0xa6, - 0x5c, 0xe3, 0x52, 0x94, 0xc9, 0xee, 0xb2, 0x41, 0xec, 0xcf, 0xc9, 0x3f, 0x94, 0x60, 0x61, 0xa3, - 0x79, 0xcf, 0xb1, 0x3c, 0x3b, 0x58, 0x7c, 0x20, 0xe7, 0x17, 0x60, 0xc4, 0xf1, 0xf4, 0xc0, 0x6a, - 0x6f, 0x07, 0x56, 0xc3, 0x9e, 0xce, 0xac, 0x76, 0x31, 0xc5, 0xe5, 0x9b, 0x8c, 0x31, 0xa0, 0x67, - 0x30, 0xe6, 0x28, 0x66, 0x87, 0x04, 0x79, 0xed, 0x0b, 0x03, 0xda, 0x6a, 0x73, 0x1d, 0x33, 0xf6, - 0x68, 0x61, 0xfc, 0xd1, 0xc5, 0x02, 0x55, 0xfe, 0x1d, 0x09, 0x66, 0xee, 0xef, 0xec, 0x34, 0x36, - 0xcd, 0x8e, 0x43, 0x5c, 0xb7, 0xa1, 0xd0, 0x3d, 0x96, 0x7a, 0x6d, 0x85, 0xee, 0xa5, 0x53, 0x2f, - 0x9b, 0xc3, 0x7c, 0x06, 0xed, 0xc1, 0x38, 0x7b, 0x1f, 0x89, 0xa9, 0x0e, 0x59, 0x52, 0x09, 0x71, - 0x75, 0x1f, 0xa4, 0x3e, 0x23, 0x64, 0x8c, 0x8b, 0x01, 0x1c, 0xc0, 0xcb, 0xdf, 0x81, 0xf9, 0x98, - 0x7a, 0xcc, 0x5e, 0xfc, 0x68, 0x8b, 0xda, 0x30, 0xca, 0x34, 0x09, 0x0e, 0xae, 0x83, 0x9e, 0xc3, - 0x52, 0x4b, 0x8e, 0x36, 0x94, 0x3d, 0xb9, 0xd8, 0xc7, 0x96, 0xff, 0xb1, 0x00, 0x97, 0xef, 0x5b, - 0x8e, 0xf6, 0x6d, 0xcb, 0xa4, 0x8a, 0xde, 0xb0, 0xd4, 0x55, 0x8f, 0x5a, 0x6e, 0x5b, 0xd1, 0x89, - 0x73, 0x86, 0xc5, 0xaa, 0x9e, 0x28, 0x56, 0x1f, 0x0c, 0xba, 0xb2, 0x6c, 0x7d, 0x73, 0x2b, 0x57, - 0x9a, 0xaa, 0x5c, 0xb7, 0x4e, 0x49, 0x5e, 0xff, 0x32, 0xf6, 0x3f, 0x24, 0xf8, 0x4c, 0x0e, 0xe7, - 0x79, 0xd4, 0xb4, 0xfb, 0xc9, 0x9a, 0x76, 0xe3, 0x74, 0xd6, 0x9c, 0x53, 0xe0, 0xfe, 0x4f, 0x21, - 0x77, 0xad, 0xbc, 0xa4, 0xfa, 0x10, 0x4a, 0xfc, 0x09, 0x93, 0x5d, 0xb1, 0xd6, 0xb5, 0x01, 0xf5, - 0x69, 0x7a, 0xad, 0xe0, 0x46, 0x08, 0x93, 0x5d, 0xe2, 0x10, 0xb3, 0x4d, 0x62, 0xd5, 0x86, 0x00, - 0xc7, 0xa1, 0x18, 0x74, 0x1d, 0x26, 0x78, 0xf5, 0x90, 0xc8, 0x73, 0x33, 0xec, 0xac, 0xb6, 0x1d, - 0x0d, 0xe3, 0x38, 0x0d, 0x3b, 0xe2, 0x19, 0xca, 0x61, 0x2a, 0xcb, 0x85, 0x47, 0xbc, 0xed, 0x68, - 0x0a, 0xc7, 0xe9, 0xd0, 0x77, 0x61, 0xba, 0x6d, 0x7b, 0xb1, 0x0b, 0x49, 0x51, 0x4e, 0x0d, 0xba, - 0xc4, 0xac, 0xbb, 0xcd, 0x3a, 0x3a, 0x3e, 0xaa, 0x4e, 0xaf, 0x35, 0x1e, 0xc7, 0xc6, 0x70, 0x4a, - 0x9c, 0xfc, 0xe7, 0x45, 0x78, 0xab, 0xaf, 0x8f, 0xa2, 0x8d, 0x3e, 0xd5, 0xc3, 0xc2, 0x00, 0x95, - 0x83, 0x0a, 0x53, 0xba, 0xe2, 0x52, 0x6e, 0xee, 0x1d, 0xcd, 0x08, 0xb2, 0xdb, 0xcf, 0xbe, 0xa6, - 0xe3, 0x32, 0x16, 0x3f, 0x85, 0x6d, 0xc5, 0x51, 0x70, 0x12, 0x94, 0x55, 0x1c, 0xe2, 0xa2, 0x20, - 0xaf, 0xe2, 0x58, 0x4b, 0x4e, 0xe3, 0x34, 0x3d, 0x83, 0x10, 0xe7, 0xf8, 0x54, 0xbd, 0x11, 0x42, - 0xac, 0x27, 0xa7, 0x71, 0x9a, 0x1e, 0x19, 0x50, 0x15, 0xa8, 0x49, 0xf3, 0xc7, 0x2e, 0x99, 0xfd, - 0xba, 0xe3, 0xed, 0xe3, 0xa3, 0x6a, 0x75, 0xad, 0x3f, 0x29, 0x7e, 0x15, 0x96, 0xbc, 0x0d, 0x53, - 0xf7, 0x2d, 0x97, 0x36, 0x58, 0x4a, 0x66, 0x79, 0x0b, 0xbd, 0x05, 0x45, 0x43, 0x33, 0xc5, 0x09, - 0x64, 0x42, 0xa8, 0x5d, 0x64, 0xce, 0xcb, 0xc6, 0xf9, 0xb4, 0x72, 0x28, 0xfc, 0x3a, 0x9a, 0x56, - 0x0e, 0x31, 0x1b, 0x97, 0xef, 0xc1, 0xb8, 0xc8, 0x8b, 0x71, 0xa0, 0x62, 0x7f, 0xa0, 0x62, 0x06, - 0xd0, 0xef, 0x17, 0x60, 0x5c, 0xa4, 0x91, 0x33, 0x4c, 0x08, 0x1f, 0x24, 0x12, 0xc2, 0xad, 0xe1, - 0x52, 0x6d, 0x6e, 0x02, 0x50, 0x53, 0x09, 0xe0, 0xfd, 0x21, 0xf1, 0xfb, 0x07, 0xfc, 0x1f, 0x48, - 0x30, 0x9d, 0x4c, 0xfa, 0x2c, 0xa2, 0xb0, 0x77, 0x48, 0x6b, 0x93, 0x87, 0xd1, 0x41, 0x3f, 0x8c, - 0x28, 0xcd, 0x68, 0x0a, 0xc7, 0xe9, 0x10, 0x09, 0xd9, 0x98, 0x3b, 0x08, 0xa3, 0xd4, 0x72, 0x94, - 0xf6, 0xa8, 0xa6, 0xd7, 0xfc, 0x2f, 0x2c, 0xb5, 0x4d, 0x93, 0x3e, 0x72, 0x9a, 0xd4, 0xd1, 0xcc, - 0x4e, 0x8f, 0x18, 0xee, 0x59, 0x71, 0x5c, 0xf9, 0xaf, 0x25, 0x98, 0x10, 0x0a, 0x9f, 0x47, 0x46, - 0xfa, 0x46, 0x32, 0x23, 0x7d, 0x61, 0xc8, 0x7a, 0x2a, 0x3b, 0x03, 0xfd, 0x28, 0x5a, 0x0b, 0xab, - 0xa0, 0x58, 0x81, 0xb7, 0x67, 0xb9, 0x34, 0x5d, 0xe0, 0xb1, 0x57, 0x0c, 0xf3, 0x19, 0xf4, 0x6b, - 0x12, 0xcc, 0x6a, 0xa9, 0x9a, 0x4b, 0x98, 0xfa, 0xcb, 0xc3, 0xa9, 0x16, 0xc2, 0x44, 0xdf, 0x9d, - 0xd2, 0x33, 0xb8, 0x47, 0xa4, 0xec, 0x41, 0x0f, 0x15, 0x52, 0x60, 0x64, 0x8f, 0x52, 0x7b, 0xc8, - 0x5c, 0x99, 0x55, 0x4d, 0xd6, 0x4b, 0x7c, 0xf9, 0x3b, 0x3b, 0x0d, 0xcc, 0xa1, 0xe5, 0x1f, 0x14, - 0x42, 0x83, 0x35, 0xfd, 0x77, 0x24, 0xac, 0x77, 0xa5, 0xd3, 0xa8, 0x77, 0x27, 0xb2, 0x6a, 0x5d, - 0xf4, 0x14, 0x8a, 0x54, 0x1f, 0xf6, 0x9e, 0x4d, 0x48, 0xd8, 0xd9, 0x6a, 0x46, 0x71, 0x6a, 0x67, - 0xab, 0x89, 0x19, 0x24, 0xfa, 0x16, 0x8c, 0xb2, 0xd3, 0x04, 0x7b, 0xc5, 0x8b, 0xc3, 0x87, 0x10, - 0x66, 0xaf, 0xc8, 0xc3, 0xd8, 0x93, 0x8b, 0x7d, 0x5c, 0xf9, 0x3b, 0x30, 0x95, 0x88, 0x03, 0xe8, - 0x39, 0x4c, 0xea, 0x96, 0xa2, 0xd6, 0x15, 0x5d, 0x31, 0xdb, 0x24, 0xb8, 0xe2, 0xff, 0xb9, 0xfe, - 0x11, 0x71, 0x2b, 0xc6, 0x21, 0xe2, 0x49, 0xf8, 0xed, 0x2f, 0x3e, 0x87, 0x13, 0xd8, 0xb2, 0x02, - 0x10, 0xad, 0x1e, 0x55, 0x61, 0x94, 0xb9, 0xb0, 0x7f, 0x32, 0x28, 0xd7, 0xcb, 0x4c, 0x57, 0xe6, - 0xd9, 0x2e, 0xf6, 0xc7, 0xd1, 0x0a, 0x80, 0x4b, 0xda, 0x0e, 0xa1, 0x3c, 0xec, 0xf0, 0x4b, 0xaf, - 0x28, 0x00, 0x37, 0xc3, 0x19, 0x1c, 0xa3, 0x92, 0x7f, 0xab, 0x00, 0xc5, 0x07, 0x56, 0xeb, 0x0c, - 0x83, 0xfc, 0xd3, 0x44, 0x90, 0x1f, 0xf4, 0xfd, 0x7f, 0x60, 0xb5, 0x72, 0x03, 0xfc, 0x2f, 0xa7, - 0x02, 0xfc, 0xcd, 0x21, 0xb0, 0xfb, 0x07, 0xf7, 0xbf, 0x2f, 0xc2, 0xe4, 0x03, 0xab, 0xb5, 0x66, - 0x99, 0xaa, 0xc6, 0x4b, 0xa1, 0xf7, 0x12, 0x97, 0x04, 0x57, 0x52, 0x97, 0x04, 0xb3, 0x71, 0xda, - 0xd8, 0xf5, 0xc0, 0x93, 0x50, 0x51, 0x7f, 0x53, 0xee, 0x24, 0xc5, 0xbd, 0x3c, 0xaa, 0xf6, 0xfd, - 0x48, 0x5f, 0x0b, 0x31, 0x93, 0xea, 0xa1, 0x3d, 0xbf, 0x30, 0x6b, 0x38, 0x56, 0xcb, 0x2f, 0xcc, - 0x8a, 0x83, 0x17, 0x66, 0x97, 0x84, 0x2e, 0xbc, 0x38, 0x0b, 0x91, 0x70, 0x12, 0x18, 0x7d, 0x04, - 0x88, 0x0d, 0xec, 0x38, 0x8a, 0xe9, 0xfa, 0xab, 0x63, 0xe2, 0x46, 0x06, 0x17, 0x17, 0xde, 0x5a, - 0x6d, 0xf5, 0xc0, 0xe1, 0x0c, 0x11, 0xe8, 0x1d, 0x18, 0x73, 0x88, 0xe2, 0x5a, 0x26, 0x2f, 0xbb, - 0xca, 0xb1, 0xe3, 0x3e, 0x1f, 0xc5, 0x62, 0x16, 0x7d, 0x1e, 0xc6, 0x0d, 0xe2, 0xba, 0xac, 0x3e, - 0x1b, 0xe3, 0x84, 0xe1, 0xc9, 0x7b, 0xdb, 0x1f, 0xc6, 0xc1, 0xbc, 0xfc, 0x67, 0x12, 0x8c, 0x3f, - 0xb0, 0x5a, 0xe7, 0x91, 0xfc, 0xbe, 0x96, 0x4c, 0x7e, 0x2b, 0x83, 0x3b, 0x68, 0x4e, 0xe2, 0xfb, - 0xa3, 0x22, 0x5f, 0x03, 0x8f, 0xe1, 0xd7, 0x61, 0xc2, 0x56, 0x1c, 0x45, 0xd7, 0x89, 0xae, 0xb9, - 0x86, 0x28, 0x1d, 0xf9, 0x99, 0xa7, 0x11, 0x0d, 0xe3, 0x38, 0x0d, 0x63, 0x69, 0x5b, 0x86, 0xad, - 0x93, 0xe0, 0xcb, 0x42, 0xc8, 0xb2, 0x16, 0x0d, 0xe3, 0x38, 0x0d, 0x7a, 0x04, 0x97, 0x94, 0x36, - 0xd5, 0x0e, 0xc8, 0x3a, 0x51, 0x54, 0x5d, 0x33, 0x49, 0x70, 0x9b, 0x5b, 0xe4, 0x25, 0xe4, 0x1b, - 0xc7, 0x47, 0xd5, 0x4b, 0xab, 0x59, 0x04, 0x38, 0x9b, 0x2f, 0x71, 0x8d, 0x3e, 0x72, 0x06, 0xd7, - 0xe8, 0xef, 0xc1, 0xa4, 0xe2, 0x51, 0x2b, 0x98, 0xe1, 0xfe, 0x53, 0xaa, 0xcf, 0xb2, 0x90, 0xbb, - 0x1a, 0x1b, 0xc7, 0x09, 0xaa, 0xc4, 0xe5, 0xfb, 0xd8, 0x69, 0x7f, 0x5d, 0xfd, 0xd3, 0x22, 0x94, - 0xc3, 0xa0, 0x83, 0x2c, 0x80, 0x76, 0xf0, 0x62, 0x07, 0xd7, 0x3d, 0xb7, 0x07, 0xf7, 0x90, 0x30, - 0x38, 0x44, 0x71, 0x38, 0x1c, 0x72, 0x71, 0x4c, 0x04, 0x7a, 0x0a, 0x65, 0x97, 0x2a, 0x0e, 0x1d, - 0xf6, 0x0c, 0x37, 0x75, 0x7c, 0x54, 0x2d, 0x37, 0x03, 0x04, 0x1c, 0x81, 0xa1, 0x0e, 0x4c, 0x47, - 0xbe, 0x32, 0x6c, 0x24, 0xf2, 0x0f, 0xbd, 0x09, 0x18, 0x9c, 0x82, 0x65, 0xe1, 0xc0, 0xf7, 0x26, - 0x71, 0xb0, 0x0b, 0xc3, 0x81, 0xef, 0x7a, 0x58, 0xcc, 0xa2, 0x65, 0x28, 0xbb, 0x5e, 0xbb, 0x4d, - 0x88, 0x4a, 0x54, 0x71, 0x60, 0x9b, 0x13, 0xa4, 0xe5, 0x66, 0x30, 0x81, 0x23, 0x1a, 0x06, 0xbc, - 0xab, 0x68, 0x3a, 0x51, 0xc5, 0x57, 0x85, 0x10, 0x78, 0x83, 0x8f, 0x62, 0x31, 0xcb, 0xfb, 0x17, - 0x1e, 0x12, 0xfa, 0x91, 0xe5, 0xec, 0x37, 0x2c, 0x5d, 0x6b, 0x77, 0xcf, 0x30, 0x73, 0xb6, 0x12, - 0x99, 0xf3, 0x2b, 0x03, 0xba, 0x46, 0x42, 0xcb, 0xbc, 0x1c, 0x2a, 0xff, 0xbb, 0x04, 0x95, 0x04, - 0x65, 0xbc, 0x9c, 0x26, 0x30, 0x6a, 0x5b, 0x0e, 0x0d, 0x9c, 0xf3, 0x44, 0x1a, 0xb0, 0xb3, 0x47, - 0xec, 0x36, 0x92, 0xc1, 0x62, 0x1f, 0x9d, 0xad, 0x73, 0xd7, 0xb1, 0x0c, 0x11, 0x24, 0x4f, 0x26, - 0x85, 0x10, 0x27, 0x5a, 0xe7, 0x86, 0x63, 0x19, 0x98, 0x63, 0xcb, 0xff, 0x20, 0xc1, 0x5c, 0x82, - 0xf2, 0x3c, 0xc2, 0xbf, 0x92, 0x0c, 0xff, 0xef, 0x9f, 0x64, 0x65, 0x39, 0x89, 0xe0, 0xbf, 0xd3, - 0xeb, 0x62, 0x16, 0x40, 0x1d, 0x98, 0xb0, 0x2d, 0xb5, 0x79, 0x1a, 0x6d, 0x28, 0x7e, 0x22, 0x89, - 0xc0, 0x70, 0x1c, 0x19, 0x75, 0x61, 0xce, 0x54, 0x0c, 0xe2, 0xda, 0x4a, 0x9b, 0x34, 0x4f, 0xe3, - 0xa3, 0xe8, 0xa5, 0xe3, 0xa3, 0xea, 0xdc, 0xc3, 0x34, 0x24, 0xee, 0x95, 0x22, 0xff, 0x71, 0xcf, - 0xca, 0x2d, 0x87, 0xa2, 0xaf, 0x42, 0x89, 0xb7, 0x19, 0xb6, 0x2d, 0x5d, 0x14, 0x69, 0x37, 0xd8, - 0xe6, 0x34, 0xc4, 0xd8, 0xcb, 0xa3, 0xea, 0xcf, 0xf4, 0x2d, 0xb5, 0x02, 0x42, 0x1c, 0xc2, 0xa0, - 0x2d, 0x18, 0xb1, 0x87, 0x3f, 0x90, 0xf3, 0x13, 0x18, 0x3f, 0x85, 0x73, 0x14, 0xf9, 0x3f, 0xd3, - 0x6a, 0xf3, 0x1c, 0xbe, 0x7f, 0x7a, 0x1b, 0x16, 0xde, 0x00, 0xe4, 0x6e, 0x9a, 0x03, 0xe3, 0xe2, - 0x3c, 0x2a, 0x1c, 0xf3, 0xde, 0x49, 0x1c, 0x33, 0x7e, 0x86, 0x0a, 0x8b, 0xae, 0x60, 0x30, 0x10, - 0xc4, 0xdf, 0x3f, 0xae, 0x50, 0xdb, 0x73, 0x34, 0xda, 0x3d, 0xf3, 0xd8, 0xb9, 0x9b, 0x88, 0x9d, - 0xeb, 0x03, 0x2e, 0xb0, 0x47, 0xd3, 0xdc, 0xf8, 0xf9, 0x2f, 0x12, 0x5c, 0xea, 0xa1, 0x3e, 0x8f, - 0xd8, 0x42, 0x92, 0xb1, 0xe5, 0x2b, 0x27, 0x5d, 0x61, 0x4e, 0x7c, 0x79, 0x01, 0x19, 0xeb, 0xe3, - 0x2e, 0xbb, 0x02, 0x60, 0x3b, 0xda, 0x81, 0xa6, 0x93, 0x8e, 0x68, 0x05, 0x2b, 0x45, 0x7b, 0xd2, - 0x08, 0x67, 0x70, 0x8c, 0x0a, 0xfd, 0x0a, 0x2c, 0xa8, 0x64, 0x57, 0xf1, 0x74, 0xba, 0xaa, 0xaa, - 0x6b, 0x8a, 0xad, 0xb4, 0x34, 0x5d, 0xa3, 0x9a, 0xf8, 0x08, 0x58, 0xae, 0xdf, 0xf5, 0x5b, 0xb4, - 0xb2, 0x28, 0x5e, 0x1e, 0x55, 0x3f, 0xd7, 0xff, 0x90, 0x14, 0x10, 0x77, 0x71, 0x8e, 0x10, 0xf4, - 0xab, 0x12, 0x54, 0x1c, 0xf2, 0xa1, 0xa7, 0x39, 0x44, 0x5d, 0x77, 0x2c, 0x3b, 0xa1, 0x41, 0x91, - 0x6b, 0x70, 0xef, 0xf8, 0xa8, 0x5a, 0xc1, 0x39, 0x34, 0x83, 0xe8, 0x90, 0x2b, 0x08, 0x51, 0xb8, - 0xa8, 0xe8, 0xba, 0xf5, 0x11, 0x49, 0x5a, 0x60, 0x84, 0xcb, 0xaf, 0x1f, 0x1f, 0x55, 0x2f, 0xae, - 0xf6, 0x4e, 0x0f, 0x22, 0x3a, 0x0b, 0x1e, 0x2d, 0xc3, 0xf8, 0x81, 0xa5, 0x7b, 0x06, 0x71, 0x2b, - 0xa3, 0x5c, 0x12, 0x8b, 0xb4, 0xe3, 0x4f, 0xfc, 0xa1, 0x97, 0xac, 0xd0, 0x69, 0xf2, 0x13, 0x6b, - 0x40, 0x85, 0x6e, 0xc0, 0xc4, 0x9e, 0xe5, 0x52, 0xf1, 0xae, 0xf3, 0xb2, 0xa8, 0x14, 0x05, 0x97, - 0xfb, 0xd1, 0x14, 0x8e, 0xd3, 0x21, 0x03, 0xca, 0x7b, 0xe2, 0x46, 0xdb, 0xad, 0x8c, 0x0f, 0x95, - 0xf7, 0x12, 0x37, 0xe2, 0x51, 0xdd, 0x16, 0x0c, 0xbb, 0x38, 0x92, 0xc0, 0xce, 0x7d, 0xfc, 0x61, - 0x73, 0x9d, 0xb7, 0x68, 0x94, 0xa2, 0x10, 0x74, 0xdf, 0x1f, 0xc6, 0xc1, 0x7c, 0x40, 0xba, 0xd9, - 0x58, 0xab, 0x94, 0x7b, 0x49, 0x37, 0x1b, 0x6b, 0x38, 0x98, 0x47, 0x36, 0x8c, 0xbb, 0x64, 0x4b, - 0x33, 0xbd, 0xc3, 0x0a, 0xf0, 0x57, 0xf7, 0xee, 0xa0, 0x1f, 0xae, 0xee, 0x72, 0xee, 0xd4, 0xd7, - 0xf2, 0x48, 0xa2, 0x98, 0xc7, 0x81, 0x18, 0x74, 0x08, 0x65, 0xc7, 0x33, 0x57, 0xdd, 0xc7, 0x2e, - 0x71, 0x2a, 0x13, 0x5c, 0xe6, 0xa0, 0x51, 0x19, 0x07, 0xfc, 0x69, 0xa9, 0xa1, 0x05, 0x43, 0x0a, - 0x1c, 0x09, 0x43, 0xbf, 0x2d, 0x01, 0x72, 0x3d, 0xdb, 0xd6, 0x89, 0x41, 0x4c, 0xaa, 0xe8, 0xfc, - 0x83, 0xbd, 0x5b, 0x99, 0xe4, 0x3a, 0x34, 0x06, 0xfe, 0x60, 0x97, 0x06, 0x4a, 0x2b, 0x13, 0x5e, - 0x00, 0xf4, 0x92, 0xe2, 0x0c, 0x3d, 0xd8, 0x56, 0xec, 0xba, 0xfc, 0x77, 0x65, 0x6a, 0xa8, 0xad, - 0xc8, 0x6e, 0x5c, 0x88, 0xb6, 0x42, 0xcc, 0xe3, 0x40, 0x0c, 0x7a, 0x02, 0x0b, 0x0e, 0x51, 0xd4, - 0x47, 0xa6, 0xde, 0xc5, 0x96, 0x45, 0x37, 0x34, 0x9d, 0xb8, 0x5d, 0x97, 0x12, 0xa3, 0x32, 0xcd, - 0xdd, 0x26, 0xec, 0x25, 0xc5, 0x99, 0x54, 0x38, 0x87, 0x9b, 0x37, 0x85, 0x8a, 0xef, 0x4c, 0x67, - 0xdb, 0x2b, 0x7e, 0xb2, 0xa6, 0xd0, 0x48, 0xc5, 0x33, 0x6b, 0x0a, 0x8d, 0x89, 0xe8, 0x7f, 0xff, - 0xf6, 0x5f, 0x05, 0xb8, 0x18, 0x11, 0x47, 0xd7, 0x70, 0xb7, 0x13, 0xd7, 0x70, 0x9f, 0x4b, 0x5d, - 0xc3, 0x5d, 0xce, 0x60, 0x39, 0x87, 0xdb, 0xb8, 0xec, 0x3b, 0xb2, 0xe2, 0x79, 0xde, 0x91, 0x8d, - 0xbc, 0xee, 0x1d, 0xd9, 0xe8, 0x2b, 0xee, 0xc8, 0x7e, 0x2c, 0xc1, 0x74, 0x64, 0xc5, 0xff, 0x03, - 0xdd, 0xb8, 0x91, 0xb2, 0x39, 0x85, 0xcc, 0x9f, 0x14, 0xe2, 0x2b, 0xfa, 0xff, 0xd4, 0xf2, 0x99, - 0xd1, 0x81, 0x39, 0x32, 0x58, 0x07, 0xa6, 0xfc, 0xcf, 0x45, 0x98, 0x4d, 0xbf, 0xb4, 0x89, 0x86, - 0x42, 0xe9, 0x95, 0x0d, 0x85, 0x0d, 0x98, 0xdf, 0xf5, 0x74, 0xbd, 0xcb, 0x0d, 0x12, 0xfb, 0x40, - 0xef, 0xdf, 0x3d, 0xbe, 0x29, 0x38, 0xe7, 0x37, 0x32, 0x68, 0x70, 0x26, 0x67, 0x4e, 0x73, 0x64, - 0x71, 0xa8, 0xe6, 0xc8, 0xdb, 0x30, 0xe5, 0xf0, 0x36, 0xfe, 0x64, 0xdf, 0x40, 0x78, 0x39, 0x8e, - 0xe3, 0x93, 0x38, 0x49, 0x9b, 0xdd, 0xe8, 0x38, 0x3a, 0x44, 0xa3, 0xe3, 0x41, 0xe2, 0x46, 0x70, - 0x8c, 0xbf, 0x08, 0xf5, 0xa1, 0x5f, 0x84, 0xd7, 0xbe, 0x18, 0x94, 0xdf, 0x84, 0x45, 0xc1, 0xc6, - 0x9e, 0xd7, 0x2c, 0x93, 0x3a, 0x96, 0xae, 0x13, 0x67, 0xdd, 0x33, 0x8c, 0xae, 0x7c, 0x07, 0xa6, - 0x93, 0x7d, 0xac, 0xfe, 0xce, 0xfb, 0xad, 0xb5, 0xa2, 0xc1, 0x20, 0xb6, 0xf3, 0xfe, 0x38, 0x0e, - 0x29, 0xe4, 0x9f, 0x4a, 0x70, 0x39, 0xa7, 0xb3, 0x11, 0x3d, 0x87, 0x69, 0x43, 0x39, 0x8c, 0xb5, - 0x6e, 0x8a, 0xd0, 0x32, 0xe8, 0x29, 0x9b, 0xdf, 0x1d, 0x6e, 0x27, 0x90, 0x70, 0x0a, 0x99, 0x27, - 0x5c, 0xe5, 0xb0, 0xe9, 0x39, 0x1d, 0x32, 0xe4, 0x59, 0x9e, 0xbf, 0xbe, 0xdb, 0x02, 0x03, 0x87, - 0x68, 0xf2, 0x0f, 0x25, 0xa8, 0xe4, 0x55, 0x5f, 0xe8, 0x46, 0xa2, 0x43, 0xf2, 0xb3, 0xa9, 0x0e, - 0xc9, 0xb9, 0x1e, 0xbe, 0x73, 0xea, 0x8f, 0xfc, 0x91, 0x04, 0x0b, 0xd9, 0x55, 0x2a, 0xfa, 0xf9, - 0x84, 0xc6, 0xd5, 0x94, 0xc6, 0x33, 0x29, 0x2e, 0xa1, 0xef, 0x1e, 0x4c, 0x8b, 0x5a, 0x56, 0xc0, - 0xbc, 0xc6, 0xbf, 0xfd, 0x0e, 0xc2, 0x42, 0x39, 0xa8, 0xca, 0xf8, 0x3e, 0x26, 0xc7, 0x70, 0x0a, - 0x57, 0xfe, 0xdd, 0x02, 0x8c, 0xf2, 0xb6, 0xa1, 0x33, 0x2c, 0xa1, 0xbe, 0x9e, 0x28, 0xa1, 0x06, - 0xfd, 0xb0, 0xc8, 0xb5, 0xcb, 0xad, 0x9e, 0x5a, 0xa9, 0xea, 0xe9, 0xd6, 0x50, 0xe8, 0xfd, 0x0b, - 0xa7, 0x2f, 0x42, 0x39, 0x54, 0x62, 0xb0, 0x40, 0xcd, 0xca, 0xd4, 0x89, 0x98, 0x88, 0x01, 0xc3, - 0xfc, 0x41, 0x22, 0x53, 0x0e, 0xf3, 0xb7, 0xd4, 0x98, 0xec, 0x5a, 0x90, 0x2a, 0xfd, 0xff, 0xa7, - 0x44, 0x8d, 0x7f, 0xbd, 0x19, 0xf4, 0x0e, 0x4c, 0xfb, 0xff, 0xed, 0x0d, 0xef, 0xd0, 0x8a, 0xdc, - 0x7b, 0x17, 0x04, 0xcf, 0xf4, 0x4e, 0x62, 0x16, 0xa7, 0xa8, 0x17, 0x6f, 0xc3, 0x54, 0x42, 0xd8, - 0x40, 0x7f, 0x27, 0xf9, 0x4b, 0x09, 0xe6, 0xb3, 0x5a, 0x15, 0xd1, 0x15, 0x18, 0xd9, 0xd7, 0x44, - 0x6f, 0x45, 0xac, 0x1f, 0xe5, 0x17, 0x35, 0x53, 0xc5, 0x7c, 0x26, 0xfc, 0x37, 0x50, 0x21, 0xf7, - 0xdf, 0x40, 0x2b, 0x00, 0x8a, 0xad, 0x89, 0xff, 0x4b, 0x8b, 0x55, 0x85, 0xce, 0x1b, 0xfd, 0x93, - 0x1a, 0xc7, 0xa8, 0x78, 0x07, 0x52, 0xa4, 0x8f, 0x28, 0x0b, 0xa3, 0xd6, 0xa0, 0x98, 0xaa, 0x71, - 0x3a, 0xf9, 0xaf, 0x24, 0xf8, 0xec, 0x2b, 0x4f, 0x70, 0xa8, 0x9e, 0x08, 0x0f, 0xb5, 0x54, 0x78, - 0x58, 0xca, 0x07, 0x38, 0xc7, 0xee, 0xef, 0xef, 0x17, 0x00, 0xed, 0xec, 0x69, 0x8e, 0xda, 0x50, - 0x1c, 0xda, 0xc5, 0x62, 0x81, 0x67, 0x18, 0x30, 0x6e, 0xc0, 0x84, 0x4a, 0xdc, 0xb6, 0xa3, 0x71, - 0x23, 0x89, 0xed, 0x0c, 0x2d, 0xbe, 0x1e, 0x4d, 0xe1, 0x38, 0x1d, 0xea, 0x40, 0x49, 0xd4, 0x8a, - 0x41, 0x0b, 0xcb, 0xa0, 0x85, 0x6f, 0xe4, 0x01, 0xd1, 0xfb, 0x21, 0x06, 0x5c, 0x1c, 0x82, 0xcb, - 0x1f, 0x4b, 0xb0, 0xd0, 0x6b, 0x90, 0x75, 0xbf, 0x41, 0xe3, 0xac, 0x8c, 0xf2, 0x26, 0x8c, 0x70, - 0x54, 0x66, 0x8d, 0x49, 0xff, 0x26, 0x9c, 0x49, 0xc4, 0x7c, 0x54, 0xfe, 0x54, 0x82, 0xc5, 0x6c, - 0x95, 0xce, 0xe3, 0xbc, 0xf1, 0x3c, 0x79, 0xde, 0x18, 0xf4, 0x56, 0x21, 0x5b, 0xf1, 0x9c, 0xb3, - 0xc7, 0x4f, 0x33, 0x8d, 0x7f, 0x1e, 0xab, 0xdc, 0x4d, 0xae, 0x72, 0xf5, 0xc4, 0xab, 0xcc, 0x5e, - 0x61, 0xfd, 0xf3, 0x2f, 0x3e, 0x59, 0xba, 0xf0, 0x93, 0x4f, 0x96, 0x2e, 0xfc, 0xd3, 0x27, 0x4b, - 0x17, 0xbe, 0x77, 0xbc, 0x24, 0xbd, 0x38, 0x5e, 0x92, 0x7e, 0x72, 0xbc, 0x24, 0xfd, 0xeb, 0xf1, - 0x92, 0xf4, 0xf1, 0xbf, 0x2d, 0x5d, 0xf8, 0xfa, 0xb8, 0xc0, 0xfc, 0xdf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xa9, 0x8a, 0xb2, 0x1c, 0x98, 0x43, 0x00, 0x00, + // 3957 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5b, 0xdd, 0x6f, 0x64, 0xc9, + 0x55, 0x9f, 0xdb, 0xed, 0x8f, 0xee, 0xe3, 0xb1, 0xc7, 0x53, 0xe3, 0xf1, 0xf4, 0x3a, 0xbb, 0xee, + 0xc9, 0x5d, 0xb1, 0x99, 0x15, 0xbb, 0x6d, 0x66, 0xc8, 0x84, 0xcd, 0xee, 0x66, 0x12, 0xb7, 0xed, + 0xf9, 0x8a, 0x3d, 0xd3, 0xa9, 0xf6, 0x4c, 0x86, 0x64, 0xb3, 0xa1, 0xba, 0xbb, 0xdc, 0xbe, 0xeb, + 0xfb, 0xb5, 0xf7, 0xd6, 0xf5, 0xba, 0x13, 0xa1, 0x04, 0x01, 0x12, 0x2f, 0x84, 0xbc, 0x11, 0x09, + 0x78, 0x40, 0x02, 0xf1, 0x44, 0x44, 0x24, 0xa4, 0x3c, 0xf0, 0x02, 0x11, 0x88, 0xe5, 0x01, 0x25, + 0x20, 0x10, 0x3c, 0x80, 0xc3, 0x1a, 0x41, 0xc4, 0x3f, 0xc0, 0xc3, 0xc0, 0x03, 0xaa, 0xba, 0x75, + 0x3f, 0xfb, 0xde, 0x9e, 0xb9, 0xed, 0x0f, 0x09, 0xe5, 0xad, 0x6f, 0x9d, 0x73, 0x7e, 0xe7, 0x54, + 0xd5, 0xa9, 0x53, 0xa7, 0xaa, 0x4e, 0xc3, 0x67, 0xf6, 0xde, 0x70, 0x1b, 0x9a, 0xb5, 0xb2, 0xe7, + 0x75, 0xa8, 0x63, 0x52, 0x46, 0xdd, 0x15, 0x7b, 0xaf, 0xbf, 0x42, 0x6c, 0xcd, 0x5d, 0xa1, 0x07, + 0x8c, 0x9a, 0xae, 0x66, 0x99, 0xee, 0xca, 0xfe, 0xf5, 0x0e, 0x65, 0xe4, 0xfa, 0x4a, 0x9f, 0x9a, + 0xd4, 0x21, 0x8c, 0xf6, 0x1a, 0xb6, 0x63, 0x31, 0x0b, 0xbd, 0xee, 0x8b, 0x37, 0x22, 0xf1, 0x86, + 0xbd, 0xd7, 0x6f, 0x70, 0xf1, 0x46, 0x24, 0xde, 0x90, 0xe2, 0x4b, 0xaf, 0xf7, 0x35, 0xb6, 0xeb, + 0x75, 0x1a, 0x5d, 0xcb, 0x58, 0xe9, 0x5b, 0x7d, 0x6b, 0x45, 0xa0, 0x74, 0xbc, 0x1d, 0xf1, 0x25, + 0x3e, 0xc4, 0x2f, 0x1f, 0x7d, 0xe9, 0x46, 0xae, 0x71, 0x2b, 0x0e, 0x75, 0x2d, 0xcf, 0xe9, 0xd2, + 0xb4, 0x45, 0x4b, 0x37, 0xf3, 0x65, 0x3c, 0x73, 0x9f, 0x3a, 0xdc, 0x20, 0xda, 0x1b, 0x12, 0x7b, + 0x2d, 0x5f, 0x6c, 0x7f, 0xa8, 0xdb, 0x4b, 0xaf, 0x67, 0x73, 0x3b, 0x9e, 0xc9, 0x34, 0x63, 0xd8, + 0xa6, 0xeb, 0xd9, 0xec, 0x1e, 0xd3, 0xf4, 0x15, 0xcd, 0x64, 0x2e, 0x73, 0xd2, 0x22, 0x6a, 0x03, + 0x60, 0xb5, 0x75, 0xef, 0xb1, 0x6f, 0x2f, 0xba, 0x0a, 0x13, 0x26, 0x31, 0x68, 0x4d, 0xb9, 0xaa, + 0x5c, 0xab, 0x36, 0xcf, 0x7f, 0x78, 0x58, 0x3f, 0x77, 0x74, 0x58, 0x9f, 0x78, 0x40, 0x0c, 0x8a, + 0x05, 0x45, 0x7d, 0x07, 0x16, 0xd6, 0x5a, 0x8f, 0xb6, 0x89, 0xd3, 0xa7, 0xec, 0x11, 0xd3, 0x74, + 0xed, 0x6b, 0x84, 0x71, 0xc9, 0x75, 0x98, 0x67, 0xa2, 0xb1, 0x45, 0x9d, 0x2e, 0x35, 0x19, 0xe9, + 0xfb, 0x28, 0x93, 0xcd, 0x9a, 0x44, 0x99, 0xdf, 0x4e, 0xd1, 0xf1, 0x90, 0x84, 0xfa, 0xdb, 0x0a, + 0xbc, 0xb0, 0xe6, 0xb9, 0xcc, 0x32, 0xb6, 0x28, 0x73, 0xb4, 0xee, 0x9a, 0xe7, 0x38, 0xd4, 0x64, + 0x6d, 0x46, 0x98, 0xe7, 0x3e, 0xdb, 0x3a, 0xf4, 0x04, 0x26, 0xf7, 0x89, 0xee, 0xd1, 0x5a, 0xe9, + 0xaa, 0x72, 0x6d, 0xe6, 0xc6, 0x6b, 0x8d, 0x5c, 0xb7, 0x69, 0x04, 0x13, 0xdb, 0xf8, 0x82, 0x47, + 0x4c, 0xa6, 0xb1, 0x41, 0x73, 0x41, 0x02, 0x9e, 0x97, 0x5a, 0x1f, 0x73, 0x24, 0xec, 0x03, 0xaa, + 0xdf, 0x52, 0xe0, 0xa5, 0x5c, 0xcb, 0x36, 0x35, 0x97, 0x21, 0x03, 0x26, 0x35, 0x46, 0x0d, 0xb7, + 0xa6, 0x5c, 0x2d, 0x5f, 0x9b, 0xb9, 0x71, 0xb7, 0x51, 0xc8, 0x65, 0x1b, 0xb9, 0xe0, 0xcd, 0x59, + 0x69, 0xd7, 0xe4, 0x3d, 0x0e, 0x8f, 0x7d, 0x2d, 0xea, 0x6f, 0x29, 0x80, 0xe2, 0x32, 0xfe, 0xe8, + 0x3e, 0xc7, 0x18, 0x7d, 0xf1, 0x38, 0x63, 0x74, 0x49, 0x02, 0xce, 0xf8, 0xea, 0x12, 0x43, 0xf4, + 0x4d, 0x05, 0x16, 0x87, 0x2d, 0x12, 0x63, 0xb3, 0x93, 0x1c, 0x9b, 0xd5, 0x63, 0x8c, 0x8d, 0x8f, + 0x9a, 0x33, 0x28, 0x7f, 0x5c, 0x82, 0xea, 0x3a, 0xa1, 0x86, 0x65, 0xb6, 0x29, 0x43, 0x4f, 0xa0, + 0x62, 0x50, 0x46, 0x7a, 0x84, 0x11, 0x31, 0x1e, 0x33, 0x37, 0xae, 0x8d, 0xe8, 0xec, 0xfe, 0xf5, + 0xc6, 0xc3, 0xce, 0x7b, 0xb4, 0xcb, 0xb6, 0x28, 0x23, 0x4d, 0x24, 0xf1, 0x21, 0x6a, 0xc3, 0x21, + 0x1a, 0x7a, 0x17, 0x26, 0x5c, 0x9b, 0x76, 0xe5, 0x10, 0xbe, 0x5d, 0xb0, 0x3b, 0xa1, 0x85, 0x6d, + 0x9b, 0x76, 0xa3, 0x39, 0xe2, 0x5f, 0x58, 0xe0, 0xa2, 0x1d, 0x98, 0x72, 0xc5, 0xe4, 0xd7, 0xca, + 0x42, 0xc3, 0xad, 0xb1, 0x35, 0xf8, 0x2e, 0x34, 0x27, 0x75, 0x4c, 0xf9, 0xdf, 0x58, 0xa2, 0xab, + 0x7f, 0xab, 0xc0, 0x6c, 0xc8, 0x2b, 0x66, 0xea, 0x2b, 0x43, 0x63, 0xb6, 0x32, 0x62, 0xcc, 0x62, + 0x91, 0xae, 0xc1, 0xc5, 0xc5, 0xd0, 0xcd, 0x4b, 0x65, 0x95, 0xa0, 0x25, 0x36, 0x70, 0x5f, 0x09, + 0x1c, 0xa1, 0x24, 0x1c, 0xe1, 0x8d, 0x71, 0xfb, 0x95, 0x33, 0xff, 0xff, 0x10, 0xef, 0x4f, 0xdb, + 0x1f, 0xc9, 0x8a, 0x4b, 0x75, 0xda, 0x65, 0x96, 0x23, 0xfb, 0x53, 0x74, 0xb6, 0x36, 0x49, 0x87, + 0xea, 0x6d, 0x89, 0xd1, 0x3c, 0xcf, 0x3b, 0x16, 0x7c, 0xe1, 0x10, 0x1b, 0x7d, 0x19, 0x2a, 0x8c, + 0x1a, 0xb6, 0x4e, 0x58, 0xb0, 0xb0, 0x5e, 0x1f, 0xed, 0x6b, 0x2d, 0xab, 0xb7, 0x2d, 0x05, 0x84, + 0x1b, 0x84, 0xa3, 0x16, 0xb4, 0xe2, 0x10, 0x50, 0xfd, 0xcb, 0x12, 0x5c, 0x48, 0x4d, 0x29, 0x7a, + 0x0c, 0x8b, 0x5d, 0x3f, 0x4c, 0x3c, 0xf0, 0x8c, 0x0e, 0x75, 0xda, 0xdd, 0x5d, 0xda, 0xf3, 0x74, + 0xda, 0x93, 0x61, 0x77, 0x59, 0xe2, 0x2d, 0xae, 0x65, 0x72, 0xe1, 0x1c, 0x69, 0x74, 0x1f, 0x90, + 0x29, 0x9a, 0xb6, 0x34, 0xd7, 0x0d, 0x31, 0x4b, 0x02, 0x73, 0x49, 0x62, 0xa2, 0x07, 0x43, 0x1c, + 0x38, 0x43, 0x8a, 0xdb, 0xd8, 0xa3, 0xae, 0xe6, 0xd0, 0x5e, 0xda, 0xc6, 0x72, 0xd2, 0xc6, 0xf5, + 0x4c, 0x2e, 0x9c, 0x23, 0x8d, 0x6e, 0xc2, 0x8c, 0xaf, 0x0d, 0x53, 0xd2, 0x1b, 0xd4, 0x26, 0x04, + 0x58, 0x18, 0x9a, 0x1e, 0x44, 0x24, 0x1c, 0xe7, 0x53, 0xff, 0xa4, 0x04, 0xb0, 0x4e, 0x6d, 0xdd, + 0x1a, 0x18, 0xd4, 0x3c, 0xcd, 0xf0, 0xf0, 0xd5, 0x44, 0x78, 0xf8, 0x4c, 0x51, 0x27, 0x0f, 0x4d, + 0xcc, 0x8d, 0x0f, 0xfd, 0x54, 0x7c, 0xf8, 0xec, 0xf8, 0x2a, 0x46, 0x07, 0x88, 0x1f, 0x2a, 0x30, + 0x17, 0x31, 0x9f, 0x45, 0x84, 0x78, 0x37, 0x19, 0x21, 0x3e, 0x3d, 0x76, 0xcf, 0x72, 0x42, 0xc4, + 0x77, 0xca, 0x80, 0x22, 0x26, 0x6c, 0xe9, 0x7a, 0x87, 0x74, 0xf7, 0x9e, 0x63, 0xdf, 0xfc, 0x43, + 0x05, 0x90, 0x67, 0xf7, 0x78, 0xee, 0xb4, 0x6a, 0x9a, 0x16, 0x13, 0x79, 0x4f, 0x60, 0xe6, 0x2f, + 0x8e, 0x6d, 0x66, 0x60, 0x41, 0xe3, 0xd1, 0x10, 0xf6, 0x86, 0xc9, 0x9c, 0x41, 0xb4, 0xe8, 0x86, + 0x19, 0x70, 0x86, 0x41, 0xe8, 0x7d, 0x00, 0x47, 0x62, 0x6e, 0x5b, 0xd2, 0x3f, 0x8a, 0xba, 0x60, + 0x60, 0xd4, 0x9a, 0x65, 0xee, 0x68, 0xfd, 0xc8, 0xdb, 0x71, 0x08, 0x8c, 0x63, 0x4a, 0x96, 0x36, + 0xe0, 0x4a, 0x8e, 0xf5, 0x68, 0x1e, 0xca, 0x7b, 0x74, 0xe0, 0x0f, 0x2b, 0xe6, 0x3f, 0xd1, 0x42, + 0x3c, 0xff, 0xa8, 0xca, 0xe4, 0xe1, 0xcd, 0xd2, 0x1b, 0x8a, 0xfa, 0x9d, 0xc9, 0xb8, 0xb3, 0x89, + 0xf0, 0x7d, 0x0d, 0x2a, 0x0e, 0xb5, 0x75, 0xad, 0x4b, 0x5c, 0x19, 0xd7, 0x44, 0x00, 0xc6, 0xb2, + 0x0d, 0x87, 0xd4, 0x44, 0xa0, 0x2f, 0x9d, 0x51, 0xa0, 0x2f, 0x9f, 0x70, 0xa0, 0x47, 0x16, 0x54, + 0x5c, 0xc6, 0xd3, 0xf3, 0xbe, 0x1f, 0xd5, 0x8a, 0xa7, 0x4a, 0xf1, 0x95, 0xed, 0x03, 0x45, 0x0a, + 0x83, 0x16, 0x1c, 0x2a, 0x41, 0xab, 0x70, 0xc1, 0xd0, 0x4c, 0x11, 0x1e, 0xdb, 0xb4, 0x6b, 0x99, + 0x3d, 0xb7, 0x36, 0x29, 0x86, 0xf9, 0x8a, 0x14, 0xba, 0xb0, 0x95, 0x24, 0xe3, 0x34, 0x3f, 0xda, + 0x84, 0x05, 0x87, 0xee, 0x6b, 0xdc, 0x8c, 0xbb, 0x9a, 0xcb, 0x2c, 0x67, 0xb0, 0xa9, 0x19, 0x1a, + 0xab, 0x4d, 0xf9, 0xd9, 0xff, 0xd1, 0x61, 0x7d, 0x01, 0x67, 0xd0, 0x71, 0xa6, 0x14, 0x7a, 0x05, + 0xa6, 0x6c, 0xe2, 0xb9, 0xb4, 0x57, 0x9b, 0xbe, 0xaa, 0x5c, 0xab, 0x44, 0x81, 0xa9, 0x25, 0x5a, + 0xb1, 0xa4, 0x22, 0x23, 0xe1, 0xe5, 0x95, 0x93, 0xf0, 0xf2, 0xb9, 0x7c, 0x0f, 0x57, 0x7f, 0x52, + 0x82, 0xf9, 0x74, 0xd0, 0xe4, 0x5b, 0xa5, 0xd5, 0x71, 0xa9, 0xb3, 0x4f, 0x7b, 0x77, 0xfc, 0x63, + 0x95, 0x66, 0x99, 0xc2, 0x4d, 0xcb, 0xd1, 0xaa, 0x7d, 0x38, 0xc4, 0x81, 0x33, 0xa4, 0xd0, 0x6b, + 0x31, 0x47, 0xf7, 0x37, 0xdb, 0x70, 0xda, 0x32, 0x9c, 0x7d, 0x15, 0x2e, 0xc8, 0x95, 0x1f, 0x10, + 0xe5, 0x8e, 0x1a, 0x4e, 0xdb, 0xa3, 0x24, 0x19, 0xa7, 0xf9, 0xd1, 0x1d, 0xb8, 0x48, 0xf6, 0x89, + 0xa6, 0x93, 0x8e, 0x4e, 0x43, 0x10, 0x7f, 0x27, 0x7d, 0x41, 0x82, 0x5c, 0x5c, 0x4d, 0x33, 0xe0, + 0x61, 0x19, 0xb4, 0x05, 0x97, 0x3c, 0x73, 0x18, 0xca, 0x77, 0xa3, 0x8f, 0x49, 0xa8, 0x4b, 0x8f, + 0x86, 0x59, 0x70, 0x96, 0x9c, 0xfa, 0x77, 0x4a, 0x3c, 0x3e, 0x07, 0x2e, 0x8b, 0xde, 0x84, 0x09, + 0x36, 0xb0, 0x83, 0xf8, 0xfc, 0x4a, 0x10, 0x9f, 0xb7, 0x07, 0x36, 0x7d, 0x2a, 0x12, 0x88, 0xb4, + 0x04, 0xa7, 0x60, 0x21, 0x83, 0xbe, 0x01, 0xb3, 0x7c, 0x2a, 0x35, 0xb3, 0xef, 0x8f, 0x8a, 0x8c, + 0x0f, 0xb7, 0xc7, 0x70, 0x97, 0x10, 0x23, 0xb6, 0xcf, 0x5c, 0x3c, 0x3a, 0xac, 0xcf, 0x26, 0x88, + 0x38, 0xa9, 0x4f, 0x7d, 0x07, 0x66, 0x37, 0x0e, 0x6c, 0xcb, 0x61, 0x0f, 0x6d, 0x3f, 0x46, 0xbf, + 0x02, 0x53, 0x54, 0x34, 0x88, 0xfe, 0xc4, 0xbc, 0xdc, 0x67, 0xc3, 0x92, 0x8a, 0x5e, 0x86, 0x49, + 0x7a, 0x40, 0xba, 0x4c, 0x58, 0x5c, 0x89, 0x76, 0xb4, 0x0d, 0xde, 0x88, 0x7d, 0x9a, 0xfa, 0x3d, + 0x05, 0x16, 0x6f, 0xb7, 0xef, 0x38, 0x96, 0x67, 0x07, 0x9d, 0x0f, 0xf4, 0xfc, 0x02, 0x4c, 0x38, + 0x9e, 0x1e, 0x8c, 0xda, 0xcb, 0xc1, 0xa8, 0x61, 0x4f, 0xe7, 0xa3, 0x76, 0x29, 0x25, 0xe5, 0x0f, + 0x19, 0x17, 0x40, 0xef, 0xc2, 0x94, 0x43, 0xcc, 0x3e, 0x0d, 0xf6, 0xb7, 0x4f, 0x15, 0x1c, 0xab, + 0x7b, 0xeb, 0x98, 0x8b, 0x47, 0x1d, 0x13, 0x9f, 0x2e, 0x96, 0xa8, 0xea, 0xef, 0x29, 0x70, 0xe1, + 0xee, 0xf6, 0x76, 0xeb, 0x9e, 0xd9, 0x77, 0xa8, 0xeb, 0xb6, 0x08, 0xdb, 0xe5, 0x5b, 0xb0, 0x4d, + 0xd8, 0x6e, 0x7a, 0x0b, 0xe6, 0x34, 0x2c, 0x28, 0x68, 0x17, 0xa6, 0xf9, 0x7a, 0xa4, 0x66, 0x6f, + 0xcc, 0xd4, 0x4a, 0xaa, 0x6b, 0xfa, 0x20, 0xcd, 0x0b, 0x52, 0xc7, 0xb4, 0x6c, 0xc0, 0x01, 0xbc, + 0xfa, 0x75, 0x58, 0x88, 0x99, 0xc7, 0xc7, 0x4b, 0x1c, 0x75, 0x51, 0x17, 0x26, 0xb9, 0x25, 0xc1, + 0x41, 0xb6, 0xe8, 0xb9, 0x2c, 0xd5, 0xe5, 0x68, 0x42, 0xf9, 0x97, 0x8b, 0x7d, 0x6c, 0xf5, 0x9f, + 0x4a, 0x70, 0xe5, 0xae, 0xe5, 0x68, 0x5f, 0xb3, 0x4c, 0x46, 0xf4, 0x96, 0xd5, 0x5b, 0xf5, 0x98, + 0xe5, 0x76, 0x89, 0x4e, 0x9d, 0x53, 0x4c, 0x5a, 0xf5, 0x44, 0xd2, 0x7a, 0xbf, 0x68, 0xcf, 0xb2, + 0xed, 0xcd, 0xcd, 0x60, 0x59, 0x2a, 0x83, 0xdd, 0x3c, 0x21, 0x7d, 0xa3, 0xd3, 0xd9, 0xff, 0x52, + 0xe0, 0x63, 0x39, 0x92, 0x67, 0x91, 0xdb, 0xee, 0x25, 0x73, 0xdb, 0xdb, 0x27, 0xd3, 0xe7, 0x9c, + 0x44, 0xf7, 0x7f, 0x4a, 0xb9, 0x7d, 0x15, 0xa9, 0xd5, 0xfb, 0x50, 0x11, 0x5f, 0x98, 0xee, 0xc8, + 0xbe, 0xae, 0x15, 0xb4, 0xa7, 0xed, 0x75, 0x82, 0x1b, 0x22, 0x4c, 0x77, 0xa8, 0x43, 0xcd, 0x2e, + 0x8d, 0x65, 0x1b, 0x12, 0x1c, 0x87, 0x6a, 0xd0, 0x75, 0x98, 0x11, 0xd9, 0x43, 0x62, 0x9f, 0xbb, + 0xc0, 0xcf, 0x6c, 0x5b, 0x51, 0x33, 0x8e, 0xf3, 0xf0, 0xa3, 0x9e, 0x41, 0x0e, 0x52, 0xbb, 0x5c, + 0x78, 0xd4, 0xdb, 0x8a, 0x48, 0x38, 0xce, 0x87, 0xbe, 0x01, 0x73, 0x5d, 0xdb, 0x8b, 0x5d, 0x50, + 0xca, 0x74, 0xaa, 0x68, 0x17, 0xb3, 0xee, 0x3a, 0x9b, 0xe8, 0xe8, 0xb0, 0x3e, 0xb7, 0xd6, 0x7a, + 0x14, 0x6b, 0xc3, 0x29, 0x75, 0xea, 0x0f, 0xca, 0xf0, 0xd2, 0x48, 0x1f, 0x45, 0xb7, 0x47, 0x64, + 0x0f, 0x8b, 0x05, 0x32, 0x87, 0x1e, 0xcc, 0xea, 0xc4, 0x65, 0x62, 0xb8, 0xb7, 0x35, 0x23, 0xd8, + 0xdd, 0x7e, 0xf6, 0x39, 0x1d, 0x97, 0x8b, 0xf8, 0x5b, 0xd8, 0x66, 0x1c, 0x05, 0x27, 0x41, 0x79, + 0xc6, 0x21, 0x2f, 0x0c, 0xf2, 0x32, 0x8e, 0xb5, 0x24, 0x19, 0xa7, 0xf9, 0x39, 0x84, 0x3c, 0xcf, + 0xa7, 0xf2, 0x8d, 0x10, 0x62, 0x3d, 0x49, 0xc6, 0x69, 0x7e, 0x64, 0x40, 0x5d, 0xa2, 0x26, 0x87, + 0x3f, 0x76, 0xe9, 0xec, 0xe7, 0x1d, 0x2f, 0x1f, 0x1d, 0xd6, 0xeb, 0x6b, 0xa3, 0x59, 0xf1, 0xb3, + 0xb0, 0xd4, 0x2d, 0x98, 0xbd, 0x6b, 0xb9, 0xac, 0xc5, 0xb7, 0x64, 0xbe, 0x6f, 0xa1, 0x97, 0xa0, + 0x6c, 0x68, 0xa6, 0x3c, 0x89, 0xcc, 0x48, 0xb3, 0xcb, 0xdc, 0x79, 0x79, 0xbb, 0x20, 0x93, 0x03, + 0xe9, 0xd7, 0x11, 0x99, 0x1c, 0x60, 0xde, 0xae, 0xde, 0x81, 0x69, 0xb9, 0x2f, 0xc6, 0x81, 0xca, + 0xa3, 0x81, 0xca, 0x19, 0x40, 0x7f, 0x54, 0x82, 0x69, 0xb9, 0x8d, 0x9c, 0xe2, 0x86, 0xf0, 0x4e, + 0x62, 0x43, 0x78, 0x73, 0xbc, 0xad, 0x36, 0x77, 0x03, 0xe8, 0xa5, 0x36, 0x80, 0xb7, 0xc7, 0xc4, + 0x1f, 0x1d, 0xf0, 0xbf, 0xab, 0xc0, 0x5c, 0x72, 0xd3, 0xe7, 0x11, 0x85, 0xaf, 0x21, 0xad, 0x4b, + 0x1f, 0x44, 0x07, 0xfe, 0x30, 0xa2, 0xb4, 0x23, 0x12, 0x8e, 0xf3, 0x21, 0x1a, 0x8a, 0x71, 0x77, + 0x90, 0x83, 0xd2, 0xc8, 0x31, 0xda, 0x63, 0x9a, 0xde, 0xf0, 0x5f, 0x5c, 0x1a, 0xf7, 0x4c, 0xf6, + 0xd0, 0x69, 0x33, 0x47, 0x33, 0xfb, 0x43, 0x6a, 0x84, 0x67, 0xc5, 0x71, 0xd5, 0xbf, 0x51, 0x60, + 0x46, 0x1a, 0x7c, 0x16, 0x3b, 0xd2, 0x97, 0x93, 0x3b, 0xd2, 0xa7, 0xc6, 0xcc, 0xa7, 0xb2, 0x77, + 0xa0, 0xef, 0x47, 0x7d, 0xe1, 0x19, 0x14, 0x4f, 0xf0, 0x76, 0x2d, 0x97, 0xa5, 0x13, 0x3c, 0xbe, + 0xc4, 0xb0, 0xa0, 0xa0, 0x5f, 0x57, 0x60, 0x5e, 0x4b, 0xe5, 0x5c, 0x72, 0xa8, 0x3f, 0x3b, 0x9e, + 0x69, 0x21, 0x4c, 0xf4, 0x0e, 0x95, 0xa6, 0xe0, 0x21, 0x95, 0xaa, 0x07, 0x43, 0x5c, 0x88, 0xc0, + 0xc4, 0x2e, 0x63, 0xf6, 0x98, 0x7b, 0x65, 0x56, 0x36, 0xd9, 0xac, 0x88, 0xee, 0x6f, 0x6f, 0xb7, + 0xb0, 0x80, 0x56, 0xbf, 0x5b, 0x0a, 0x07, 0xac, 0xed, 0xaf, 0x91, 0x30, 0xdf, 0x55, 0x4e, 0x22, + 0xdf, 0x9d, 0xc9, 0xca, 0x75, 0xd1, 0x13, 0x28, 0x33, 0x7d, 0xdc, 0xfb, 0x36, 0xa9, 0x61, 0x7b, + 0xb3, 0x1d, 0xc5, 0xa9, 0xed, 0xcd, 0x36, 0xe6, 0x90, 0xe8, 0xab, 0x30, 0xc9, 0x4f, 0x13, 0x7c, + 0x89, 0x97, 0xc7, 0x0f, 0x21, 0x7c, 0xbc, 0x22, 0x0f, 0xe3, 0x5f, 0x2e, 0xf6, 0x71, 0xd5, 0xaf, + 0xc3, 0x6c, 0x22, 0x0e, 0xa0, 0xf7, 0xe0, 0xbc, 0x6e, 0x91, 0x5e, 0x93, 0xe8, 0xc4, 0xec, 0xd2, + 0xe0, 0xca, 0xff, 0xe7, 0x46, 0x47, 0xc4, 0xcd, 0x98, 0x84, 0x8c, 0x27, 0xe1, 0x5b, 0x60, 0x9c, + 0x86, 0x13, 0xd8, 0x2a, 0x01, 0x88, 0x7a, 0x8f, 0xea, 0x30, 0xc9, 0x5d, 0xd8, 0x3f, 0x19, 0x54, + 0x9b, 0x55, 0x6e, 0x2b, 0xf7, 0x6c, 0x17, 0xfb, 0xed, 0xe8, 0x06, 0x80, 0x4b, 0xbb, 0x0e, 0x65, + 0x22, 0xec, 0x88, 0xcb, 0xaf, 0x28, 0x00, 0xb7, 0x43, 0x0a, 0x8e, 0x71, 0xa9, 0xbf, 0x53, 0x82, + 0xf2, 0x7d, 0xab, 0x73, 0x8a, 0x41, 0xfe, 0x49, 0x22, 0xc8, 0x17, 0x5d, 0xff, 0xf7, 0xad, 0x4e, + 0x6e, 0x80, 0xff, 0xa5, 0x54, 0x80, 0x7f, 0x63, 0x0c, 0xec, 0xd1, 0xc1, 0xfd, 0xef, 0xcb, 0x70, + 0xfe, 0xbe, 0xd5, 0x59, 0xb3, 0xcc, 0x9e, 0x26, 0x52, 0xa1, 0x4f, 0x26, 0x2e, 0x09, 0xae, 0xa6, + 0x2e, 0x09, 0xe6, 0xe3, 0xbc, 0xb1, 0xeb, 0x81, 0xc7, 0xa1, 0xa1, 0xfe, 0xa4, 0xdc, 0x4a, 0xaa, + 0x7b, 0x7a, 0x58, 0x1f, 0xf9, 0x68, 0xdf, 0x08, 0x31, 0x93, 0xe6, 0xa1, 0x5d, 0x3f, 0x31, 0x6b, + 0x39, 0x56, 0xc7, 0x4f, 0xcc, 0xca, 0xc5, 0x13, 0xb3, 0xcb, 0xd2, 0x16, 0x91, 0x9c, 0x85, 0x48, + 0x38, 0x09, 0x8c, 0x3e, 0x00, 0xc4, 0x1b, 0xb6, 0x1d, 0x62, 0xba, 0x7e, 0xef, 0xb8, 0xba, 0x89, + 0xe2, 0xea, 0xc2, 0x5b, 0xab, 0xcd, 0x21, 0x38, 0x9c, 0xa1, 0x02, 0xbd, 0x02, 0x53, 0x0e, 0x25, + 0xae, 0x65, 0x8a, 0xb4, 0xab, 0x1a, 0x3b, 0xee, 0x8b, 0x56, 0x2c, 0xa9, 0xe8, 0x55, 0x98, 0x36, + 0xa8, 0xeb, 0xf2, 0xfc, 0x6c, 0x4a, 0x30, 0x86, 0x27, 0xef, 0x2d, 0xbf, 0x19, 0x07, 0x74, 0xf5, + 0x2f, 0x14, 0x98, 0xbe, 0x6f, 0x75, 0xce, 0x62, 0xf3, 0xfb, 0x62, 0x72, 0xf3, 0xbb, 0x51, 0xdc, + 0x41, 0x73, 0x36, 0xbe, 0x3f, 0x2b, 0x8b, 0x3e, 0x88, 0x18, 0x7e, 0x1d, 0x66, 0x6c, 0xe2, 0x10, + 0x5d, 0xa7, 0xba, 0xe6, 0x1a, 0x32, 0x75, 0x14, 0x67, 0x9e, 0x56, 0xd4, 0x8c, 0xe3, 0x3c, 0x5c, + 0xa4, 0x6b, 0x19, 0xb6, 0x4e, 0x83, 0x17, 0x86, 0x50, 0x64, 0x2d, 0x6a, 0xc6, 0x71, 0x1e, 0xf4, + 0x10, 0x2e, 0x93, 0x2e, 0xd3, 0xf6, 0xe9, 0x3a, 0x25, 0x3d, 0x5d, 0x33, 0x69, 0x70, 0x9b, 0x5b, + 0x16, 0x29, 0xe4, 0x0b, 0x47, 0x87, 0xf5, 0xcb, 0xab, 0x59, 0x0c, 0x38, 0x5b, 0x2e, 0x71, 0x9d, + 0x3e, 0x71, 0x8a, 0xd7, 0xe9, 0x9f, 0x84, 0xf3, 0xc4, 0x63, 0x56, 0x40, 0x11, 0x7e, 0x54, 0x69, + 0xce, 0xf3, 0xd0, 0xbb, 0x1a, 0x6b, 0xc7, 0x09, 0xae, 0xc4, 0x25, 0xfc, 0xd4, 0x49, 0xbf, 0xb6, + 0xfe, 0x79, 0x19, 0xaa, 0x61, 0xf0, 0x41, 0x16, 0x40, 0x37, 0x58, 0xe0, 0xc1, 0xb5, 0xcf, 0x5b, + 0xc5, 0x3d, 0x25, 0x0c, 0x12, 0x51, 0x3c, 0x0e, 0x9b, 0x5c, 0x1c, 0x53, 0x81, 0x9e, 0x40, 0xd5, + 0x65, 0xc4, 0x61, 0xe3, 0x9e, 0xe5, 0x66, 0x8f, 0x0e, 0xeb, 0xd5, 0x76, 0x80, 0x80, 0x23, 0x30, + 0xd4, 0x87, 0xb9, 0xc8, 0x67, 0xc6, 0x8d, 0x48, 0xfe, 0xe1, 0x37, 0x01, 0x83, 0x53, 0xb0, 0x3c, + 0x2c, 0xf8, 0x5e, 0x25, 0x0f, 0x78, 0x61, 0x58, 0xf0, 0x5d, 0x10, 0x4b, 0x2a, 0x5a, 0x81, 0xaa, + 0xeb, 0x75, 0xbb, 0x94, 0xf6, 0x68, 0x4f, 0x1e, 0xdc, 0x2e, 0x4a, 0xd6, 0x6a, 0x3b, 0x20, 0xe0, + 0x88, 0x87, 0x03, 0xef, 0x10, 0x4d, 0xa7, 0x3d, 0xf9, 0xba, 0x10, 0x02, 0xdf, 0x16, 0xad, 0x58, + 0x52, 0xd5, 0xff, 0x2c, 0xc1, 0x6c, 0xc2, 0xff, 0xd0, 0xaf, 0x29, 0x30, 0x63, 0x10, 0xd6, 0xdd, + 0x15, 0xcd, 0xc1, 0x44, 0x6e, 0x1d, 0xc7, 0xa7, 0x1b, 0x5b, 0x11, 0x9e, 0xff, 0x54, 0x17, 0xbb, + 0x97, 0x08, 0x29, 0x38, 0xae, 0x16, 0xfd, 0xa6, 0x02, 0xf3, 0xe2, 0x7b, 0xe3, 0xc0, 0xe6, 0x99, + 0x43, 0xec, 0x09, 0xf1, 0xce, 0x71, 0x6c, 0xc1, 0xf4, 0x7d, 0x4f, 0x73, 0xa8, 0xb8, 0x8f, 0x0e, + 0x13, 0xdd, 0xad, 0x94, 0x22, 0x3c, 0xa4, 0x7a, 0xe9, 0x16, 0xcc, 0xa7, 0x7b, 0x51, 0xe8, 0xc9, + 0xee, 0x0f, 0x14, 0xa8, 0xe5, 0x19, 0xc2, 0x4f, 0xb1, 0x21, 0x50, 0x94, 0x1d, 0x7e, 0x9e, 0x0e, + 0x7c, 0xd4, 0x0d, 0xa8, 0x58, 0x36, 0x75, 0x48, 0xf0, 0x62, 0x57, 0x6d, 0xbe, 0x1a, 0xac, 0xca, + 0x87, 0xb2, 0xfd, 0xe9, 0x61, 0xfd, 0x72, 0x02, 0x3e, 0x20, 0xe0, 0x50, 0x14, 0xa9, 0x30, 0x25, + 0xec, 0xf1, 0xb3, 0xcc, 0x6a, 0x13, 0xb8, 0x3f, 0x88, 0xfc, 0xda, 0xc5, 0x92, 0x22, 0xea, 0x5c, + 0x1e, 0x50, 0xf6, 0x81, 0xe5, 0xec, 0xb5, 0x2c, 0x5d, 0xeb, 0x0e, 0x4e, 0x31, 0xa3, 0xea, 0x24, + 0x32, 0xaa, 0xcf, 0x15, 0x9c, 0xd5, 0x84, 0x95, 0x79, 0xb9, 0x95, 0xfa, 0x1f, 0x0a, 0xd4, 0x12, + 0x9c, 0xf1, 0x63, 0x16, 0x85, 0x49, 0xdb, 0x72, 0x58, 0xe0, 0xe3, 0xc7, 0xb2, 0x80, 0x9f, 0x49, + 0x63, 0xb7, 0xd4, 0x1c, 0x16, 0xfb, 0xe8, 0xbc, 0x9f, 0x3b, 0x8e, 0x65, 0x48, 0xef, 0x3d, 0x9e, + 0x16, 0x4a, 0x9d, 0xa8, 0x9f, 0xb7, 0x1d, 0xcb, 0xc0, 0x02, 0x5b, 0xfd, 0x47, 0x05, 0x2e, 0x26, + 0x38, 0xcf, 0x22, 0x2d, 0x20, 0xc9, 0xb4, 0xe0, 0xed, 0xe3, 0xf4, 0x2c, 0x27, 0x41, 0xf8, 0x8d, + 0x52, 0xaa, 0x5f, 0x7c, 0x04, 0x90, 0x05, 0x33, 0xb6, 0xd5, 0x6b, 0x9f, 0x64, 0xb9, 0x92, 0x9f, + 0x68, 0x44, 0xa0, 0x38, 0xae, 0x01, 0xfd, 0x8a, 0x02, 0x17, 0x4d, 0x62, 0x50, 0xd7, 0x26, 0x5d, + 0xda, 0x3e, 0xc9, 0xd7, 0xf3, 0xcb, 0x47, 0x87, 0xf5, 0x8b, 0x0f, 0xd2, 0xd0, 0x78, 0x58, 0x9b, + 0xfa, 0xa7, 0xe9, 0x29, 0xe6, 0x4e, 0x86, 0xbe, 0x00, 0x15, 0x51, 0x9f, 0xda, 0xb5, 0x74, 0x19, + 0x3f, 0x6e, 0xf2, 0xd9, 0x6a, 0xc9, 0xb6, 0xa7, 0x87, 0xf5, 0x9f, 0x19, 0x99, 0x93, 0x07, 0x8c, + 0x38, 0x84, 0x41, 0x9b, 0x30, 0x61, 0x8f, 0x7f, 0x73, 0x23, 0x8e, 0xea, 0xe2, 0xba, 0x46, 0xa0, + 0xa8, 0xff, 0x9b, 0x36, 0x5b, 0x24, 0x7b, 0xee, 0xc9, 0xcf, 0x60, 0xb8, 0xa7, 0xe4, 0xce, 0xa2, + 0x03, 0xd3, 0xf2, 0x02, 0x63, 0xcc, 0x9d, 0x24, 0x2f, 0x92, 0x44, 0x59, 0x7a, 0xd0, 0x18, 0x28, + 0x12, 0x0b, 0x53, 0x18, 0xd4, 0xf5, 0x1c, 0x8d, 0x0d, 0x4e, 0x3d, 0xa8, 0xee, 0x24, 0x82, 0xea, + 0x7a, 0xc1, 0x0e, 0x0e, 0x59, 0x9a, 0x1b, 0x58, 0xff, 0x55, 0x81, 0xcb, 0x43, 0xdc, 0x67, 0x11, + 0x74, 0x68, 0x32, 0xe8, 0x7c, 0xee, 0xb8, 0x3d, 0xcc, 0x09, 0x3c, 0x1f, 0x42, 0x46, 0xff, 0x84, + 0xeb, 0xde, 0x00, 0xb0, 0x1d, 0x6d, 0x5f, 0xd3, 0x69, 0x5f, 0xd6, 0x10, 0x56, 0xa2, 0x39, 0x69, + 0x85, 0x14, 0x1c, 0xe3, 0x42, 0xbf, 0x0c, 0x8b, 0x3d, 0xba, 0x43, 0x3c, 0x9d, 0xad, 0xf6, 0x7a, + 0x6b, 0xc4, 0x26, 0x1d, 0x4d, 0xd7, 0x98, 0x26, 0x5f, 0x8d, 0xab, 0xcd, 0x0d, 0xbf, 0xb6, 0x2f, + 0x8b, 0xe3, 0xe9, 0x61, 0xfd, 0x13, 0xa3, 0x4f, 0xd5, 0x01, 0xf3, 0x00, 0xe7, 0x28, 0x41, 0xbf, + 0xaa, 0x40, 0xcd, 0xf1, 0xf3, 0x8d, 0xde, 0xba, 0x63, 0xd9, 0x09, 0x0b, 0xfc, 0x64, 0xe0, 0xce, + 0xd1, 0x61, 0xbd, 0x86, 0x73, 0x78, 0x8a, 0xd8, 0x90, 0xab, 0x08, 0x31, 0xb8, 0x44, 0x74, 0xdd, + 0xfa, 0x80, 0x26, 0x47, 0x60, 0x42, 0xe8, 0x6f, 0x1e, 0x1d, 0xd6, 0x2f, 0xad, 0x0e, 0x93, 0x8b, + 0xa8, 0xce, 0x82, 0x47, 0x2b, 0x30, 0xbd, 0x6f, 0xe9, 0x9e, 0x41, 0xdd, 0xda, 0xa4, 0xd0, 0xc4, + 0x23, 0xee, 0xf4, 0x63, 0xbf, 0xe9, 0x29, 0xcf, 0x88, 0xdb, 0xe2, 0x8a, 0x23, 0xe0, 0x42, 0x37, + 0x61, 0x66, 0xd7, 0x72, 0x99, 0x5c, 0xeb, 0x22, 0x7f, 0xae, 0x44, 0xc1, 0xe5, 0x6e, 0x44, 0xc2, + 0x71, 0x3e, 0x64, 0x40, 0x75, 0x57, 0x3e, 0x81, 0xb8, 0xb5, 0xe9, 0xb1, 0x36, 0xc4, 0xc4, 0x13, + 0x4a, 0x94, 0xe0, 0x07, 0xcd, 0x2e, 0x8e, 0x34, 0xa0, 0x57, 0x61, 0x5a, 0x7c, 0xdc, 0x5b, 0x17, + 0x35, 0x3d, 0x95, 0x28, 0x04, 0xdd, 0xf5, 0x9b, 0x71, 0x40, 0x0f, 0x58, 0xef, 0xb5, 0xd6, 0x6a, + 0xd5, 0x61, 0xd6, 0x7b, 0xad, 0x35, 0x1c, 0xd0, 0x91, 0x0d, 0xd3, 0x2e, 0xdd, 0xd4, 0x4c, 0xef, + 0xa0, 0x06, 0x62, 0xe9, 0x6e, 0x14, 0x7d, 0xe9, 0xdc, 0x10, 0xd2, 0xa9, 0xf2, 0x8a, 0x48, 0xa3, + 0xa4, 0xe3, 0x40, 0x0d, 0x3a, 0x80, 0xaa, 0xe3, 0x99, 0xab, 0xee, 0x23, 0x97, 0x3a, 0xb5, 0x19, + 0xa1, 0xb3, 0x68, 0x54, 0xc6, 0x81, 0x7c, 0x5a, 0x6b, 0x38, 0x82, 0x21, 0x07, 0x8e, 0x94, 0xa1, + 0xdf, 0x55, 0x00, 0xb9, 0x9e, 0x6d, 0xeb, 0x22, 0x07, 0x27, 0xba, 0xa8, 0xf0, 0x70, 0x6b, 0xe7, + 0x85, 0x0d, 0xad, 0xc2, 0x2f, 0xbc, 0x69, 0xa0, 0xb4, 0x31, 0xe1, 0x8d, 0xd1, 0x30, 0x2b, 0xce, + 0xb0, 0x83, 0x4f, 0xc5, 0x8e, 0x2b, 0x7e, 0xd7, 0x66, 0xc7, 0x9a, 0x8a, 0xec, 0x4a, 0x97, 0x68, + 0x2a, 0x24, 0x1d, 0x07, 0x6a, 0xd0, 0x63, 0x58, 0x74, 0x28, 0xe9, 0x3d, 0x34, 0xf5, 0x01, 0xb6, + 0x2c, 0x76, 0x5b, 0xd3, 0xa9, 0x3b, 0x70, 0x19, 0x35, 0x6a, 0x73, 0xc2, 0x6d, 0xc2, 0x22, 0x64, + 0x9c, 0xc9, 0x85, 0x73, 0xa4, 0x45, 0x35, 0xb1, 0x7c, 0x98, 0x3c, 0xdd, 0x3f, 0x1b, 0x1c, 0xaf, + 0x9a, 0x38, 0x32, 0xf1, 0xd4, 0xaa, 0x89, 0x63, 0x2a, 0x46, 0x5f, 0xd8, 0xfe, 0x77, 0x09, 0x2e, + 0x45, 0xcc, 0xd1, 0xbd, 0xed, 0x5b, 0x89, 0x7b, 0xdb, 0x4f, 0xa4, 0xee, 0x6d, 0xaf, 0x64, 0x88, + 0x9c, 0xc1, 0xf5, 0x6d, 0xf6, 0xa5, 0x6a, 0xf9, 0x2c, 0x2f, 0x55, 0x27, 0x9e, 0xf7, 0x52, 0x75, + 0xf2, 0x19, 0x97, 0xaa, 0x3f, 0x54, 0x60, 0x2e, 0x1a, 0xc5, 0xff, 0x07, 0x65, 0xdc, 0x91, 0xb1, + 0x39, 0x89, 0xcc, 0x0f, 0x4a, 0xf1, 0x1e, 0xfd, 0x34, 0xd6, 0x0a, 0x67, 0x94, 0xee, 0x4e, 0x14, + 0x2b, 0xdd, 0x55, 0xff, 0xa5, 0x0c, 0xf3, 0xe9, 0xc5, 0x9b, 0xa8, 0x44, 0x55, 0x9e, 0x59, 0x89, + 0xda, 0x82, 0x85, 0x1d, 0x4f, 0xd7, 0x07, 0x62, 0x40, 0x62, 0x95, 0x1d, 0xfe, 0xa5, 0xf5, 0x8b, + 0x52, 0x72, 0xe1, 0x76, 0x06, 0x0f, 0xce, 0x94, 0xcc, 0xa9, 0xaa, 0x2d, 0x8f, 0x55, 0x55, 0xfb, + 0x16, 0xcc, 0x3a, 0xe2, 0x7f, 0x20, 0xc9, 0x82, 0x93, 0xf0, 0x55, 0x05, 0xc7, 0x89, 0x38, 0xc9, + 0x9b, 0x5d, 0x21, 0x3b, 0x39, 0x46, 0x85, 0xec, 0x7e, 0xe2, 0x0a, 0x79, 0x4a, 0x2c, 0x88, 0xe6, + 0xd8, 0x0b, 0xe2, 0xb9, 0x6f, 0x92, 0xd5, 0x17, 0x61, 0x49, 0x8a, 0xf1, 0xef, 0x35, 0xcb, 0x64, + 0x8e, 0xa5, 0xeb, 0xd4, 0x59, 0xf7, 0x0c, 0x63, 0xa0, 0xde, 0x82, 0xb9, 0x64, 0x01, 0xb4, 0x3f, + 0xf3, 0x7e, 0x4d, 0xb6, 0xac, 0x4c, 0x89, 0xcd, 0xbc, 0xdf, 0x8e, 0x43, 0x0e, 0xf5, 0xc7, 0x0a, + 0x5c, 0xc9, 0x29, 0x89, 0x45, 0xef, 0xc1, 0x9c, 0x41, 0x0e, 0x62, 0x35, 0xbf, 0x32, 0xc4, 0x14, + 0x3d, 0x75, 0x8b, 0xcb, 0xe6, 0xad, 0x04, 0x12, 0x4e, 0x21, 0x8b, 0x8d, 0x97, 0x1c, 0xb4, 0x3d, + 0xa7, 0x4f, 0xc7, 0x3c, 0xdb, 0x8b, 0xe5, 0xbb, 0x25, 0x31, 0x70, 0x88, 0xa6, 0x7e, 0x4f, 0x81, + 0x5a, 0x5e, 0x16, 0x86, 0x6e, 0x26, 0x4a, 0x6b, 0x3f, 0x9e, 0x2a, 0xad, 0xbd, 0x38, 0x24, 0x77, + 0x46, 0x85, 0xb5, 0xdf, 0x57, 0x60, 0x31, 0x3b, 0x5b, 0x45, 0x3f, 0x9f, 0xb0, 0xb8, 0x9e, 0xb2, + 0xf8, 0x42, 0x4a, 0x4a, 0xda, 0xbb, 0x0b, 0x73, 0x32, 0xa7, 0x95, 0x30, 0xcf, 0xf1, 0xb7, 0xd1, + 0xfd, 0x30, 0x61, 0x0e, 0xb2, 0x33, 0x31, 0x8f, 0xc9, 0x36, 0x9c, 0xc2, 0x55, 0x7f, 0xbf, 0x04, + 0x93, 0xa2, 0xde, 0xec, 0x14, 0x53, 0xa9, 0x2f, 0x25, 0x52, 0xa9, 0xa2, 0x2f, 0xd2, 0xc2, 0xba, + 0xdc, 0x2c, 0xaa, 0x93, 0xca, 0xa2, 0xde, 0x1c, 0x0b, 0x7d, 0x74, 0x02, 0xf5, 0x69, 0xa8, 0x86, + 0x46, 0x14, 0x0b, 0xd4, 0x3c, 0x5d, 0x9d, 0x89, 0xa9, 0x28, 0x18, 0xe6, 0xf7, 0x13, 0x3b, 0xe6, + 0x38, 0xff, 0x6f, 0x8e, 0xe9, 0x6e, 0x04, 0x5b, 0xa5, 0xff, 0x6a, 0x12, 0x55, 0x8c, 0x0e, 0xef, + 0xa0, 0xb7, 0x60, 0xce, 0xff, 0x93, 0x78, 0x78, 0xa7, 0x56, 0x16, 0xde, 0xbb, 0x28, 0x65, 0xe6, + 0xb6, 0x13, 0x54, 0x9c, 0xe2, 0x5e, 0x7a, 0x0b, 0x66, 0x13, 0xca, 0x0a, 0x3d, 0x6e, 0xfc, 0x95, + 0x02, 0x0b, 0x59, 0x35, 0xae, 0xe8, 0x2a, 0x4c, 0xec, 0x69, 0xb2, 0x28, 0x27, 0x56, 0xc8, 0xf4, + 0x79, 0xcd, 0xec, 0x61, 0x41, 0x09, 0xff, 0x4e, 0x56, 0xca, 0xfd, 0x3b, 0xd9, 0x0d, 0x00, 0x62, + 0x6b, 0xf2, 0x8f, 0xf7, 0xb2, 0x57, 0xa1, 0xf3, 0x46, 0x7f, 0xc9, 0xc7, 0x31, 0x2e, 0x51, 0xba, + 0x16, 0xd9, 0x23, 0xd3, 0xc3, 0xa8, 0xa6, 0x2c, 0x66, 0x6a, 0x9c, 0x4f, 0xfd, 0x6b, 0x05, 0x3e, + 0xfe, 0xcc, 0x93, 0x1c, 0x6a, 0x26, 0xc2, 0x43, 0x23, 0x15, 0x1e, 0x96, 0xf3, 0x01, 0xce, 0xf0, + 0x6f, 0x03, 0xdf, 0x2a, 0x01, 0xda, 0xde, 0xd5, 0x9c, 0x5e, 0x8b, 0x38, 0x6c, 0x80, 0x65, 0x07, + 0x4f, 0x31, 0x60, 0xdc, 0x84, 0x99, 0x1e, 0x75, 0xbb, 0x8e, 0x26, 0x06, 0x49, 0x4e, 0x67, 0x38, + 0xe2, 0xeb, 0x11, 0x09, 0xc7, 0xf9, 0x50, 0x1f, 0x2a, 0x32, 0x5f, 0x0e, 0x6a, 0x9f, 0x8a, 0x26, + 0xc0, 0x91, 0x07, 0x44, 0xeb, 0x43, 0x36, 0xb8, 0x38, 0x04, 0x57, 0xbf, 0xad, 0xc0, 0xe2, 0xf0, + 0x80, 0xac, 0xfb, 0x95, 0x3d, 0xa7, 0x35, 0x28, 0x2f, 0xc2, 0x84, 0x40, 0xe5, 0xa3, 0x71, 0xde, + 0xbf, 0x19, 0xe7, 0x1a, 0xb1, 0x68, 0x55, 0x7f, 0xa2, 0xc0, 0x52, 0xb6, 0x49, 0x67, 0x71, 0xee, + 0x78, 0x2f, 0x79, 0xee, 0x28, 0x7a, 0xbb, 0x90, 0x6d, 0x78, 0xce, 0x19, 0xe4, 0xc7, 0x99, 0x83, + 0x7f, 0x16, 0xbd, 0xdc, 0x49, 0xf6, 0x72, 0xf5, 0xd8, 0xbd, 0xcc, 0xee, 0x61, 0xf3, 0xd5, 0x0f, + 0x3f, 0x5a, 0x3e, 0xf7, 0xa3, 0x8f, 0x96, 0xcf, 0xfd, 0xf3, 0x47, 0xcb, 0xe7, 0xbe, 0x79, 0xb4, + 0xac, 0x7c, 0x78, 0xb4, 0xac, 0xfc, 0xe8, 0x68, 0x59, 0xf9, 0xb7, 0xa3, 0x65, 0xe5, 0xdb, 0xff, + 0xbe, 0x7c, 0xee, 0x4b, 0xd3, 0x12, 0xf3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x01, 0x23, 0x7e, + 0xfa, 0xe1, 0x45, 0x00, 0x00, } diff --git a/pkg/apis/extensions/v1beta1/generated.proto b/pkg/apis/extensions/v1beta1/generated.proto index 09e2275c5d9..b195bf40ee1 100644 --- a/pkg/apis/extensions/v1beta1/generated.proto +++ b/pkg/apis/extensions/v1beta1/generated.proto @@ -107,7 +107,7 @@ message DaemonSetSpec { // If empty, defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 1; + optional LabelSelector selector = 1; // Template is the object that describes the pod that will be created. // The DaemonSet will create exactly one copy of this pod on every node @@ -187,7 +187,7 @@ message DeploymentSpec { // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 2; + optional LabelSelector selector = 2; // Template describes the pods that will be created. optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 3; @@ -598,7 +598,7 @@ message JobSpec { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; + optional LabelSelector selector = 4; // AutoSelector controls generation of pod labels and pod selectors. // It was not present in the original extensions/v1beta1 Job definition, but exists @@ -646,6 +646,39 @@ message JobStatus { optional int32 failed = 6; } +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +message LabelSelector { + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + map matchLabels = 1; + + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + repeated LabelSelectorRequirement matchExpressions = 2; +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +message LabelSelectorRequirement { + // key is the label key that the selector applies to. + optional string key = 1; + + // operator represents a key's relationship to a set of values. + // Valid operators ard In, NotIn, Exists and DoesNotExist. + optional string operator = 2; + + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + repeated string values = 3; +} + message NetworkPolicy { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata @@ -697,7 +730,7 @@ message NetworkPolicyPeer { // If not provided, this selector selects no pods. // If present but empty, this selector selects all pods in this namespace. // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector podSelector = 1; + optional LabelSelector podSelector = 1; // Selects Namespaces using cluster scoped-labels. This // matches all pods in all namespaces selected by this label selector. @@ -705,7 +738,7 @@ message NetworkPolicyPeer { // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector namespaceSelector = 2; + optional LabelSelector namespaceSelector = 2; } message NetworkPolicyPort { @@ -729,7 +762,7 @@ message NetworkPolicySpec { // same set of pods. In this case, the ingress rules for each are combined additively. // This field is NOT optional and follows standard label selector semantics. // An empty podSelector matches all pods in this namespace. - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector podSelector = 1; + optional LabelSelector podSelector = 1; // List of ingress rules to be applied to the selected pods. // Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, @@ -907,7 +940,7 @@ message ReplicaSetSpec { // Label keys and values that must match in order to be controlled by this replica set. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 2; + optional LabelSelector selector = 2; // Template is the object that describes the pod that will be created if // insufficient replicas are detected. diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index 01318d35c59..9c6fdef78e1 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -5488,13 +5488,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym460 := z.EncBinary() - _ = yym460 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -5507,32 +5501,26 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym461 := z.EncBinary() - _ = yym461 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy463 := &x.Template - yy463.CodecEncodeSelf(e) + yy461 := &x.Template + yy461.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy464 := &x.Template - yy464.CodecEncodeSelf(e) + yy462 := &x.Template + yy462.CodecEncodeSelf(e) } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[3] { - yy466 := &x.Strategy - yy466.CodecEncodeSelf(e) + yy464 := &x.Strategy + yy464.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -5541,15 +5529,15 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy467 := &x.Strategy - yy467.CodecEncodeSelf(e) + yy465 := &x.Strategy + yy465.CodecEncodeSelf(e) } } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[4] { - yym469 := z.EncBinary() - _ = yym469 + yym467 := z.EncBinary() + _ = yym467 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5562,8 +5550,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym470 := z.EncBinary() - _ = yym470 + yym468 := z.EncBinary() + _ = yym468 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5576,12 +5564,12 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy472 := *x.RevisionHistoryLimit - yym473 := z.EncBinary() - _ = yym473 + yy470 := *x.RevisionHistoryLimit + yym471 := z.EncBinary() + _ = yym471 if false { } else { - r.EncodeInt(int64(yy472)) + r.EncodeInt(int64(yy470)) } } } else { @@ -5595,12 +5583,12 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy474 := *x.RevisionHistoryLimit - yym475 := z.EncBinary() - _ = yym475 + yy472 := *x.RevisionHistoryLimit + yym473 := z.EncBinary() + _ = yym473 if false { } else { - r.EncodeInt(int64(yy474)) + r.EncodeInt(int64(yy472)) } } } @@ -5608,8 +5596,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[6] { - yym477 := z.EncBinary() - _ = yym477 + yym475 := z.EncBinary() + _ = yym475 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5622,8 +5610,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("paused")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym478 := z.EncBinary() - _ = yym478 + yym476 := z.EncBinary() + _ = yym476 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5666,25 +5654,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym480 := z.DecBinary() - _ = yym480 + yym478 := z.DecBinary() + _ = yym478 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct481 := r.ContainerType() - if yyct481 == codecSelferValueTypeMap1234 { - yyl481 := r.ReadMapStart() - if yyl481 == 0 { + yyct479 := r.ContainerType() + if yyct479 == codecSelferValueTypeMap1234 { + yyl479 := r.ReadMapStart() + if yyl479 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl481, d) + x.codecDecodeSelfFromMap(yyl479, d) } - } else if yyct481 == codecSelferValueTypeArray1234 { - yyl481 := r.ReadArrayStart() - if yyl481 == 0 { + } else if yyct479 == codecSelferValueTypeArray1234 { + yyl479 := r.ReadArrayStart() + if yyl479 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl481, d) + x.codecDecodeSelfFromArray(yyl479, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5696,12 +5684,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys482Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys482Slc - var yyhl482 bool = l >= 0 - for yyj482 := 0; ; yyj482++ { - if yyhl482 { - if yyj482 >= l { + var yys480Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys480Slc + var yyhl480 bool = l >= 0 + for yyj480 := 0; ; yyj480++ { + if yyhl480 { + if yyj480 >= l { break } } else { @@ -5710,10 +5698,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys482Slc = r.DecodeBytes(yys482Slc, true, true) - yys482 := string(yys482Slc) + yys480Slc = r.DecodeBytes(yys480Slc, true, true) + yys480 := string(yys480Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys482 { + switch yys480 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -5723,8 +5711,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym484 := z.DecBinary() - _ = yym484 + yym482 := z.DecBinary() + _ = yym482 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -5737,29 +5725,23 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym486 := z.DecBinary() - _ = yym486 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv487 := &x.Template - yyv487.CodecDecodeSelf(d) + yyv484 := &x.Template + yyv484.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv488 := &x.Strategy - yyv488.CodecDecodeSelf(d) + yyv485 := &x.Strategy + yyv485.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -5776,8 +5758,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym491 := z.DecBinary() - _ = yym491 + yym488 := z.DecBinary() + _ = yym488 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -5801,9 +5783,9 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys482) - } // end switch yys482 - } // end for yyj482 + z.DecStructFieldNotFound(-1, yys480) + } // end switch yys480 + } // end for yyj480 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5811,16 +5793,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj494 int - var yyb494 bool - var yyhl494 bool = l >= 0 - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + var yyj491 int + var yyb491 bool + var yyhl491 bool = l >= 0 + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5833,20 +5815,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym496 := z.DecBinary() - _ = yym496 + yym493 := z.DecBinary() + _ = yym493 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5857,23 +5839,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym498 := z.DecBinary() - _ = yym498 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5881,16 +5857,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv499 := &x.Template - yyv499.CodecDecodeSelf(d) + yyv495 := &x.Template + yyv495.CodecDecodeSelf(d) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5898,16 +5874,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv500 := &x.Strategy - yyv500.CodecDecodeSelf(d) + yyv496 := &x.Strategy + yyv496.CodecDecodeSelf(d) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5917,13 +5893,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5936,20 +5912,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym503 := z.DecBinary() - _ = yym503 + yym499 := z.DecBinary() + _ = yym499 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5959,13 +5935,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5981,17 +5957,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } for { - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb494 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb494 { + if yyb491 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj494-1, "") + z.DecStructFieldNotFound(yyj491-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6003,86 +5979,86 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym506 := z.EncBinary() - _ = yym506 + yym502 := z.EncBinary() + _ = yym502 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep507 := !z.EncBinary() - yy2arr507 := z.EncBasicHandle().StructToArray - var yyq507 [5]bool - _, _, _ = yysep507, yyq507, yy2arr507 - const yyr507 bool = false - yyq507[0] = x.Kind != "" - yyq507[1] = x.APIVersion != "" - yyq507[3] = len(x.UpdatedAnnotations) != 0 - var yynn507 int - if yyr507 || yy2arr507 { + yysep503 := !z.EncBinary() + yy2arr503 := z.EncBasicHandle().StructToArray + var yyq503 [5]bool + _, _, _ = yysep503, yyq503, yy2arr503 + const yyr503 bool = false + yyq503[0] = x.Kind != "" + yyq503[1] = x.APIVersion != "" + yyq503[3] = len(x.UpdatedAnnotations) != 0 + var yynn503 int + if yyr503 || yy2arr503 { r.EncodeArrayStart(5) } else { - yynn507 = 2 - for _, b := range yyq507 { + yynn503 = 2 + for _, b := range yyq503 { if b { - yynn507++ + yynn503++ } } - r.EncodeMapStart(yynn507) - yynn507 = 0 + r.EncodeMapStart(yynn503) + yynn503 = 0 } - if yyr507 || yy2arr507 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq507[0] { + if yyq503[0] { + yym505 := z.EncBinary() + _ = yym505 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq503[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym506 := z.EncBinary() + _ = yym506 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq503[1] { + yym508 := z.EncBinary() + _ = yym508 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq503[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym509 := z.EncBinary() _ = yym509 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq507[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym510 := z.EncBinary() - _ = yym510 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr507 || yy2arr507 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq507[1] { - yym512 := z.EncBinary() - _ = yym512 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq507[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym513 := z.EncBinary() - _ = yym513 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr507 || yy2arr507 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym515 := z.EncBinary() - _ = yym515 + yym511 := z.EncBinary() + _ = yym511 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -6091,21 +6067,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym516 := z.EncBinary() - _ = yym516 + yym512 := z.EncBinary() + _ = yym512 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr507 || yy2arr507 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq507[3] { + if yyq503[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym518 := z.EncBinary() - _ = yym518 + yym514 := z.EncBinary() + _ = yym514 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6115,15 +6091,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq507[3] { + if yyq503[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym519 := z.EncBinary() - _ = yym519 + yym515 := z.EncBinary() + _ = yym515 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6131,18 +6107,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr507 || yy2arr507 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy521 := &x.RollbackTo - yy521.CodecEncodeSelf(e) + yy517 := &x.RollbackTo + yy517.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy522 := &x.RollbackTo - yy522.CodecEncodeSelf(e) + yy518 := &x.RollbackTo + yy518.CodecEncodeSelf(e) } - if yyr507 || yy2arr507 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6155,25 +6131,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym523 := z.DecBinary() - _ = yym523 + yym519 := z.DecBinary() + _ = yym519 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct524 := r.ContainerType() - if yyct524 == codecSelferValueTypeMap1234 { - yyl524 := r.ReadMapStart() - if yyl524 == 0 { + yyct520 := r.ContainerType() + if yyct520 == codecSelferValueTypeMap1234 { + yyl520 := r.ReadMapStart() + if yyl520 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl524, d) + x.codecDecodeSelfFromMap(yyl520, d) } - } else if yyct524 == codecSelferValueTypeArray1234 { - yyl524 := r.ReadArrayStart() - if yyl524 == 0 { + } else if yyct520 == codecSelferValueTypeArray1234 { + yyl520 := r.ReadArrayStart() + if yyl520 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl524, d) + x.codecDecodeSelfFromArray(yyl520, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6185,12 +6161,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys525Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys525Slc - var yyhl525 bool = l >= 0 - for yyj525 := 0; ; yyj525++ { - if yyhl525 { - if yyj525 >= l { + var yys521Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys521Slc + var yyhl521 bool = l >= 0 + for yyj521 := 0; ; yyj521++ { + if yyhl521 { + if yyj521 >= l { break } } else { @@ -6199,10 +6175,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys525Slc = r.DecodeBytes(yys525Slc, true, true) - yys525 := string(yys525Slc) + yys521Slc = r.DecodeBytes(yys521Slc, true, true) + yys521 := string(yys521Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys525 { + switch yys521 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6225,25 +6201,25 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv529 := &x.UpdatedAnnotations - yym530 := z.DecBinary() - _ = yym530 + yyv525 := &x.UpdatedAnnotations + yym526 := z.DecBinary() + _ = yym526 if false { } else { - z.F.DecMapStringStringX(yyv529, false, d) + z.F.DecMapStringStringX(yyv525, false, d) } } case "rollbackTo": if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv531 := &x.RollbackTo - yyv531.CodecDecodeSelf(d) + yyv527 := &x.RollbackTo + yyv527.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys525) - } // end switch yys525 - } // end for yyj525 + z.DecStructFieldNotFound(-1, yys521) + } // end switch yys521 + } // end for yyj521 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6251,16 +6227,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj532 int - var yyb532 bool - var yyhl532 bool = l >= 0 - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + var yyj528 int + var yyb528 bool + var yyhl528 bool = l >= 0 + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb532 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb532 { + if yyb528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6270,13 +6246,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb532 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb532 { + if yyb528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6286,13 +6262,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb532 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb532 { + if yyb528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6302,13 +6278,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb532 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb532 { + if yyb528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6316,21 +6292,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv536 := &x.UpdatedAnnotations - yym537 := z.DecBinary() - _ = yym537 + yyv532 := &x.UpdatedAnnotations + yym533 := z.DecBinary() + _ = yym533 if false { } else { - z.F.DecMapStringStringX(yyv536, false, d) + z.F.DecMapStringStringX(yyv532, false, d) } } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb532 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb532 { + if yyb528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6338,21 +6314,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv538 := &x.RollbackTo - yyv538.CodecDecodeSelf(d) + yyv534 := &x.RollbackTo + yyv534.CodecDecodeSelf(d) } for { - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb532 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb532 { + if yyb528 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj532-1, "") + z.DecStructFieldNotFound(yyj528-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6364,35 +6340,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym539 := z.EncBinary() - _ = yym539 + yym535 := z.EncBinary() + _ = yym535 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep540 := !z.EncBinary() - yy2arr540 := z.EncBasicHandle().StructToArray - var yyq540 [1]bool - _, _, _ = yysep540, yyq540, yy2arr540 - const yyr540 bool = false - yyq540[0] = x.Revision != 0 - var yynn540 int - if yyr540 || yy2arr540 { + yysep536 := !z.EncBinary() + yy2arr536 := z.EncBasicHandle().StructToArray + var yyq536 [1]bool + _, _, _ = yysep536, yyq536, yy2arr536 + const yyr536 bool = false + yyq536[0] = x.Revision != 0 + var yynn536 int + if yyr536 || yy2arr536 { r.EncodeArrayStart(1) } else { - yynn540 = 0 - for _, b := range yyq540 { + yynn536 = 0 + for _, b := range yyq536 { if b { - yynn540++ + yynn536++ } } - r.EncodeMapStart(yynn540) - yynn540 = 0 + r.EncodeMapStart(yynn536) + yynn536 = 0 } - if yyr540 || yy2arr540 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq540[0] { - yym542 := z.EncBinary() - _ = yym542 + if yyq536[0] { + yym538 := z.EncBinary() + _ = yym538 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -6401,19 +6377,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq540[0] { + if yyq536[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym543 := z.EncBinary() - _ = yym543 + yym539 := z.EncBinary() + _ = yym539 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr540 || yy2arr540 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6426,25 +6402,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym544 := z.DecBinary() - _ = yym544 + yym540 := z.DecBinary() + _ = yym540 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct545 := r.ContainerType() - if yyct545 == codecSelferValueTypeMap1234 { - yyl545 := r.ReadMapStart() - if yyl545 == 0 { + yyct541 := r.ContainerType() + if yyct541 == codecSelferValueTypeMap1234 { + yyl541 := r.ReadMapStart() + if yyl541 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl545, d) + x.codecDecodeSelfFromMap(yyl541, d) } - } else if yyct545 == codecSelferValueTypeArray1234 { - yyl545 := r.ReadArrayStart() - if yyl545 == 0 { + } else if yyct541 == codecSelferValueTypeArray1234 { + yyl541 := r.ReadArrayStart() + if yyl541 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl545, d) + x.codecDecodeSelfFromArray(yyl541, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6456,12 +6432,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys546Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys546Slc - var yyhl546 bool = l >= 0 - for yyj546 := 0; ; yyj546++ { - if yyhl546 { - if yyj546 >= l { + var yys542Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys542Slc + var yyhl542 bool = l >= 0 + for yyj542 := 0; ; yyj542++ { + if yyhl542 { + if yyj542 >= l { break } } else { @@ -6470,10 +6446,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys546Slc = r.DecodeBytes(yys546Slc, true, true) - yys546 := string(yys546Slc) + yys542Slc = r.DecodeBytes(yys542Slc, true, true) + yys542 := string(yys542Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys546 { + switch yys542 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -6481,9 +6457,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys546) - } // end switch yys546 - } // end for yyj546 + z.DecStructFieldNotFound(-1, yys542) + } // end switch yys542 + } // end for yyj542 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6491,16 +6467,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj548 int - var yyb548 bool - var yyhl548 bool = l >= 0 - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + var yyj544 int + var yyb544 bool + var yyhl544 bool = l >= 0 + yyj544++ + if yyhl544 { + yyb544 = yyj544 > l } else { - yyb548 = r.CheckBreak() + yyb544 = r.CheckBreak() } - if yyb548 { + if yyb544 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6511,17 +6487,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + yyj544++ + if yyhl544 { + yyb544 = yyj544 > l } else { - yyb548 = r.CheckBreak() + yyb544 = r.CheckBreak() } - if yyb548 { + if yyb544 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj548-1, "") + z.DecStructFieldNotFound(yyj544-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6533,49 +6509,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym550 := z.EncBinary() - _ = yym550 + yym546 := z.EncBinary() + _ = yym546 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep551 := !z.EncBinary() - yy2arr551 := z.EncBasicHandle().StructToArray - var yyq551 [2]bool - _, _, _ = yysep551, yyq551, yy2arr551 - const yyr551 bool = false - yyq551[0] = x.Type != "" - yyq551[1] = x.RollingUpdate != nil - var yynn551 int - if yyr551 || yy2arr551 { + yysep547 := !z.EncBinary() + yy2arr547 := z.EncBasicHandle().StructToArray + var yyq547 [2]bool + _, _, _ = yysep547, yyq547, yy2arr547 + const yyr547 bool = false + yyq547[0] = x.Type != "" + yyq547[1] = x.RollingUpdate != nil + var yynn547 int + if yyr547 || yy2arr547 { r.EncodeArrayStart(2) } else { - yynn551 = 0 - for _, b := range yyq551 { + yynn547 = 0 + for _, b := range yyq547 { if b { - yynn551++ + yynn547++ } } - r.EncodeMapStart(yynn551) - yynn551 = 0 + r.EncodeMapStart(yynn547) + yynn547 = 0 } - if yyr551 || yy2arr551 { + if yyr547 || yy2arr547 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq551[0] { + if yyq547[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq551[0] { + if yyq547[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr551 || yy2arr551 { + if yyr547 || yy2arr547 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq551[1] { + if yyq547[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -6585,7 +6561,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq551[1] { + if yyq547[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6596,7 +6572,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr551 || yy2arr551 { + if yyr547 || yy2arr547 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6609,25 +6585,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym554 := z.DecBinary() - _ = yym554 + yym550 := z.DecBinary() + _ = yym550 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct555 := r.ContainerType() - if yyct555 == codecSelferValueTypeMap1234 { - yyl555 := r.ReadMapStart() - if yyl555 == 0 { + yyct551 := r.ContainerType() + if yyct551 == codecSelferValueTypeMap1234 { + yyl551 := r.ReadMapStart() + if yyl551 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl555, d) + x.codecDecodeSelfFromMap(yyl551, d) } - } else if yyct555 == codecSelferValueTypeArray1234 { - yyl555 := r.ReadArrayStart() - if yyl555 == 0 { + } else if yyct551 == codecSelferValueTypeArray1234 { + yyl551 := r.ReadArrayStart() + if yyl551 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl555, d) + x.codecDecodeSelfFromArray(yyl551, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6639,12 +6615,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys556Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys556Slc - var yyhl556 bool = l >= 0 - for yyj556 := 0; ; yyj556++ { - if yyhl556 { - if yyj556 >= l { + var yys552Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys552Slc + var yyhl552 bool = l >= 0 + for yyj552 := 0; ; yyj552++ { + if yyhl552 { + if yyj552 >= l { break } } else { @@ -6653,10 +6629,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys556Slc = r.DecodeBytes(yys556Slc, true, true) - yys556 := string(yys556Slc) + yys552Slc = r.DecodeBytes(yys552Slc, true, true) + yys552 := string(yys552Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys556 { + switch yys552 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -6675,9 +6651,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys556) - } // end switch yys556 - } // end for yyj556 + z.DecStructFieldNotFound(-1, yys552) + } // end switch yys552 + } // end for yyj552 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6685,16 +6661,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj559 int - var yyb559 bool - var yyhl559 bool = l >= 0 - yyj559++ - if yyhl559 { - yyb559 = yyj559 > l + var yyj555 int + var yyb555 bool + var yyhl555 bool = l >= 0 + yyj555++ + if yyhl555 { + yyb555 = yyj555 > l } else { - yyb559 = r.CheckBreak() + yyb555 = r.CheckBreak() } - if yyb559 { + if yyb555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6704,13 +6680,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj559++ - if yyhl559 { - yyb559 = yyj559 > l + yyj555++ + if yyhl555 { + yyb555 = yyj555 > l } else { - yyb559 = r.CheckBreak() + yyb555 = r.CheckBreak() } - if yyb559 { + if yyb555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6726,17 +6702,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj559++ - if yyhl559 { - yyb559 = yyj559 > l + yyj555++ + if yyhl555 { + yyb555 = yyj555 > l } else { - yyb559 = r.CheckBreak() + yyb555 = r.CheckBreak() } - if yyb559 { + if yyb555 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj559-1, "") + z.DecStructFieldNotFound(yyj555-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6745,8 +6721,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym562 := z.EncBinary() - _ = yym562 + yym558 := z.EncBinary() + _ = yym558 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6758,8 +6734,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym563 := z.DecBinary() - _ = yym563 + yym559 := z.DecBinary() + _ = yym559 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6774,42 +6750,42 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym564 := z.EncBinary() - _ = yym564 + yym560 := z.EncBinary() + _ = yym560 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep565 := !z.EncBinary() - yy2arr565 := z.EncBasicHandle().StructToArray - var yyq565 [2]bool - _, _, _ = yysep565, yyq565, yy2arr565 - const yyr565 bool = false - yyq565[0] = x.MaxUnavailable != nil - yyq565[1] = x.MaxSurge != nil - var yynn565 int - if yyr565 || yy2arr565 { + yysep561 := !z.EncBinary() + yy2arr561 := z.EncBasicHandle().StructToArray + var yyq561 [2]bool + _, _, _ = yysep561, yyq561, yy2arr561 + const yyr561 bool = false + yyq561[0] = x.MaxUnavailable != nil + yyq561[1] = x.MaxSurge != nil + var yynn561 int + if yyr561 || yy2arr561 { r.EncodeArrayStart(2) } else { - yynn565 = 0 - for _, b := range yyq565 { + yynn561 = 0 + for _, b := range yyq561 { if b { - yynn565++ + yynn561++ } } - r.EncodeMapStart(yynn565) - yynn565 = 0 + r.EncodeMapStart(yynn561) + yynn561 = 0 } - if yyr565 || yy2arr565 { + if yyr561 || yy2arr561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq565[0] { + if yyq561[0] { if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym567 := z.EncBinary() - _ = yym567 + yym563 := z.EncBinary() + _ = yym563 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym567 && z.IsJSONHandle() { + } else if !yym563 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6819,18 +6795,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq565[0] { + if yyq561[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym568 := z.EncBinary() - _ = yym568 + yym564 := z.EncBinary() + _ = yym564 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym568 && z.IsJSONHandle() { + } else if !yym564 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6838,17 +6814,17 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr565 || yy2arr565 { + if yyr561 || yy2arr561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq565[1] { + if yyq561[1] { if x.MaxSurge == nil { r.EncodeNil() } else { - yym570 := z.EncBinary() - _ = yym570 + yym566 := z.EncBinary() + _ = yym566 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym570 && z.IsJSONHandle() { + } else if !yym566 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6858,18 +6834,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq565[1] { + if yyq561[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxSurge == nil { r.EncodeNil() } else { - yym571 := z.EncBinary() - _ = yym571 + yym567 := z.EncBinary() + _ = yym567 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym571 && z.IsJSONHandle() { + } else if !yym567 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6877,7 +6853,7 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr565 || yy2arr565 { + if yyr561 || yy2arr561 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6890,25 +6866,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym572 := z.DecBinary() - _ = yym572 + yym568 := z.DecBinary() + _ = yym568 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct573 := r.ContainerType() - if yyct573 == codecSelferValueTypeMap1234 { - yyl573 := r.ReadMapStart() - if yyl573 == 0 { + yyct569 := r.ContainerType() + if yyct569 == codecSelferValueTypeMap1234 { + yyl569 := r.ReadMapStart() + if yyl569 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl573, d) + x.codecDecodeSelfFromMap(yyl569, d) } - } else if yyct573 == codecSelferValueTypeArray1234 { - yyl573 := r.ReadArrayStart() - if yyl573 == 0 { + } else if yyct569 == codecSelferValueTypeArray1234 { + yyl569 := r.ReadArrayStart() + if yyl569 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl573, d) + x.codecDecodeSelfFromArray(yyl569, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6920,12 +6896,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys574Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys574Slc - var yyhl574 bool = l >= 0 - for yyj574 := 0; ; yyj574++ { - if yyhl574 { - if yyj574 >= l { + var yys570Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys570Slc + var yyhl570 bool = l >= 0 + for yyj570 := 0; ; yyj570++ { + if yyhl570 { + if yyj570 >= l { break } } else { @@ -6934,10 +6910,10 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys574Slc = r.DecodeBytes(yys574Slc, true, true) - yys574 := string(yys574Slc) + yys570Slc = r.DecodeBytes(yys570Slc, true, true) + yys570 := string(yys570Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys574 { + switch yys570 { case "maxUnavailable": if r.TryDecodeAsNil() { if x.MaxUnavailable != nil { @@ -6947,11 +6923,11 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym576 := z.DecBinary() - _ = yym576 + yym572 := z.DecBinary() + _ = yym572 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym576 && z.IsJSONHandle() { + } else if !yym572 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) @@ -6966,20 +6942,20 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym578 := z.DecBinary() - _ = yym578 + yym574 := z.DecBinary() + _ = yym574 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym578 && z.IsJSONHandle() { + } else if !yym574 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } default: - z.DecStructFieldNotFound(-1, yys574) - } // end switch yys574 - } // end for yyj574 + z.DecStructFieldNotFound(-1, yys570) + } // end switch yys570 + } // end for yyj570 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6987,16 +6963,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj579 int - var yyb579 bool - var yyhl579 bool = l >= 0 - yyj579++ - if yyhl579 { - yyb579 = yyj579 > l + var yyj575 int + var yyb575 bool + var yyhl575 bool = l >= 0 + yyj575++ + if yyhl575 { + yyb575 = yyj575 > l } else { - yyb579 = r.CheckBreak() + yyb575 = r.CheckBreak() } - if yyb579 { + if yyb575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7009,23 +6985,23 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym581 := z.DecBinary() - _ = yym581 + yym577 := z.DecBinary() + _ = yym577 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym581 && z.IsJSONHandle() { + } else if !yym577 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) } } - yyj579++ - if yyhl579 { - yyb579 = yyj579 > l + yyj575++ + if yyhl575 { + yyb575 = yyj575 > l } else { - yyb579 = r.CheckBreak() + yyb575 = r.CheckBreak() } - if yyb579 { + if yyb575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7038,28 +7014,28 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym583 := z.DecBinary() - _ = yym583 + yym579 := z.DecBinary() + _ = yym579 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym583 && z.IsJSONHandle() { + } else if !yym579 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } for { - yyj579++ - if yyhl579 { - yyb579 = yyj579 > l + yyj575++ + if yyhl575 { + yyb575 = yyj575 > l } else { - yyb579 = r.CheckBreak() + yyb575 = r.CheckBreak() } - if yyb579 { + if yyb575 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj579-1, "") + z.DecStructFieldNotFound(yyj575-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7071,160 +7047,160 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym584 := z.EncBinary() - _ = yym584 + yym580 := z.EncBinary() + _ = yym580 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep585 := !z.EncBinary() - yy2arr585 := z.EncBasicHandle().StructToArray - var yyq585 [5]bool - _, _, _ = yysep585, yyq585, yy2arr585 - const yyr585 bool = false - yyq585[0] = x.ObservedGeneration != 0 - yyq585[1] = x.Replicas != 0 - yyq585[2] = x.UpdatedReplicas != 0 - yyq585[3] = x.AvailableReplicas != 0 - yyq585[4] = x.UnavailableReplicas != 0 - var yynn585 int - if yyr585 || yy2arr585 { + yysep581 := !z.EncBinary() + yy2arr581 := z.EncBasicHandle().StructToArray + var yyq581 [5]bool + _, _, _ = yysep581, yyq581, yy2arr581 + const yyr581 bool = false + yyq581[0] = x.ObservedGeneration != 0 + yyq581[1] = x.Replicas != 0 + yyq581[2] = x.UpdatedReplicas != 0 + yyq581[3] = x.AvailableReplicas != 0 + yyq581[4] = x.UnavailableReplicas != 0 + var yynn581 int + if yyr581 || yy2arr581 { r.EncodeArrayStart(5) } else { - yynn585 = 0 - for _, b := range yyq585 { + yynn581 = 0 + for _, b := range yyq581 { if b { - yynn585++ + yynn581++ } } - r.EncodeMapStart(yynn585) - yynn585 = 0 + r.EncodeMapStart(yynn581) + yynn581 = 0 } - if yyr585 || yy2arr585 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[0] { + if yyq581[0] { + yym583 := z.EncBinary() + _ = yym583 + if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq581[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym584 := z.EncBinary() + _ = yym584 + if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } + } + if yyr581 || yy2arr581 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq581[1] { + yym586 := z.EncBinary() + _ = yym586 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq581[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym587 := z.EncBinary() _ = yym587 if false { } else { - r.EncodeInt(int64(x.ObservedGeneration)) + r.EncodeInt(int64(x.Replicas)) + } + } + } + if yyr581 || yy2arr581 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq581[2] { + yym589 := z.EncBinary() + _ = yym589 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) } } else { r.EncodeInt(0) } } else { - if yyq585[0] { + if yyq581[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) + r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym588 := z.EncBinary() - _ = yym588 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } - } - if yyr585 || yy2arr585 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[1] { yym590 := z.EncBinary() _ = yym590 if false { } else { - r.EncodeInt(int64(x.Replicas)) + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } + } + if yyr581 || yy2arr581 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq581[3] { + yym592 := z.EncBinary() + _ = yym592 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) } } else { r.EncodeInt(0) } } else { - if yyq585[1] { + if yyq581[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym591 := z.EncBinary() - _ = yym591 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - } - if yyr585 || yy2arr585 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[2] { yym593 := z.EncBinary() _ = yym593 if false { } else { - r.EncodeInt(int64(x.UpdatedReplicas)) + r.EncodeInt(int64(x.AvailableReplicas)) + } + } + } + if yyr581 || yy2arr581 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq581[4] { + yym595 := z.EncBinary() + _ = yym595 + if false { + } else { + r.EncodeInt(int64(x.UnavailableReplicas)) } } else { r.EncodeInt(0) } } else { - if yyq585[2] { + if yyq581[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) + r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym594 := z.EncBinary() - _ = yym594 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } - } - if yyr585 || yy2arr585 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[3] { yym596 := z.EncBinary() _ = yym596 if false { - } else { - r.EncodeInt(int64(x.AvailableReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq585[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym597 := z.EncBinary() - _ = yym597 - if false { - } else { - r.EncodeInt(int64(x.AvailableReplicas)) - } - } - } - if yyr585 || yy2arr585 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[4] { - yym599 := z.EncBinary() - _ = yym599 - if false { - } else { - r.EncodeInt(int64(x.UnavailableReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq585[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym600 := z.EncBinary() - _ = yym600 - if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr585 || yy2arr585 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7237,25 +7213,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym601 := z.DecBinary() - _ = yym601 + yym597 := z.DecBinary() + _ = yym597 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct602 := r.ContainerType() - if yyct602 == codecSelferValueTypeMap1234 { - yyl602 := r.ReadMapStart() - if yyl602 == 0 { + yyct598 := r.ContainerType() + if yyct598 == codecSelferValueTypeMap1234 { + yyl598 := r.ReadMapStart() + if yyl598 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl602, d) + x.codecDecodeSelfFromMap(yyl598, d) } - } else if yyct602 == codecSelferValueTypeArray1234 { - yyl602 := r.ReadArrayStart() - if yyl602 == 0 { + } else if yyct598 == codecSelferValueTypeArray1234 { + yyl598 := r.ReadArrayStart() + if yyl598 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl602, d) + x.codecDecodeSelfFromArray(yyl598, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7267,12 +7243,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys603Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys603Slc - var yyhl603 bool = l >= 0 - for yyj603 := 0; ; yyj603++ { - if yyhl603 { - if yyj603 >= l { + var yys599Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys599Slc + var yyhl599 bool = l >= 0 + for yyj599 := 0; ; yyj599++ { + if yyhl599 { + if yyj599 >= l { break } } else { @@ -7281,10 +7257,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys603Slc = r.DecodeBytes(yys603Slc, true, true) - yys603 := string(yys603Slc) + yys599Slc = r.DecodeBytes(yys599Slc, true, true) + yys599 := string(yys599Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys603 { + switch yys599 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -7316,9 +7292,9 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.UnavailableReplicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys603) - } // end switch yys603 - } // end for yyj603 + z.DecStructFieldNotFound(-1, yys599) + } // end switch yys599 + } // end for yyj599 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7326,16 +7302,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj609 int - var yyb609 bool - var yyhl609 bool = l >= 0 - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + var yyj605 int + var yyb605 bool + var yyhl605 bool = l >= 0 + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb609 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb609 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7345,13 +7321,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb609 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb609 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7361,13 +7337,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb609 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb609 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7377,13 +7353,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb609 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb609 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7393,13 +7369,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb609 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb609 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7410,17 +7386,17 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.UnavailableReplicas = int32(r.DecodeInt(32)) } for { - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb609 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb609 { + if yyb605 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj609-1, "") + z.DecStructFieldNotFound(yyj605-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7432,118 +7408,118 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym615 := z.EncBinary() - _ = yym615 + yym611 := z.EncBinary() + _ = yym611 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep616 := !z.EncBinary() - yy2arr616 := z.EncBasicHandle().StructToArray - var yyq616 [4]bool - _, _, _ = yysep616, yyq616, yy2arr616 - const yyr616 bool = false - yyq616[0] = x.Kind != "" - yyq616[1] = x.APIVersion != "" - yyq616[2] = true - var yynn616 int - if yyr616 || yy2arr616 { + yysep612 := !z.EncBinary() + yy2arr612 := z.EncBasicHandle().StructToArray + var yyq612 [4]bool + _, _, _ = yysep612, yyq612, yy2arr612 + const yyr612 bool = false + yyq612[0] = x.Kind != "" + yyq612[1] = x.APIVersion != "" + yyq612[2] = true + var yynn612 int + if yyr612 || yy2arr612 { r.EncodeArrayStart(4) } else { - yynn616 = 1 - for _, b := range yyq616 { + yynn612 = 1 + for _, b := range yyq612 { if b { - yynn616++ + yynn612++ } } - r.EncodeMapStart(yynn616) - yynn616 = 0 + r.EncodeMapStart(yynn612) + yynn612 = 0 } - if yyr616 || yy2arr616 { + if yyr612 || yy2arr612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq616[0] { + if yyq612[0] { + yym614 := z.EncBinary() + _ = yym614 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq612[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym615 := z.EncBinary() + _ = yym615 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr612 || yy2arr612 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq612[1] { + yym617 := z.EncBinary() + _ = yym617 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq612[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym618 := z.EncBinary() _ = yym618 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq616[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym619 := z.EncBinary() - _ = yym619 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr616 || yy2arr616 { + if yyr612 || yy2arr612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq616[1] { + if yyq612[2] { + yy620 := &x.ListMeta yym621 := z.EncBinary() _ = yym621 if false { + } else if z.HasExtensions() && z.EncExt(yy620) { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq616[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym622 := z.EncBinary() - _ = yym622 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr616 || yy2arr616 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq616[2] { - yy624 := &x.ListMeta - yym625 := z.EncBinary() - _ = yym625 - if false { - } else if z.HasExtensions() && z.EncExt(yy624) { - } else { - z.EncFallback(yy624) + z.EncFallback(yy620) } } else { r.EncodeNil() } } else { - if yyq616[2] { + if yyq612[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy626 := &x.ListMeta - yym627 := z.EncBinary() - _ = yym627 + yy622 := &x.ListMeta + yym623 := z.EncBinary() + _ = yym623 if false { - } else if z.HasExtensions() && z.EncExt(yy626) { + } else if z.HasExtensions() && z.EncExt(yy622) { } else { - z.EncFallback(yy626) + z.EncFallback(yy622) } } } - if yyr616 || yy2arr616 { + if yyr612 || yy2arr612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym629 := z.EncBinary() - _ = yym629 + yym625 := z.EncBinary() + _ = yym625 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) @@ -7556,15 +7532,15 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym630 := z.EncBinary() - _ = yym630 + yym626 := z.EncBinary() + _ = yym626 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) } } } - if yyr616 || yy2arr616 { + if yyr612 || yy2arr612 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7577,25 +7553,25 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym631 := z.DecBinary() - _ = yym631 + yym627 := z.DecBinary() + _ = yym627 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct632 := r.ContainerType() - if yyct632 == codecSelferValueTypeMap1234 { - yyl632 := r.ReadMapStart() - if yyl632 == 0 { + yyct628 := r.ContainerType() + if yyct628 == codecSelferValueTypeMap1234 { + yyl628 := r.ReadMapStart() + if yyl628 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl632, d) + x.codecDecodeSelfFromMap(yyl628, d) } - } else if yyct632 == codecSelferValueTypeArray1234 { - yyl632 := r.ReadArrayStart() - if yyl632 == 0 { + } else if yyct628 == codecSelferValueTypeArray1234 { + yyl628 := r.ReadArrayStart() + if yyl628 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl632, d) + x.codecDecodeSelfFromArray(yyl628, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7607,12 +7583,12 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys633Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys633Slc - var yyhl633 bool = l >= 0 - for yyj633 := 0; ; yyj633++ { - if yyhl633 { - if yyj633 >= l { + var yys629Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys629Slc + var yyhl629 bool = l >= 0 + for yyj629 := 0; ; yyj629++ { + if yyhl629 { + if yyj629 >= l { break } } else { @@ -7621,10 +7597,10 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys633Slc = r.DecodeBytes(yys633Slc, true, true) - yys633 := string(yys633Slc) + yys629Slc = r.DecodeBytes(yys629Slc, true, true) + yys629 := string(yys629Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys633 { + switch yys629 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7641,31 +7617,31 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv636 := &x.ListMeta - yym637 := z.DecBinary() - _ = yym637 + yyv632 := &x.ListMeta + yym633 := z.DecBinary() + _ = yym633 if false { - } else if z.HasExtensions() && z.DecExt(yyv636) { + } else if z.HasExtensions() && z.DecExt(yyv632) { } else { - z.DecFallback(yyv636, false) + z.DecFallback(yyv632, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv638 := &x.Items - yym639 := z.DecBinary() - _ = yym639 + yyv634 := &x.Items + yym635 := z.DecBinary() + _ = yym635 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv638), d) + h.decSliceDeployment((*[]Deployment)(yyv634), d) } } default: - z.DecStructFieldNotFound(-1, yys633) - } // end switch yys633 - } // end for yyj633 + z.DecStructFieldNotFound(-1, yys629) + } // end switch yys629 + } // end for yyj629 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7673,16 +7649,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj640 int - var yyb640 bool - var yyhl640 bool = l >= 0 - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + var yyj636 int + var yyb636 bool + var yyhl636 bool = l >= 0 + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l } else { - yyb640 = r.CheckBreak() + yyb636 = r.CheckBreak() } - if yyb640 { + if yyb636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7692,13 +7668,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l } else { - yyb640 = r.CheckBreak() + yyb636 = r.CheckBreak() } - if yyb640 { + if yyb636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7708,13 +7684,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l } else { - yyb640 = r.CheckBreak() + yyb636 = r.CheckBreak() } - if yyb640 { + if yyb636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7722,22 +7698,22 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv643 := &x.ListMeta - yym644 := z.DecBinary() - _ = yym644 + yyv639 := &x.ListMeta + yym640 := z.DecBinary() + _ = yym640 if false { - } else if z.HasExtensions() && z.DecExt(yyv643) { + } else if z.HasExtensions() && z.DecExt(yyv639) { } else { - z.DecFallback(yyv643, false) + z.DecFallback(yyv639, false) } } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l } else { - yyb640 = r.CheckBreak() + yyb636 = r.CheckBreak() } - if yyb640 { + if yyb636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7745,26 +7721,26 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv645 := &x.Items - yym646 := z.DecBinary() - _ = yym646 + yyv641 := &x.Items + yym642 := z.DecBinary() + _ = yym642 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv645), d) + h.decSliceDeployment((*[]Deployment)(yyv641), d) } } for { - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l } else { - yyb640 = r.CheckBreak() + yyb636 = r.CheckBreak() } - if yyb640 { + if yyb636 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj640-1, "") + z.DecStructFieldNotFound(yyj636-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7776,77 +7752,65 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym647 := z.EncBinary() - _ = yym647 + yym643 := z.EncBinary() + _ = yym643 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep648 := !z.EncBinary() - yy2arr648 := z.EncBasicHandle().StructToArray - var yyq648 [2]bool - _, _, _ = yysep648, yyq648, yy2arr648 - const yyr648 bool = false - yyq648[0] = x.Selector != nil - var yynn648 int - if yyr648 || yy2arr648 { + yysep644 := !z.EncBinary() + yy2arr644 := z.EncBasicHandle().StructToArray + var yyq644 [2]bool + _, _, _ = yysep644, yyq644, yy2arr644 + const yyr644 bool = false + yyq644[0] = x.Selector != nil + var yynn644 int + if yyr644 || yy2arr644 { r.EncodeArrayStart(2) } else { - yynn648 = 1 - for _, b := range yyq648 { + yynn644 = 1 + for _, b := range yyq644 { if b { - yynn648++ + yynn644++ } } - r.EncodeMapStart(yynn648) - yynn648 = 0 + r.EncodeMapStart(yynn644) + yynn644 = 0 } - if yyr648 || yy2arr648 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq648[0] { + if yyq644[0] { if x.Selector == nil { r.EncodeNil() } else { - yym650 := z.EncBinary() - _ = yym650 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq648[0] { + if yyq644[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym651 := z.EncBinary() - _ = yym651 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } } - if yyr648 || yy2arr648 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy653 := &x.Template - yy653.CodecEncodeSelf(e) + yy647 := &x.Template + yy647.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy654 := &x.Template - yy654.CodecEncodeSelf(e) + yy648 := &x.Template + yy648.CodecEncodeSelf(e) } - if yyr648 || yy2arr648 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7859,25 +7823,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym655 := z.DecBinary() - _ = yym655 + yym649 := z.DecBinary() + _ = yym649 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct656 := r.ContainerType() - if yyct656 == codecSelferValueTypeMap1234 { - yyl656 := r.ReadMapStart() - if yyl656 == 0 { + yyct650 := r.ContainerType() + if yyct650 == codecSelferValueTypeMap1234 { + yyl650 := r.ReadMapStart() + if yyl650 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl656, d) + x.codecDecodeSelfFromMap(yyl650, d) } - } else if yyct656 == codecSelferValueTypeArray1234 { - yyl656 := r.ReadArrayStart() - if yyl656 == 0 { + } else if yyct650 == codecSelferValueTypeArray1234 { + yyl650 := r.ReadArrayStart() + if yyl650 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl656, d) + x.codecDecodeSelfFromArray(yyl650, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7889,12 +7853,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys657Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys657Slc - var yyhl657 bool = l >= 0 - for yyj657 := 0; ; yyj657++ { - if yyhl657 { - if yyj657 >= l { + var yys651Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys651Slc + var yyhl651 bool = l >= 0 + for yyj651 := 0; ; yyj651++ { + if yyhl651 { + if yyj651 >= l { break } } else { @@ -7903,10 +7867,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys657Slc = r.DecodeBytes(yys657Slc, true, true) - yys657 := string(yys657Slc) + yys651Slc = r.DecodeBytes(yys651Slc, true, true) + yys651 := string(yys651Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys657 { + switch yys651 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -7914,27 +7878,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym659 := z.DecBinary() - _ = yym659 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv660 := &x.Template - yyv660.CodecDecodeSelf(d) + yyv653 := &x.Template + yyv653.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys657) - } // end switch yys657 - } // end for yyj657 + z.DecStructFieldNotFound(-1, yys651) + } // end switch yys651 + } // end for yyj651 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7942,16 +7900,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj661 int - var yyb661 bool - var yyhl661 bool = l >= 0 - yyj661++ - if yyhl661 { - yyb661 = yyj661 > l + var yyj654 int + var yyb654 bool + var yyhl654 bool = l >= 0 + yyj654++ + if yyhl654 { + yyb654 = yyj654 > l } else { - yyb661 = r.CheckBreak() + yyb654 = r.CheckBreak() } - if yyb661 { + if yyb654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7962,23 +7920,17 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym663 := z.DecBinary() - _ = yym663 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } - yyj661++ - if yyhl661 { - yyb661 = yyj661 > l + yyj654++ + if yyhl654 { + yyb654 = yyj654 > l } else { - yyb661 = r.CheckBreak() + yyb654 = r.CheckBreak() } - if yyb661 { + if yyb654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7986,21 +7938,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv664 := &x.Template - yyv664.CodecDecodeSelf(d) + yyv656 := &x.Template + yyv656.CodecDecodeSelf(d) } for { - yyj661++ - if yyhl661 { - yyb661 = yyj661 > l + yyj654++ + if yyhl654 { + yyb654 = yyj654 > l } else { - yyb661 = r.CheckBreak() + yyb654 = r.CheckBreak() } - if yyb661 { + if yyb654 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj661-1, "") + z.DecStructFieldNotFound(yyj654-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8012,33 +7964,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym665 := z.EncBinary() - _ = yym665 + yym657 := z.EncBinary() + _ = yym657 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep666 := !z.EncBinary() - yy2arr666 := z.EncBasicHandle().StructToArray - var yyq666 [4]bool - _, _, _ = yysep666, yyq666, yy2arr666 - const yyr666 bool = false - var yynn666 int - if yyr666 || yy2arr666 { + yysep658 := !z.EncBinary() + yy2arr658 := z.EncBasicHandle().StructToArray + var yyq658 [4]bool + _, _, _ = yysep658, yyq658, yy2arr658 + const yyr658 bool = false + var yynn658 int + if yyr658 || yy2arr658 { r.EncodeArrayStart(4) } else { - yynn666 = 4 - for _, b := range yyq666 { + yynn658 = 4 + for _, b := range yyq658 { if b { - yynn666++ + yynn658++ } } - r.EncodeMapStart(yynn666) - yynn666 = 0 + r.EncodeMapStart(yynn658) + yynn658 = 0 } - if yyr666 || yy2arr666 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym668 := z.EncBinary() - _ = yym668 + yym660 := z.EncBinary() + _ = yym660 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -8047,17 +7999,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym669 := z.EncBinary() - _ = yym669 + yym661 := z.EncBinary() + _ = yym661 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr666 || yy2arr666 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym671 := z.EncBinary() - _ = yym671 + yym663 := z.EncBinary() + _ = yym663 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -8066,17 +8018,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym672 := z.EncBinary() - _ = yym672 + yym664 := z.EncBinary() + _ = yym664 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr666 || yy2arr666 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym674 := z.EncBinary() - _ = yym674 + yym666 := z.EncBinary() + _ = yym666 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -8085,17 +8037,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym675 := z.EncBinary() - _ = yym675 + yym667 := z.EncBinary() + _ = yym667 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr666 || yy2arr666 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym677 := z.EncBinary() - _ = yym677 + yym669 := z.EncBinary() + _ = yym669 if false { } else { r.EncodeInt(int64(x.NumberReady)) @@ -8104,14 +8056,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberReady")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym678 := z.EncBinary() - _ = yym678 + yym670 := z.EncBinary() + _ = yym670 if false { } else { r.EncodeInt(int64(x.NumberReady)) } } - if yyr666 || yy2arr666 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8124,25 +8076,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym679 := z.DecBinary() - _ = yym679 + yym671 := z.DecBinary() + _ = yym671 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct680 := r.ContainerType() - if yyct680 == codecSelferValueTypeMap1234 { - yyl680 := r.ReadMapStart() - if yyl680 == 0 { + yyct672 := r.ContainerType() + if yyct672 == codecSelferValueTypeMap1234 { + yyl672 := r.ReadMapStart() + if yyl672 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl680, d) + x.codecDecodeSelfFromMap(yyl672, d) } - } else if yyct680 == codecSelferValueTypeArray1234 { - yyl680 := r.ReadArrayStart() - if yyl680 == 0 { + } else if yyct672 == codecSelferValueTypeArray1234 { + yyl672 := r.ReadArrayStart() + if yyl672 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl680, d) + x.codecDecodeSelfFromArray(yyl672, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8154,12 +8106,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys681Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys681Slc - var yyhl681 bool = l >= 0 - for yyj681 := 0; ; yyj681++ { - if yyhl681 { - if yyj681 >= l { + var yys673Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys673Slc + var yyhl673 bool = l >= 0 + for yyj673 := 0; ; yyj673++ { + if yyhl673 { + if yyj673 >= l { break } } else { @@ -8168,10 +8120,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys681Slc = r.DecodeBytes(yys681Slc, true, true) - yys681 := string(yys681Slc) + yys673Slc = r.DecodeBytes(yys673Slc, true, true) + yys673 := string(yys673Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys681 { + switch yys673 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -8197,9 +8149,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NumberReady = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys681) - } // end switch yys681 - } // end for yyj681 + z.DecStructFieldNotFound(-1, yys673) + } // end switch yys673 + } // end for yyj673 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8207,16 +8159,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj686 int - var yyb686 bool - var yyhl686 bool = l >= 0 - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + var yyj678 int + var yyb678 bool + var yyhl678 bool = l >= 0 + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb686 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb686 { + if yyb678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8226,13 +8178,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb686 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb686 { + if yyb678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8242,13 +8194,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb686 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb686 { + if yyb678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8258,13 +8210,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb686 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb686 { + if yyb678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8275,17 +8227,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.NumberReady = int32(r.DecodeInt(32)) } for { - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb686 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb686 { + if yyb678 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj686-1, "") + z.DecStructFieldNotFound(yyj678-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8297,39 +8249,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym691 := z.EncBinary() - _ = yym691 + yym683 := z.EncBinary() + _ = yym683 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep692 := !z.EncBinary() - yy2arr692 := z.EncBasicHandle().StructToArray - var yyq692 [5]bool - _, _, _ = yysep692, yyq692, yy2arr692 - const yyr692 bool = false - yyq692[0] = x.Kind != "" - yyq692[1] = x.APIVersion != "" - yyq692[2] = true - yyq692[3] = true - yyq692[4] = true - var yynn692 int - if yyr692 || yy2arr692 { + yysep684 := !z.EncBinary() + yy2arr684 := z.EncBasicHandle().StructToArray + var yyq684 [5]bool + _, _, _ = yysep684, yyq684, yy2arr684 + const yyr684 bool = false + yyq684[0] = x.Kind != "" + yyq684[1] = x.APIVersion != "" + yyq684[2] = true + yyq684[3] = true + yyq684[4] = true + var yynn684 int + if yyr684 || yy2arr684 { r.EncodeArrayStart(5) } else { - yynn692 = 0 - for _, b := range yyq692 { + yynn684 = 0 + for _, b := range yyq684 { if b { - yynn692++ + yynn684++ } } - r.EncodeMapStart(yynn692) - yynn692 = 0 + r.EncodeMapStart(yynn684) + yynn684 = 0 } - if yyr692 || yy2arr692 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[0] { - yym694 := z.EncBinary() - _ = yym694 + if yyq684[0] { + yym686 := z.EncBinary() + _ = yym686 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8338,23 +8290,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq692[0] { + if yyq684[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym695 := z.EncBinary() - _ = yym695 + yym687 := z.EncBinary() + _ = yym687 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr692 || yy2arr692 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[1] { - yym697 := z.EncBinary() - _ = yym697 + if yyq684[1] { + yym689 := z.EncBinary() + _ = yym689 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8363,70 +8315,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq692[1] { + if yyq684[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym698 := z.EncBinary() - _ = yym698 + yym690 := z.EncBinary() + _ = yym690 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr692 || yy2arr692 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[2] { - yy700 := &x.ObjectMeta - yy700.CodecEncodeSelf(e) + if yyq684[2] { + yy692 := &x.ObjectMeta + yy692.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq692[2] { + if yyq684[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy701 := &x.ObjectMeta - yy701.CodecEncodeSelf(e) + yy693 := &x.ObjectMeta + yy693.CodecEncodeSelf(e) } } - if yyr692 || yy2arr692 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[3] { - yy703 := &x.Spec - yy703.CodecEncodeSelf(e) + if yyq684[3] { + yy695 := &x.Spec + yy695.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq692[3] { + if yyq684[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy704 := &x.Spec - yy704.CodecEncodeSelf(e) + yy696 := &x.Spec + yy696.CodecEncodeSelf(e) } } - if yyr692 || yy2arr692 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[4] { - yy706 := &x.Status - yy706.CodecEncodeSelf(e) + if yyq684[4] { + yy698 := &x.Status + yy698.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq692[4] { + if yyq684[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy707 := &x.Status - yy707.CodecEncodeSelf(e) + yy699 := &x.Status + yy699.CodecEncodeSelf(e) } } - if yyr692 || yy2arr692 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8439,25 +8391,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym708 := z.DecBinary() - _ = yym708 + yym700 := z.DecBinary() + _ = yym700 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct709 := r.ContainerType() - if yyct709 == codecSelferValueTypeMap1234 { - yyl709 := r.ReadMapStart() - if yyl709 == 0 { + yyct701 := r.ContainerType() + if yyct701 == codecSelferValueTypeMap1234 { + yyl701 := r.ReadMapStart() + if yyl701 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl709, d) + x.codecDecodeSelfFromMap(yyl701, d) } - } else if yyct709 == codecSelferValueTypeArray1234 { - yyl709 := r.ReadArrayStart() - if yyl709 == 0 { + } else if yyct701 == codecSelferValueTypeArray1234 { + yyl701 := r.ReadArrayStart() + if yyl701 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl709, d) + x.codecDecodeSelfFromArray(yyl701, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8469,12 +8421,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys710Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys710Slc - var yyhl710 bool = l >= 0 - for yyj710 := 0; ; yyj710++ { - if yyhl710 { - if yyj710 >= l { + var yys702Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys702Slc + var yyhl702 bool = l >= 0 + for yyj702 := 0; ; yyj702++ { + if yyhl702 { + if yyj702 >= l { break } } else { @@ -8483,10 +8435,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys710Slc = r.DecodeBytes(yys710Slc, true, true) - yys710 := string(yys710Slc) + yys702Slc = r.DecodeBytes(yys702Slc, true, true) + yys702 := string(yys702Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys710 { + switch yys702 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8503,27 +8455,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv713 := &x.ObjectMeta - yyv713.CodecDecodeSelf(d) + yyv705 := &x.ObjectMeta + yyv705.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv714 := &x.Spec - yyv714.CodecDecodeSelf(d) + yyv706 := &x.Spec + yyv706.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv715 := &x.Status - yyv715.CodecDecodeSelf(d) + yyv707 := &x.Status + yyv707.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys710) - } // end switch yys710 - } // end for yyj710 + z.DecStructFieldNotFound(-1, yys702) + } // end switch yys702 + } // end for yyj702 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8531,16 +8483,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj716 int - var yyb716 bool - var yyhl716 bool = l >= 0 - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + var yyj708 int + var yyb708 bool + var yyhl708 bool = l >= 0 + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb716 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb716 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8550,13 +8502,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb716 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb716 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8566,13 +8518,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb716 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb716 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8580,16 +8532,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv719 := &x.ObjectMeta - yyv719.CodecDecodeSelf(d) + yyv711 := &x.ObjectMeta + yyv711.CodecDecodeSelf(d) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb716 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb716 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8597,16 +8549,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv720 := &x.Spec - yyv720.CodecDecodeSelf(d) + yyv712 := &x.Spec + yyv712.CodecDecodeSelf(d) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb716 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb716 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8614,21 +8566,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv721 := &x.Status - yyv721.CodecDecodeSelf(d) + yyv713 := &x.Status + yyv713.CodecDecodeSelf(d) } for { - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb716 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb716 { + if yyb708 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj716-1, "") + z.DecStructFieldNotFound(yyj708-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8640,37 +8592,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym722 := z.EncBinary() - _ = yym722 + yym714 := z.EncBinary() + _ = yym714 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep723 := !z.EncBinary() - yy2arr723 := z.EncBasicHandle().StructToArray - var yyq723 [4]bool - _, _, _ = yysep723, yyq723, yy2arr723 - const yyr723 bool = false - yyq723[0] = x.Kind != "" - yyq723[1] = x.APIVersion != "" - yyq723[2] = true - var yynn723 int - if yyr723 || yy2arr723 { + yysep715 := !z.EncBinary() + yy2arr715 := z.EncBasicHandle().StructToArray + var yyq715 [4]bool + _, _, _ = yysep715, yyq715, yy2arr715 + const yyr715 bool = false + yyq715[0] = x.Kind != "" + yyq715[1] = x.APIVersion != "" + yyq715[2] = true + var yynn715 int + if yyr715 || yy2arr715 { r.EncodeArrayStart(4) } else { - yynn723 = 1 - for _, b := range yyq723 { + yynn715 = 1 + for _, b := range yyq715 { if b { - yynn723++ + yynn715++ } } - r.EncodeMapStart(yynn723) - yynn723 = 0 + r.EncodeMapStart(yynn715) + yynn715 = 0 } - if yyr723 || yy2arr723 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[0] { - yym725 := z.EncBinary() - _ = yym725 + if yyq715[0] { + yym717 := z.EncBinary() + _ = yym717 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8679,23 +8631,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq723[0] { + if yyq715[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym726 := z.EncBinary() - _ = yym726 + yym718 := z.EncBinary() + _ = yym718 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr723 || yy2arr723 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[1] { - yym728 := z.EncBinary() - _ = yym728 + if yyq715[1] { + yym720 := z.EncBinary() + _ = yym720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8704,54 +8656,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq723[1] { + if yyq715[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym729 := z.EncBinary() - _ = yym729 + yym721 := z.EncBinary() + _ = yym721 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr723 || yy2arr723 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[2] { - yy731 := &x.ListMeta - yym732 := z.EncBinary() - _ = yym732 + if yyq715[2] { + yy723 := &x.ListMeta + yym724 := z.EncBinary() + _ = yym724 if false { - } else if z.HasExtensions() && z.EncExt(yy731) { + } else if z.HasExtensions() && z.EncExt(yy723) { } else { - z.EncFallback(yy731) + z.EncFallback(yy723) } } else { r.EncodeNil() } } else { - if yyq723[2] { + if yyq715[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy733 := &x.ListMeta - yym734 := z.EncBinary() - _ = yym734 + yy725 := &x.ListMeta + yym726 := z.EncBinary() + _ = yym726 if false { - } else if z.HasExtensions() && z.EncExt(yy733) { + } else if z.HasExtensions() && z.EncExt(yy725) { } else { - z.EncFallback(yy733) + z.EncFallback(yy725) } } } - if yyr723 || yy2arr723 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym736 := z.EncBinary() - _ = yym736 + yym728 := z.EncBinary() + _ = yym728 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -8764,15 +8716,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym737 := z.EncBinary() - _ = yym737 + yym729 := z.EncBinary() + _ = yym729 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr723 || yy2arr723 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8785,25 +8737,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym738 := z.DecBinary() - _ = yym738 + yym730 := z.DecBinary() + _ = yym730 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct739 := r.ContainerType() - if yyct739 == codecSelferValueTypeMap1234 { - yyl739 := r.ReadMapStart() - if yyl739 == 0 { + yyct731 := r.ContainerType() + if yyct731 == codecSelferValueTypeMap1234 { + yyl731 := r.ReadMapStart() + if yyl731 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl739, d) + x.codecDecodeSelfFromMap(yyl731, d) } - } else if yyct739 == codecSelferValueTypeArray1234 { - yyl739 := r.ReadArrayStart() - if yyl739 == 0 { + } else if yyct731 == codecSelferValueTypeArray1234 { + yyl731 := r.ReadArrayStart() + if yyl731 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl739, d) + x.codecDecodeSelfFromArray(yyl731, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8815,12 +8767,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys740Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys740Slc - var yyhl740 bool = l >= 0 - for yyj740 := 0; ; yyj740++ { - if yyhl740 { - if yyj740 >= l { + var yys732Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys732Slc + var yyhl732 bool = l >= 0 + for yyj732 := 0; ; yyj732++ { + if yyhl732 { + if yyj732 >= l { break } } else { @@ -8829,10 +8781,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys740Slc = r.DecodeBytes(yys740Slc, true, true) - yys740 := string(yys740Slc) + yys732Slc = r.DecodeBytes(yys732Slc, true, true) + yys732 := string(yys732Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys740 { + switch yys732 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8849,31 +8801,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv743 := &x.ListMeta - yym744 := z.DecBinary() - _ = yym744 + yyv735 := &x.ListMeta + yym736 := z.DecBinary() + _ = yym736 if false { - } else if z.HasExtensions() && z.DecExt(yyv743) { + } else if z.HasExtensions() && z.DecExt(yyv735) { } else { - z.DecFallback(yyv743, false) + z.DecFallback(yyv735, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv745 := &x.Items - yym746 := z.DecBinary() - _ = yym746 + yyv737 := &x.Items + yym738 := z.DecBinary() + _ = yym738 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv745), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv737), d) } } default: - z.DecStructFieldNotFound(-1, yys740) - } // end switch yys740 - } // end for yyj740 + z.DecStructFieldNotFound(-1, yys732) + } // end switch yys732 + } // end for yyj732 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8881,16 +8833,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj747 int - var yyb747 bool - var yyhl747 bool = l >= 0 - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + var yyj739 int + var yyb739 bool + var yyhl739 bool = l >= 0 + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb747 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb747 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8900,13 +8852,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb747 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb747 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8916,13 +8868,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb747 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb747 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8930,22 +8882,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv750 := &x.ListMeta - yym751 := z.DecBinary() - _ = yym751 + yyv742 := &x.ListMeta + yym743 := z.DecBinary() + _ = yym743 if false { - } else if z.HasExtensions() && z.DecExt(yyv750) { + } else if z.HasExtensions() && z.DecExt(yyv742) { } else { - z.DecFallback(yyv750, false) + z.DecFallback(yyv742, false) } } - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb747 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb747 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8953,26 +8905,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv752 := &x.Items - yym753 := z.DecBinary() - _ = yym753 + yyv744 := &x.Items + yym745 := z.DecBinary() + _ = yym745 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv752), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv744), d) } } for { - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb747 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb747 { + if yyb739 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj747-1, "") + z.DecStructFieldNotFound(yyj739-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8984,37 +8936,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym754 := z.EncBinary() - _ = yym754 + yym746 := z.EncBinary() + _ = yym746 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep755 := !z.EncBinary() - yy2arr755 := z.EncBasicHandle().StructToArray - var yyq755 [4]bool - _, _, _ = yysep755, yyq755, yy2arr755 - const yyr755 bool = false - yyq755[0] = x.Kind != "" - yyq755[1] = x.APIVersion != "" - yyq755[2] = true - var yynn755 int - if yyr755 || yy2arr755 { + yysep747 := !z.EncBinary() + yy2arr747 := z.EncBasicHandle().StructToArray + var yyq747 [4]bool + _, _, _ = yysep747, yyq747, yy2arr747 + const yyr747 bool = false + yyq747[0] = x.Kind != "" + yyq747[1] = x.APIVersion != "" + yyq747[2] = true + var yynn747 int + if yyr747 || yy2arr747 { r.EncodeArrayStart(4) } else { - yynn755 = 1 - for _, b := range yyq755 { + yynn747 = 1 + for _, b := range yyq747 { if b { - yynn755++ + yynn747++ } } - r.EncodeMapStart(yynn755) - yynn755 = 0 + r.EncodeMapStart(yynn747) + yynn747 = 0 } - if yyr755 || yy2arr755 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq755[0] { - yym757 := z.EncBinary() - _ = yym757 + if yyq747[0] { + yym749 := z.EncBinary() + _ = yym749 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9023,23 +8975,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq755[0] { + if yyq747[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym758 := z.EncBinary() - _ = yym758 + yym750 := z.EncBinary() + _ = yym750 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr755 || yy2arr755 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq755[1] { - yym760 := z.EncBinary() - _ = yym760 + if yyq747[1] { + yym752 := z.EncBinary() + _ = yym752 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9048,54 +9000,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq755[1] { + if yyq747[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym761 := z.EncBinary() - _ = yym761 + yym753 := z.EncBinary() + _ = yym753 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr755 || yy2arr755 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq755[2] { - yy763 := &x.ListMeta - yym764 := z.EncBinary() - _ = yym764 + if yyq747[2] { + yy755 := &x.ListMeta + yym756 := z.EncBinary() + _ = yym756 if false { - } else if z.HasExtensions() && z.EncExt(yy763) { + } else if z.HasExtensions() && z.EncExt(yy755) { } else { - z.EncFallback(yy763) + z.EncFallback(yy755) } } else { r.EncodeNil() } } else { - if yyq755[2] { + if yyq747[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy765 := &x.ListMeta - yym766 := z.EncBinary() - _ = yym766 + yy757 := &x.ListMeta + yym758 := z.EncBinary() + _ = yym758 if false { - } else if z.HasExtensions() && z.EncExt(yy765) { + } else if z.HasExtensions() && z.EncExt(yy757) { } else { - z.EncFallback(yy765) + z.EncFallback(yy757) } } } - if yyr755 || yy2arr755 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym768 := z.EncBinary() - _ = yym768 + yym760 := z.EncBinary() + _ = yym760 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -9108,15 +9060,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym769 := z.EncBinary() - _ = yym769 + yym761 := z.EncBinary() + _ = yym761 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr755 || yy2arr755 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9129,25 +9081,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym770 := z.DecBinary() - _ = yym770 + yym762 := z.DecBinary() + _ = yym762 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct771 := r.ContainerType() - if yyct771 == codecSelferValueTypeMap1234 { - yyl771 := r.ReadMapStart() - if yyl771 == 0 { + yyct763 := r.ContainerType() + if yyct763 == codecSelferValueTypeMap1234 { + yyl763 := r.ReadMapStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl771, d) + x.codecDecodeSelfFromMap(yyl763, d) } - } else if yyct771 == codecSelferValueTypeArray1234 { - yyl771 := r.ReadArrayStart() - if yyl771 == 0 { + } else if yyct763 == codecSelferValueTypeArray1234 { + yyl763 := r.ReadArrayStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl771, d) + x.codecDecodeSelfFromArray(yyl763, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9159,12 +9111,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys772Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys772Slc - var yyhl772 bool = l >= 0 - for yyj772 := 0; ; yyj772++ { - if yyhl772 { - if yyj772 >= l { + var yys764Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys764Slc + var yyhl764 bool = l >= 0 + for yyj764 := 0; ; yyj764++ { + if yyhl764 { + if yyj764 >= l { break } } else { @@ -9173,10 +9125,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys772Slc = r.DecodeBytes(yys772Slc, true, true) - yys772 := string(yys772Slc) + yys764Slc = r.DecodeBytes(yys764Slc, true, true) + yys764 := string(yys764Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys772 { + switch yys764 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9193,31 +9145,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv775 := &x.ListMeta - yym776 := z.DecBinary() - _ = yym776 + yyv767 := &x.ListMeta + yym768 := z.DecBinary() + _ = yym768 if false { - } else if z.HasExtensions() && z.DecExt(yyv775) { + } else if z.HasExtensions() && z.DecExt(yyv767) { } else { - z.DecFallback(yyv775, false) + z.DecFallback(yyv767, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv777 := &x.Items - yym778 := z.DecBinary() - _ = yym778 + yyv769 := &x.Items + yym770 := z.DecBinary() + _ = yym770 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv777), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv769), d) } } default: - z.DecStructFieldNotFound(-1, yys772) - } // end switch yys772 - } // end for yyj772 + z.DecStructFieldNotFound(-1, yys764) + } // end switch yys764 + } // end for yyj764 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9225,16 +9177,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj779 int - var yyb779 bool - var yyhl779 bool = l >= 0 - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + var yyj771 int + var yyb771 bool + var yyhl771 bool = l >= 0 + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb779 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb779 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9244,13 +9196,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb779 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb779 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9260,13 +9212,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb779 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb779 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9274,22 +9226,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv782 := &x.ListMeta - yym783 := z.DecBinary() - _ = yym783 + yyv774 := &x.ListMeta + yym775 := z.DecBinary() + _ = yym775 if false { - } else if z.HasExtensions() && z.DecExt(yyv782) { + } else if z.HasExtensions() && z.DecExt(yyv774) { } else { - z.DecFallback(yyv782, false) + z.DecFallback(yyv774, false) } } - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb779 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb779 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9297,26 +9249,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv784 := &x.Items - yym785 := z.DecBinary() - _ = yym785 + yyv776 := &x.Items + yym777 := z.DecBinary() + _ = yym777 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv784), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv776), d) } } for { - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb779 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb779 { + if yyb771 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj779-1, "") + z.DecStructFieldNotFound(yyj771-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9328,39 +9280,39 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym786 := z.EncBinary() - _ = yym786 + yym778 := z.EncBinary() + _ = yym778 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep787 := !z.EncBinary() - yy2arr787 := z.EncBasicHandle().StructToArray - var yyq787 [5]bool - _, _, _ = yysep787, yyq787, yy2arr787 - const yyr787 bool = false - yyq787[0] = x.Kind != "" - yyq787[1] = x.APIVersion != "" - yyq787[2] = true - yyq787[3] = true - yyq787[4] = true - var yynn787 int - if yyr787 || yy2arr787 { + yysep779 := !z.EncBinary() + yy2arr779 := z.EncBasicHandle().StructToArray + var yyq779 [5]bool + _, _, _ = yysep779, yyq779, yy2arr779 + const yyr779 bool = false + yyq779[0] = x.Kind != "" + yyq779[1] = x.APIVersion != "" + yyq779[2] = true + yyq779[3] = true + yyq779[4] = true + var yynn779 int + if yyr779 || yy2arr779 { r.EncodeArrayStart(5) } else { - yynn787 = 0 - for _, b := range yyq787 { + yynn779 = 0 + for _, b := range yyq779 { if b { - yynn787++ + yynn779++ } } - r.EncodeMapStart(yynn787) - yynn787 = 0 + r.EncodeMapStart(yynn779) + yynn779 = 0 } - if yyr787 || yy2arr787 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[0] { - yym789 := z.EncBinary() - _ = yym789 + if yyq779[0] { + yym781 := z.EncBinary() + _ = yym781 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9369,23 +9321,23 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq787[0] { + if yyq779[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym790 := z.EncBinary() - _ = yym790 + yym782 := z.EncBinary() + _ = yym782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr787 || yy2arr787 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[1] { - yym792 := z.EncBinary() - _ = yym792 + if yyq779[1] { + yym784 := z.EncBinary() + _ = yym784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9394,70 +9346,70 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq787[1] { + if yyq779[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym793 := z.EncBinary() - _ = yym793 + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr787 || yy2arr787 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[2] { - yy795 := &x.ObjectMeta - yy795.CodecEncodeSelf(e) + if yyq779[2] { + yy787 := &x.ObjectMeta + yy787.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq787[2] { + if yyq779[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy796 := &x.ObjectMeta - yy796.CodecEncodeSelf(e) + yy788 := &x.ObjectMeta + yy788.CodecEncodeSelf(e) } } - if yyr787 || yy2arr787 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[3] { - yy798 := &x.Spec - yy798.CodecEncodeSelf(e) + if yyq779[3] { + yy790 := &x.Spec + yy790.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq787[3] { + if yyq779[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy799 := &x.Spec - yy799.CodecEncodeSelf(e) + yy791 := &x.Spec + yy791.CodecEncodeSelf(e) } } - if yyr787 || yy2arr787 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[4] { - yy801 := &x.Status - yy801.CodecEncodeSelf(e) + if yyq779[4] { + yy793 := &x.Status + yy793.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq787[4] { + if yyq779[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy802 := &x.Status - yy802.CodecEncodeSelf(e) + yy794 := &x.Status + yy794.CodecEncodeSelf(e) } } - if yyr787 || yy2arr787 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9470,25 +9422,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym803 := z.DecBinary() - _ = yym803 + yym795 := z.DecBinary() + _ = yym795 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct804 := r.ContainerType() - if yyct804 == codecSelferValueTypeMap1234 { - yyl804 := r.ReadMapStart() - if yyl804 == 0 { + yyct796 := r.ContainerType() + if yyct796 == codecSelferValueTypeMap1234 { + yyl796 := r.ReadMapStart() + if yyl796 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl804, d) + x.codecDecodeSelfFromMap(yyl796, d) } - } else if yyct804 == codecSelferValueTypeArray1234 { - yyl804 := r.ReadArrayStart() - if yyl804 == 0 { + } else if yyct796 == codecSelferValueTypeArray1234 { + yyl796 := r.ReadArrayStart() + if yyl796 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl804, d) + x.codecDecodeSelfFromArray(yyl796, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9500,12 +9452,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys805Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys805Slc - var yyhl805 bool = l >= 0 - for yyj805 := 0; ; yyj805++ { - if yyhl805 { - if yyj805 >= l { + var yys797Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys797Slc + var yyhl797 bool = l >= 0 + for yyj797 := 0; ; yyj797++ { + if yyhl797 { + if yyj797 >= l { break } } else { @@ -9514,10 +9466,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys805Slc = r.DecodeBytes(yys805Slc, true, true) - yys805 := string(yys805Slc) + yys797Slc = r.DecodeBytes(yys797Slc, true, true) + yys797 := string(yys797Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys805 { + switch yys797 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9534,27 +9486,27 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv808 := &x.ObjectMeta - yyv808.CodecDecodeSelf(d) + yyv800 := &x.ObjectMeta + yyv800.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv809 := &x.Spec - yyv809.CodecDecodeSelf(d) + yyv801 := &x.Spec + yyv801.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv810 := &x.Status - yyv810.CodecDecodeSelf(d) + yyv802 := &x.Status + yyv802.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys805) - } // end switch yys805 - } // end for yyj805 + z.DecStructFieldNotFound(-1, yys797) + } // end switch yys797 + } // end for yyj797 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9562,16 +9514,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj811 int - var yyb811 bool - var yyhl811 bool = l >= 0 - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + var yyj803 int + var yyb803 bool + var yyhl803 bool = l >= 0 + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb811 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb811 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9581,13 +9533,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb811 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb811 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9597,13 +9549,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb811 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb811 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9611,16 +9563,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv814 := &x.ObjectMeta - yyv814.CodecDecodeSelf(d) + yyv806 := &x.ObjectMeta + yyv806.CodecDecodeSelf(d) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb811 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb811 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9628,16 +9580,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv815 := &x.Spec - yyv815.CodecDecodeSelf(d) + yyv807 := &x.Spec + yyv807.CodecDecodeSelf(d) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb811 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb811 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9645,21 +9597,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv816 := &x.Status - yyv816.CodecDecodeSelf(d) + yyv808 := &x.Status + yyv808.CodecDecodeSelf(d) } for { - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb811 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb811 { + if yyb803 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj811-1, "") + z.DecStructFieldNotFound(yyj803-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9671,37 +9623,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym817 := z.EncBinary() - _ = yym817 + yym809 := z.EncBinary() + _ = yym809 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep818 := !z.EncBinary() - yy2arr818 := z.EncBasicHandle().StructToArray - var yyq818 [4]bool - _, _, _ = yysep818, yyq818, yy2arr818 - const yyr818 bool = false - yyq818[0] = x.Kind != "" - yyq818[1] = x.APIVersion != "" - yyq818[2] = true - var yynn818 int - if yyr818 || yy2arr818 { + yysep810 := !z.EncBinary() + yy2arr810 := z.EncBasicHandle().StructToArray + var yyq810 [4]bool + _, _, _ = yysep810, yyq810, yy2arr810 + const yyr810 bool = false + yyq810[0] = x.Kind != "" + yyq810[1] = x.APIVersion != "" + yyq810[2] = true + var yynn810 int + if yyr810 || yy2arr810 { r.EncodeArrayStart(4) } else { - yynn818 = 1 - for _, b := range yyq818 { + yynn810 = 1 + for _, b := range yyq810 { if b { - yynn818++ + yynn810++ } } - r.EncodeMapStart(yynn818) - yynn818 = 0 + r.EncodeMapStart(yynn810) + yynn810 = 0 } - if yyr818 || yy2arr818 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq818[0] { - yym820 := z.EncBinary() - _ = yym820 + if yyq810[0] { + yym812 := z.EncBinary() + _ = yym812 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9710,23 +9662,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq818[0] { + if yyq810[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym821 := z.EncBinary() - _ = yym821 + yym813 := z.EncBinary() + _ = yym813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr818 || yy2arr818 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq818[1] { - yym823 := z.EncBinary() - _ = yym823 + if yyq810[1] { + yym815 := z.EncBinary() + _ = yym815 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9735,54 +9687,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq818[1] { + if yyq810[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym824 := z.EncBinary() - _ = yym824 + yym816 := z.EncBinary() + _ = yym816 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr818 || yy2arr818 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq818[2] { - yy826 := &x.ListMeta - yym827 := z.EncBinary() - _ = yym827 + if yyq810[2] { + yy818 := &x.ListMeta + yym819 := z.EncBinary() + _ = yym819 if false { - } else if z.HasExtensions() && z.EncExt(yy826) { + } else if z.HasExtensions() && z.EncExt(yy818) { } else { - z.EncFallback(yy826) + z.EncFallback(yy818) } } else { r.EncodeNil() } } else { - if yyq818[2] { + if yyq810[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy828 := &x.ListMeta - yym829 := z.EncBinary() - _ = yym829 + yy820 := &x.ListMeta + yym821 := z.EncBinary() + _ = yym821 if false { - } else if z.HasExtensions() && z.EncExt(yy828) { + } else if z.HasExtensions() && z.EncExt(yy820) { } else { - z.EncFallback(yy828) + z.EncFallback(yy820) } } } - if yyr818 || yy2arr818 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym831 := z.EncBinary() - _ = yym831 + yym823 := z.EncBinary() + _ = yym823 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -9795,15 +9747,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym832 := z.EncBinary() - _ = yym832 + yym824 := z.EncBinary() + _ = yym824 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr818 || yy2arr818 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9816,25 +9768,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym833 := z.DecBinary() - _ = yym833 + yym825 := z.DecBinary() + _ = yym825 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct834 := r.ContainerType() - if yyct834 == codecSelferValueTypeMap1234 { - yyl834 := r.ReadMapStart() - if yyl834 == 0 { + yyct826 := r.ContainerType() + if yyct826 == codecSelferValueTypeMap1234 { + yyl826 := r.ReadMapStart() + if yyl826 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl834, d) + x.codecDecodeSelfFromMap(yyl826, d) } - } else if yyct834 == codecSelferValueTypeArray1234 { - yyl834 := r.ReadArrayStart() - if yyl834 == 0 { + } else if yyct826 == codecSelferValueTypeArray1234 { + yyl826 := r.ReadArrayStart() + if yyl826 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl834, d) + x.codecDecodeSelfFromArray(yyl826, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9846,12 +9798,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys835Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys835Slc - var yyhl835 bool = l >= 0 - for yyj835 := 0; ; yyj835++ { - if yyhl835 { - if yyj835 >= l { + var yys827Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys827Slc + var yyhl827 bool = l >= 0 + for yyj827 := 0; ; yyj827++ { + if yyhl827 { + if yyj827 >= l { break } } else { @@ -9860,10 +9812,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys835Slc = r.DecodeBytes(yys835Slc, true, true) - yys835 := string(yys835Slc) + yys827Slc = r.DecodeBytes(yys827Slc, true, true) + yys827 := string(yys827Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys835 { + switch yys827 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9880,31 +9832,31 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv838 := &x.ListMeta - yym839 := z.DecBinary() - _ = yym839 + yyv830 := &x.ListMeta + yym831 := z.DecBinary() + _ = yym831 if false { - } else if z.HasExtensions() && z.DecExt(yyv838) { + } else if z.HasExtensions() && z.DecExt(yyv830) { } else { - z.DecFallback(yyv838, false) + z.DecFallback(yyv830, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv840 := &x.Items - yym841 := z.DecBinary() - _ = yym841 + yyv832 := &x.Items + yym833 := z.DecBinary() + _ = yym833 if false { } else { - h.decSliceJob((*[]Job)(yyv840), d) + h.decSliceJob((*[]Job)(yyv832), d) } } default: - z.DecStructFieldNotFound(-1, yys835) - } // end switch yys835 - } // end for yyj835 + z.DecStructFieldNotFound(-1, yys827) + } // end switch yys827 + } // end for yyj827 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9912,16 +9864,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj842 int - var yyb842 bool - var yyhl842 bool = l >= 0 - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + var yyj834 int + var yyb834 bool + var yyhl834 bool = l >= 0 + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb842 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb842 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9931,13 +9883,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb842 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb842 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9947,13 +9899,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb842 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb842 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9961,22 +9913,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv845 := &x.ListMeta - yym846 := z.DecBinary() - _ = yym846 + yyv837 := &x.ListMeta + yym838 := z.DecBinary() + _ = yym838 if false { - } else if z.HasExtensions() && z.DecExt(yyv845) { + } else if z.HasExtensions() && z.DecExt(yyv837) { } else { - z.DecFallback(yyv845, false) + z.DecFallback(yyv837, false) } } - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb842 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb842 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9984,26 +9936,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv847 := &x.Items - yym848 := z.DecBinary() - _ = yym848 + yyv839 := &x.Items + yym840 := z.DecBinary() + _ = yym840 if false { } else { - h.decSliceJob((*[]Job)(yyv847), d) + h.decSliceJob((*[]Job)(yyv839), d) } } for { - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb842 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb842 { + if yyb834 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj842-1, "") + z.DecStructFieldNotFound(yyj834-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10015,60 +9967,111 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym849 := z.EncBinary() - _ = yym849 + yym841 := z.EncBinary() + _ = yym841 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep850 := !z.EncBinary() - yy2arr850 := z.EncBasicHandle().StructToArray - var yyq850 [6]bool - _, _, _ = yysep850, yyq850, yy2arr850 - const yyr850 bool = false - yyq850[0] = x.Parallelism != nil - yyq850[1] = x.Completions != nil - yyq850[2] = x.ActiveDeadlineSeconds != nil - yyq850[3] = x.Selector != nil - yyq850[4] = x.AutoSelector != nil - var yynn850 int - if yyr850 || yy2arr850 { + yysep842 := !z.EncBinary() + yy2arr842 := z.EncBasicHandle().StructToArray + var yyq842 [6]bool + _, _, _ = yysep842, yyq842, yy2arr842 + const yyr842 bool = false + yyq842[0] = x.Parallelism != nil + yyq842[1] = x.Completions != nil + yyq842[2] = x.ActiveDeadlineSeconds != nil + yyq842[3] = x.Selector != nil + yyq842[4] = x.AutoSelector != nil + var yynn842 int + if yyr842 || yy2arr842 { r.EncodeArrayStart(6) } else { - yynn850 = 1 - for _, b := range yyq850 { + yynn842 = 1 + for _, b := range yyq842 { if b { - yynn850++ + yynn842++ } } - r.EncodeMapStart(yynn850) - yynn850 = 0 + r.EncodeMapStart(yynn842) + yynn842 = 0 } - if yyr850 || yy2arr850 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[0] { + if yyq842[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy852 := *x.Parallelism - yym853 := z.EncBinary() - _ = yym853 + yy844 := *x.Parallelism + yym845 := z.EncBinary() + _ = yym845 if false { } else { - r.EncodeInt(int64(yy852)) + r.EncodeInt(int64(yy844)) } } } else { r.EncodeNil() } } else { - if yyq850[0] { + if yyq842[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy854 := *x.Parallelism + yy846 := *x.Parallelism + yym847 := z.EncBinary() + _ = yym847 + if false { + } else { + r.EncodeInt(int64(yy846)) + } + } + } + } + if yyr842 || yy2arr842 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq842[1] { + if x.Completions == nil { + r.EncodeNil() + } else { + yy849 := *x.Completions + yym850 := z.EncBinary() + _ = yym850 + if false { + } else { + r.EncodeInt(int64(yy849)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq842[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("completions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Completions == nil { + r.EncodeNil() + } else { + yy851 := *x.Completions + yym852 := z.EncBinary() + _ = yym852 + if false { + } else { + r.EncodeInt(int64(yy851)) + } + } + } + } + if yyr842 || yy2arr842 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq842[2] { + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy854 := *x.ActiveDeadlineSeconds yym855 := z.EncBinary() _ = yym855 if false { @@ -10076,160 +10079,97 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(int64(yy854)) } } - } - } - if yyr850 || yy2arr850 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[1] { - if x.Completions == nil { - r.EncodeNil() - } else { - yy857 := *x.Completions - yym858 := z.EncBinary() - _ = yym858 - if false { - } else { - r.EncodeInt(int64(yy857)) - } - } } else { r.EncodeNil() } } else { - if yyq850[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("completions")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Completions == nil { - r.EncodeNil() - } else { - yy859 := *x.Completions - yym860 := z.EncBinary() - _ = yym860 - if false { - } else { - r.EncodeInt(int64(yy859)) - } - } - } - } - if yyr850 || yy2arr850 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[2] { - if x.ActiveDeadlineSeconds == nil { - r.EncodeNil() - } else { - yy862 := *x.ActiveDeadlineSeconds - yym863 := z.EncBinary() - _ = yym863 - if false { - } else { - r.EncodeInt(int64(yy862)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq850[2] { + if yyq842[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy864 := *x.ActiveDeadlineSeconds - yym865 := z.EncBinary() - _ = yym865 + yy856 := *x.ActiveDeadlineSeconds + yym857 := z.EncBinary() + _ = yym857 if false { } else { - r.EncodeInt(int64(yy864)) + r.EncodeInt(int64(yy856)) } } } } - if yyr850 || yy2arr850 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[3] { + if yyq842[3] { if x.Selector == nil { r.EncodeNil() } else { - yym867 := z.EncBinary() - _ = yym867 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq850[3] { + if yyq842[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym868 := z.EncBinary() - _ = yym868 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } } - if yyr850 || yy2arr850 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[4] { + if yyq842[4] { if x.AutoSelector == nil { r.EncodeNil() } else { - yy870 := *x.AutoSelector - yym871 := z.EncBinary() - _ = yym871 + yy860 := *x.AutoSelector + yym861 := z.EncBinary() + _ = yym861 if false { } else { - r.EncodeBool(bool(yy870)) + r.EncodeBool(bool(yy860)) } } } else { r.EncodeNil() } } else { - if yyq850[4] { + if yyq842[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("autoSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AutoSelector == nil { r.EncodeNil() } else { - yy872 := *x.AutoSelector - yym873 := z.EncBinary() - _ = yym873 + yy862 := *x.AutoSelector + yym863 := z.EncBinary() + _ = yym863 if false { } else { - r.EncodeBool(bool(yy872)) + r.EncodeBool(bool(yy862)) } } } } - if yyr850 || yy2arr850 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy875 := &x.Template - yy875.CodecEncodeSelf(e) + yy865 := &x.Template + yy865.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy876 := &x.Template - yy876.CodecEncodeSelf(e) + yy866 := &x.Template + yy866.CodecEncodeSelf(e) } - if yyr850 || yy2arr850 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10242,25 +10182,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym877 := z.DecBinary() - _ = yym877 + yym867 := z.DecBinary() + _ = yym867 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct878 := r.ContainerType() - if yyct878 == codecSelferValueTypeMap1234 { - yyl878 := r.ReadMapStart() - if yyl878 == 0 { + yyct868 := r.ContainerType() + if yyct868 == codecSelferValueTypeMap1234 { + yyl868 := r.ReadMapStart() + if yyl868 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl878, d) + x.codecDecodeSelfFromMap(yyl868, d) } - } else if yyct878 == codecSelferValueTypeArray1234 { - yyl878 := r.ReadArrayStart() - if yyl878 == 0 { + } else if yyct868 == codecSelferValueTypeArray1234 { + yyl868 := r.ReadArrayStart() + if yyl868 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl878, d) + x.codecDecodeSelfFromArray(yyl868, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10272,12 +10212,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys879Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys879Slc - var yyhl879 bool = l >= 0 - for yyj879 := 0; ; yyj879++ { - if yyhl879 { - if yyj879 >= l { + var yys869Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys869Slc + var yyhl869 bool = l >= 0 + for yyj869 := 0; ; yyj869++ { + if yyhl869 { + if yyj869 >= l { break } } else { @@ -10286,10 +10226,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys879Slc = r.DecodeBytes(yys879Slc, true, true) - yys879 := string(yys879Slc) + yys869Slc = r.DecodeBytes(yys869Slc, true, true) + yys869 := string(yys869Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys879 { + switch yys869 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -10299,8 +10239,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym881 := z.DecBinary() - _ = yym881 + yym871 := z.DecBinary() + _ = yym871 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -10315,8 +10255,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym883 := z.DecBinary() - _ = yym883 + yym873 := z.DecBinary() + _ = yym873 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -10331,8 +10271,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym885 := z.DecBinary() - _ = yym885 + yym875 := z.DecBinary() + _ = yym875 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -10345,15 +10285,9 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym887 := z.DecBinary() - _ = yym887 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } case "autoSelector": if r.TryDecodeAsNil() { @@ -10364,8 +10298,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym889 := z.DecBinary() - _ = yym889 + yym878 := z.DecBinary() + _ = yym878 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() @@ -10375,13 +10309,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv890 := &x.Template - yyv890.CodecDecodeSelf(d) + yyv879 := &x.Template + yyv879.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys879) - } // end switch yys879 - } // end for yyj879 + z.DecStructFieldNotFound(-1, yys869) + } // end switch yys869 + } // end for yyj869 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10389,16 +10323,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj891 int - var yyb891 bool - var yyhl891 bool = l >= 0 - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + var yyj880 int + var yyb880 bool + var yyhl880 bool = l >= 0 + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb891 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb891 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10411,20 +10345,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym893 := z.DecBinary() - _ = yym893 + yym882 := z.DecBinary() + _ = yym882 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb891 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb891 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10437,20 +10371,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym895 := z.DecBinary() - _ = yym895 + yym884 := z.DecBinary() + _ = yym884 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb891 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb891 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10463,20 +10397,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym897 := z.DecBinary() - _ = yym897 + yym886 := z.DecBinary() + _ = yym886 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb891 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb891 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10487,23 +10421,17 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym899 := z.DecBinary() - _ = yym899 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb891 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb891 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10516,20 +10444,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym901 := z.DecBinary() - _ = yym901 + yym889 := z.DecBinary() + _ = yym889 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb891 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb891 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10537,21 +10465,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv902 := &x.Template - yyv902.CodecDecodeSelf(d) + yyv890 := &x.Template + yyv890.CodecDecodeSelf(d) } for { - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb891 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb891 { + if yyb880 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj891-1, "") + z.DecStructFieldNotFound(yyj880-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10563,43 +10491,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym903 := z.EncBinary() - _ = yym903 + yym891 := z.EncBinary() + _ = yym891 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep904 := !z.EncBinary() - yy2arr904 := z.EncBasicHandle().StructToArray - var yyq904 [6]bool - _, _, _ = yysep904, yyq904, yy2arr904 - const yyr904 bool = false - yyq904[0] = len(x.Conditions) != 0 - yyq904[1] = x.StartTime != nil - yyq904[2] = x.CompletionTime != nil - yyq904[3] = x.Active != 0 - yyq904[4] = x.Succeeded != 0 - yyq904[5] = x.Failed != 0 - var yynn904 int - if yyr904 || yy2arr904 { + yysep892 := !z.EncBinary() + yy2arr892 := z.EncBasicHandle().StructToArray + var yyq892 [6]bool + _, _, _ = yysep892, yyq892, yy2arr892 + const yyr892 bool = false + yyq892[0] = len(x.Conditions) != 0 + yyq892[1] = x.StartTime != nil + yyq892[2] = x.CompletionTime != nil + yyq892[3] = x.Active != 0 + yyq892[4] = x.Succeeded != 0 + yyq892[5] = x.Failed != 0 + var yynn892 int + if yyr892 || yy2arr892 { r.EncodeArrayStart(6) } else { - yynn904 = 0 - for _, b := range yyq904 { + yynn892 = 0 + for _, b := range yyq892 { if b { - yynn904++ + yynn892++ } } - r.EncodeMapStart(yynn904) - yynn904 = 0 + r.EncodeMapStart(yynn892) + yynn892 = 0 } - if yyr904 || yy2arr904 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[0] { + if yyq892[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym906 := z.EncBinary() - _ = yym906 + yym894 := z.EncBinary() + _ = yym894 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10609,15 +10537,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq904[0] { + if yyq892[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym907 := z.EncBinary() - _ = yym907 + yym895 := z.EncBinary() + _ = yym895 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10625,19 +10553,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr904 || yy2arr904 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[1] { + if yyq892[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym909 := z.EncBinary() - _ = yym909 + yym897 := z.EncBinary() + _ = yym897 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym909 { + } else if yym897 { z.EncBinaryMarshal(x.StartTime) - } else if !yym909 && z.IsJSONHandle() { + } else if !yym897 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10647,20 +10575,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq904[1] { + if yyq892[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym910 := z.EncBinary() - _ = yym910 + yym898 := z.EncBinary() + _ = yym898 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym910 { + } else if yym898 { z.EncBinaryMarshal(x.StartTime) - } else if !yym910 && z.IsJSONHandle() { + } else if !yym898 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10668,19 +10596,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr904 || yy2arr904 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[2] { + if yyq892[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym912 := z.EncBinary() - _ = yym912 + yym900 := z.EncBinary() + _ = yym900 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym912 { + } else if yym900 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym912 && z.IsJSONHandle() { + } else if !yym900 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10690,20 +10618,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq904[2] { + if yyq892[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym913 := z.EncBinary() - _ = yym913 + yym901 := z.EncBinary() + _ = yym901 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym913 { + } else if yym901 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym913 && z.IsJSONHandle() { + } else if !yym901 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10711,11 +10639,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr904 || yy2arr904 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[3] { - yym915 := z.EncBinary() - _ = yym915 + if yyq892[3] { + yym903 := z.EncBinary() + _ = yym903 if false { } else { r.EncodeInt(int64(x.Active)) @@ -10724,23 +10652,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq904[3] { + if yyq892[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym916 := z.EncBinary() - _ = yym916 + yym904 := z.EncBinary() + _ = yym904 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr904 || yy2arr904 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[4] { - yym918 := z.EncBinary() - _ = yym918 + if yyq892[4] { + yym906 := z.EncBinary() + _ = yym906 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -10749,23 +10677,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq904[4] { + if yyq892[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym919 := z.EncBinary() - _ = yym919 + yym907 := z.EncBinary() + _ = yym907 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr904 || yy2arr904 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[5] { - yym921 := z.EncBinary() - _ = yym921 + if yyq892[5] { + yym909 := z.EncBinary() + _ = yym909 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -10774,19 +10702,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq904[5] { + if yyq892[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym922 := z.EncBinary() - _ = yym922 + yym910 := z.EncBinary() + _ = yym910 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr904 || yy2arr904 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10799,25 +10727,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym923 := z.DecBinary() - _ = yym923 + yym911 := z.DecBinary() + _ = yym911 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct924 := r.ContainerType() - if yyct924 == codecSelferValueTypeMap1234 { - yyl924 := r.ReadMapStart() - if yyl924 == 0 { + yyct912 := r.ContainerType() + if yyct912 == codecSelferValueTypeMap1234 { + yyl912 := r.ReadMapStart() + if yyl912 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl924, d) + x.codecDecodeSelfFromMap(yyl912, d) } - } else if yyct924 == codecSelferValueTypeArray1234 { - yyl924 := r.ReadArrayStart() - if yyl924 == 0 { + } else if yyct912 == codecSelferValueTypeArray1234 { + yyl912 := r.ReadArrayStart() + if yyl912 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl924, d) + x.codecDecodeSelfFromArray(yyl912, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10829,12 +10757,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys925Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys925Slc - var yyhl925 bool = l >= 0 - for yyj925 := 0; ; yyj925++ { - if yyhl925 { - if yyj925 >= l { + var yys913Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys913Slc + var yyhl913 bool = l >= 0 + for yyj913 := 0; ; yyj913++ { + if yyhl913 { + if yyj913 >= l { break } } else { @@ -10843,20 +10771,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys925Slc = r.DecodeBytes(yys925Slc, true, true) - yys925 := string(yys925Slc) + yys913Slc = r.DecodeBytes(yys913Slc, true, true) + yys913 := string(yys913Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys925 { + switch yys913 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv926 := &x.Conditions - yym927 := z.DecBinary() - _ = yym927 + yyv914 := &x.Conditions + yym915 := z.DecBinary() + _ = yym915 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv926), d) + h.decSliceJobCondition((*[]JobCondition)(yyv914), d) } } case "startTime": @@ -10868,13 +10796,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym929 := z.DecBinary() - _ = yym929 + yym917 := z.DecBinary() + _ = yym917 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym929 { + } else if yym917 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym929 && z.IsJSONHandle() { + } else if !yym917 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -10889,13 +10817,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym931 := z.DecBinary() - _ = yym931 + yym919 := z.DecBinary() + _ = yym919 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym931 { + } else if yym919 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym931 && z.IsJSONHandle() { + } else if !yym919 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -10920,9 +10848,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys925) - } // end switch yys925 - } // end for yyj925 + z.DecStructFieldNotFound(-1, yys913) + } // end switch yys913 + } // end for yyj913 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10930,16 +10858,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj935 int - var yyb935 bool - var yyhl935 bool = l >= 0 - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + var yyj923 int + var yyb923 bool + var yyhl923 bool = l >= 0 + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb935 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb935 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10947,21 +10875,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv936 := &x.Conditions - yym937 := z.DecBinary() - _ = yym937 + yyv924 := &x.Conditions + yym925 := z.DecBinary() + _ = yym925 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv936), d) + h.decSliceJobCondition((*[]JobCondition)(yyv924), d) } } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb935 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb935 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10974,25 +10902,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym939 := z.DecBinary() - _ = yym939 + yym927 := z.DecBinary() + _ = yym927 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym939 { + } else if yym927 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym939 && z.IsJSONHandle() { + } else if !yym927 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb935 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb935 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11005,25 +10933,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym941 := z.DecBinary() - _ = yym941 + yym929 := z.DecBinary() + _ = yym929 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym941 { + } else if yym929 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym941 && z.IsJSONHandle() { + } else if !yym929 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb935 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb935 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11033,13 +10961,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb935 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb935 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11049,13 +10977,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb935 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb935 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11066,17 +10994,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb935 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb935 { + if yyb923 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj935-1, "") + z.DecStructFieldNotFound(yyj923-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11085,8 +11013,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym945 := z.EncBinary() - _ = yym945 + yym933 := z.EncBinary() + _ = yym933 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11098,8 +11026,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym946 := z.DecBinary() - _ = yym946 + yym934 := z.DecBinary() + _ = yym934 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11114,34 +11042,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym947 := z.EncBinary() - _ = yym947 + yym935 := z.EncBinary() + _ = yym935 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep948 := !z.EncBinary() - yy2arr948 := z.EncBasicHandle().StructToArray - var yyq948 [6]bool - _, _, _ = yysep948, yyq948, yy2arr948 - const yyr948 bool = false - yyq948[2] = true - yyq948[3] = true - yyq948[4] = x.Reason != "" - yyq948[5] = x.Message != "" - var yynn948 int - if yyr948 || yy2arr948 { + yysep936 := !z.EncBinary() + yy2arr936 := z.EncBasicHandle().StructToArray + var yyq936 [6]bool + _, _, _ = yysep936, yyq936, yy2arr936 + const yyr936 bool = false + yyq936[2] = true + yyq936[3] = true + yyq936[4] = x.Reason != "" + yyq936[5] = x.Message != "" + var yynn936 int + if yyr936 || yy2arr936 { r.EncodeArrayStart(6) } else { - yynn948 = 2 - for _, b := range yyq948 { + yynn936 = 2 + for _, b := range yyq936 { if b { - yynn948++ + yynn936++ } } - r.EncodeMapStart(yynn948) - yynn948 = 0 + r.EncodeMapStart(yynn936) + yynn936 = 0 } - if yyr948 || yy2arr948 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11150,10 +11078,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr948 || yy2arr948 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym951 := z.EncBinary() - _ = yym951 + yym939 := z.EncBinary() + _ = yym939 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -11163,93 +11091,93 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym952 := z.EncBinary() - _ = yym952 + yym940 := z.EncBinary() + _ = yym940 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr948 || yy2arr948 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[2] { - yy954 := &x.LastProbeTime - yym955 := z.EncBinary() - _ = yym955 + if yyq936[2] { + yy942 := &x.LastProbeTime + yym943 := z.EncBinary() + _ = yym943 if false { - } else if z.HasExtensions() && z.EncExt(yy954) { - } else if yym955 { - z.EncBinaryMarshal(yy954) - } else if !yym955 && z.IsJSONHandle() { - z.EncJSONMarshal(yy954) + } else if z.HasExtensions() && z.EncExt(yy942) { + } else if yym943 { + z.EncBinaryMarshal(yy942) + } else if !yym943 && z.IsJSONHandle() { + z.EncJSONMarshal(yy942) } else { - z.EncFallback(yy954) + z.EncFallback(yy942) } } else { r.EncodeNil() } } else { - if yyq948[2] { + if yyq936[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy956 := &x.LastProbeTime - yym957 := z.EncBinary() - _ = yym957 + yy944 := &x.LastProbeTime + yym945 := z.EncBinary() + _ = yym945 if false { - } else if z.HasExtensions() && z.EncExt(yy956) { - } else if yym957 { - z.EncBinaryMarshal(yy956) - } else if !yym957 && z.IsJSONHandle() { - z.EncJSONMarshal(yy956) + } else if z.HasExtensions() && z.EncExt(yy944) { + } else if yym945 { + z.EncBinaryMarshal(yy944) + } else if !yym945 && z.IsJSONHandle() { + z.EncJSONMarshal(yy944) } else { - z.EncFallback(yy956) + z.EncFallback(yy944) } } } - if yyr948 || yy2arr948 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[3] { - yy959 := &x.LastTransitionTime - yym960 := z.EncBinary() - _ = yym960 + if yyq936[3] { + yy947 := &x.LastTransitionTime + yym948 := z.EncBinary() + _ = yym948 if false { - } else if z.HasExtensions() && z.EncExt(yy959) { - } else if yym960 { - z.EncBinaryMarshal(yy959) - } else if !yym960 && z.IsJSONHandle() { - z.EncJSONMarshal(yy959) + } else if z.HasExtensions() && z.EncExt(yy947) { + } else if yym948 { + z.EncBinaryMarshal(yy947) + } else if !yym948 && z.IsJSONHandle() { + z.EncJSONMarshal(yy947) } else { - z.EncFallback(yy959) + z.EncFallback(yy947) } } else { r.EncodeNil() } } else { - if yyq948[3] { + if yyq936[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy961 := &x.LastTransitionTime - yym962 := z.EncBinary() - _ = yym962 + yy949 := &x.LastTransitionTime + yym950 := z.EncBinary() + _ = yym950 if false { - } else if z.HasExtensions() && z.EncExt(yy961) { - } else if yym962 { - z.EncBinaryMarshal(yy961) - } else if !yym962 && z.IsJSONHandle() { - z.EncJSONMarshal(yy961) + } else if z.HasExtensions() && z.EncExt(yy949) { + } else if yym950 { + z.EncBinaryMarshal(yy949) + } else if !yym950 && z.IsJSONHandle() { + z.EncJSONMarshal(yy949) } else { - z.EncFallback(yy961) + z.EncFallback(yy949) } } } - if yyr948 || yy2arr948 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[4] { - yym964 := z.EncBinary() - _ = yym964 + if yyq936[4] { + yym952 := z.EncBinary() + _ = yym952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -11258,23 +11186,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq948[4] { + if yyq936[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym965 := z.EncBinary() - _ = yym965 + yym953 := z.EncBinary() + _ = yym953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr948 || yy2arr948 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[5] { - yym967 := z.EncBinary() - _ = yym967 + if yyq936[5] { + yym955 := z.EncBinary() + _ = yym955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -11283,19 +11211,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq948[5] { + if yyq936[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym968 := z.EncBinary() - _ = yym968 + yym956 := z.EncBinary() + _ = yym956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr948 || yy2arr948 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11308,25 +11236,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym969 := z.DecBinary() - _ = yym969 + yym957 := z.DecBinary() + _ = yym957 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct970 := r.ContainerType() - if yyct970 == codecSelferValueTypeMap1234 { - yyl970 := r.ReadMapStart() - if yyl970 == 0 { + yyct958 := r.ContainerType() + if yyct958 == codecSelferValueTypeMap1234 { + yyl958 := r.ReadMapStart() + if yyl958 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl970, d) + x.codecDecodeSelfFromMap(yyl958, d) } - } else if yyct970 == codecSelferValueTypeArray1234 { - yyl970 := r.ReadArrayStart() - if yyl970 == 0 { + } else if yyct958 == codecSelferValueTypeArray1234 { + yyl958 := r.ReadArrayStart() + if yyl958 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl970, d) + x.codecDecodeSelfFromArray(yyl958, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11338,12 +11266,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys971Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys971Slc - var yyhl971 bool = l >= 0 - for yyj971 := 0; ; yyj971++ { - if yyhl971 { - if yyj971 >= l { + var yys959Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys959Slc + var yyhl959 bool = l >= 0 + for yyj959 := 0; ; yyj959++ { + if yyhl959 { + if yyj959 >= l { break } } else { @@ -11352,10 +11280,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys971Slc = r.DecodeBytes(yys971Slc, true, true) - yys971 := string(yys971Slc) + yys959Slc = r.DecodeBytes(yys959Slc, true, true) + yys959 := string(yys959Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys971 { + switch yys959 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11372,34 +11300,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv974 := &x.LastProbeTime - yym975 := z.DecBinary() - _ = yym975 + yyv962 := &x.LastProbeTime + yym963 := z.DecBinary() + _ = yym963 if false { - } else if z.HasExtensions() && z.DecExt(yyv974) { - } else if yym975 { - z.DecBinaryUnmarshal(yyv974) - } else if !yym975 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv974) + } else if z.HasExtensions() && z.DecExt(yyv962) { + } else if yym963 { + z.DecBinaryUnmarshal(yyv962) + } else if !yym963 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv962) } else { - z.DecFallback(yyv974, false) + z.DecFallback(yyv962, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv976 := &x.LastTransitionTime - yym977 := z.DecBinary() - _ = yym977 + yyv964 := &x.LastTransitionTime + yym965 := z.DecBinary() + _ = yym965 if false { - } else if z.HasExtensions() && z.DecExt(yyv976) { - } else if yym977 { - z.DecBinaryUnmarshal(yyv976) - } else if !yym977 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv976) + } else if z.HasExtensions() && z.DecExt(yyv964) { + } else if yym965 { + z.DecBinaryUnmarshal(yyv964) + } else if !yym965 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv964) } else { - z.DecFallback(yyv976, false) + z.DecFallback(yyv964, false) } } case "reason": @@ -11415,9 +11343,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys971) - } // end switch yys971 - } // end for yyj971 + z.DecStructFieldNotFound(-1, yys959) + } // end switch yys959 + } // end for yyj959 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11425,16 +11353,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj980 int - var yyb980 bool - var yyhl980 bool = l >= 0 - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + var yyj968 int + var yyb968 bool + var yyhl968 bool = l >= 0 + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb980 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb980 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11444,13 +11372,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb980 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb980 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11460,13 +11388,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb980 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb980 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11474,26 +11402,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv983 := &x.LastProbeTime - yym984 := z.DecBinary() - _ = yym984 + yyv971 := &x.LastProbeTime + yym972 := z.DecBinary() + _ = yym972 if false { - } else if z.HasExtensions() && z.DecExt(yyv983) { - } else if yym984 { - z.DecBinaryUnmarshal(yyv983) - } else if !yym984 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv983) + } else if z.HasExtensions() && z.DecExt(yyv971) { + } else if yym972 { + z.DecBinaryUnmarshal(yyv971) + } else if !yym972 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv971) } else { - z.DecFallback(yyv983, false) + z.DecFallback(yyv971, false) } } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb980 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb980 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11501,26 +11429,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv985 := &x.LastTransitionTime - yym986 := z.DecBinary() - _ = yym986 + yyv973 := &x.LastTransitionTime + yym974 := z.DecBinary() + _ = yym974 if false { - } else if z.HasExtensions() && z.DecExt(yyv985) { - } else if yym986 { - z.DecBinaryUnmarshal(yyv985) - } else if !yym986 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv985) + } else if z.HasExtensions() && z.DecExt(yyv973) { + } else if yym974 { + z.DecBinaryUnmarshal(yyv973) + } else if !yym974 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv973) } else { - z.DecFallback(yyv985, false) + z.DecFallback(yyv973, false) } } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb980 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb980 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11530,13 +11458,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb980 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb980 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11547,17 +11475,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb980 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb980 { + if yyb968 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj980-1, "") + z.DecStructFieldNotFound(yyj968-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11569,39 +11497,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym989 := z.EncBinary() - _ = yym989 + yym977 := z.EncBinary() + _ = yym977 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep990 := !z.EncBinary() - yy2arr990 := z.EncBasicHandle().StructToArray - var yyq990 [5]bool - _, _, _ = yysep990, yyq990, yy2arr990 - const yyr990 bool = false - yyq990[0] = x.Kind != "" - yyq990[1] = x.APIVersion != "" - yyq990[2] = true - yyq990[3] = true - yyq990[4] = true - var yynn990 int - if yyr990 || yy2arr990 { + yysep978 := !z.EncBinary() + yy2arr978 := z.EncBasicHandle().StructToArray + var yyq978 [5]bool + _, _, _ = yysep978, yyq978, yy2arr978 + const yyr978 bool = false + yyq978[0] = x.Kind != "" + yyq978[1] = x.APIVersion != "" + yyq978[2] = true + yyq978[3] = true + yyq978[4] = true + var yynn978 int + if yyr978 || yy2arr978 { r.EncodeArrayStart(5) } else { - yynn990 = 0 - for _, b := range yyq990 { + yynn978 = 0 + for _, b := range yyq978 { if b { - yynn990++ + yynn978++ } } - r.EncodeMapStart(yynn990) - yynn990 = 0 + r.EncodeMapStart(yynn978) + yynn978 = 0 } - if yyr990 || yy2arr990 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[0] { - yym992 := z.EncBinary() - _ = yym992 + if yyq978[0] { + yym980 := z.EncBinary() + _ = yym980 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11610,23 +11538,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq990[0] { + if yyq978[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym993 := z.EncBinary() - _ = yym993 + yym981 := z.EncBinary() + _ = yym981 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr990 || yy2arr990 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[1] { - yym995 := z.EncBinary() - _ = yym995 + if yyq978[1] { + yym983 := z.EncBinary() + _ = yym983 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11635,70 +11563,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq990[1] { + if yyq978[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym996 := z.EncBinary() - _ = yym996 + yym984 := z.EncBinary() + _ = yym984 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr990 || yy2arr990 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[2] { - yy998 := &x.ObjectMeta - yy998.CodecEncodeSelf(e) + if yyq978[2] { + yy986 := &x.ObjectMeta + yy986.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq990[2] { + if yyq978[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy999 := &x.ObjectMeta - yy999.CodecEncodeSelf(e) + yy987 := &x.ObjectMeta + yy987.CodecEncodeSelf(e) } } - if yyr990 || yy2arr990 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[3] { - yy1001 := &x.Spec - yy1001.CodecEncodeSelf(e) + if yyq978[3] { + yy989 := &x.Spec + yy989.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq990[3] { + if yyq978[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1002 := &x.Spec - yy1002.CodecEncodeSelf(e) + yy990 := &x.Spec + yy990.CodecEncodeSelf(e) } } - if yyr990 || yy2arr990 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[4] { - yy1004 := &x.Status - yy1004.CodecEncodeSelf(e) + if yyq978[4] { + yy992 := &x.Status + yy992.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq990[4] { + if yyq978[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1005 := &x.Status - yy1005.CodecEncodeSelf(e) + yy993 := &x.Status + yy993.CodecEncodeSelf(e) } } - if yyr990 || yy2arr990 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11711,25 +11639,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1006 := z.DecBinary() - _ = yym1006 + yym994 := z.DecBinary() + _ = yym994 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1007 := r.ContainerType() - if yyct1007 == codecSelferValueTypeMap1234 { - yyl1007 := r.ReadMapStart() - if yyl1007 == 0 { + yyct995 := r.ContainerType() + if yyct995 == codecSelferValueTypeMap1234 { + yyl995 := r.ReadMapStart() + if yyl995 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1007, d) + x.codecDecodeSelfFromMap(yyl995, d) } - } else if yyct1007 == codecSelferValueTypeArray1234 { - yyl1007 := r.ReadArrayStart() - if yyl1007 == 0 { + } else if yyct995 == codecSelferValueTypeArray1234 { + yyl995 := r.ReadArrayStart() + if yyl995 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1007, d) + x.codecDecodeSelfFromArray(yyl995, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11741,12 +11669,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1008Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1008Slc - var yyhl1008 bool = l >= 0 - for yyj1008 := 0; ; yyj1008++ { - if yyhl1008 { - if yyj1008 >= l { + var yys996Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys996Slc + var yyhl996 bool = l >= 0 + for yyj996 := 0; ; yyj996++ { + if yyhl996 { + if yyj996 >= l { break } } else { @@ -11755,10 +11683,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1008Slc = r.DecodeBytes(yys1008Slc, true, true) - yys1008 := string(yys1008Slc) + yys996Slc = r.DecodeBytes(yys996Slc, true, true) + yys996 := string(yys996Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1008 { + switch yys996 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11775,27 +11703,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1011 := &x.ObjectMeta - yyv1011.CodecDecodeSelf(d) + yyv999 := &x.ObjectMeta + yyv999.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1012 := &x.Spec - yyv1012.CodecDecodeSelf(d) + yyv1000 := &x.Spec + yyv1000.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1013 := &x.Status - yyv1013.CodecDecodeSelf(d) + yyv1001 := &x.Status + yyv1001.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1008) - } // end switch yys1008 - } // end for yyj1008 + z.DecStructFieldNotFound(-1, yys996) + } // end switch yys996 + } // end for yyj996 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11803,16 +11731,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1014 int - var yyb1014 bool - var yyhl1014 bool = l >= 0 - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + var yyj1002 int + var yyb1002 bool + var yyhl1002 bool = l >= 0 + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb1014 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb1014 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11822,13 +11750,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb1014 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb1014 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11838,13 +11766,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb1014 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb1014 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11852,16 +11780,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1017 := &x.ObjectMeta - yyv1017.CodecDecodeSelf(d) + yyv1005 := &x.ObjectMeta + yyv1005.CodecDecodeSelf(d) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb1014 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb1014 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11869,16 +11797,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1018 := &x.Spec - yyv1018.CodecDecodeSelf(d) + yyv1006 := &x.Spec + yyv1006.CodecDecodeSelf(d) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb1014 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb1014 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11886,21 +11814,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1019 := &x.Status - yyv1019.CodecDecodeSelf(d) + yyv1007 := &x.Status + yyv1007.CodecDecodeSelf(d) } for { - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb1014 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb1014 { + if yyb1002 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1014-1, "") + z.DecStructFieldNotFound(yyj1002-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11912,37 +11840,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1020 := z.EncBinary() - _ = yym1020 + yym1008 := z.EncBinary() + _ = yym1008 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1021 := !z.EncBinary() - yy2arr1021 := z.EncBasicHandle().StructToArray - var yyq1021 [4]bool - _, _, _ = yysep1021, yyq1021, yy2arr1021 - const yyr1021 bool = false - yyq1021[0] = x.Kind != "" - yyq1021[1] = x.APIVersion != "" - yyq1021[2] = true - var yynn1021 int - if yyr1021 || yy2arr1021 { + yysep1009 := !z.EncBinary() + yy2arr1009 := z.EncBasicHandle().StructToArray + var yyq1009 [4]bool + _, _, _ = yysep1009, yyq1009, yy2arr1009 + const yyr1009 bool = false + yyq1009[0] = x.Kind != "" + yyq1009[1] = x.APIVersion != "" + yyq1009[2] = true + var yynn1009 int + if yyr1009 || yy2arr1009 { r.EncodeArrayStart(4) } else { - yynn1021 = 1 - for _, b := range yyq1021 { + yynn1009 = 1 + for _, b := range yyq1009 { if b { - yynn1021++ + yynn1009++ } } - r.EncodeMapStart(yynn1021) - yynn1021 = 0 + r.EncodeMapStart(yynn1009) + yynn1009 = 0 } - if yyr1021 || yy2arr1021 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[0] { - yym1023 := z.EncBinary() - _ = yym1023 + if yyq1009[0] { + yym1011 := z.EncBinary() + _ = yym1011 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11951,23 +11879,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1021[0] { + if yyq1009[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1024 := z.EncBinary() - _ = yym1024 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1021 || yy2arr1021 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[1] { - yym1026 := z.EncBinary() - _ = yym1026 + if yyq1009[1] { + yym1014 := z.EncBinary() + _ = yym1014 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11976,54 +11904,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1021[1] { + if yyq1009[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1027 := z.EncBinary() - _ = yym1027 + yym1015 := z.EncBinary() + _ = yym1015 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1021 || yy2arr1021 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[2] { - yy1029 := &x.ListMeta - yym1030 := z.EncBinary() - _ = yym1030 + if yyq1009[2] { + yy1017 := &x.ListMeta + yym1018 := z.EncBinary() + _ = yym1018 if false { - } else if z.HasExtensions() && z.EncExt(yy1029) { + } else if z.HasExtensions() && z.EncExt(yy1017) { } else { - z.EncFallback(yy1029) + z.EncFallback(yy1017) } } else { r.EncodeNil() } } else { - if yyq1021[2] { + if yyq1009[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1031 := &x.ListMeta - yym1032 := z.EncBinary() - _ = yym1032 + yy1019 := &x.ListMeta + yym1020 := z.EncBinary() + _ = yym1020 if false { - } else if z.HasExtensions() && z.EncExt(yy1031) { + } else if z.HasExtensions() && z.EncExt(yy1019) { } else { - z.EncFallback(yy1031) + z.EncFallback(yy1019) } } } - if yyr1021 || yy2arr1021 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1034 := z.EncBinary() - _ = yym1034 + yym1022 := z.EncBinary() + _ = yym1022 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -12036,15 +11964,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1035 := z.EncBinary() - _ = yym1035 + yym1023 := z.EncBinary() + _ = yym1023 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr1021 || yy2arr1021 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12057,25 +11985,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1036 := z.DecBinary() - _ = yym1036 + yym1024 := z.DecBinary() + _ = yym1024 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1037 := r.ContainerType() - if yyct1037 == codecSelferValueTypeMap1234 { - yyl1037 := r.ReadMapStart() - if yyl1037 == 0 { + yyct1025 := r.ContainerType() + if yyct1025 == codecSelferValueTypeMap1234 { + yyl1025 := r.ReadMapStart() + if yyl1025 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1037, d) + x.codecDecodeSelfFromMap(yyl1025, d) } - } else if yyct1037 == codecSelferValueTypeArray1234 { - yyl1037 := r.ReadArrayStart() - if yyl1037 == 0 { + } else if yyct1025 == codecSelferValueTypeArray1234 { + yyl1025 := r.ReadArrayStart() + if yyl1025 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1037, d) + x.codecDecodeSelfFromArray(yyl1025, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12087,12 +12015,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1038Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1038Slc - var yyhl1038 bool = l >= 0 - for yyj1038 := 0; ; yyj1038++ { - if yyhl1038 { - if yyj1038 >= l { + var yys1026Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1026Slc + var yyhl1026 bool = l >= 0 + for yyj1026 := 0; ; yyj1026++ { + if yyhl1026 { + if yyj1026 >= l { break } } else { @@ -12101,10 +12029,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1038Slc = r.DecodeBytes(yys1038Slc, true, true) - yys1038 := string(yys1038Slc) + yys1026Slc = r.DecodeBytes(yys1026Slc, true, true) + yys1026 := string(yys1026Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1038 { + switch yys1026 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12121,31 +12049,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1041 := &x.ListMeta - yym1042 := z.DecBinary() - _ = yym1042 + yyv1029 := &x.ListMeta + yym1030 := z.DecBinary() + _ = yym1030 if false { - } else if z.HasExtensions() && z.DecExt(yyv1041) { + } else if z.HasExtensions() && z.DecExt(yyv1029) { } else { - z.DecFallback(yyv1041, false) + z.DecFallback(yyv1029, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1043 := &x.Items - yym1044 := z.DecBinary() - _ = yym1044 + yyv1031 := &x.Items + yym1032 := z.DecBinary() + _ = yym1032 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1043), d) + h.decSliceIngress((*[]Ingress)(yyv1031), d) } } default: - z.DecStructFieldNotFound(-1, yys1038) - } // end switch yys1038 - } // end for yyj1038 + z.DecStructFieldNotFound(-1, yys1026) + } // end switch yys1026 + } // end for yyj1026 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12153,16 +12081,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1045 int - var yyb1045 bool - var yyhl1045 bool = l >= 0 - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + var yyj1033 int + var yyb1033 bool + var yyhl1033 bool = l >= 0 + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1045 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1045 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12172,13 +12100,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1045 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1045 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12188,13 +12116,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1045 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1045 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12202,22 +12130,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1048 := &x.ListMeta - yym1049 := z.DecBinary() - _ = yym1049 + yyv1036 := &x.ListMeta + yym1037 := z.DecBinary() + _ = yym1037 if false { - } else if z.HasExtensions() && z.DecExt(yyv1048) { + } else if z.HasExtensions() && z.DecExt(yyv1036) { } else { - z.DecFallback(yyv1048, false) + z.DecFallback(yyv1036, false) } } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1045 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1045 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12225,26 +12153,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1050 := &x.Items - yym1051 := z.DecBinary() - _ = yym1051 + yyv1038 := &x.Items + yym1039 := z.DecBinary() + _ = yym1039 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1050), d) + h.decSliceIngress((*[]Ingress)(yyv1038), d) } } for { - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1045 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1045 { + if yyb1033 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1045-1, "") + z.DecStructFieldNotFound(yyj1033-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12256,35 +12184,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1052 := z.EncBinary() - _ = yym1052 + yym1040 := z.EncBinary() + _ = yym1040 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1053 := !z.EncBinary() - yy2arr1053 := z.EncBasicHandle().StructToArray - var yyq1053 [3]bool - _, _, _ = yysep1053, yyq1053, yy2arr1053 - const yyr1053 bool = false - yyq1053[0] = x.Backend != nil - yyq1053[1] = len(x.TLS) != 0 - yyq1053[2] = len(x.Rules) != 0 - var yynn1053 int - if yyr1053 || yy2arr1053 { + yysep1041 := !z.EncBinary() + yy2arr1041 := z.EncBasicHandle().StructToArray + var yyq1041 [3]bool + _, _, _ = yysep1041, yyq1041, yy2arr1041 + const yyr1041 bool = false + yyq1041[0] = x.Backend != nil + yyq1041[1] = len(x.TLS) != 0 + yyq1041[2] = len(x.Rules) != 0 + var yynn1041 int + if yyr1041 || yy2arr1041 { r.EncodeArrayStart(3) } else { - yynn1053 = 0 - for _, b := range yyq1053 { + yynn1041 = 0 + for _, b := range yyq1041 { if b { - yynn1053++ + yynn1041++ } } - r.EncodeMapStart(yynn1053) - yynn1053 = 0 + r.EncodeMapStart(yynn1041) + yynn1041 = 0 } - if yyr1053 || yy2arr1053 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1053[0] { + if yyq1041[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -12294,7 +12222,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1053[0] { + if yyq1041[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12305,14 +12233,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1053 || yy2arr1053 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1053[1] { + if yyq1041[1] { if x.TLS == nil { r.EncodeNil() } else { - yym1056 := z.EncBinary() - _ = yym1056 + yym1044 := z.EncBinary() + _ = yym1044 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12322,15 +12250,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1053[1] { + if yyq1041[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym1057 := z.EncBinary() - _ = yym1057 + yym1045 := z.EncBinary() + _ = yym1045 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12338,14 +12266,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1053 || yy2arr1053 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1053[2] { + if yyq1041[2] { if x.Rules == nil { r.EncodeNil() } else { - yym1059 := z.EncBinary() - _ = yym1059 + yym1047 := z.EncBinary() + _ = yym1047 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12355,15 +12283,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1053[2] { + if yyq1041[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym1060 := z.EncBinary() - _ = yym1060 + yym1048 := z.EncBinary() + _ = yym1048 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12371,7 +12299,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1053 || yy2arr1053 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12384,25 +12312,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1061 := z.DecBinary() - _ = yym1061 + yym1049 := z.DecBinary() + _ = yym1049 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1062 := r.ContainerType() - if yyct1062 == codecSelferValueTypeMap1234 { - yyl1062 := r.ReadMapStart() - if yyl1062 == 0 { + yyct1050 := r.ContainerType() + if yyct1050 == codecSelferValueTypeMap1234 { + yyl1050 := r.ReadMapStart() + if yyl1050 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1062, d) + x.codecDecodeSelfFromMap(yyl1050, d) } - } else if yyct1062 == codecSelferValueTypeArray1234 { - yyl1062 := r.ReadArrayStart() - if yyl1062 == 0 { + } else if yyct1050 == codecSelferValueTypeArray1234 { + yyl1050 := r.ReadArrayStart() + if yyl1050 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1062, d) + x.codecDecodeSelfFromArray(yyl1050, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12414,12 +12342,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1063Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1063Slc - var yyhl1063 bool = l >= 0 - for yyj1063 := 0; ; yyj1063++ { - if yyhl1063 { - if yyj1063 >= l { + var yys1051Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1051Slc + var yyhl1051 bool = l >= 0 + for yyj1051 := 0; ; yyj1051++ { + if yyhl1051 { + if yyj1051 >= l { break } } else { @@ -12428,10 +12356,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1063Slc = r.DecodeBytes(yys1063Slc, true, true) - yys1063 := string(yys1063Slc) + yys1051Slc = r.DecodeBytes(yys1051Slc, true, true) + yys1051 := string(yys1051Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1063 { + switch yys1051 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -12447,30 +12375,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1065 := &x.TLS - yym1066 := z.DecBinary() - _ = yym1066 + yyv1053 := &x.TLS + yym1054 := z.DecBinary() + _ = yym1054 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1065), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1053), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1067 := &x.Rules - yym1068 := z.DecBinary() - _ = yym1068 + yyv1055 := &x.Rules + yym1056 := z.DecBinary() + _ = yym1056 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1067), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1055), d) } } default: - z.DecStructFieldNotFound(-1, yys1063) - } // end switch yys1063 - } // end for yyj1063 + z.DecStructFieldNotFound(-1, yys1051) + } // end switch yys1051 + } // end for yyj1051 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12478,16 +12406,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1069 int - var yyb1069 bool - var yyhl1069 bool = l >= 0 - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l + var yyj1057 int + var yyb1057 bool + var yyhl1057 bool = l >= 0 + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1069 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1069 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12502,13 +12430,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1069 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1069 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12516,21 +12444,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1071 := &x.TLS - yym1072 := z.DecBinary() - _ = yym1072 + yyv1059 := &x.TLS + yym1060 := z.DecBinary() + _ = yym1060 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1071), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1059), d) } } - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1069 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1069 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12538,26 +12466,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1073 := &x.Rules - yym1074 := z.DecBinary() - _ = yym1074 + yyv1061 := &x.Rules + yym1062 := z.DecBinary() + _ = yym1062 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1073), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1061), d) } } for { - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1069 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1069 { + if yyb1057 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1069-1, "") + z.DecStructFieldNotFound(yyj1057-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12569,39 +12497,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1075 := z.EncBinary() - _ = yym1075 + yym1063 := z.EncBinary() + _ = yym1063 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1076 := !z.EncBinary() - yy2arr1076 := z.EncBasicHandle().StructToArray - var yyq1076 [2]bool - _, _, _ = yysep1076, yyq1076, yy2arr1076 - const yyr1076 bool = false - yyq1076[0] = len(x.Hosts) != 0 - yyq1076[1] = x.SecretName != "" - var yynn1076 int - if yyr1076 || yy2arr1076 { + yysep1064 := !z.EncBinary() + yy2arr1064 := z.EncBasicHandle().StructToArray + var yyq1064 [2]bool + _, _, _ = yysep1064, yyq1064, yy2arr1064 + const yyr1064 bool = false + yyq1064[0] = len(x.Hosts) != 0 + yyq1064[1] = x.SecretName != "" + var yynn1064 int + if yyr1064 || yy2arr1064 { r.EncodeArrayStart(2) } else { - yynn1076 = 0 - for _, b := range yyq1076 { + yynn1064 = 0 + for _, b := range yyq1064 { if b { - yynn1076++ + yynn1064++ } } - r.EncodeMapStart(yynn1076) - yynn1076 = 0 + r.EncodeMapStart(yynn1064) + yynn1064 = 0 } - if yyr1076 || yy2arr1076 { + if yyr1064 || yy2arr1064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1076[0] { + if yyq1064[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym1078 := z.EncBinary() - _ = yym1078 + yym1066 := z.EncBinary() + _ = yym1066 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12611,15 +12539,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1076[0] { + if yyq1064[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym1079 := z.EncBinary() - _ = yym1079 + yym1067 := z.EncBinary() + _ = yym1067 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12627,11 +12555,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1076 || yy2arr1076 { + if yyr1064 || yy2arr1064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1076[1] { - yym1081 := z.EncBinary() - _ = yym1081 + if yyq1064[1] { + yym1069 := z.EncBinary() + _ = yym1069 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -12640,19 +12568,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1076[1] { + if yyq1064[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1082 := z.EncBinary() - _ = yym1082 + yym1070 := z.EncBinary() + _ = yym1070 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr1076 || yy2arr1076 { + if yyr1064 || yy2arr1064 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12665,25 +12593,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1083 := z.DecBinary() - _ = yym1083 + yym1071 := z.DecBinary() + _ = yym1071 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1084 := r.ContainerType() - if yyct1084 == codecSelferValueTypeMap1234 { - yyl1084 := r.ReadMapStart() - if yyl1084 == 0 { + yyct1072 := r.ContainerType() + if yyct1072 == codecSelferValueTypeMap1234 { + yyl1072 := r.ReadMapStart() + if yyl1072 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1084, d) + x.codecDecodeSelfFromMap(yyl1072, d) } - } else if yyct1084 == codecSelferValueTypeArray1234 { - yyl1084 := r.ReadArrayStart() - if yyl1084 == 0 { + } else if yyct1072 == codecSelferValueTypeArray1234 { + yyl1072 := r.ReadArrayStart() + if yyl1072 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1084, d) + x.codecDecodeSelfFromArray(yyl1072, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12695,12 +12623,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1085Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1085Slc - var yyhl1085 bool = l >= 0 - for yyj1085 := 0; ; yyj1085++ { - if yyhl1085 { - if yyj1085 >= l { + var yys1073Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1073Slc + var yyhl1073 bool = l >= 0 + for yyj1073 := 0; ; yyj1073++ { + if yyhl1073 { + if yyj1073 >= l { break } } else { @@ -12709,20 +12637,20 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1085Slc = r.DecodeBytes(yys1085Slc, true, true) - yys1085 := string(yys1085Slc) + yys1073Slc = r.DecodeBytes(yys1073Slc, true, true) + yys1073 := string(yys1073Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1085 { + switch yys1073 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1086 := &x.Hosts - yym1087 := z.DecBinary() - _ = yym1087 + yyv1074 := &x.Hosts + yym1075 := z.DecBinary() + _ = yym1075 if false { } else { - z.F.DecSliceStringX(yyv1086, false, d) + z.F.DecSliceStringX(yyv1074, false, d) } } case "secretName": @@ -12732,9 +12660,9 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1085) - } // end switch yys1085 - } // end for yyj1085 + z.DecStructFieldNotFound(-1, yys1073) + } // end switch yys1073 + } // end for yyj1073 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12742,16 +12670,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1089 int - var yyb1089 bool - var yyhl1089 bool = l >= 0 - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + var yyj1077 int + var yyb1077 bool + var yyhl1077 bool = l >= 0 + yyj1077++ + if yyhl1077 { + yyb1077 = yyj1077 > l } else { - yyb1089 = r.CheckBreak() + yyb1077 = r.CheckBreak() } - if yyb1089 { + if yyb1077 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12759,21 +12687,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1090 := &x.Hosts - yym1091 := z.DecBinary() - _ = yym1091 + yyv1078 := &x.Hosts + yym1079 := z.DecBinary() + _ = yym1079 if false { } else { - z.F.DecSliceStringX(yyv1090, false, d) + z.F.DecSliceStringX(yyv1078, false, d) } } - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + yyj1077++ + if yyhl1077 { + yyb1077 = yyj1077 > l } else { - yyb1089 = r.CheckBreak() + yyb1077 = r.CheckBreak() } - if yyb1089 { + if yyb1077 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12784,17 +12712,17 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } for { - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + yyj1077++ + if yyhl1077 { + yyb1077 = yyj1077 > l } else { - yyb1089 = r.CheckBreak() + yyb1077 = r.CheckBreak() } - if yyb1089 { + if yyb1077 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1089-1, "") + z.DecStructFieldNotFound(yyj1077-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12806,48 +12734,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1093 := z.EncBinary() - _ = yym1093 + yym1081 := z.EncBinary() + _ = yym1081 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1094 := !z.EncBinary() - yy2arr1094 := z.EncBasicHandle().StructToArray - var yyq1094 [1]bool - _, _, _ = yysep1094, yyq1094, yy2arr1094 - const yyr1094 bool = false - yyq1094[0] = true - var yynn1094 int - if yyr1094 || yy2arr1094 { + yysep1082 := !z.EncBinary() + yy2arr1082 := z.EncBasicHandle().StructToArray + var yyq1082 [1]bool + _, _, _ = yysep1082, yyq1082, yy2arr1082 + const yyr1082 bool = false + yyq1082[0] = true + var yynn1082 int + if yyr1082 || yy2arr1082 { r.EncodeArrayStart(1) } else { - yynn1094 = 0 - for _, b := range yyq1094 { + yynn1082 = 0 + for _, b := range yyq1082 { if b { - yynn1094++ + yynn1082++ } } - r.EncodeMapStart(yynn1094) - yynn1094 = 0 + r.EncodeMapStart(yynn1082) + yynn1082 = 0 } - if yyr1094 || yy2arr1094 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1094[0] { - yy1096 := &x.LoadBalancer - yy1096.CodecEncodeSelf(e) + if yyq1082[0] { + yy1084 := &x.LoadBalancer + yy1084.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1094[0] { + if yyq1082[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1097 := &x.LoadBalancer - yy1097.CodecEncodeSelf(e) + yy1085 := &x.LoadBalancer + yy1085.CodecEncodeSelf(e) } } - if yyr1094 || yy2arr1094 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12857,6 +12785,215 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1086 := z.DecBinary() + _ = yym1086 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1087 := r.ContainerType() + if yyct1087 == codecSelferValueTypeMap1234 { + yyl1087 := r.ReadMapStart() + if yyl1087 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1087, d) + } + } else if yyct1087 == codecSelferValueTypeArray1234 { + yyl1087 := r.ReadArrayStart() + if yyl1087 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1087, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1088Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1088Slc + var yyhl1088 bool = l >= 0 + for yyj1088 := 0; ; yyj1088++ { + if yyhl1088 { + if yyj1088 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1088Slc = r.DecodeBytes(yys1088Slc, true, true) + yys1088 := string(yys1088Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1088 { + case "loadBalancer": + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} + } else { + yyv1089 := &x.LoadBalancer + yyv1089.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1088) + } // end switch yys1088 + } // end for yyj1088 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1090 int + var yyb1090 bool + var yyhl1090 bool = l >= 0 + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l + } else { + yyb1090 = r.CheckBreak() + } + if yyb1090 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} + } else { + yyv1091 := &x.LoadBalancer + yyv1091.CodecDecodeSelf(d) + } + for { + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l + } else { + yyb1090 = r.CheckBreak() + } + if yyb1090 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1090-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1092 := z.EncBinary() + _ = yym1092 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1093 := !z.EncBinary() + yy2arr1093 := z.EncBasicHandle().StructToArray + var yyq1093 [2]bool + _, _, _ = yysep1093, yyq1093, yy2arr1093 + const yyr1093 bool = false + yyq1093[0] = x.Host != "" + yyq1093[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn1093 int + if yyr1093 || yy2arr1093 { + r.EncodeArrayStart(2) + } else { + yynn1093 = 0 + for _, b := range yyq1093 { + if b { + yynn1093++ + } + } + r.EncodeMapStart(yynn1093) + yynn1093 = 0 + } + if yyr1093 || yy2arr1093 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1093[0] { + yym1095 := z.EncBinary() + _ = yym1095 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1093[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("host")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1096 := z.EncBinary() + _ = yym1096 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } + } + var yyn1097 bool + if x.IngressRuleValue.HTTP == nil { + yyn1097 = true + goto LABEL1097 + } + LABEL1097: + if yyr1093 || yy2arr1093 { + if yyn1097 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1093[1] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq1093[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn1097 { + r.EncodeNil() + } else { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } + } + } + if yyr1093 || yy2arr1093 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -12886,7 +13023,7 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -12908,215 +13045,6 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys1100 := string(yys1100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1100 { - case "loadBalancer": - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} - } else { - yyv1101 := &x.LoadBalancer - yyv1101.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1100) - } // end switch yys1100 - } // end for yyj1100 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1102 int - var yyb1102 bool - var yyhl1102 bool = l >= 0 - yyj1102++ - if yyhl1102 { - yyb1102 = yyj1102 > l - } else { - yyb1102 = r.CheckBreak() - } - if yyb1102 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} - } else { - yyv1103 := &x.LoadBalancer - yyv1103.CodecDecodeSelf(d) - } - for { - yyj1102++ - if yyhl1102 { - yyb1102 = yyj1102 > l - } else { - yyb1102 = r.CheckBreak() - } - if yyb1102 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1102-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1104 := z.EncBinary() - _ = yym1104 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1105 := !z.EncBinary() - yy2arr1105 := z.EncBasicHandle().StructToArray - var yyq1105 [2]bool - _, _, _ = yysep1105, yyq1105, yy2arr1105 - const yyr1105 bool = false - yyq1105[0] = x.Host != "" - yyq1105[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn1105 int - if yyr1105 || yy2arr1105 { - r.EncodeArrayStart(2) - } else { - yynn1105 = 0 - for _, b := range yyq1105 { - if b { - yynn1105++ - } - } - r.EncodeMapStart(yynn1105) - yynn1105 = 0 - } - if yyr1105 || yy2arr1105 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1105[0] { - yym1107 := z.EncBinary() - _ = yym1107 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1105[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("host")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1108 := z.EncBinary() - _ = yym1108 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } - } - var yyn1109 bool - if x.IngressRuleValue.HTTP == nil { - yyn1109 = true - goto LABEL1109 - } - LABEL1109: - if yyr1105 || yy2arr1105 { - if yyn1109 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1105[1] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq1105[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1109 { - r.EncodeNil() - } else { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - } - if yyr1105 || yy2arr1105 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1110 := z.DecBinary() - _ = yym1110 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1111 := r.ContainerType() - if yyct1111 == codecSelferValueTypeMap1234 { - yyl1111 := r.ReadMapStart() - if yyl1111 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1111, d) - } - } else if yyct1111 == codecSelferValueTypeArray1234 { - yyl1111 := r.ReadArrayStart() - if yyl1111 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1111, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1112Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1112Slc - var yyhl1112 bool = l >= 0 - for yyj1112 := 0; ; yyj1112++ { - if yyhl1112 { - if yyj1112 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1112Slc = r.DecodeBytes(yys1112Slc, true, true) - yys1112 := string(yys1112Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1112 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -13138,9 +13066,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1112) - } // end switch yys1112 - } // end for yyj1112 + z.DecStructFieldNotFound(-1, yys1100) + } // end switch yys1100 + } // end for yyj1100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13148,16 +13076,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1115 int - var yyb1115 bool - var yyhl1115 bool = l >= 0 - yyj1115++ - if yyhl1115 { - yyb1115 = yyj1115 > l + var yyj1103 int + var yyb1103 bool + var yyhl1103 bool = l >= 0 + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb1115 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb1115 { + if yyb1103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13170,13 +13098,13 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj1115++ - if yyhl1115 { - yyb1115 = yyj1115 > l + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb1115 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb1115 { + if yyb1103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13192,17 +13120,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj1115++ - if yyhl1115 { - yyb1115 = yyj1115 > l + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb1115 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb1115 { + if yyb1103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1115-1, "") + z.DecStructFieldNotFound(yyj1103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13214,33 +13142,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1118 := z.EncBinary() - _ = yym1118 + yym1106 := z.EncBinary() + _ = yym1106 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1119 := !z.EncBinary() - yy2arr1119 := z.EncBasicHandle().StructToArray - var yyq1119 [1]bool - _, _, _ = yysep1119, yyq1119, yy2arr1119 - const yyr1119 bool = false - yyq1119[0] = x.HTTP != nil - var yynn1119 int - if yyr1119 || yy2arr1119 { + yysep1107 := !z.EncBinary() + yy2arr1107 := z.EncBasicHandle().StructToArray + var yyq1107 [1]bool + _, _, _ = yysep1107, yyq1107, yy2arr1107 + const yyr1107 bool = false + yyq1107[0] = x.HTTP != nil + var yynn1107 int + if yyr1107 || yy2arr1107 { r.EncodeArrayStart(1) } else { - yynn1119 = 0 - for _, b := range yyq1119 { + yynn1107 = 0 + for _, b := range yyq1107 { if b { - yynn1119++ + yynn1107++ } } - r.EncodeMapStart(yynn1119) - yynn1119 = 0 + r.EncodeMapStart(yynn1107) + yynn1107 = 0 } - if yyr1119 || yy2arr1119 { + if yyr1107 || yy2arr1107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1119[0] { + if yyq1107[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -13250,7 +13178,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1119[0] { + if yyq1107[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13261,7 +13189,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1119 || yy2arr1119 { + if yyr1107 || yy2arr1107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13274,25 +13202,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1121 := z.DecBinary() - _ = yym1121 + yym1109 := z.DecBinary() + _ = yym1109 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1122 := r.ContainerType() - if yyct1122 == codecSelferValueTypeMap1234 { - yyl1122 := r.ReadMapStart() - if yyl1122 == 0 { + yyct1110 := r.ContainerType() + if yyct1110 == codecSelferValueTypeMap1234 { + yyl1110 := r.ReadMapStart() + if yyl1110 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1122, d) + x.codecDecodeSelfFromMap(yyl1110, d) } - } else if yyct1122 == codecSelferValueTypeArray1234 { - yyl1122 := r.ReadArrayStart() - if yyl1122 == 0 { + } else if yyct1110 == codecSelferValueTypeArray1234 { + yyl1110 := r.ReadArrayStart() + if yyl1110 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1122, d) + x.codecDecodeSelfFromArray(yyl1110, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13304,12 +13232,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1123Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1123Slc - var yyhl1123 bool = l >= 0 - for yyj1123 := 0; ; yyj1123++ { - if yyhl1123 { - if yyj1123 >= l { + var yys1111Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1111Slc + var yyhl1111 bool = l >= 0 + for yyj1111 := 0; ; yyj1111++ { + if yyhl1111 { + if yyj1111 >= l { break } } else { @@ -13318,10 +13246,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1123Slc = r.DecodeBytes(yys1123Slc, true, true) - yys1123 := string(yys1123Slc) + yys1111Slc = r.DecodeBytes(yys1111Slc, true, true) + yys1111 := string(yys1111Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1123 { + switch yys1111 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -13334,13 +13262,194 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1123) - } // end switch yys1123 - } // end for yyj1123 + z.DecStructFieldNotFound(-1, yys1111) + } // end switch yys1111 + } // end for yyj1111 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1113 int + var yyb1113 bool + var yyhl1113 bool = l >= 0 + yyj1113++ + if yyhl1113 { + yyb1113 = yyj1113 > l + } else { + yyb1113 = r.CheckBreak() + } + if yyb1113 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.HTTP != nil { + x.HTTP = nil + } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) + } + for { + yyj1113++ + if yyhl1113 { + yyb1113 = yyj1113 > l + } else { + yyb1113 = r.CheckBreak() + } + if yyb1113 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1113-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1115 := z.EncBinary() + _ = yym1115 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1116 := !z.EncBinary() + yy2arr1116 := z.EncBasicHandle().StructToArray + var yyq1116 [1]bool + _, _, _ = yysep1116, yyq1116, yy2arr1116 + const yyr1116 bool = false + var yynn1116 int + if yyr1116 || yy2arr1116 { + r.EncodeArrayStart(1) + } else { + yynn1116 = 1 + for _, b := range yyq1116 { + if b { + yynn1116++ + } + } + r.EncodeMapStart(yynn1116) + yynn1116 = 0 + } + if yyr1116 || yy2arr1116 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Paths == nil { + r.EncodeNil() + } else { + yym1118 := z.EncBinary() + _ = yym1118 + if false { + } else { + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("paths")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Paths == nil { + r.EncodeNil() + } else { + yym1119 := z.EncBinary() + _ = yym1119 + if false { + } else { + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) + } + } + } + if yyr1116 || yy2arr1116 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1120 := z.DecBinary() + _ = yym1120 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1121 := r.ContainerType() + if yyct1121 == codecSelferValueTypeMap1234 { + yyl1121 := r.ReadMapStart() + if yyl1121 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1121, d) + } + } else if yyct1121 == codecSelferValueTypeArray1234 { + yyl1121 := r.ReadArrayStart() + if yyl1121 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1121, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1122Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1122Slc + var yyhl1122 bool = l >= 0 + for yyj1122 := 0; ; yyj1122++ { + if yyhl1122 { + if yyj1122 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1122Slc = r.DecodeBytes(yys1122Slc, true, true) + yys1122 := string(yys1122Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1122 { + case "paths": + if r.TryDecodeAsNil() { + x.Paths = nil + } else { + yyv1123 := &x.Paths + yym1124 := z.DecBinary() + _ = yym1124 + if false { + } else { + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1123), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1122) + } // end switch yys1122 + } // end for yyj1122 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -13359,14 +13468,15 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } + x.Paths = nil } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) + yyv1126 := &x.Paths + yym1127 := z.DecBinary() + _ = yym1127 + if false { + } else { + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1126), d) } - x.HTTP.CodecDecodeSelf(d) } for { yyj1125++ @@ -13384,188 +13494,6 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1127 := z.EncBinary() - _ = yym1127 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1128 := !z.EncBinary() - yy2arr1128 := z.EncBasicHandle().StructToArray - var yyq1128 [1]bool - _, _, _ = yysep1128, yyq1128, yy2arr1128 - const yyr1128 bool = false - var yynn1128 int - if yyr1128 || yy2arr1128 { - r.EncodeArrayStart(1) - } else { - yynn1128 = 1 - for _, b := range yyq1128 { - if b { - yynn1128++ - } - } - r.EncodeMapStart(yynn1128) - yynn1128 = 0 - } - if yyr1128 || yy2arr1128 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym1130 := z.EncBinary() - _ = yym1130 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("paths")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym1131 := z.EncBinary() - _ = yym1131 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } - if yyr1128 || yy2arr1128 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1132 := z.DecBinary() - _ = yym1132 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1133 := r.ContainerType() - if yyct1133 == codecSelferValueTypeMap1234 { - yyl1133 := r.ReadMapStart() - if yyl1133 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1133, d) - } - } else if yyct1133 == codecSelferValueTypeArray1234 { - yyl1133 := r.ReadArrayStart() - if yyl1133 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1133, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1134Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1134Slc - var yyhl1134 bool = l >= 0 - for yyj1134 := 0; ; yyj1134++ { - if yyhl1134 { - if yyj1134 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1134Slc = r.DecodeBytes(yys1134Slc, true, true) - yys1134 := string(yys1134Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1134 { - case "paths": - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv1135 := &x.Paths - yym1136 := z.DecBinary() - _ = yym1136 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1135), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1134) - } // end switch yys1134 - } // end for yyj1134 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1137 int - var yyb1137 bool - var yyhl1137 bool = l >= 0 - yyj1137++ - if yyhl1137 { - yyb1137 = yyj1137 > l - } else { - yyb1137 = r.CheckBreak() - } - if yyb1137 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv1138 := &x.Paths - yym1139 := z.DecBinary() - _ = yym1139 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1138), d) - } - } - for { - yyj1137++ - if yyhl1137 { - yyb1137 = yyj1137 > l - } else { - yyb1137 = r.CheckBreak() - } - if yyb1137 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1137-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -13573,35 +13501,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1140 := z.EncBinary() - _ = yym1140 + yym1128 := z.EncBinary() + _ = yym1128 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1141 := !z.EncBinary() - yy2arr1141 := z.EncBasicHandle().StructToArray - var yyq1141 [2]bool - _, _, _ = yysep1141, yyq1141, yy2arr1141 - const yyr1141 bool = false - yyq1141[0] = x.Path != "" - var yynn1141 int - if yyr1141 || yy2arr1141 { + yysep1129 := !z.EncBinary() + yy2arr1129 := z.EncBasicHandle().StructToArray + var yyq1129 [2]bool + _, _, _ = yysep1129, yyq1129, yy2arr1129 + const yyr1129 bool = false + yyq1129[0] = x.Path != "" + var yynn1129 int + if yyr1129 || yy2arr1129 { r.EncodeArrayStart(2) } else { - yynn1141 = 1 - for _, b := range yyq1141 { + yynn1129 = 1 + for _, b := range yyq1129 { if b { - yynn1141++ + yynn1129++ } } - r.EncodeMapStart(yynn1141) - yynn1141 = 0 + r.EncodeMapStart(yynn1129) + yynn1129 = 0 } - if yyr1141 || yy2arr1141 { + if yyr1129 || yy2arr1129 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1141[0] { - yym1143 := z.EncBinary() - _ = yym1143 + if yyq1129[0] { + yym1131 := z.EncBinary() + _ = yym1131 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13610,30 +13538,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1141[0] { + if yyq1129[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1144 := z.EncBinary() - _ = yym1144 + yym1132 := z.EncBinary() + _ = yym1132 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1141 || yy2arr1141 { + if yyr1129 || yy2arr1129 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1146 := &x.Backend - yy1146.CodecEncodeSelf(e) + yy1134 := &x.Backend + yy1134.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1147 := &x.Backend - yy1147.CodecEncodeSelf(e) + yy1135 := &x.Backend + yy1135.CodecEncodeSelf(e) } - if yyr1141 || yy2arr1141 { + if yyr1129 || yy2arr1129 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13646,25 +13574,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1148 := z.DecBinary() - _ = yym1148 + yym1136 := z.DecBinary() + _ = yym1136 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1149 := r.ContainerType() - if yyct1149 == codecSelferValueTypeMap1234 { - yyl1149 := r.ReadMapStart() - if yyl1149 == 0 { + yyct1137 := r.ContainerType() + if yyct1137 == codecSelferValueTypeMap1234 { + yyl1137 := r.ReadMapStart() + if yyl1137 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1149, d) + x.codecDecodeSelfFromMap(yyl1137, d) } - } else if yyct1149 == codecSelferValueTypeArray1234 { - yyl1149 := r.ReadArrayStart() - if yyl1149 == 0 { + } else if yyct1137 == codecSelferValueTypeArray1234 { + yyl1137 := r.ReadArrayStart() + if yyl1137 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1149, d) + x.codecDecodeSelfFromArray(yyl1137, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13676,12 +13604,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1150Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1150Slc - var yyhl1150 bool = l >= 0 - for yyj1150 := 0; ; yyj1150++ { - if yyhl1150 { - if yyj1150 >= l { + var yys1138Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1138Slc + var yyhl1138 bool = l >= 0 + for yyj1138 := 0; ; yyj1138++ { + if yyhl1138 { + if yyj1138 >= l { break } } else { @@ -13690,10 +13618,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1150Slc = r.DecodeBytes(yys1150Slc, true, true) - yys1150 := string(yys1150Slc) + yys1138Slc = r.DecodeBytes(yys1138Slc, true, true) + yys1138 := string(yys1138Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1150 { + switch yys1138 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13704,13 +13632,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1152 := &x.Backend - yyv1152.CodecDecodeSelf(d) + yyv1140 := &x.Backend + yyv1140.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1150) - } // end switch yys1150 - } // end for yyj1150 + z.DecStructFieldNotFound(-1, yys1138) + } // end switch yys1138 + } // end for yyj1138 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13718,16 +13646,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1153 int - var yyb1153 bool - var yyhl1153 bool = l >= 0 - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + var yyj1141 int + var yyb1141 bool + var yyhl1141 bool = l >= 0 + yyj1141++ + if yyhl1141 { + yyb1141 = yyj1141 > l } else { - yyb1153 = r.CheckBreak() + yyb1141 = r.CheckBreak() } - if yyb1153 { + if yyb1141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13737,13 +13665,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + yyj1141++ + if yyhl1141 { + yyb1141 = yyj1141 > l } else { - yyb1153 = r.CheckBreak() + yyb1141 = r.CheckBreak() } - if yyb1153 { + if yyb1141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13751,21 +13679,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1155 := &x.Backend - yyv1155.CodecDecodeSelf(d) + yyv1143 := &x.Backend + yyv1143.CodecDecodeSelf(d) } for { - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + yyj1141++ + if yyhl1141 { + yyb1141 = yyj1141 > l } else { - yyb1153 = r.CheckBreak() + yyb1141 = r.CheckBreak() } - if yyb1153 { + if yyb1141 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1153-1, "") + z.DecStructFieldNotFound(yyj1141-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13777,33 +13705,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1156 := z.EncBinary() - _ = yym1156 + yym1144 := z.EncBinary() + _ = yym1144 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1157 := !z.EncBinary() - yy2arr1157 := z.EncBasicHandle().StructToArray - var yyq1157 [2]bool - _, _, _ = yysep1157, yyq1157, yy2arr1157 - const yyr1157 bool = false - var yynn1157 int - if yyr1157 || yy2arr1157 { + yysep1145 := !z.EncBinary() + yy2arr1145 := z.EncBasicHandle().StructToArray + var yyq1145 [2]bool + _, _, _ = yysep1145, yyq1145, yy2arr1145 + const yyr1145 bool = false + var yynn1145 int + if yyr1145 || yy2arr1145 { r.EncodeArrayStart(2) } else { - yynn1157 = 2 - for _, b := range yyq1157 { + yynn1145 = 2 + for _, b := range yyq1145 { if b { - yynn1157++ + yynn1145++ } } - r.EncodeMapStart(yynn1157) - yynn1157 = 0 + r.EncodeMapStart(yynn1145) + yynn1145 = 0 } - if yyr1157 || yy2arr1157 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1159 := z.EncBinary() - _ = yym1159 + yym1147 := z.EncBinary() + _ = yym1147 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -13812,41 +13740,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1160 := z.EncBinary() - _ = yym1160 + yym1148 := z.EncBinary() + _ = yym1148 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr1157 || yy2arr1157 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1162 := &x.ServicePort - yym1163 := z.EncBinary() - _ = yym1163 + yy1150 := &x.ServicePort + yym1151 := z.EncBinary() + _ = yym1151 if false { - } else if z.HasExtensions() && z.EncExt(yy1162) { - } else if !yym1163 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1162) + } else if z.HasExtensions() && z.EncExt(yy1150) { + } else if !yym1151 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1150) } else { - z.EncFallback(yy1162) + z.EncFallback(yy1150) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1164 := &x.ServicePort - yym1165 := z.EncBinary() - _ = yym1165 + yy1152 := &x.ServicePort + yym1153 := z.EncBinary() + _ = yym1153 if false { - } else if z.HasExtensions() && z.EncExt(yy1164) { - } else if !yym1165 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1164) + } else if z.HasExtensions() && z.EncExt(yy1152) { + } else if !yym1153 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1152) } else { - z.EncFallback(yy1164) + z.EncFallback(yy1152) } } - if yyr1157 || yy2arr1157 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13859,25 +13787,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1166 := z.DecBinary() - _ = yym1166 + yym1154 := z.DecBinary() + _ = yym1154 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1167 := r.ContainerType() - if yyct1167 == codecSelferValueTypeMap1234 { - yyl1167 := r.ReadMapStart() - if yyl1167 == 0 { + yyct1155 := r.ContainerType() + if yyct1155 == codecSelferValueTypeMap1234 { + yyl1155 := r.ReadMapStart() + if yyl1155 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1167, d) + x.codecDecodeSelfFromMap(yyl1155, d) } - } else if yyct1167 == codecSelferValueTypeArray1234 { - yyl1167 := r.ReadArrayStart() - if yyl1167 == 0 { + } else if yyct1155 == codecSelferValueTypeArray1234 { + yyl1155 := r.ReadArrayStart() + if yyl1155 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1167, d) + x.codecDecodeSelfFromArray(yyl1155, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13889,12 +13817,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1168Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1168Slc - var yyhl1168 bool = l >= 0 - for yyj1168 := 0; ; yyj1168++ { - if yyhl1168 { - if yyj1168 >= l { + var yys1156Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1156Slc + var yyhl1156 bool = l >= 0 + for yyj1156 := 0; ; yyj1156++ { + if yyhl1156 { + if yyj1156 >= l { break } } else { @@ -13903,10 +13831,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1168Slc = r.DecodeBytes(yys1168Slc, true, true) - yys1168 := string(yys1168Slc) + yys1156Slc = r.DecodeBytes(yys1156Slc, true, true) + yys1156 := string(yys1156Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1168 { + switch yys1156 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -13917,21 +13845,21 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1170 := &x.ServicePort - yym1171 := z.DecBinary() - _ = yym1171 + yyv1158 := &x.ServicePort + yym1159 := z.DecBinary() + _ = yym1159 if false { - } else if z.HasExtensions() && z.DecExt(yyv1170) { - } else if !yym1171 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1170) + } else if z.HasExtensions() && z.DecExt(yyv1158) { + } else if !yym1159 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1158) } else { - z.DecFallback(yyv1170, false) + z.DecFallback(yyv1158, false) } } default: - z.DecStructFieldNotFound(-1, yys1168) - } // end switch yys1168 - } // end for yyj1168 + z.DecStructFieldNotFound(-1, yys1156) + } // end switch yys1156 + } // end for yyj1156 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13939,16 +13867,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1172 int - var yyb1172 bool - var yyhl1172 bool = l >= 0 - yyj1172++ - if yyhl1172 { - yyb1172 = yyj1172 > l + var yyj1160 int + var yyb1160 bool + var yyhl1160 bool = l >= 0 + yyj1160++ + if yyhl1160 { + yyb1160 = yyj1160 > l } else { - yyb1172 = r.CheckBreak() + yyb1160 = r.CheckBreak() } - if yyb1172 { + if yyb1160 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13958,13 +13886,13 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceName = string(r.DecodeString()) } - yyj1172++ - if yyhl1172 { - yyb1172 = yyj1172 > l + yyj1160++ + if yyhl1160 { + yyb1160 = yyj1160 > l } else { - yyb1172 = r.CheckBreak() + yyb1160 = r.CheckBreak() } - if yyb1172 { + if yyb1160 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13972,29 +13900,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1174 := &x.ServicePort - yym1175 := z.DecBinary() - _ = yym1175 + yyv1162 := &x.ServicePort + yym1163 := z.DecBinary() + _ = yym1163 if false { - } else if z.HasExtensions() && z.DecExt(yyv1174) { - } else if !yym1175 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1174) + } else if z.HasExtensions() && z.DecExt(yyv1162) { + } else if !yym1163 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1162) } else { - z.DecFallback(yyv1174, false) + z.DecFallback(yyv1162, false) } } for { - yyj1172++ - if yyhl1172 { - yyb1172 = yyj1172 > l + yyj1160++ + if yyhl1160 { + yyb1160 = yyj1160 > l } else { - yyb1172 = r.CheckBreak() + yyb1160 = r.CheckBreak() } - if yyb1172 { + if yyb1160 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1172-1, "") + z.DecStructFieldNotFound(yyj1160-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14006,36 +13934,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1176 := z.EncBinary() - _ = yym1176 + yym1164 := z.EncBinary() + _ = yym1164 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1177 := !z.EncBinary() - yy2arr1177 := z.EncBasicHandle().StructToArray - var yyq1177 [4]bool - _, _, _ = yysep1177, yyq1177, yy2arr1177 - const yyr1177 bool = false - yyq1177[0] = x.Kind != "" - yyq1177[1] = x.APIVersion != "" - var yynn1177 int - if yyr1177 || yy2arr1177 { + yysep1165 := !z.EncBinary() + yy2arr1165 := z.EncBasicHandle().StructToArray + var yyq1165 [4]bool + _, _, _ = yysep1165, yyq1165, yy2arr1165 + const yyr1165 bool = false + yyq1165[0] = x.Kind != "" + yyq1165[1] = x.APIVersion != "" + var yynn1165 int + if yyr1165 || yy2arr1165 { r.EncodeArrayStart(4) } else { - yynn1177 = 2 - for _, b := range yyq1177 { + yynn1165 = 2 + for _, b := range yyq1165 { if b { - yynn1177++ + yynn1165++ } } - r.EncodeMapStart(yynn1177) - yynn1177 = 0 + r.EncodeMapStart(yynn1165) + yynn1165 = 0 } - if yyr1177 || yy2arr1177 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1177[0] { - yym1179 := z.EncBinary() - _ = yym1179 + if yyq1165[0] { + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14044,23 +13972,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1177[0] { + if yyq1165[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1180 := z.EncBinary() - _ = yym1180 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1177 || yy2arr1177 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1177[1] { - yym1182 := z.EncBinary() - _ = yym1182 + if yyq1165[1] { + yym1170 := z.EncBinary() + _ = yym1170 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14069,22 +13997,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1177[1] { + if yyq1165[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1183 := z.EncBinary() - _ = yym1183 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1177 || yy2arr1177 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1185 := z.EncBinary() - _ = yym1185 + yym1173 := z.EncBinary() + _ = yym1173 if false { } else { r.EncodeBool(bool(x.Export)) @@ -14093,17 +14021,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1186 := z.EncBinary() - _ = yym1186 + yym1174 := z.EncBinary() + _ = yym1174 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr1177 || yy2arr1177 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1188 := z.EncBinary() - _ = yym1188 + yym1176 := z.EncBinary() + _ = yym1176 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -14112,14 +14040,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1189 := z.EncBinary() - _ = yym1189 + yym1177 := z.EncBinary() + _ = yym1177 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr1177 || yy2arr1177 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14132,25 +14060,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1190 := z.DecBinary() - _ = yym1190 + yym1178 := z.DecBinary() + _ = yym1178 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1191 := r.ContainerType() - if yyct1191 == codecSelferValueTypeMap1234 { - yyl1191 := r.ReadMapStart() - if yyl1191 == 0 { + yyct1179 := r.ContainerType() + if yyct1179 == codecSelferValueTypeMap1234 { + yyl1179 := r.ReadMapStart() + if yyl1179 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1191, d) + x.codecDecodeSelfFromMap(yyl1179, d) } - } else if yyct1191 == codecSelferValueTypeArray1234 { - yyl1191 := r.ReadArrayStart() - if yyl1191 == 0 { + } else if yyct1179 == codecSelferValueTypeArray1234 { + yyl1179 := r.ReadArrayStart() + if yyl1179 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1191, d) + x.codecDecodeSelfFromArray(yyl1179, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14162,12 +14090,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1192Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1192Slc - var yyhl1192 bool = l >= 0 - for yyj1192 := 0; ; yyj1192++ { - if yyhl1192 { - if yyj1192 >= l { + var yys1180Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1180Slc + var yyhl1180 bool = l >= 0 + for yyj1180 := 0; ; yyj1180++ { + if yyhl1180 { + if yyj1180 >= l { break } } else { @@ -14176,10 +14104,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1192Slc = r.DecodeBytes(yys1192Slc, true, true) - yys1192 := string(yys1192Slc) + yys1180Slc = r.DecodeBytes(yys1180Slc, true, true) + yys1180 := string(yys1180Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1192 { + switch yys1180 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14205,9 +14133,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1192) - } // end switch yys1192 - } // end for yyj1192 + z.DecStructFieldNotFound(-1, yys1180) + } // end switch yys1180 + } // end for yyj1180 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14215,16 +14143,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1197 int - var yyb1197 bool - var yyhl1197 bool = l >= 0 - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + var yyj1185 int + var yyb1185 bool + var yyhl1185 bool = l >= 0 + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1197 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1197 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14234,13 +14162,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1197 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1197 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14250,13 +14178,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1197 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1197 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14266,13 +14194,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1197 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1197 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14283,158 +14211,120 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1197 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1197 { + if yyb1185 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1197-1, "") + z.DecStructFieldNotFound(yyj1185-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1202 := z.EncBinary() - _ = yym1202 + yym1190 := z.EncBinary() + _ = yym1190 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1203 := !z.EncBinary() - yy2arr1203 := z.EncBasicHandle().StructToArray - var yyq1203 [5]bool - _, _, _ = yysep1203, yyq1203, yy2arr1203 - const yyr1203 bool = false - yyq1203[0] = x.Kind != "" - yyq1203[1] = x.APIVersion != "" - yyq1203[2] = true - yyq1203[3] = true - yyq1203[4] = true - var yynn1203 int - if yyr1203 || yy2arr1203 { - r.EncodeArrayStart(5) + yysep1191 := !z.EncBinary() + yy2arr1191 := z.EncBasicHandle().StructToArray + var yyq1191 [2]bool + _, _, _ = yysep1191, yyq1191, yy2arr1191 + const yyr1191 bool = false + yyq1191[0] = len(x.MatchLabels) != 0 + yyq1191[1] = len(x.MatchExpressions) != 0 + var yynn1191 int + if yyr1191 || yy2arr1191 { + r.EncodeArrayStart(2) } else { - yynn1203 = 0 - for _, b := range yyq1203 { + yynn1191 = 0 + for _, b := range yyq1191 { if b { - yynn1203++ + yynn1191++ } } - r.EncodeMapStart(yynn1203) - yynn1203 = 0 + r.EncodeMapStart(yynn1191) + yynn1191 = 0 } - if yyr1203 || yy2arr1203 { + if yyr1191 || yy2arr1191 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[0] { - yym1205 := z.EncBinary() - _ = yym1205 - if false { + if yyq1191[0] { + if x.MatchLabels == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + yym1193 := z.EncBinary() + _ = yym1193 + if false { + } else { + z.F.EncMapStringStringV(x.MatchLabels, false, e) + } } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1203[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1206 := z.EncBinary() - _ = yym1206 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1203 || yy2arr1203 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[1] { - yym1208 := z.EncBinary() - _ = yym1208 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1203[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1209 := z.EncBinary() - _ = yym1209 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1203 || yy2arr1203 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[2] { - yy1211 := &x.ObjectMeta - yy1211.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1203[2] { + if yyq1191[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1212 := &x.ObjectMeta - yy1212.CodecEncodeSelf(e) + if x.MatchLabels == nil { + r.EncodeNil() + } else { + yym1194 := z.EncBinary() + _ = yym1194 + if false { + } else { + z.F.EncMapStringStringV(x.MatchLabels, false, e) + } + } } } - if yyr1203 || yy2arr1203 { + if yyr1191 || yy2arr1191 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[3] { - yy1214 := &x.Spec - yy1214.CodecEncodeSelf(e) + if yyq1191[1] { + if x.MatchExpressions == nil { + r.EncodeNil() + } else { + yym1196 := z.EncBinary() + _ = yym1196 + if false { + } else { + h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) + } + } } else { r.EncodeNil() } } else { - if yyq1203[3] { + if yyq1191[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1215 := &x.Spec - yy1215.CodecEncodeSelf(e) + if x.MatchExpressions == nil { + r.EncodeNil() + } else { + yym1197 := z.EncBinary() + _ = yym1197 + if false { + } else { + h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) + } + } } } - if yyr1203 || yy2arr1203 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[4] { - yy1217 := &x.Status - yy1217.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1203[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1218 := &x.Status - yy1218.CodecEncodeSelf(e) - } - } - if yyr1203 || yy2arr1203 { + if yyr1191 || yy2arr1191 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14443,7 +14333,258 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1198 := z.DecBinary() + _ = yym1198 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1199 := r.ContainerType() + if yyct1199 == codecSelferValueTypeMap1234 { + yyl1199 := r.ReadMapStart() + if yyl1199 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1199, d) + } + } else if yyct1199 == codecSelferValueTypeArray1234 { + yyl1199 := r.ReadArrayStart() + if yyl1199 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1199, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1200Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1200Slc + var yyhl1200 bool = l >= 0 + for yyj1200 := 0; ; yyj1200++ { + if yyhl1200 { + if yyj1200 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1200Slc = r.DecodeBytes(yys1200Slc, true, true) + yys1200 := string(yys1200Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1200 { + case "matchLabels": + if r.TryDecodeAsNil() { + x.MatchLabels = nil + } else { + yyv1201 := &x.MatchLabels + yym1202 := z.DecBinary() + _ = yym1202 + if false { + } else { + z.F.DecMapStringStringX(yyv1201, false, d) + } + } + case "matchExpressions": + if r.TryDecodeAsNil() { + x.MatchExpressions = nil + } else { + yyv1203 := &x.MatchExpressions + yym1204 := z.DecBinary() + _ = yym1204 + if false { + } else { + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1203), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1200) + } // end switch yys1200 + } // end for yyj1200 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1205 int + var yyb1205 bool + var yyhl1205 bool = l >= 0 + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l + } else { + yyb1205 = r.CheckBreak() + } + if yyb1205 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MatchLabels = nil + } else { + yyv1206 := &x.MatchLabels + yym1207 := z.DecBinary() + _ = yym1207 + if false { + } else { + z.F.DecMapStringStringX(yyv1206, false, d) + } + } + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l + } else { + yyb1205 = r.CheckBreak() + } + if yyb1205 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MatchExpressions = nil + } else { + yyv1208 := &x.MatchExpressions + yym1209 := z.DecBinary() + _ = yym1209 + if false { + } else { + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1208), d) + } + } + for { + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l + } else { + yyb1205 = r.CheckBreak() + } + if yyb1205 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1205-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1210 := z.EncBinary() + _ = yym1210 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1211 := !z.EncBinary() + yy2arr1211 := z.EncBasicHandle().StructToArray + var yyq1211 [3]bool + _, _, _ = yysep1211, yyq1211, yy2arr1211 + const yyr1211 bool = false + yyq1211[2] = len(x.Values) != 0 + var yynn1211 int + if yyr1211 || yy2arr1211 { + r.EncodeArrayStart(3) + } else { + yynn1211 = 2 + for _, b := range yyq1211 { + if b { + yynn1211++ + } + } + r.EncodeMapStart(yynn1211) + yynn1211 = 0 + } + if yyr1211 || yy2arr1211 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1213 := z.EncBinary() + _ = yym1213 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1214 := z.EncBinary() + _ = yym1214 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1211 || yy2arr1211 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Operator.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("operator")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Operator.CodecEncodeSelf(e) + } + if yyr1211 || yy2arr1211 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1211[2] { + if x.Values == nil { + r.EncodeNil() + } else { + yym1217 := z.EncBinary() + _ = yym1217 + if false { + } else { + z.F.EncSliceStringV(x.Values, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1211[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("values")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Values == nil { + r.EncodeNil() + } else { + yym1218 := z.EncBinary() + _ = yym1218 + if false { + } else { + z.F.EncSliceStringV(x.Values, false, e) + } + } + } + } + if yyr1211 || yy2arr1211 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14473,7 +14614,7 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14495,38 +14636,29 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys1221 := string(yys1221Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1221 { - case "kind": + case "key": if r.TryDecodeAsNil() { - x.Kind = "" + x.Key = "" } else { - x.Kind = string(r.DecodeString()) + x.Key = string(r.DecodeString()) } - case "apiVersion": + case "operator": if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Operator = "" } else { - x.APIVersion = string(r.DecodeString()) + x.Operator = LabelSelectorOperator(r.DecodeString()) } - case "metadata": + case "values": if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} + x.Values = nil } else { - yyv1224 := &x.ObjectMeta - yyv1224.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv1225 := &x.Spec - yyv1225.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv1226 := &x.Status - yyv1226.CodecDecodeSelf(d) + yyv1224 := &x.Values + yym1225 := z.DecBinary() + _ = yym1225 + if false { + } else { + z.F.DecSliceStringX(yyv1224, false, d) + } } default: z.DecStructFieldNotFound(-1, yys1221) @@ -14535,113 +14667,110 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1227 int - var yyb1227 bool - var yyhl1227 bool = l >= 0 - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + var yyj1226 int + var yyb1226 bool + var yyhl1226 bool = l >= 0 + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1227 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1227 { + if yyb1226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.Key = "" } else { - x.Kind = string(r.DecodeString()) + x.Key = string(r.DecodeString()) } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1227 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1227 { + if yyb1226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Operator = "" } else { - x.APIVersion = string(r.DecodeString()) + x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1227 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1227 { + if yyb1226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} + x.Values = nil } else { - yyv1230 := &x.ObjectMeta - yyv1230.CodecDecodeSelf(d) - } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l - } else { - yyb1227 = r.CheckBreak() - } - if yyb1227 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv1231 := &x.Spec - yyv1231.CodecDecodeSelf(d) - } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l - } else { - yyb1227 = r.CheckBreak() - } - if yyb1227 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv1232 := &x.Status - yyv1232.CodecDecodeSelf(d) + yyv1229 := &x.Values + yym1230 := z.DecBinary() + _ = yym1230 + if false { + } else { + z.F.DecSliceStringX(yyv1229, false, d) + } } for { - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1227 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1227 { + if yyb1226 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1227-1, "") + z.DecStructFieldNotFound(yyj1226-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1231 := z.EncBinary() + _ = yym1231 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1232 := z.DecBinary() + _ = yym1232 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -14655,17 +14784,19 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep1234 := !z.EncBinary() yy2arr1234 := z.EncBasicHandle().StructToArray - var yyq1234 [4]bool + var yyq1234 [5]bool _, _, _ = yysep1234, yyq1234, yy2arr1234 const yyr1234 bool = false yyq1234[0] = x.Kind != "" yyq1234[1] = x.APIVersion != "" yyq1234[2] = true + yyq1234[3] = true + yyq1234[4] = true var yynn1234 int if yyr1234 || yy2arr1234 { - r.EncodeArrayStart(4) + r.EncodeArrayStart(5) } else { - yynn1234 = 1 + yynn1234 = 0 for _, b := range yyq1234 { if b { yynn1234++ @@ -14727,14 +14858,8 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1234[2] { - yy1242 := &x.ListMeta - yym1243 := z.EncBinary() - _ = yym1243 - if false { - } else if z.HasExtensions() && z.EncExt(yy1242) { - } else { - z.EncFallback(yy1242) - } + yy1242 := &x.ObjectMeta + yy1242.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -14743,41 +14868,42 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1244 := &x.ListMeta - yym1245 := z.EncBinary() - _ = yym1245 - if false { - } else if z.HasExtensions() && z.EncExt(yy1244) { - } else { - z.EncFallback(yy1244) - } + yy1243 := &x.ObjectMeta + yy1243.CodecEncodeSelf(e) } } if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() + if yyq1234[3] { + yy1245 := &x.Spec + yy1245.CodecEncodeSelf(e) } else { - yym1247 := z.EncBinary() - _ = yym1247 - if false { - } else { - h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) - } + r.EncodeNil() } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() + if yyq1234[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1246 := &x.Spec + yy1246.CodecEncodeSelf(e) + } + } + if yyr1234 || yy2arr1234 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1234[4] { + yy1248 := &x.Status + yy1248.CodecEncodeSelf(e) } else { - yym1248 := z.EncBinary() - _ = yym1248 - if false { - } else { - h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) - } + r.EncodeNil() + } + } else { + if yyq1234[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1249 := &x.Status + yy1249.CodecEncodeSelf(e) } } if yyr1234 || yy2arr1234 { @@ -14789,29 +14915,29 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1249 := z.DecBinary() - _ = yym1249 + yym1250 := z.DecBinary() + _ = yym1250 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1250 := r.ContainerType() - if yyct1250 == codecSelferValueTypeMap1234 { - yyl1250 := r.ReadMapStart() - if yyl1250 == 0 { + yyct1251 := r.ContainerType() + if yyct1251 == codecSelferValueTypeMap1234 { + yyl1251 := r.ReadMapStart() + if yyl1251 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1250, d) + x.codecDecodeSelfFromMap(yyl1251, d) } - } else if yyct1250 == codecSelferValueTypeArray1234 { - yyl1250 := r.ReadArrayStart() - if yyl1250 == 0 { + } else if yyct1251 == codecSelferValueTypeArray1234 { + yyl1251 := r.ReadArrayStart() + if yyl1251 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1250, d) + x.codecDecodeSelfFromArray(yyl1251, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14819,16 +14945,16 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1251Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1251Slc - var yyhl1251 bool = l >= 0 - for yyj1251 := 0; ; yyj1251++ { - if yyhl1251 { - if yyj1251 >= l { + var yys1252Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1252Slc + var yyhl1252 bool = l >= 0 + for yyj1252 := 0; ; yyj1252++ { + if yyhl1252 { + if yyj1252 >= l { break } } else { @@ -14837,10 +14963,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1251Slc = r.DecodeBytes(yys1251Slc, true, true) - yys1251 := string(yys1251Slc) + yys1252Slc = r.DecodeBytes(yys1252Slc, true, true) + yys1252 := string(yys1252Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1251 { + switch yys1252 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14855,37 +14981,33 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1254 := &x.ListMeta - yym1255 := z.DecBinary() - _ = yym1255 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1254) { - } else { - z.DecFallback(yyv1254, false) - } + yyv1255 := &x.ObjectMeta + yyv1255.CodecDecodeSelf(d) } - case "items": + case "spec": if r.TryDecodeAsNil() { - x.Items = nil + x.Spec = ReplicaSetSpec{} } else { - yyv1256 := &x.Items - yym1257 := z.DecBinary() - _ = yym1257 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1256), d) - } + yyv1256 := &x.Spec + yyv1256.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv1257 := &x.Status + yyv1257.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1251) - } // end switch yys1251 - } // end for yyj1251 + z.DecStructFieldNotFound(-1, yys1252) + } // end switch yys1252 + } // end for yyj1252 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14936,16 +15058,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1261 := &x.ListMeta - yym1262 := z.DecBinary() - _ = yym1262 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1261) { - } else { - z.DecFallback(yyv1261, false) - } + yyv1261 := &x.ObjectMeta + yyv1261.CodecDecodeSelf(d) } yyj1258++ if yyhl1258 { @@ -14959,15 +15075,27 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Items = nil + x.Spec = ReplicaSetSpec{} } else { - yyv1263 := &x.Items - yym1264 := z.DecBinary() - _ = yym1264 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1263), d) - } + yyv1262 := &x.Spec + yyv1262.CodecDecodeSelf(d) + } + yyj1258++ + if yyhl1258 { + yyb1258 = yyj1258 > l + } else { + yyb1258 = r.CheckBreak() + } + if yyb1258 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv1263 := &x.Status + yyv1263.CodecDecodeSelf(d) } for { yyj1258++ @@ -14985,6 +15113,350 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1264 := z.EncBinary() + _ = yym1264 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1265 := !z.EncBinary() + yy2arr1265 := z.EncBasicHandle().StructToArray + var yyq1265 [4]bool + _, _, _ = yysep1265, yyq1265, yy2arr1265 + const yyr1265 bool = false + yyq1265[0] = x.Kind != "" + yyq1265[1] = x.APIVersion != "" + yyq1265[2] = true + var yynn1265 int + if yyr1265 || yy2arr1265 { + r.EncodeArrayStart(4) + } else { + yynn1265 = 1 + for _, b := range yyq1265 { + if b { + yynn1265++ + } + } + r.EncodeMapStart(yynn1265) + yynn1265 = 0 + } + if yyr1265 || yy2arr1265 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1265[0] { + yym1267 := z.EncBinary() + _ = yym1267 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1265[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1268 := z.EncBinary() + _ = yym1268 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1265 || yy2arr1265 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1265[1] { + yym1270 := z.EncBinary() + _ = yym1270 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1265[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1271 := z.EncBinary() + _ = yym1271 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1265 || yy2arr1265 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1265[2] { + yy1273 := &x.ListMeta + yym1274 := z.EncBinary() + _ = yym1274 + if false { + } else if z.HasExtensions() && z.EncExt(yy1273) { + } else { + z.EncFallback(yy1273) + } + } else { + r.EncodeNil() + } + } else { + if yyq1265[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1275 := &x.ListMeta + yym1276 := z.EncBinary() + _ = yym1276 + if false { + } else if z.HasExtensions() && z.EncExt(yy1275) { + } else { + z.EncFallback(yy1275) + } + } + } + if yyr1265 || yy2arr1265 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1278 := z.EncBinary() + _ = yym1278 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1279 := z.EncBinary() + _ = yym1279 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } + } + } + if yyr1265 || yy2arr1265 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetList) 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 *ReplicaSetList) 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.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1285 := &x.ListMeta + yym1286 := z.DecBinary() + _ = yym1286 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1285) { + } else { + z.DecFallback(yyv1285, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1287 := &x.Items + yym1288 := z.DecBinary() + _ = yym1288 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1287), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1282) + } // end switch yys1282 + } // end for yyj1282 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1289 int + var yyb1289 bool + var yyhl1289 bool = l >= 0 + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l + } else { + yyb1289 = r.CheckBreak() + } + if yyb1289 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l + } else { + yyb1289 = r.CheckBreak() + } + if yyb1289 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l + } else { + yyb1289 = r.CheckBreak() + } + if yyb1289 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1292 := &x.ListMeta + yym1293 := z.DecBinary() + _ = yym1293 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1292) { + } else { + z.DecFallback(yyv1292, false) + } + } + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l + } else { + yyb1289 = r.CheckBreak() + } + if yyb1289 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1294 := &x.Items + yym1295 := z.DecBinary() + _ = yym1295 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1294), d) + } + } + for { + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l + } else { + yyb1289 = r.CheckBreak() + } + if yyb1289 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1289-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -14992,73 +15464,73 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1265 := z.EncBinary() - _ = yym1265 + yym1296 := z.EncBinary() + _ = yym1296 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1266 := !z.EncBinary() - yy2arr1266 := z.EncBasicHandle().StructToArray - var yyq1266 [4]bool - _, _, _ = yysep1266, yyq1266, yy2arr1266 - const yyr1266 bool = false - yyq1266[0] = x.Replicas != nil - yyq1266[1] = x.MinReadySeconds != 0 - yyq1266[2] = x.Selector != nil - yyq1266[3] = true - var yynn1266 int - if yyr1266 || yy2arr1266 { + yysep1297 := !z.EncBinary() + yy2arr1297 := z.EncBasicHandle().StructToArray + var yyq1297 [4]bool + _, _, _ = yysep1297, yyq1297, yy2arr1297 + const yyr1297 bool = false + yyq1297[0] = x.Replicas != nil + yyq1297[1] = x.MinReadySeconds != 0 + yyq1297[2] = x.Selector != nil + yyq1297[3] = true + var yynn1297 int + if yyr1297 || yy2arr1297 { r.EncodeArrayStart(4) } else { - yynn1266 = 0 - for _, b := range yyq1266 { + yynn1297 = 0 + for _, b := range yyq1297 { if b { - yynn1266++ + yynn1297++ } } - r.EncodeMapStart(yynn1266) - yynn1266 = 0 + r.EncodeMapStart(yynn1297) + yynn1297 = 0 } - if yyr1266 || yy2arr1266 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[0] { + if yyq1297[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1268 := *x.Replicas - yym1269 := z.EncBinary() - _ = yym1269 + yy1299 := *x.Replicas + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { - r.EncodeInt(int64(yy1268)) + r.EncodeInt(int64(yy1299)) } } } else { r.EncodeNil() } } else { - if yyq1266[0] { + if yyq1297[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1270 := *x.Replicas - yym1271 := z.EncBinary() - _ = yym1271 + yy1301 := *x.Replicas + yym1302 := z.EncBinary() + _ = yym1302 if false { } else { - r.EncodeInt(int64(yy1270)) + r.EncodeInt(int64(yy1301)) } } } } - if yyr1266 || yy2arr1266 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[1] { - yym1273 := z.EncBinary() - _ = yym1273 + if yyq1297[1] { + yym1304 := z.EncBinary() + _ = yym1304 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -15067,71 +15539,59 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1266[1] { + if yyq1297[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1274 := z.EncBinary() - _ = yym1274 + yym1305 := z.EncBinary() + _ = yym1305 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr1266 || yy2arr1266 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[2] { + if yyq1297[2] { if x.Selector == nil { r.EncodeNil() } else { - yym1276 := z.EncBinary() - _ = yym1276 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq1266[2] { + if yyq1297[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym1277 := z.EncBinary() - _ = yym1277 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + x.Selector.CodecEncodeSelf(e) } } } - if yyr1266 || yy2arr1266 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[3] { - yy1279 := &x.Template - yy1279.CodecEncodeSelf(e) + if yyq1297[3] { + yy1308 := &x.Template + yy1308.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1266[3] { + if yyq1297[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1280 := &x.Template - yy1280.CodecEncodeSelf(e) + yy1309 := &x.Template + yy1309.CodecEncodeSelf(e) } } - if yyr1266 || yy2arr1266 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15144,25 +15604,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1281 := z.DecBinary() - _ = yym1281 + yym1310 := z.DecBinary() + _ = yym1310 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1282 := r.ContainerType() - if yyct1282 == codecSelferValueTypeMap1234 { - yyl1282 := r.ReadMapStart() - if yyl1282 == 0 { + yyct1311 := r.ContainerType() + if yyct1311 == codecSelferValueTypeMap1234 { + yyl1311 := r.ReadMapStart() + if yyl1311 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1282, d) + x.codecDecodeSelfFromMap(yyl1311, d) } - } else if yyct1282 == codecSelferValueTypeArray1234 { - yyl1282 := r.ReadArrayStart() - if yyl1282 == 0 { + } else if yyct1311 == codecSelferValueTypeArray1234 { + yyl1311 := r.ReadArrayStart() + if yyl1311 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1282, d) + x.codecDecodeSelfFromArray(yyl1311, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15174,12 +15634,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1283Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1283Slc - var yyhl1283 bool = l >= 0 - for yyj1283 := 0; ; yyj1283++ { - if yyhl1283 { - if yyj1283 >= l { + 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 { @@ -15188,10 +15648,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1283Slc = r.DecodeBytes(yys1283Slc, true, true) - yys1283 := string(yys1283Slc) + yys1312Slc = r.DecodeBytes(yys1312Slc, true, true) + yys1312 := string(yys1312Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1283 { + switch yys1312 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -15201,8 +15661,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1285 := z.DecBinary() - _ = yym1285 + yym1314 := z.DecBinary() + _ = yym1314 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -15221,27 +15681,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym1288 := z.DecBinary() - _ = yym1288 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1289 := &x.Template - yyv1289.CodecDecodeSelf(d) + yyv1317 := &x.Template + yyv1317.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1283) - } // end switch yys1283 - } // end for yyj1283 + z.DecStructFieldNotFound(-1, yys1312) + } // end switch yys1312 + } // end for yyj1312 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15249,16 +15703,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1290 int - var yyb1290 bool - var yyhl1290 bool = l >= 0 - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + var yyj1318 int + var yyb1318 bool + var yyhl1318 bool = l >= 0 + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1290 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1290 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15271,20 +15725,20 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1292 := z.DecBinary() - _ = yym1292 + yym1320 := z.DecBinary() + _ = yym1320 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1290 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1290 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15294,13 +15748,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1290 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1290 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15311,23 +15765,17 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(pkg1_unversioned.LabelSelector) - } - yym1295 := z.DecBinary() - _ = yym1295 - if false { - } else if z.HasExtensions() && z.DecExt(x.Selector) { - } else { - z.DecFallback(x.Selector, false) + x.Selector = new(LabelSelector) } + x.Selector.CodecDecodeSelf(d) } - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1290 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1290 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15335,21 +15783,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1296 := &x.Template - yyv1296.CodecDecodeSelf(d) + yyv1323 := &x.Template + yyv1323.CodecDecodeSelf(d) } for { - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1290 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1290 { + if yyb1318 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1290-1, "") + z.DecStructFieldNotFound(yyj1318-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15361,38 +15809,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1297 := z.EncBinary() - _ = yym1297 + yym1324 := z.EncBinary() + _ = yym1324 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1298 := !z.EncBinary() - yy2arr1298 := z.EncBasicHandle().StructToArray - var yyq1298 [6]bool - _, _, _ = yysep1298, yyq1298, yy2arr1298 - const yyr1298 bool = false - yyq1298[1] = x.FullyLabeledReplicas != 0 - yyq1298[2] = x.ReadyReplicas != 0 - yyq1298[3] = x.AvailableReplicas != 0 - yyq1298[4] = x.ObservedGeneration != 0 - yyq1298[5] = len(x.Conditions) != 0 - var yynn1298 int - if yyr1298 || yy2arr1298 { + yysep1325 := !z.EncBinary() + yy2arr1325 := z.EncBasicHandle().StructToArray + var yyq1325 [6]bool + _, _, _ = yysep1325, yyq1325, yy2arr1325 + const yyr1325 bool = false + yyq1325[1] = x.FullyLabeledReplicas != 0 + yyq1325[2] = x.ReadyReplicas != 0 + yyq1325[3] = x.AvailableReplicas != 0 + yyq1325[4] = x.ObservedGeneration != 0 + yyq1325[5] = len(x.Conditions) != 0 + var yynn1325 int + if yyr1325 || yy2arr1325 { r.EncodeArrayStart(6) } else { - yynn1298 = 1 - for _, b := range yyq1298 { + yynn1325 = 1 + for _, b := range yyq1325 { if b { - yynn1298++ + yynn1325++ } } - r.EncodeMapStart(yynn1298) - yynn1298 = 0 + r.EncodeMapStart(yynn1325) + yynn1325 = 0 } - if yyr1298 || yy2arr1298 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1300 := z.EncBinary() - _ = yym1300 + yym1327 := z.EncBinary() + _ = yym1327 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -15401,18 +15849,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1301 := z.EncBinary() - _ = yym1301 + yym1328 := z.EncBinary() + _ = yym1328 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1298 || yy2arr1298 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[1] { - yym1303 := z.EncBinary() - _ = yym1303 + if yyq1325[1] { + yym1330 := z.EncBinary() + _ = yym1330 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -15421,23 +15869,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[1] { + if yyq1325[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1304 := z.EncBinary() - _ = yym1304 + yym1331 := z.EncBinary() + _ = yym1331 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr1298 || yy2arr1298 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[2] { - yym1306 := z.EncBinary() - _ = yym1306 + if yyq1325[2] { + yym1333 := z.EncBinary() + _ = yym1333 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -15446,23 +15894,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[2] { + if yyq1325[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1307 := z.EncBinary() - _ = yym1307 + yym1334 := z.EncBinary() + _ = yym1334 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr1298 || yy2arr1298 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[3] { - yym1309 := z.EncBinary() - _ = yym1309 + if yyq1325[3] { + yym1336 := z.EncBinary() + _ = yym1336 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -15471,23 +15919,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[3] { + if yyq1325[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1310 := z.EncBinary() - _ = yym1310 + yym1337 := z.EncBinary() + _ = yym1337 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr1298 || yy2arr1298 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[4] { - yym1312 := z.EncBinary() - _ = yym1312 + if yyq1325[4] { + yym1339 := z.EncBinary() + _ = yym1339 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -15496,26 +15944,26 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[4] { + if yyq1325[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1313 := z.EncBinary() - _ = yym1313 + yym1340 := z.EncBinary() + _ = yym1340 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1298 || yy2arr1298 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[5] { + if yyq1325[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym1315 := z.EncBinary() - _ = yym1315 + yym1342 := z.EncBinary() + _ = yym1342 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15525,15 +15973,15 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1298[5] { + if yyq1325[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1316 := z.EncBinary() - _ = yym1316 + yym1343 := z.EncBinary() + _ = yym1343 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15541,7 +15989,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1298 || yy2arr1298 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15554,25 +16002,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1317 := z.DecBinary() - _ = yym1317 + yym1344 := z.DecBinary() + _ = yym1344 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1318 := r.ContainerType() - if yyct1318 == codecSelferValueTypeMap1234 { - yyl1318 := r.ReadMapStart() - if yyl1318 == 0 { + yyct1345 := r.ContainerType() + if yyct1345 == codecSelferValueTypeMap1234 { + yyl1345 := r.ReadMapStart() + if yyl1345 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1318, d) + x.codecDecodeSelfFromMap(yyl1345, d) } - } else if yyct1318 == codecSelferValueTypeArray1234 { - yyl1318 := r.ReadArrayStart() - if yyl1318 == 0 { + } else if yyct1345 == codecSelferValueTypeArray1234 { + yyl1345 := r.ReadArrayStart() + if yyl1345 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1318, d) + x.codecDecodeSelfFromArray(yyl1345, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15584,12 +16032,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1319Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1319Slc - var yyhl1319 bool = l >= 0 - for yyj1319 := 0; ; yyj1319++ { - if yyhl1319 { - if yyj1319 >= l { + var yys1346Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1346Slc + var yyhl1346 bool = l >= 0 + for yyj1346 := 0; ; yyj1346++ { + if yyhl1346 { + if yyj1346 >= l { break } } else { @@ -15598,10 +16046,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1319Slc = r.DecodeBytes(yys1319Slc, true, true) - yys1319 := string(yys1319Slc) + yys1346Slc = r.DecodeBytes(yys1346Slc, true, true) + yys1346 := string(yys1346Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1319 { + switch yys1346 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -15636,18 +16084,18 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1325 := &x.Conditions - yym1326 := z.DecBinary() - _ = yym1326 + yyv1352 := &x.Conditions + yym1353 := z.DecBinary() + _ = yym1353 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1325), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1352), d) } } default: - z.DecStructFieldNotFound(-1, yys1319) - } // end switch yys1319 - } // end for yyj1319 + z.DecStructFieldNotFound(-1, yys1346) + } // end switch yys1346 + } // end for yyj1346 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15655,16 +16103,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1327 int - var yyb1327 bool - var yyhl1327 bool = l >= 0 - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + var yyj1354 int + var yyb1354 bool + var yyhl1354 bool = l >= 0 + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1327 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1327 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15674,13 +16122,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1327 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1327 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15690,13 +16138,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1327 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1327 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15706,13 +16154,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1327 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1327 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15722,13 +16170,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1327 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1327 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15738,13 +16186,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1327 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1327 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15752,26 +16200,26 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1333 := &x.Conditions - yym1334 := z.DecBinary() - _ = yym1334 + yyv1360 := &x.Conditions + yym1361 := z.DecBinary() + _ = yym1361 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1333), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1360), d) } } for { - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1327 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1327 { + if yyb1354 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1327-1, "") + z.DecStructFieldNotFound(yyj1354-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15780,8 +16228,8 @@ func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1335 := z.EncBinary() - _ = yym1335 + yym1362 := z.EncBinary() + _ = yym1362 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15793,8 +16241,8 @@ func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1336 := z.DecBinary() - _ = yym1336 + yym1363 := z.DecBinary() + _ = yym1363 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15809,33 +16257,33 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1337 := z.EncBinary() - _ = yym1337 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1338 := !z.EncBinary() - yy2arr1338 := z.EncBasicHandle().StructToArray - var yyq1338 [5]bool - _, _, _ = yysep1338, yyq1338, yy2arr1338 - const yyr1338 bool = false - yyq1338[2] = true - yyq1338[3] = x.Reason != "" - yyq1338[4] = x.Message != "" - var yynn1338 int - if yyr1338 || yy2arr1338 { + yysep1365 := !z.EncBinary() + yy2arr1365 := z.EncBasicHandle().StructToArray + var yyq1365 [5]bool + _, _, _ = yysep1365, yyq1365, yy2arr1365 + const yyr1365 bool = false + yyq1365[2] = true + yyq1365[3] = x.Reason != "" + yyq1365[4] = x.Message != "" + var yynn1365 int + if yyr1365 || yy2arr1365 { r.EncodeArrayStart(5) } else { - yynn1338 = 2 - for _, b := range yyq1338 { + yynn1365 = 2 + for _, b := range yyq1365 { if b { - yynn1338++ + yynn1365++ } } - r.EncodeMapStart(yynn1338) - yynn1338 = 0 + r.EncodeMapStart(yynn1365) + yynn1365 = 0 } - if yyr1338 || yy2arr1338 { + if yyr1365 || yy2arr1365 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -15844,10 +16292,10 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1338 || yy2arr1338 { + if yyr1365 || yy2arr1365 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1341 := z.EncBinary() - _ = yym1341 + yym1368 := z.EncBinary() + _ = yym1368 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -15857,56 +16305,56 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1342 := z.EncBinary() - _ = yym1342 + yym1369 := z.EncBinary() + _ = yym1369 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr1338 || yy2arr1338 { + if yyr1365 || yy2arr1365 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1338[2] { - yy1344 := &x.LastTransitionTime - yym1345 := z.EncBinary() - _ = yym1345 + if yyq1365[2] { + yy1371 := &x.LastTransitionTime + yym1372 := z.EncBinary() + _ = yym1372 if false { - } else if z.HasExtensions() && z.EncExt(yy1344) { - } else if yym1345 { - z.EncBinaryMarshal(yy1344) - } else if !yym1345 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1344) + } else if z.HasExtensions() && z.EncExt(yy1371) { + } else if yym1372 { + z.EncBinaryMarshal(yy1371) + } else if !yym1372 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1371) } else { - z.EncFallback(yy1344) + z.EncFallback(yy1371) } } else { r.EncodeNil() } } else { - if yyq1338[2] { + if yyq1365[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1346 := &x.LastTransitionTime - yym1347 := z.EncBinary() - _ = yym1347 + yy1373 := &x.LastTransitionTime + yym1374 := z.EncBinary() + _ = yym1374 if false { - } else if z.HasExtensions() && z.EncExt(yy1346) { - } else if yym1347 { - z.EncBinaryMarshal(yy1346) - } else if !yym1347 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1346) + } else if z.HasExtensions() && z.EncExt(yy1373) { + } else if yym1374 { + z.EncBinaryMarshal(yy1373) + } else if !yym1374 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1373) } else { - z.EncFallback(yy1346) + z.EncFallback(yy1373) } } } - if yyr1338 || yy2arr1338 { + if yyr1365 || yy2arr1365 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1338[3] { - yym1349 := z.EncBinary() - _ = yym1349 + if yyq1365[3] { + yym1376 := z.EncBinary() + _ = yym1376 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -15915,23 +16363,23 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1338[3] { + if yyq1365[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1350 := z.EncBinary() - _ = yym1350 + yym1377 := z.EncBinary() + _ = yym1377 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1338 || yy2arr1338 { + if yyr1365 || yy2arr1365 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1338[4] { - yym1352 := z.EncBinary() - _ = yym1352 + if yyq1365[4] { + yym1379 := z.EncBinary() + _ = yym1379 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -15940,19 +16388,19 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1338[4] { + if yyq1365[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1353 := z.EncBinary() - _ = yym1353 + yym1380 := z.EncBinary() + _ = yym1380 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1338 || yy2arr1338 { + if yyr1365 || yy2arr1365 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15965,25 +16413,25 @@ func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1354 := z.DecBinary() - _ = yym1354 + yym1381 := z.DecBinary() + _ = yym1381 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1355 := r.ContainerType() - if yyct1355 == codecSelferValueTypeMap1234 { - yyl1355 := r.ReadMapStart() - if yyl1355 == 0 { + yyct1382 := r.ContainerType() + if yyct1382 == codecSelferValueTypeMap1234 { + yyl1382 := r.ReadMapStart() + if yyl1382 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1355, d) + x.codecDecodeSelfFromMap(yyl1382, d) } - } else if yyct1355 == codecSelferValueTypeArray1234 { - yyl1355 := r.ReadArrayStart() - if yyl1355 == 0 { + } else if yyct1382 == codecSelferValueTypeArray1234 { + yyl1382 := r.ReadArrayStart() + if yyl1382 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1355, d) + x.codecDecodeSelfFromArray(yyl1382, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15995,12 +16443,12 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1356Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1356Slc - var yyhl1356 bool = l >= 0 - for yyj1356 := 0; ; yyj1356++ { - if yyhl1356 { - if yyj1356 >= l { + var yys1383Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1383Slc + var yyhl1383 bool = l >= 0 + for yyj1383 := 0; ; yyj1383++ { + if yyhl1383 { + if yyj1383 >= l { break } } else { @@ -16009,10 +16457,10 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1356Slc = r.DecodeBytes(yys1356Slc, true, true) - yys1356 := string(yys1356Slc) + yys1383Slc = r.DecodeBytes(yys1383Slc, true, true) + yys1383 := string(yys1383Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1356 { + switch yys1383 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -16029,17 +16477,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1359 := &x.LastTransitionTime - yym1360 := z.DecBinary() - _ = yym1360 + yyv1386 := &x.LastTransitionTime + yym1387 := z.DecBinary() + _ = yym1387 if false { - } else if z.HasExtensions() && z.DecExt(yyv1359) { - } else if yym1360 { - z.DecBinaryUnmarshal(yyv1359) - } else if !yym1360 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1359) + } else if z.HasExtensions() && z.DecExt(yyv1386) { + } else if yym1387 { + z.DecBinaryUnmarshal(yyv1386) + } else if !yym1387 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1386) } else { - z.DecFallback(yyv1359, false) + z.DecFallback(yyv1386, false) } } case "reason": @@ -16055,9 +16503,9 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1356) - } // end switch yys1356 - } // end for yyj1356 + z.DecStructFieldNotFound(-1, yys1383) + } // end switch yys1383 + } // end for yyj1383 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16065,16 +16513,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1363 int - var yyb1363 bool - var yyhl1363 bool = l >= 0 - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + var yyj1390 int + var yyb1390 bool + var yyhl1390 bool = l >= 0 + yyj1390++ + if yyhl1390 { + yyb1390 = yyj1390 > l } else { - yyb1363 = r.CheckBreak() + yyb1390 = r.CheckBreak() } - if yyb1363 { + if yyb1390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16084,13 +16532,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Type = ReplicaSetConditionType(r.DecodeString()) } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1390++ + if yyhl1390 { + yyb1390 = yyj1390 > l } else { - yyb1363 = r.CheckBreak() + yyb1390 = r.CheckBreak() } - if yyb1363 { + if yyb1390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16100,13 +16548,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1390++ + if yyhl1390 { + yyb1390 = yyj1390 > l } else { - yyb1363 = r.CheckBreak() + yyb1390 = r.CheckBreak() } - if yyb1363 { + if yyb1390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16114,26 +16562,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1366 := &x.LastTransitionTime - yym1367 := z.DecBinary() - _ = yym1367 + yyv1393 := &x.LastTransitionTime + yym1394 := z.DecBinary() + _ = yym1394 if false { - } else if z.HasExtensions() && z.DecExt(yyv1366) { - } else if yym1367 { - z.DecBinaryUnmarshal(yyv1366) - } else if !yym1367 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1366) + } else if z.HasExtensions() && z.DecExt(yyv1393) { + } else if yym1394 { + z.DecBinaryUnmarshal(yyv1393) + } else if !yym1394 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1393) } else { - z.DecFallback(yyv1366, false) + z.DecFallback(yyv1393, false) } } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1390++ + if yyhl1390 { + yyb1390 = yyj1390 > l } else { - yyb1363 = r.CheckBreak() + yyb1390 = r.CheckBreak() } - if yyb1363 { + if yyb1390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16143,13 +16591,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Reason = string(r.DecodeString()) } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1390++ + if yyhl1390 { + yyb1390 = yyj1390 > l } else { - yyb1363 = r.CheckBreak() + yyb1390 = r.CheckBreak() } - if yyb1363 { + if yyb1390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16160,17 +16608,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } for { - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1390++ + if yyhl1390 { + yyb1390 = yyj1390 > l } else { - yyb1363 = r.CheckBreak() + yyb1390 = r.CheckBreak() } - if yyb1363 { + if yyb1390 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1363-1, "") + z.DecStructFieldNotFound(yyj1390-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16182,38 +16630,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1370 := z.EncBinary() - _ = yym1370 + yym1397 := z.EncBinary() + _ = yym1397 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1371 := !z.EncBinary() - yy2arr1371 := z.EncBasicHandle().StructToArray - var yyq1371 [4]bool - _, _, _ = yysep1371, yyq1371, yy2arr1371 - const yyr1371 bool = false - yyq1371[0] = x.Kind != "" - yyq1371[1] = x.APIVersion != "" - yyq1371[2] = true - yyq1371[3] = true - var yynn1371 int - if yyr1371 || yy2arr1371 { + yysep1398 := !z.EncBinary() + yy2arr1398 := z.EncBasicHandle().StructToArray + var yyq1398 [4]bool + _, _, _ = yysep1398, yyq1398, yy2arr1398 + const yyr1398 bool = false + yyq1398[0] = x.Kind != "" + yyq1398[1] = x.APIVersion != "" + yyq1398[2] = true + yyq1398[3] = true + var yynn1398 int + if yyr1398 || yy2arr1398 { r.EncodeArrayStart(4) } else { - yynn1371 = 0 - for _, b := range yyq1371 { + yynn1398 = 0 + for _, b := range yyq1398 { if b { - yynn1371++ + yynn1398++ } } - r.EncodeMapStart(yynn1371) - yynn1371 = 0 + r.EncodeMapStart(yynn1398) + yynn1398 = 0 } - if yyr1371 || yy2arr1371 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[0] { - yym1373 := z.EncBinary() - _ = yym1373 + if yyq1398[0] { + yym1400 := z.EncBinary() + _ = yym1400 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16222,23 +16670,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1371[0] { + if yyq1398[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1374 := z.EncBinary() - _ = yym1374 + yym1401 := z.EncBinary() + _ = yym1401 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1371 || yy2arr1371 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[1] { - yym1376 := z.EncBinary() - _ = yym1376 + if yyq1398[1] { + yym1403 := z.EncBinary() + _ = yym1403 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16247,53 +16695,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1371[1] { + if yyq1398[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1377 := z.EncBinary() - _ = yym1377 + yym1404 := z.EncBinary() + _ = yym1404 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1371 || yy2arr1371 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[2] { - yy1379 := &x.ObjectMeta - yy1379.CodecEncodeSelf(e) + if yyq1398[2] { + yy1406 := &x.ObjectMeta + yy1406.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1371[2] { + if yyq1398[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1380 := &x.ObjectMeta - yy1380.CodecEncodeSelf(e) + yy1407 := &x.ObjectMeta + yy1407.CodecEncodeSelf(e) } } - if yyr1371 || yy2arr1371 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[3] { - yy1382 := &x.Spec - yy1382.CodecEncodeSelf(e) + if yyq1398[3] { + yy1409 := &x.Spec + yy1409.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1371[3] { + if yyq1398[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1383 := &x.Spec - yy1383.CodecEncodeSelf(e) + yy1410 := &x.Spec + yy1410.CodecEncodeSelf(e) } } - if yyr1371 || yy2arr1371 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16306,25 +16754,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1384 := z.DecBinary() - _ = yym1384 + yym1411 := z.DecBinary() + _ = yym1411 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1385 := r.ContainerType() - if yyct1385 == codecSelferValueTypeMap1234 { - yyl1385 := r.ReadMapStart() - if yyl1385 == 0 { + yyct1412 := r.ContainerType() + if yyct1412 == codecSelferValueTypeMap1234 { + yyl1412 := r.ReadMapStart() + if yyl1412 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1385, d) + x.codecDecodeSelfFromMap(yyl1412, d) } - } else if yyct1385 == codecSelferValueTypeArray1234 { - yyl1385 := r.ReadArrayStart() - if yyl1385 == 0 { + } else if yyct1412 == codecSelferValueTypeArray1234 { + yyl1412 := r.ReadArrayStart() + if yyl1412 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1385, d) + x.codecDecodeSelfFromArray(yyl1412, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16336,12 +16784,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1386Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1386Slc - var yyhl1386 bool = l >= 0 - for yyj1386 := 0; ; yyj1386++ { - if yyhl1386 { - if yyj1386 >= l { + var yys1413Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1413Slc + var yyhl1413 bool = l >= 0 + for yyj1413 := 0; ; yyj1413++ { + if yyhl1413 { + if yyj1413 >= l { break } } else { @@ -16350,10 +16798,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1386Slc = r.DecodeBytes(yys1386Slc, true, true) - yys1386 := string(yys1386Slc) + yys1413Slc = r.DecodeBytes(yys1413Slc, true, true) + yys1413 := string(yys1413Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1386 { + switch yys1413 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16370,20 +16818,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1389 := &x.ObjectMeta - yyv1389.CodecDecodeSelf(d) + yyv1416 := &x.ObjectMeta + yyv1416.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1390 := &x.Spec - yyv1390.CodecDecodeSelf(d) + yyv1417 := &x.Spec + yyv1417.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1386) - } // end switch yys1386 - } // end for yyj1386 + z.DecStructFieldNotFound(-1, yys1413) + } // end switch yys1413 + } // end for yyj1413 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16391,16 +16839,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1391 int - var yyb1391 bool - var yyhl1391 bool = l >= 0 - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + var yyj1418 int + var yyb1418 bool + var yyhl1418 bool = l >= 0 + yyj1418++ + if yyhl1418 { + yyb1418 = yyj1418 > l } else { - yyb1391 = r.CheckBreak() + yyb1418 = r.CheckBreak() } - if yyb1391 { + if yyb1418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16410,13 +16858,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1418++ + if yyhl1418 { + yyb1418 = yyj1418 > l } else { - yyb1391 = r.CheckBreak() + yyb1418 = r.CheckBreak() } - if yyb1391 { + if yyb1418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16426,13 +16874,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1418++ + if yyhl1418 { + yyb1418 = yyj1418 > l } else { - yyb1391 = r.CheckBreak() + yyb1418 = r.CheckBreak() } - if yyb1391 { + if yyb1418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16440,16 +16888,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1394 := &x.ObjectMeta - yyv1394.CodecDecodeSelf(d) + yyv1421 := &x.ObjectMeta + yyv1421.CodecDecodeSelf(d) } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1418++ + if yyhl1418 { + yyb1418 = yyj1418 > l } else { - yyb1391 = r.CheckBreak() + yyb1418 = r.CheckBreak() } - if yyb1391 { + if yyb1418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16457,21 +16905,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1395 := &x.Spec - yyv1395.CodecDecodeSelf(d) + yyv1422 := &x.Spec + yyv1422.CodecDecodeSelf(d) } for { - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1418++ + if yyhl1418 { + yyb1418 = yyj1418 > l } else { - yyb1391 = r.CheckBreak() + yyb1418 = r.CheckBreak() } - if yyb1391 { + if yyb1418 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1391-1, "") + z.DecStructFieldNotFound(yyj1418-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16483,44 +16931,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1396 := z.EncBinary() - _ = yym1396 + yym1423 := z.EncBinary() + _ = yym1423 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1397 := !z.EncBinary() - yy2arr1397 := z.EncBasicHandle().StructToArray - var yyq1397 [14]bool - _, _, _ = yysep1397, yyq1397, yy2arr1397 - const yyr1397 bool = false - yyq1397[0] = x.Privileged != false - yyq1397[1] = len(x.DefaultAddCapabilities) != 0 - yyq1397[2] = len(x.RequiredDropCapabilities) != 0 - yyq1397[3] = len(x.AllowedCapabilities) != 0 - yyq1397[4] = len(x.Volumes) != 0 - yyq1397[5] = x.HostNetwork != false - yyq1397[6] = len(x.HostPorts) != 0 - yyq1397[7] = x.HostPID != false - yyq1397[8] = x.HostIPC != false - yyq1397[13] = x.ReadOnlyRootFilesystem != false - var yynn1397 int - if yyr1397 || yy2arr1397 { + yysep1424 := !z.EncBinary() + yy2arr1424 := z.EncBasicHandle().StructToArray + var yyq1424 [14]bool + _, _, _ = yysep1424, yyq1424, yy2arr1424 + const yyr1424 bool = false + yyq1424[0] = x.Privileged != false + yyq1424[1] = len(x.DefaultAddCapabilities) != 0 + yyq1424[2] = len(x.RequiredDropCapabilities) != 0 + yyq1424[3] = len(x.AllowedCapabilities) != 0 + yyq1424[4] = len(x.Volumes) != 0 + yyq1424[5] = x.HostNetwork != false + yyq1424[6] = len(x.HostPorts) != 0 + yyq1424[7] = x.HostPID != false + yyq1424[8] = x.HostIPC != false + yyq1424[13] = x.ReadOnlyRootFilesystem != false + var yynn1424 int + if yyr1424 || yy2arr1424 { r.EncodeArrayStart(14) } else { - yynn1397 = 4 - for _, b := range yyq1397 { + yynn1424 = 4 + for _, b := range yyq1424 { if b { - yynn1397++ + yynn1424++ } } - r.EncodeMapStart(yynn1397) - yynn1397 = 0 + r.EncodeMapStart(yynn1424) + yynn1424 = 0 } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[0] { - yym1399 := z.EncBinary() - _ = yym1399 + if yyq1424[0] { + yym1426 := z.EncBinary() + _ = yym1426 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -16529,26 +16977,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[0] { + if yyq1424[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1400 := z.EncBinary() - _ = yym1400 + yym1427 := z.EncBinary() + _ = yym1427 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[1] { + if yyq1424[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1402 := z.EncBinary() - _ = yym1402 + yym1429 := z.EncBinary() + _ = yym1429 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16558,15 +17006,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[1] { + if yyq1424[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1403 := z.EncBinary() - _ = yym1403 + yym1430 := z.EncBinary() + _ = yym1430 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16574,14 +17022,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[2] { + if yyq1424[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1405 := z.EncBinary() - _ = yym1405 + yym1432 := z.EncBinary() + _ = yym1432 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16591,15 +17039,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[2] { + if yyq1424[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1406 := z.EncBinary() - _ = yym1406 + yym1433 := z.EncBinary() + _ = yym1433 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16607,14 +17055,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[3] { + if yyq1424[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1408 := z.EncBinary() - _ = yym1408 + yym1435 := z.EncBinary() + _ = yym1435 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16624,15 +17072,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[3] { + if yyq1424[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1409 := z.EncBinary() - _ = yym1409 + yym1436 := z.EncBinary() + _ = yym1436 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16640,14 +17088,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[4] { + if yyq1424[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1411 := z.EncBinary() - _ = yym1411 + yym1438 := z.EncBinary() + _ = yym1438 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -16657,15 +17105,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[4] { + if yyq1424[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1412 := z.EncBinary() - _ = yym1412 + yym1439 := z.EncBinary() + _ = yym1439 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -16673,11 +17121,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[5] { - yym1414 := z.EncBinary() - _ = yym1414 + if yyq1424[5] { + yym1441 := z.EncBinary() + _ = yym1441 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -16686,26 +17134,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[5] { + if yyq1424[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1415 := z.EncBinary() - _ = yym1415 + yym1442 := z.EncBinary() + _ = yym1442 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[6] { + if yyq1424[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1417 := z.EncBinary() - _ = yym1417 + yym1444 := z.EncBinary() + _ = yym1444 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -16715,15 +17163,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[6] { + if yyq1424[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1418 := z.EncBinary() - _ = yym1418 + yym1445 := z.EncBinary() + _ = yym1445 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -16731,11 +17179,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[7] { - yym1420 := z.EncBinary() - _ = yym1420 + if yyq1424[7] { + yym1447 := z.EncBinary() + _ = yym1447 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -16744,23 +17192,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[7] { + if yyq1424[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1421 := z.EncBinary() - _ = yym1421 + yym1448 := z.EncBinary() + _ = yym1448 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[8] { - yym1423 := z.EncBinary() - _ = yym1423 + if yyq1424[8] { + yym1450 := z.EncBinary() + _ = yym1450 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -16769,67 +17217,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[8] { + if yyq1424[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1424 := z.EncBinary() - _ = yym1424 + yym1451 := z.EncBinary() + _ = yym1451 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1426 := &x.SELinux - yy1426.CodecEncodeSelf(e) + yy1453 := &x.SELinux + yy1453.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1427 := &x.SELinux - yy1427.CodecEncodeSelf(e) + yy1454 := &x.SELinux + yy1454.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1429 := &x.RunAsUser - yy1429.CodecEncodeSelf(e) + yy1456 := &x.RunAsUser + yy1456.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1430 := &x.RunAsUser - yy1430.CodecEncodeSelf(e) + yy1457 := &x.RunAsUser + yy1457.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1432 := &x.SupplementalGroups - yy1432.CodecEncodeSelf(e) + yy1459 := &x.SupplementalGroups + yy1459.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1433 := &x.SupplementalGroups - yy1433.CodecEncodeSelf(e) + yy1460 := &x.SupplementalGroups + yy1460.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1435 := &x.FSGroup - yy1435.CodecEncodeSelf(e) + yy1462 := &x.FSGroup + yy1462.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1436 := &x.FSGroup - yy1436.CodecEncodeSelf(e) + yy1463 := &x.FSGroup + yy1463.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[13] { - yym1438 := z.EncBinary() - _ = yym1438 + if yyq1424[13] { + yym1465 := z.EncBinary() + _ = yym1465 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -16838,19 +17286,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[13] { + if yyq1424[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1439 := z.EncBinary() - _ = yym1439 + yym1466 := z.EncBinary() + _ = yym1466 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr1397 || yy2arr1397 { + if yyr1424 || yy2arr1424 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16863,25 +17311,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1440 := z.DecBinary() - _ = yym1440 + yym1467 := z.DecBinary() + _ = yym1467 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1441 := r.ContainerType() - if yyct1441 == codecSelferValueTypeMap1234 { - yyl1441 := r.ReadMapStart() - if yyl1441 == 0 { + yyct1468 := r.ContainerType() + if yyct1468 == codecSelferValueTypeMap1234 { + yyl1468 := r.ReadMapStart() + if yyl1468 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1441, d) + x.codecDecodeSelfFromMap(yyl1468, d) } - } else if yyct1441 == codecSelferValueTypeArray1234 { - yyl1441 := r.ReadArrayStart() - if yyl1441 == 0 { + } else if yyct1468 == codecSelferValueTypeArray1234 { + yyl1468 := r.ReadArrayStart() + if yyl1468 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1441, d) + x.codecDecodeSelfFromArray(yyl1468, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16893,12 +17341,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1442Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1442Slc - var yyhl1442 bool = l >= 0 - for yyj1442 := 0; ; yyj1442++ { - if yyhl1442 { - if yyj1442 >= l { + var yys1469Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1469Slc + var yyhl1469 bool = l >= 0 + for yyj1469 := 0; ; yyj1469++ { + if yyhl1469 { + if yyj1469 >= l { break } } else { @@ -16907,10 +17355,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1442Slc = r.DecodeBytes(yys1442Slc, true, true) - yys1442 := string(yys1442Slc) + yys1469Slc = r.DecodeBytes(yys1469Slc, true, true) + yys1469 := string(yys1469Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1442 { + switch yys1469 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -16921,48 +17369,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1444 := &x.DefaultAddCapabilities - yym1445 := z.DecBinary() - _ = yym1445 + yyv1471 := &x.DefaultAddCapabilities + yym1472 := z.DecBinary() + _ = yym1472 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1444), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1471), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1446 := &x.RequiredDropCapabilities - yym1447 := z.DecBinary() - _ = yym1447 + yyv1473 := &x.RequiredDropCapabilities + yym1474 := z.DecBinary() + _ = yym1474 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1446), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1473), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1448 := &x.AllowedCapabilities - yym1449 := z.DecBinary() - _ = yym1449 + yyv1475 := &x.AllowedCapabilities + yym1476 := z.DecBinary() + _ = yym1476 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1448), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1475), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1450 := &x.Volumes - yym1451 := z.DecBinary() - _ = yym1451 + yyv1477 := &x.Volumes + yym1478 := z.DecBinary() + _ = yym1478 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1450), d) + h.decSliceFSType((*[]FSType)(yyv1477), d) } } case "hostNetwork": @@ -16975,12 +17423,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1453 := &x.HostPorts - yym1454 := z.DecBinary() - _ = yym1454 + yyv1480 := &x.HostPorts + yym1481 := z.DecBinary() + _ = yym1481 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1453), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1480), d) } } case "hostPID": @@ -16999,29 +17447,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1457 := &x.SELinux - yyv1457.CodecDecodeSelf(d) + yyv1484 := &x.SELinux + yyv1484.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1458 := &x.RunAsUser - yyv1458.CodecDecodeSelf(d) + yyv1485 := &x.RunAsUser + yyv1485.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1459 := &x.SupplementalGroups - yyv1459.CodecDecodeSelf(d) + yyv1486 := &x.SupplementalGroups + yyv1486.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1460 := &x.FSGroup - yyv1460.CodecDecodeSelf(d) + yyv1487 := &x.FSGroup + yyv1487.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -17030,9 +17478,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1442) - } // end switch yys1442 - } // end for yyj1442 + z.DecStructFieldNotFound(-1, yys1469) + } // end switch yys1469 + } // end for yyj1469 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17040,16 +17488,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1462 int - var yyb1462 bool - var yyhl1462 bool = l >= 0 - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + var yyj1489 int + var yyb1489 bool + var yyhl1489 bool = l >= 0 + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17059,13 +17507,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17073,21 +17521,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1464 := &x.DefaultAddCapabilities - yym1465 := z.DecBinary() - _ = yym1465 + yyv1491 := &x.DefaultAddCapabilities + yym1492 := z.DecBinary() + _ = yym1492 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1464), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1491), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17095,21 +17543,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1466 := &x.RequiredDropCapabilities - yym1467 := z.DecBinary() - _ = yym1467 + yyv1493 := &x.RequiredDropCapabilities + yym1494 := z.DecBinary() + _ = yym1494 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1466), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1493), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17117,21 +17565,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1468 := &x.AllowedCapabilities - yym1469 := z.DecBinary() - _ = yym1469 + yyv1495 := &x.AllowedCapabilities + yym1496 := z.DecBinary() + _ = yym1496 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1468), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1495), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17139,21 +17587,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1470 := &x.Volumes - yym1471 := z.DecBinary() - _ = yym1471 + yyv1497 := &x.Volumes + yym1498 := z.DecBinary() + _ = yym1498 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1470), d) + h.decSliceFSType((*[]FSType)(yyv1497), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17163,13 +17611,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17177,21 +17625,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1473 := &x.HostPorts - yym1474 := z.DecBinary() - _ = yym1474 + yyv1500 := &x.HostPorts + yym1501 := z.DecBinary() + _ = yym1501 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1473), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1500), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17201,13 +17649,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17217,13 +17665,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17231,16 +17679,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1477 := &x.SELinux - yyv1477.CodecDecodeSelf(d) + yyv1504 := &x.SELinux + yyv1504.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17248,16 +17696,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1478 := &x.RunAsUser - yyv1478.CodecDecodeSelf(d) + yyv1505 := &x.RunAsUser + yyv1505.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17265,16 +17713,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1479 := &x.SupplementalGroups - yyv1479.CodecDecodeSelf(d) + yyv1506 := &x.SupplementalGroups + yyv1506.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17282,16 +17730,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1480 := &x.FSGroup - yyv1480.CodecDecodeSelf(d) + yyv1507 := &x.FSGroup + yyv1507.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17302,17 +17750,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1462 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1462 { + if yyb1489 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1462-1, "") + z.DecStructFieldNotFound(yyj1489-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17321,8 +17769,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1482 := z.EncBinary() - _ = yym1482 + yym1509 := z.EncBinary() + _ = yym1509 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17334,8 +17782,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1483 := z.DecBinary() - _ = yym1483 + yym1510 := z.DecBinary() + _ = yym1510 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17350,33 +17798,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1484 := z.EncBinary() - _ = yym1484 + yym1511 := z.EncBinary() + _ = yym1511 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1485 := !z.EncBinary() - yy2arr1485 := z.EncBasicHandle().StructToArray - var yyq1485 [2]bool - _, _, _ = yysep1485, yyq1485, yy2arr1485 - const yyr1485 bool = false - var yynn1485 int - if yyr1485 || yy2arr1485 { + yysep1512 := !z.EncBinary() + yy2arr1512 := z.EncBasicHandle().StructToArray + var yyq1512 [2]bool + _, _, _ = yysep1512, yyq1512, yy2arr1512 + const yyr1512 bool = false + var yynn1512 int + if yyr1512 || yy2arr1512 { r.EncodeArrayStart(2) } else { - yynn1485 = 2 - for _, b := range yyq1485 { + yynn1512 = 2 + for _, b := range yyq1512 { if b { - yynn1485++ + yynn1512++ } } - r.EncodeMapStart(yynn1485) - yynn1485 = 0 + r.EncodeMapStart(yynn1512) + yynn1512 = 0 } - if yyr1485 || yy2arr1485 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1487 := z.EncBinary() - _ = yym1487 + yym1514 := z.EncBinary() + _ = yym1514 if false { } else { r.EncodeInt(int64(x.Min)) @@ -17385,17 +17833,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1488 := z.EncBinary() - _ = yym1488 + yym1515 := z.EncBinary() + _ = yym1515 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1485 || yy2arr1485 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1490 := z.EncBinary() - _ = yym1490 + yym1517 := z.EncBinary() + _ = yym1517 if false { } else { r.EncodeInt(int64(x.Max)) @@ -17404,14 +17852,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1491 := z.EncBinary() - _ = yym1491 + yym1518 := z.EncBinary() + _ = yym1518 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1485 || yy2arr1485 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17424,25 +17872,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1492 := z.DecBinary() - _ = yym1492 + yym1519 := z.DecBinary() + _ = yym1519 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1493 := r.ContainerType() - if yyct1493 == codecSelferValueTypeMap1234 { - yyl1493 := r.ReadMapStart() - if yyl1493 == 0 { + yyct1520 := r.ContainerType() + if yyct1520 == codecSelferValueTypeMap1234 { + yyl1520 := r.ReadMapStart() + if yyl1520 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1493, d) + x.codecDecodeSelfFromMap(yyl1520, d) } - } else if yyct1493 == codecSelferValueTypeArray1234 { - yyl1493 := r.ReadArrayStart() - if yyl1493 == 0 { + } else if yyct1520 == codecSelferValueTypeArray1234 { + yyl1520 := r.ReadArrayStart() + if yyl1520 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1493, d) + x.codecDecodeSelfFromArray(yyl1520, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17454,12 +17902,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1494Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1494Slc - var yyhl1494 bool = l >= 0 - for yyj1494 := 0; ; yyj1494++ { - if yyhl1494 { - if yyj1494 >= l { + var yys1521Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1521Slc + var yyhl1521 bool = l >= 0 + for yyj1521 := 0; ; yyj1521++ { + if yyhl1521 { + if yyj1521 >= l { break } } else { @@ -17468,10 +17916,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1494Slc = r.DecodeBytes(yys1494Slc, true, true) - yys1494 := string(yys1494Slc) + yys1521Slc = r.DecodeBytes(yys1521Slc, true, true) + yys1521 := string(yys1521Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1494 { + switch yys1521 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -17485,9 +17933,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1494) - } // end switch yys1494 - } // end for yyj1494 + z.DecStructFieldNotFound(-1, yys1521) + } // end switch yys1521 + } // end for yyj1521 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17495,16 +17943,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1497 int - var yyb1497 bool - var yyhl1497 bool = l >= 0 - yyj1497++ - if yyhl1497 { - yyb1497 = yyj1497 > l + var yyj1524 int + var yyb1524 bool + var yyhl1524 bool = l >= 0 + yyj1524++ + if yyhl1524 { + yyb1524 = yyj1524 > l } else { - yyb1497 = r.CheckBreak() + yyb1524 = r.CheckBreak() } - if yyb1497 { + if yyb1524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17514,13 +17962,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int32(r.DecodeInt(32)) } - yyj1497++ - if yyhl1497 { - yyb1497 = yyj1497 > l + yyj1524++ + if yyhl1524 { + yyb1524 = yyj1524 > l } else { - yyb1497 = r.CheckBreak() + yyb1524 = r.CheckBreak() } - if yyb1497 { + if yyb1524 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17531,17 +17979,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } for { - yyj1497++ - if yyhl1497 { - yyb1497 = yyj1497 > l + yyj1524++ + if yyhl1524 { + yyb1524 = yyj1524 > l } else { - yyb1497 = r.CheckBreak() + yyb1524 = r.CheckBreak() } - if yyb1497 { + if yyb1524 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1497-1, "") + z.DecStructFieldNotFound(yyj1524-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17553,31 +18001,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1500 := z.EncBinary() - _ = yym1500 + yym1527 := z.EncBinary() + _ = yym1527 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1501 := !z.EncBinary() - yy2arr1501 := z.EncBasicHandle().StructToArray - var yyq1501 [2]bool - _, _, _ = yysep1501, yyq1501, yy2arr1501 - const yyr1501 bool = false - yyq1501[1] = x.SELinuxOptions != nil - var yynn1501 int - if yyr1501 || yy2arr1501 { + yysep1528 := !z.EncBinary() + yy2arr1528 := z.EncBasicHandle().StructToArray + var yyq1528 [2]bool + _, _, _ = yysep1528, yyq1528, yy2arr1528 + const yyr1528 bool = false + yyq1528[1] = x.SELinuxOptions != nil + var yynn1528 int + if yyr1528 || yy2arr1528 { r.EncodeArrayStart(2) } else { - yynn1501 = 1 - for _, b := range yyq1501 { + yynn1528 = 1 + for _, b := range yyq1528 { if b { - yynn1501++ + yynn1528++ } } - r.EncodeMapStart(yynn1501) - yynn1501 = 0 + r.EncodeMapStart(yynn1528) + yynn1528 = 0 } - if yyr1501 || yy2arr1501 { + if yyr1528 || yy2arr1528 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -17586,9 +18034,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1501 || yy2arr1501 { + if yyr1528 || yy2arr1528 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[1] { + if yyq1528[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -17598,7 +18046,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1501[1] { + if yyq1528[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17609,7 +18057,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1501 || yy2arr1501 { + if yyr1528 || yy2arr1528 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17622,25 +18070,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1504 := z.DecBinary() - _ = yym1504 + yym1531 := z.DecBinary() + _ = yym1531 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1505 := r.ContainerType() - if yyct1505 == codecSelferValueTypeMap1234 { - yyl1505 := r.ReadMapStart() - if yyl1505 == 0 { + yyct1532 := r.ContainerType() + if yyct1532 == codecSelferValueTypeMap1234 { + yyl1532 := r.ReadMapStart() + if yyl1532 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1505, d) + x.codecDecodeSelfFromMap(yyl1532, d) } - } else if yyct1505 == codecSelferValueTypeArray1234 { - yyl1505 := r.ReadArrayStart() - if yyl1505 == 0 { + } else if yyct1532 == codecSelferValueTypeArray1234 { + yyl1532 := r.ReadArrayStart() + if yyl1532 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1505, d) + x.codecDecodeSelfFromArray(yyl1532, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17652,12 +18100,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1506Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1506Slc - var yyhl1506 bool = l >= 0 - for yyj1506 := 0; ; yyj1506++ { - if yyhl1506 { - if yyj1506 >= l { + var yys1533Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1533Slc + var yyhl1533 bool = l >= 0 + for yyj1533 := 0; ; yyj1533++ { + if yyhl1533 { + if yyj1533 >= l { break } } else { @@ -17666,10 +18114,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1506Slc = r.DecodeBytes(yys1506Slc, true, true) - yys1506 := string(yys1506Slc) + yys1533Slc = r.DecodeBytes(yys1533Slc, true, true) + yys1533 := string(yys1533Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1506 { + switch yys1533 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -17688,9 +18136,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1506) - } // end switch yys1506 - } // end for yyj1506 + z.DecStructFieldNotFound(-1, yys1533) + } // end switch yys1533 + } // end for yyj1533 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17698,16 +18146,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1509 int - var yyb1509 bool - var yyhl1509 bool = l >= 0 - yyj1509++ - if yyhl1509 { - yyb1509 = yyj1509 > l + var yyj1536 int + var yyb1536 bool + var yyhl1536 bool = l >= 0 + yyj1536++ + if yyhl1536 { + yyb1536 = yyj1536 > l } else { - yyb1509 = r.CheckBreak() + yyb1536 = r.CheckBreak() } - if yyb1509 { + if yyb1536 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17717,13 +18165,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj1509++ - if yyhl1509 { - yyb1509 = yyj1509 > l + yyj1536++ + if yyhl1536 { + yyb1536 = yyj1536 > l } else { - yyb1509 = r.CheckBreak() + yyb1536 = r.CheckBreak() } - if yyb1509 { + if yyb1536 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17739,17 +18187,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1509++ - if yyhl1509 { - yyb1509 = yyj1509 > l + yyj1536++ + if yyhl1536 { + yyb1536 = yyj1536 > l } else { - yyb1509 = r.CheckBreak() + yyb1536 = r.CheckBreak() } - if yyb1509 { + if yyb1536 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1509-1, "") + z.DecStructFieldNotFound(yyj1536-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17758,8 +18206,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1512 := z.EncBinary() - _ = yym1512 + yym1539 := z.EncBinary() + _ = yym1539 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17771,8 +18219,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1513 := z.DecBinary() - _ = yym1513 + yym1540 := z.DecBinary() + _ = yym1540 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17787,31 +18235,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1514 := z.EncBinary() - _ = yym1514 + yym1541 := z.EncBinary() + _ = yym1541 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1515 := !z.EncBinary() - yy2arr1515 := z.EncBasicHandle().StructToArray - var yyq1515 [2]bool - _, _, _ = yysep1515, yyq1515, yy2arr1515 - const yyr1515 bool = false - yyq1515[1] = len(x.Ranges) != 0 - var yynn1515 int - if yyr1515 || yy2arr1515 { + yysep1542 := !z.EncBinary() + yy2arr1542 := z.EncBasicHandle().StructToArray + var yyq1542 [2]bool + _, _, _ = yysep1542, yyq1542, yy2arr1542 + const yyr1542 bool = false + yyq1542[1] = len(x.Ranges) != 0 + var yynn1542 int + if yyr1542 || yy2arr1542 { r.EncodeArrayStart(2) } else { - yynn1515 = 1 - for _, b := range yyq1515 { + yynn1542 = 1 + for _, b := range yyq1542 { if b { - yynn1515++ + yynn1542++ } } - r.EncodeMapStart(yynn1515) - yynn1515 = 0 + r.EncodeMapStart(yynn1542) + yynn1542 = 0 } - if yyr1515 || yy2arr1515 { + if yyr1542 || yy2arr1542 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -17820,14 +18268,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1515 || yy2arr1515 { + if yyr1542 || yy2arr1542 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1515[1] { + if yyq1542[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1518 := z.EncBinary() - _ = yym1518 + yym1545 := z.EncBinary() + _ = yym1545 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -17837,15 +18285,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1515[1] { + if yyq1542[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1519 := z.EncBinary() - _ = yym1519 + yym1546 := z.EncBinary() + _ = yym1546 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -17853,7 +18301,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1515 || yy2arr1515 { + if yyr1542 || yy2arr1542 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17866,25 +18314,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1520 := z.DecBinary() - _ = yym1520 + yym1547 := z.DecBinary() + _ = yym1547 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1521 := r.ContainerType() - if yyct1521 == codecSelferValueTypeMap1234 { - yyl1521 := r.ReadMapStart() - if yyl1521 == 0 { + yyct1548 := r.ContainerType() + if yyct1548 == codecSelferValueTypeMap1234 { + yyl1548 := r.ReadMapStart() + if yyl1548 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1521, d) + x.codecDecodeSelfFromMap(yyl1548, d) } - } else if yyct1521 == codecSelferValueTypeArray1234 { - yyl1521 := r.ReadArrayStart() - if yyl1521 == 0 { + } else if yyct1548 == codecSelferValueTypeArray1234 { + yyl1548 := r.ReadArrayStart() + if yyl1548 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1521, d) + x.codecDecodeSelfFromArray(yyl1548, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17896,12 +18344,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1522Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1522Slc - var yyhl1522 bool = l >= 0 - for yyj1522 := 0; ; yyj1522++ { - if yyhl1522 { - if yyj1522 >= l { + var yys1549Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1549Slc + var yyhl1549 bool = l >= 0 + for yyj1549 := 0; ; yyj1549++ { + if yyhl1549 { + if yyj1549 >= l { break } } else { @@ -17910,10 +18358,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1522Slc = r.DecodeBytes(yys1522Slc, true, true) - yys1522 := string(yys1522Slc) + yys1549Slc = r.DecodeBytes(yys1549Slc, true, true) + yys1549 := string(yys1549Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1522 { + switch yys1549 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -17924,18 +18372,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1524 := &x.Ranges - yym1525 := z.DecBinary() - _ = yym1525 + yyv1551 := &x.Ranges + yym1552 := z.DecBinary() + _ = yym1552 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1524), d) + h.decSliceIDRange((*[]IDRange)(yyv1551), d) } } default: - z.DecStructFieldNotFound(-1, yys1522) - } // end switch yys1522 - } // end for yyj1522 + z.DecStructFieldNotFound(-1, yys1549) + } // end switch yys1549 + } // end for yyj1549 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17943,16 +18391,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1526 int - var yyb1526 bool - var yyhl1526 bool = l >= 0 - yyj1526++ - if yyhl1526 { - yyb1526 = yyj1526 > l + var yyj1553 int + var yyb1553 bool + var yyhl1553 bool = l >= 0 + yyj1553++ + if yyhl1553 { + yyb1553 = yyj1553 > l } else { - yyb1526 = r.CheckBreak() + yyb1553 = r.CheckBreak() } - if yyb1526 { + if yyb1553 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17962,13 +18410,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj1526++ - if yyhl1526 { - yyb1526 = yyj1526 > l + yyj1553++ + if yyhl1553 { + yyb1553 = yyj1553 > l } else { - yyb1526 = r.CheckBreak() + yyb1553 = r.CheckBreak() } - if yyb1526 { + if yyb1553 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17976,26 +18424,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1528 := &x.Ranges - yym1529 := z.DecBinary() - _ = yym1529 + yyv1555 := &x.Ranges + yym1556 := z.DecBinary() + _ = yym1556 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1528), d) + h.decSliceIDRange((*[]IDRange)(yyv1555), d) } } for { - yyj1526++ - if yyhl1526 { - yyb1526 = yyj1526 > l + yyj1553++ + if yyhl1553 { + yyb1553 = yyj1553 > l } else { - yyb1526 = r.CheckBreak() + yyb1553 = r.CheckBreak() } - if yyb1526 { + if yyb1553 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1526-1, "") + z.DecStructFieldNotFound(yyj1553-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18007,33 +18455,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1530 := z.EncBinary() - _ = yym1530 + yym1557 := z.EncBinary() + _ = yym1557 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1531 := !z.EncBinary() - yy2arr1531 := z.EncBasicHandle().StructToArray - var yyq1531 [2]bool - _, _, _ = yysep1531, yyq1531, yy2arr1531 - const yyr1531 bool = false - var yynn1531 int - if yyr1531 || yy2arr1531 { + yysep1558 := !z.EncBinary() + yy2arr1558 := z.EncBasicHandle().StructToArray + var yyq1558 [2]bool + _, _, _ = yysep1558, yyq1558, yy2arr1558 + const yyr1558 bool = false + var yynn1558 int + if yyr1558 || yy2arr1558 { r.EncodeArrayStart(2) } else { - yynn1531 = 2 - for _, b := range yyq1531 { + yynn1558 = 2 + for _, b := range yyq1558 { if b { - yynn1531++ + yynn1558++ } } - r.EncodeMapStart(yynn1531) - yynn1531 = 0 + r.EncodeMapStart(yynn1558) + yynn1558 = 0 } - if yyr1531 || yy2arr1531 { + if yyr1558 || yy2arr1558 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1533 := z.EncBinary() - _ = yym1533 + yym1560 := z.EncBinary() + _ = yym1560 if false { } else { r.EncodeInt(int64(x.Min)) @@ -18042,17 +18490,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1534 := z.EncBinary() - _ = yym1534 + yym1561 := z.EncBinary() + _ = yym1561 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1531 || yy2arr1531 { + if yyr1558 || yy2arr1558 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1536 := z.EncBinary() - _ = yym1536 + yym1563 := z.EncBinary() + _ = yym1563 if false { } else { r.EncodeInt(int64(x.Max)) @@ -18061,14 +18509,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1537 := z.EncBinary() - _ = yym1537 + yym1564 := z.EncBinary() + _ = yym1564 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1531 || yy2arr1531 { + if yyr1558 || yy2arr1558 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18081,25 +18529,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1538 := z.DecBinary() - _ = yym1538 + yym1565 := z.DecBinary() + _ = yym1565 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1539 := r.ContainerType() - if yyct1539 == codecSelferValueTypeMap1234 { - yyl1539 := r.ReadMapStart() - if yyl1539 == 0 { + yyct1566 := r.ContainerType() + if yyct1566 == codecSelferValueTypeMap1234 { + yyl1566 := r.ReadMapStart() + if yyl1566 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1539, d) + x.codecDecodeSelfFromMap(yyl1566, d) } - } else if yyct1539 == codecSelferValueTypeArray1234 { - yyl1539 := r.ReadArrayStart() - if yyl1539 == 0 { + } else if yyct1566 == codecSelferValueTypeArray1234 { + yyl1566 := r.ReadArrayStart() + if yyl1566 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1539, d) + x.codecDecodeSelfFromArray(yyl1566, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18111,12 +18559,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1540Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1540Slc - var yyhl1540 bool = l >= 0 - for yyj1540 := 0; ; yyj1540++ { - if yyhl1540 { - if yyj1540 >= l { + var yys1567Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1567Slc + var yyhl1567 bool = l >= 0 + for yyj1567 := 0; ; yyj1567++ { + if yyhl1567 { + if yyj1567 >= l { break } } else { @@ -18125,10 +18573,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1540Slc = r.DecodeBytes(yys1540Slc, true, true) - yys1540 := string(yys1540Slc) + yys1567Slc = r.DecodeBytes(yys1567Slc, true, true) + yys1567 := string(yys1567Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1540 { + switch yys1567 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -18142,9 +18590,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1540) - } // end switch yys1540 - } // end for yyj1540 + z.DecStructFieldNotFound(-1, yys1567) + } // end switch yys1567 + } // end for yyj1567 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18152,16 +18600,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1543 int - var yyb1543 bool - var yyhl1543 bool = l >= 0 - yyj1543++ - if yyhl1543 { - yyb1543 = yyj1543 > l + var yyj1570 int + var yyb1570 bool + var yyhl1570 bool = l >= 0 + yyj1570++ + if yyhl1570 { + yyb1570 = yyj1570 > l } else { - yyb1543 = r.CheckBreak() + yyb1570 = r.CheckBreak() } - if yyb1543 { + if yyb1570 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18171,13 +18619,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj1543++ - if yyhl1543 { - yyb1543 = yyj1543 > l + yyj1570++ + if yyhl1570 { + yyb1570 = yyj1570 > l } else { - yyb1543 = r.CheckBreak() + yyb1570 = r.CheckBreak() } - if yyb1543 { + if yyb1570 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18188,17 +18636,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj1543++ - if yyhl1543 { - yyb1543 = yyj1543 > l + yyj1570++ + if yyhl1570 { + yyb1570 = yyj1570 > l } else { - yyb1543 = r.CheckBreak() + yyb1570 = r.CheckBreak() } - if yyb1543 { + if yyb1570 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1543-1, "") + z.DecStructFieldNotFound(yyj1570-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18207,8 +18655,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1546 := z.EncBinary() - _ = yym1546 + yym1573 := z.EncBinary() + _ = yym1573 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18220,8 +18668,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1547 := z.DecBinary() - _ = yym1547 + yym1574 := z.DecBinary() + _ = yym1574 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18236,54 +18684,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1548 := z.EncBinary() - _ = yym1548 + yym1575 := z.EncBinary() + _ = yym1575 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1549 := !z.EncBinary() - yy2arr1549 := z.EncBasicHandle().StructToArray - var yyq1549 [2]bool - _, _, _ = yysep1549, yyq1549, yy2arr1549 - const yyr1549 bool = false - yyq1549[0] = x.Rule != "" - yyq1549[1] = len(x.Ranges) != 0 - var yynn1549 int - if yyr1549 || yy2arr1549 { + yysep1576 := !z.EncBinary() + yy2arr1576 := z.EncBasicHandle().StructToArray + var yyq1576 [2]bool + _, _, _ = yysep1576, yyq1576, yy2arr1576 + const yyr1576 bool = false + yyq1576[0] = x.Rule != "" + yyq1576[1] = len(x.Ranges) != 0 + var yynn1576 int + if yyr1576 || yy2arr1576 { r.EncodeArrayStart(2) } else { - yynn1549 = 0 - for _, b := range yyq1549 { + yynn1576 = 0 + for _, b := range yyq1576 { if b { - yynn1549++ + yynn1576++ } } - r.EncodeMapStart(yynn1549) - yynn1549 = 0 + r.EncodeMapStart(yynn1576) + yynn1576 = 0 } - if yyr1549 || yy2arr1549 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1549[0] { + if yyq1576[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1549[0] { + if yyq1576[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1549 || yy2arr1549 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1549[1] { + if yyq1576[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1552 := z.EncBinary() - _ = yym1552 + yym1579 := z.EncBinary() + _ = yym1579 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18293,15 +18741,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1549[1] { + if yyq1576[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1553 := z.EncBinary() - _ = yym1553 + yym1580 := z.EncBinary() + _ = yym1580 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18309,7 +18757,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1549 || yy2arr1549 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18322,25 +18770,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1554 := z.DecBinary() - _ = yym1554 + yym1581 := z.DecBinary() + _ = yym1581 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1555 := r.ContainerType() - if yyct1555 == codecSelferValueTypeMap1234 { - yyl1555 := r.ReadMapStart() - if yyl1555 == 0 { + yyct1582 := r.ContainerType() + if yyct1582 == codecSelferValueTypeMap1234 { + yyl1582 := r.ReadMapStart() + if yyl1582 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1555, d) + x.codecDecodeSelfFromMap(yyl1582, d) } - } else if yyct1555 == codecSelferValueTypeArray1234 { - yyl1555 := r.ReadArrayStart() - if yyl1555 == 0 { + } else if yyct1582 == codecSelferValueTypeArray1234 { + yyl1582 := r.ReadArrayStart() + if yyl1582 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1555, d) + x.codecDecodeSelfFromArray(yyl1582, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18352,12 +18800,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1556Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1556Slc - var yyhl1556 bool = l >= 0 - for yyj1556 := 0; ; yyj1556++ { - if yyhl1556 { - if yyj1556 >= l { + var yys1583Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1583Slc + var yyhl1583 bool = l >= 0 + for yyj1583 := 0; ; yyj1583++ { + if yyhl1583 { + if yyj1583 >= l { break } } else { @@ -18366,10 +18814,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1556Slc = r.DecodeBytes(yys1556Slc, true, true) - yys1556 := string(yys1556Slc) + yys1583Slc = r.DecodeBytes(yys1583Slc, true, true) + yys1583 := string(yys1583Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1556 { + switch yys1583 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18380,18 +18828,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1558 := &x.Ranges - yym1559 := z.DecBinary() - _ = yym1559 + yyv1585 := &x.Ranges + yym1586 := z.DecBinary() + _ = yym1586 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1558), d) + h.decSliceIDRange((*[]IDRange)(yyv1585), d) } } default: - z.DecStructFieldNotFound(-1, yys1556) - } // end switch yys1556 - } // end for yyj1556 + z.DecStructFieldNotFound(-1, yys1583) + } // end switch yys1583 + } // end for yyj1583 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18399,16 +18847,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1560 int - var yyb1560 bool - var yyhl1560 bool = l >= 0 - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + var yyj1587 int + var yyb1587 bool + var yyhl1587 bool = l >= 0 + yyj1587++ + if yyhl1587 { + yyb1587 = yyj1587 > l } else { - yyb1560 = r.CheckBreak() + yyb1587 = r.CheckBreak() } - if yyb1560 { + if yyb1587 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18418,13 +18866,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + yyj1587++ + if yyhl1587 { + yyb1587 = yyj1587 > l } else { - yyb1560 = r.CheckBreak() + yyb1587 = r.CheckBreak() } - if yyb1560 { + if yyb1587 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18432,26 +18880,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1562 := &x.Ranges - yym1563 := z.DecBinary() - _ = yym1563 + yyv1589 := &x.Ranges + yym1590 := z.DecBinary() + _ = yym1590 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1562), d) + h.decSliceIDRange((*[]IDRange)(yyv1589), d) } } for { - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + yyj1587++ + if yyhl1587 { + yyb1587 = yyj1587 > l } else { - yyb1560 = r.CheckBreak() + yyb1587 = r.CheckBreak() } - if yyb1560 { + if yyb1587 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1560-1, "") + z.DecStructFieldNotFound(yyj1587-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18460,8 +18908,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1564 := z.EncBinary() - _ = yym1564 + yym1591 := z.EncBinary() + _ = yym1591 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18473,8 +18921,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1565 := z.DecBinary() - _ = yym1565 + yym1592 := z.DecBinary() + _ = yym1592 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18489,54 +18937,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1566 := z.EncBinary() - _ = yym1566 + yym1593 := z.EncBinary() + _ = yym1593 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1567 := !z.EncBinary() - yy2arr1567 := z.EncBasicHandle().StructToArray - var yyq1567 [2]bool - _, _, _ = yysep1567, yyq1567, yy2arr1567 - const yyr1567 bool = false - yyq1567[0] = x.Rule != "" - yyq1567[1] = len(x.Ranges) != 0 - var yynn1567 int - if yyr1567 || yy2arr1567 { + yysep1594 := !z.EncBinary() + yy2arr1594 := z.EncBasicHandle().StructToArray + var yyq1594 [2]bool + _, _, _ = yysep1594, yyq1594, yy2arr1594 + const yyr1594 bool = false + yyq1594[0] = x.Rule != "" + yyq1594[1] = len(x.Ranges) != 0 + var yynn1594 int + if yyr1594 || yy2arr1594 { r.EncodeArrayStart(2) } else { - yynn1567 = 0 - for _, b := range yyq1567 { + yynn1594 = 0 + for _, b := range yyq1594 { if b { - yynn1567++ + yynn1594++ } } - r.EncodeMapStart(yynn1567) - yynn1567 = 0 + r.EncodeMapStart(yynn1594) + yynn1594 = 0 } - if yyr1567 || yy2arr1567 { + if yyr1594 || yy2arr1594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1567[0] { + if yyq1594[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1567[0] { + if yyq1594[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1567 || yy2arr1567 { + if yyr1594 || yy2arr1594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1567[1] { + if yyq1594[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1570 := z.EncBinary() - _ = yym1570 + yym1597 := z.EncBinary() + _ = yym1597 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18546,15 +18994,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1567[1] { + if yyq1594[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1571 := z.EncBinary() - _ = yym1571 + yym1598 := z.EncBinary() + _ = yym1598 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18562,7 +19010,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1567 || yy2arr1567 { + if yyr1594 || yy2arr1594 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18575,25 +19023,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1572 := z.DecBinary() - _ = yym1572 + yym1599 := z.DecBinary() + _ = yym1599 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1573 := r.ContainerType() - if yyct1573 == codecSelferValueTypeMap1234 { - yyl1573 := r.ReadMapStart() - if yyl1573 == 0 { + yyct1600 := r.ContainerType() + if yyct1600 == codecSelferValueTypeMap1234 { + yyl1600 := r.ReadMapStart() + if yyl1600 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1573, d) + x.codecDecodeSelfFromMap(yyl1600, d) } - } else if yyct1573 == codecSelferValueTypeArray1234 { - yyl1573 := r.ReadArrayStart() - if yyl1573 == 0 { + } else if yyct1600 == codecSelferValueTypeArray1234 { + yyl1600 := r.ReadArrayStart() + if yyl1600 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1573, d) + x.codecDecodeSelfFromArray(yyl1600, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18605,12 +19053,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1574Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1574Slc - var yyhl1574 bool = l >= 0 - for yyj1574 := 0; ; yyj1574++ { - if yyhl1574 { - if yyj1574 >= l { + var yys1601Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1601Slc + var yyhl1601 bool = l >= 0 + for yyj1601 := 0; ; yyj1601++ { + if yyhl1601 { + if yyj1601 >= l { break } } else { @@ -18619,10 +19067,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1574Slc = r.DecodeBytes(yys1574Slc, true, true) - yys1574 := string(yys1574Slc) + yys1601Slc = r.DecodeBytes(yys1601Slc, true, true) + yys1601 := string(yys1601Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1574 { + switch yys1601 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18633,18 +19081,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1576 := &x.Ranges - yym1577 := z.DecBinary() - _ = yym1577 + yyv1603 := &x.Ranges + yym1604 := z.DecBinary() + _ = yym1604 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1576), d) + h.decSliceIDRange((*[]IDRange)(yyv1603), d) } } default: - z.DecStructFieldNotFound(-1, yys1574) - } // end switch yys1574 - } // end for yyj1574 + z.DecStructFieldNotFound(-1, yys1601) + } // end switch yys1601 + } // end for yyj1601 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18652,16 +19100,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1578 int - var yyb1578 bool - var yyhl1578 bool = l >= 0 - yyj1578++ - if yyhl1578 { - yyb1578 = yyj1578 > l + var yyj1605 int + var yyb1605 bool + var yyhl1605 bool = l >= 0 + yyj1605++ + if yyhl1605 { + yyb1605 = yyj1605 > l } else { - yyb1578 = r.CheckBreak() + yyb1605 = r.CheckBreak() } - if yyb1578 { + if yyb1605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18671,13 +19119,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj1578++ - if yyhl1578 { - yyb1578 = yyj1578 > l + yyj1605++ + if yyhl1605 { + yyb1605 = yyj1605 > l } else { - yyb1578 = r.CheckBreak() + yyb1605 = r.CheckBreak() } - if yyb1578 { + if yyb1605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18685,26 +19133,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1580 := &x.Ranges - yym1581 := z.DecBinary() - _ = yym1581 + yyv1607 := &x.Ranges + yym1608 := z.DecBinary() + _ = yym1608 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1580), d) + h.decSliceIDRange((*[]IDRange)(yyv1607), d) } } for { - yyj1578++ - if yyhl1578 { - yyb1578 = yyj1578 > l + yyj1605++ + if yyhl1605 { + yyb1605 = yyj1605 > l } else { - yyb1578 = r.CheckBreak() + yyb1605 = r.CheckBreak() } - if yyb1578 { + if yyb1605 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1578-1, "") + z.DecStructFieldNotFound(yyj1605-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18713,8 +19161,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1582 := z.EncBinary() - _ = yym1582 + yym1609 := z.EncBinary() + _ = yym1609 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18726,8 +19174,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1583 := z.DecBinary() - _ = yym1583 + yym1610 := z.DecBinary() + _ = yym1610 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18742,37 +19190,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1584 := z.EncBinary() - _ = yym1584 + yym1611 := z.EncBinary() + _ = yym1611 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1585 := !z.EncBinary() - yy2arr1585 := z.EncBasicHandle().StructToArray - var yyq1585 [4]bool - _, _, _ = yysep1585, yyq1585, yy2arr1585 - const yyr1585 bool = false - yyq1585[0] = x.Kind != "" - yyq1585[1] = x.APIVersion != "" - yyq1585[2] = true - var yynn1585 int - if yyr1585 || yy2arr1585 { + yysep1612 := !z.EncBinary() + yy2arr1612 := z.EncBasicHandle().StructToArray + var yyq1612 [4]bool + _, _, _ = yysep1612, yyq1612, yy2arr1612 + const yyr1612 bool = false + yyq1612[0] = x.Kind != "" + yyq1612[1] = x.APIVersion != "" + yyq1612[2] = true + var yynn1612 int + if yyr1612 || yy2arr1612 { r.EncodeArrayStart(4) } else { - yynn1585 = 1 - for _, b := range yyq1585 { + yynn1612 = 1 + for _, b := range yyq1612 { if b { - yynn1585++ + yynn1612++ } } - r.EncodeMapStart(yynn1585) - yynn1585 = 0 + r.EncodeMapStart(yynn1612) + yynn1612 = 0 } - if yyr1585 || yy2arr1585 { + if yyr1612 || yy2arr1612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[0] { - yym1587 := z.EncBinary() - _ = yym1587 + if yyq1612[0] { + yym1614 := z.EncBinary() + _ = yym1614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -18781,23 +19229,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1585[0] { + if yyq1612[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1588 := z.EncBinary() - _ = yym1588 + yym1615 := z.EncBinary() + _ = yym1615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1585 || yy2arr1585 { + if yyr1612 || yy2arr1612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[1] { - yym1590 := z.EncBinary() - _ = yym1590 + if yyq1612[1] { + yym1617 := z.EncBinary() + _ = yym1617 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -18806,54 +19254,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1585[1] { + if yyq1612[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1591 := z.EncBinary() - _ = yym1591 + yym1618 := z.EncBinary() + _ = yym1618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1585 || yy2arr1585 { + if yyr1612 || yy2arr1612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[2] { - yy1593 := &x.ListMeta - yym1594 := z.EncBinary() - _ = yym1594 + if yyq1612[2] { + yy1620 := &x.ListMeta + yym1621 := z.EncBinary() + _ = yym1621 if false { - } else if z.HasExtensions() && z.EncExt(yy1593) { + } else if z.HasExtensions() && z.EncExt(yy1620) { } else { - z.EncFallback(yy1593) + z.EncFallback(yy1620) } } else { r.EncodeNil() } } else { - if yyq1585[2] { + if yyq1612[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1595 := &x.ListMeta - yym1596 := z.EncBinary() - _ = yym1596 + yy1622 := &x.ListMeta + yym1623 := z.EncBinary() + _ = yym1623 if false { - } else if z.HasExtensions() && z.EncExt(yy1595) { + } else if z.HasExtensions() && z.EncExt(yy1622) { } else { - z.EncFallback(yy1595) + z.EncFallback(yy1622) } } } - if yyr1585 || yy2arr1585 { + if yyr1612 || yy2arr1612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1598 := z.EncBinary() - _ = yym1598 + yym1625 := z.EncBinary() + _ = yym1625 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -18866,15 +19314,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1599 := z.EncBinary() - _ = yym1599 + yym1626 := z.EncBinary() + _ = yym1626 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1585 || yy2arr1585 { + if yyr1612 || yy2arr1612 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18887,25 +19335,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1600 := z.DecBinary() - _ = yym1600 + yym1627 := z.DecBinary() + _ = yym1627 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1601 := r.ContainerType() - if yyct1601 == codecSelferValueTypeMap1234 { - yyl1601 := r.ReadMapStart() - if yyl1601 == 0 { + yyct1628 := r.ContainerType() + if yyct1628 == codecSelferValueTypeMap1234 { + yyl1628 := r.ReadMapStart() + if yyl1628 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1601, d) + x.codecDecodeSelfFromMap(yyl1628, d) } - } else if yyct1601 == codecSelferValueTypeArray1234 { - yyl1601 := r.ReadArrayStart() - if yyl1601 == 0 { + } else if yyct1628 == codecSelferValueTypeArray1234 { + yyl1628 := r.ReadArrayStart() + if yyl1628 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1601, d) + x.codecDecodeSelfFromArray(yyl1628, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18917,12 +19365,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1602Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1602Slc - var yyhl1602 bool = l >= 0 - for yyj1602 := 0; ; yyj1602++ { - if yyhl1602 { - if yyj1602 >= l { + var yys1629Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1629Slc + var yyhl1629 bool = l >= 0 + for yyj1629 := 0; ; yyj1629++ { + if yyhl1629 { + if yyj1629 >= l { break } } else { @@ -18931,10 +19379,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1602Slc = r.DecodeBytes(yys1602Slc, true, true) - yys1602 := string(yys1602Slc) + yys1629Slc = r.DecodeBytes(yys1629Slc, true, true) + yys1629 := string(yys1629Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1602 { + switch yys1629 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -18951,31 +19399,31 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1605 := &x.ListMeta - yym1606 := z.DecBinary() - _ = yym1606 + yyv1632 := &x.ListMeta + yym1633 := z.DecBinary() + _ = yym1633 if false { - } else if z.HasExtensions() && z.DecExt(yyv1605) { + } else if z.HasExtensions() && z.DecExt(yyv1632) { } else { - z.DecFallback(yyv1605, false) + z.DecFallback(yyv1632, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1607 := &x.Items - yym1608 := z.DecBinary() - _ = yym1608 + yyv1634 := &x.Items + yym1635 := z.DecBinary() + _ = yym1635 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1607), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1634), d) } } default: - z.DecStructFieldNotFound(-1, yys1602) - } // end switch yys1602 - } // end for yyj1602 + z.DecStructFieldNotFound(-1, yys1629) + } // end switch yys1629 + } // end for yyj1629 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18983,16 +19431,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1609 int - var yyb1609 bool - var yyhl1609 bool = l >= 0 - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + var yyj1636 int + var yyb1636 bool + var yyhl1636 bool = l >= 0 + yyj1636++ + if yyhl1636 { + yyb1636 = yyj1636 > l } else { - yyb1609 = r.CheckBreak() + yyb1636 = r.CheckBreak() } - if yyb1609 { + if yyb1636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19002,13 +19450,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1636++ + if yyhl1636 { + yyb1636 = yyj1636 > l } else { - yyb1609 = r.CheckBreak() + yyb1636 = r.CheckBreak() } - if yyb1609 { + if yyb1636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19018,13 +19466,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1636++ + if yyhl1636 { + yyb1636 = yyj1636 > l } else { - yyb1609 = r.CheckBreak() + yyb1636 = r.CheckBreak() } - if yyb1609 { + if yyb1636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19032,22 +19480,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1612 := &x.ListMeta - yym1613 := z.DecBinary() - _ = yym1613 + yyv1639 := &x.ListMeta + yym1640 := z.DecBinary() + _ = yym1640 if false { - } else if z.HasExtensions() && z.DecExt(yyv1612) { + } else if z.HasExtensions() && z.DecExt(yyv1639) { } else { - z.DecFallback(yyv1612, false) + z.DecFallback(yyv1639, false) } } - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1636++ + if yyhl1636 { + yyb1636 = yyj1636 > l } else { - yyb1609 = r.CheckBreak() + yyb1636 = r.CheckBreak() } - if yyb1609 { + if yyb1636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19055,26 +19503,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1614 := &x.Items - yym1615 := z.DecBinary() - _ = yym1615 + yyv1641 := &x.Items + yym1642 := z.DecBinary() + _ = yym1642 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1614), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1641), d) } } for { - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1636++ + if yyhl1636 { + yyb1636 = yyj1636 > l } else { - yyb1609 = r.CheckBreak() + yyb1636 = r.CheckBreak() } - if yyb1609 { + if yyb1636 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1609-1, "") + z.DecStructFieldNotFound(yyj1636-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19086,38 +19534,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1616 := z.EncBinary() - _ = yym1616 + yym1643 := z.EncBinary() + _ = yym1643 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1617 := !z.EncBinary() - yy2arr1617 := z.EncBasicHandle().StructToArray - var yyq1617 [4]bool - _, _, _ = yysep1617, yyq1617, yy2arr1617 - const yyr1617 bool = false - yyq1617[0] = x.Kind != "" - yyq1617[1] = x.APIVersion != "" - yyq1617[2] = true - yyq1617[3] = true - var yynn1617 int - if yyr1617 || yy2arr1617 { + yysep1644 := !z.EncBinary() + yy2arr1644 := z.EncBasicHandle().StructToArray + var yyq1644 [4]bool + _, _, _ = yysep1644, yyq1644, yy2arr1644 + const yyr1644 bool = false + yyq1644[0] = x.Kind != "" + yyq1644[1] = x.APIVersion != "" + yyq1644[2] = true + yyq1644[3] = true + var yynn1644 int + if yyr1644 || yy2arr1644 { r.EncodeArrayStart(4) } else { - yynn1617 = 0 - for _, b := range yyq1617 { + yynn1644 = 0 + for _, b := range yyq1644 { if b { - yynn1617++ + yynn1644++ } } - r.EncodeMapStart(yynn1617) - yynn1617 = 0 + r.EncodeMapStart(yynn1644) + yynn1644 = 0 } - if yyr1617 || yy2arr1617 { + if yyr1644 || yy2arr1644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[0] { - yym1619 := z.EncBinary() - _ = yym1619 + if yyq1644[0] { + yym1646 := z.EncBinary() + _ = yym1646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19126,23 +19574,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1617[0] { + if yyq1644[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1620 := z.EncBinary() - _ = yym1620 + yym1647 := z.EncBinary() + _ = yym1647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1617 || yy2arr1617 { + if yyr1644 || yy2arr1644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[1] { - yym1622 := z.EncBinary() - _ = yym1622 + if yyq1644[1] { + yym1649 := z.EncBinary() + _ = yym1649 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19151,53 +19599,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1617[1] { + if yyq1644[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1623 := z.EncBinary() - _ = yym1623 + yym1650 := z.EncBinary() + _ = yym1650 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1617 || yy2arr1617 { + if yyr1644 || yy2arr1644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[2] { - yy1625 := &x.ObjectMeta - yy1625.CodecEncodeSelf(e) + if yyq1644[2] { + yy1652 := &x.ObjectMeta + yy1652.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1617[2] { + if yyq1644[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1626 := &x.ObjectMeta - yy1626.CodecEncodeSelf(e) + yy1653 := &x.ObjectMeta + yy1653.CodecEncodeSelf(e) } } - if yyr1617 || yy2arr1617 { + if yyr1644 || yy2arr1644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[3] { - yy1628 := &x.Spec - yy1628.CodecEncodeSelf(e) + if yyq1644[3] { + yy1655 := &x.Spec + yy1655.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1617[3] { + if yyq1644[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1629 := &x.Spec - yy1629.CodecEncodeSelf(e) + yy1656 := &x.Spec + yy1656.CodecEncodeSelf(e) } } - if yyr1617 || yy2arr1617 { + if yyr1644 || yy2arr1644 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19210,25 +19658,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1630 := z.DecBinary() - _ = yym1630 + yym1657 := z.DecBinary() + _ = yym1657 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1631 := r.ContainerType() - if yyct1631 == codecSelferValueTypeMap1234 { - yyl1631 := r.ReadMapStart() - if yyl1631 == 0 { + yyct1658 := r.ContainerType() + if yyct1658 == codecSelferValueTypeMap1234 { + yyl1658 := r.ReadMapStart() + if yyl1658 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1631, d) + x.codecDecodeSelfFromMap(yyl1658, d) } - } else if yyct1631 == codecSelferValueTypeArray1234 { - yyl1631 := r.ReadArrayStart() - if yyl1631 == 0 { + } else if yyct1658 == codecSelferValueTypeArray1234 { + yyl1658 := r.ReadArrayStart() + if yyl1658 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1631, d) + x.codecDecodeSelfFromArray(yyl1658, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19240,12 +19688,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1632Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1632Slc - var yyhl1632 bool = l >= 0 - for yyj1632 := 0; ; yyj1632++ { - if yyhl1632 { - if yyj1632 >= l { + var yys1659Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1659Slc + var yyhl1659 bool = l >= 0 + for yyj1659 := 0; ; yyj1659++ { + if yyhl1659 { + if yyj1659 >= l { break } } else { @@ -19254,10 +19702,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1632Slc = r.DecodeBytes(yys1632Slc, true, true) - yys1632 := string(yys1632Slc) + yys1659Slc = r.DecodeBytes(yys1659Slc, true, true) + yys1659 := string(yys1659Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1632 { + switch yys1659 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19274,20 +19722,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1635 := &x.ObjectMeta - yyv1635.CodecDecodeSelf(d) + yyv1662 := &x.ObjectMeta + yyv1662.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1636 := &x.Spec - yyv1636.CodecDecodeSelf(d) + yyv1663 := &x.Spec + yyv1663.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1632) - } // end switch yys1632 - } // end for yyj1632 + z.DecStructFieldNotFound(-1, yys1659) + } // end switch yys1659 + } // end for yyj1659 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19295,16 +19743,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1637 int - var yyb1637 bool - var yyhl1637 bool = l >= 0 - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + var yyj1664 int + var yyb1664 bool + var yyhl1664 bool = l >= 0 + yyj1664++ + if yyhl1664 { + yyb1664 = yyj1664 > l } else { - yyb1637 = r.CheckBreak() + yyb1664 = r.CheckBreak() } - if yyb1637 { + if yyb1664 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19314,13 +19762,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1664++ + if yyhl1664 { + yyb1664 = yyj1664 > l } else { - yyb1637 = r.CheckBreak() + yyb1664 = r.CheckBreak() } - if yyb1637 { + if yyb1664 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19330,13 +19778,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1664++ + if yyhl1664 { + yyb1664 = yyj1664 > l } else { - yyb1637 = r.CheckBreak() + yyb1664 = r.CheckBreak() } - if yyb1637 { + if yyb1664 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19344,16 +19792,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1640 := &x.ObjectMeta - yyv1640.CodecDecodeSelf(d) + yyv1667 := &x.ObjectMeta + yyv1667.CodecDecodeSelf(d) } - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1664++ + if yyhl1664 { + yyb1664 = yyj1664 > l } else { - yyb1637 = r.CheckBreak() + yyb1664 = r.CheckBreak() } - if yyb1637 { + if yyb1664 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19361,21 +19809,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1641 := &x.Spec - yyv1641.CodecDecodeSelf(d) + yyv1668 := &x.Spec + yyv1668.CodecDecodeSelf(d) } for { - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1664++ + if yyhl1664 { + yyb1664 = yyj1664 > l } else { - yyb1637 = r.CheckBreak() + yyb1664 = r.CheckBreak() } - if yyb1637 { + if yyb1664 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1637-1, "") + z.DecStructFieldNotFound(yyj1664-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19387,61 +19835,49 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1642 := z.EncBinary() - _ = yym1642 + yym1669 := z.EncBinary() + _ = yym1669 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1643 := !z.EncBinary() - yy2arr1643 := z.EncBasicHandle().StructToArray - var yyq1643 [2]bool - _, _, _ = yysep1643, yyq1643, yy2arr1643 - const yyr1643 bool = false - yyq1643[1] = len(x.Ingress) != 0 - var yynn1643 int - if yyr1643 || yy2arr1643 { + yysep1670 := !z.EncBinary() + yy2arr1670 := z.EncBasicHandle().StructToArray + var yyq1670 [2]bool + _, _, _ = yysep1670, yyq1670, yy2arr1670 + const yyr1670 bool = false + yyq1670[1] = len(x.Ingress) != 0 + var yynn1670 int + if yyr1670 || yy2arr1670 { r.EncodeArrayStart(2) } else { - yynn1643 = 1 - for _, b := range yyq1643 { + yynn1670 = 1 + for _, b := range yyq1670 { if b { - yynn1643++ + yynn1670++ } } - r.EncodeMapStart(yynn1643) - yynn1643 = 0 + r.EncodeMapStart(yynn1670) + yynn1670 = 0 } - if yyr1643 || yy2arr1643 { + if yyr1670 || yy2arr1670 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1645 := &x.PodSelector - yym1646 := z.EncBinary() - _ = yym1646 - if false { - } else if z.HasExtensions() && z.EncExt(yy1645) { - } else { - z.EncFallback(yy1645) - } + yy1672 := &x.PodSelector + yy1672.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1647 := &x.PodSelector - yym1648 := z.EncBinary() - _ = yym1648 - if false { - } else if z.HasExtensions() && z.EncExt(yy1647) { - } else { - z.EncFallback(yy1647) - } + yy1673 := &x.PodSelector + yy1673.CodecEncodeSelf(e) } - if yyr1643 || yy2arr1643 { + if yyr1670 || yy2arr1670 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[1] { + if yyq1670[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1650 := z.EncBinary() - _ = yym1650 + yym1675 := z.EncBinary() + _ = yym1675 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19451,15 +19887,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1643[1] { + if yyq1670[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1651 := z.EncBinary() - _ = yym1651 + yym1676 := z.EncBinary() + _ = yym1676 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19467,7 +19903,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1643 || yy2arr1643 { + if yyr1670 || yy2arr1670 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19480,25 +19916,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1652 := z.DecBinary() - _ = yym1652 + yym1677 := z.DecBinary() + _ = yym1677 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1653 := r.ContainerType() - if yyct1653 == codecSelferValueTypeMap1234 { - yyl1653 := r.ReadMapStart() - if yyl1653 == 0 { + yyct1678 := r.ContainerType() + if yyct1678 == codecSelferValueTypeMap1234 { + yyl1678 := r.ReadMapStart() + if yyl1678 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1653, d) + x.codecDecodeSelfFromMap(yyl1678, d) } - } else if yyct1653 == codecSelferValueTypeArray1234 { - yyl1653 := r.ReadArrayStart() - if yyl1653 == 0 { + } else if yyct1678 == codecSelferValueTypeArray1234 { + yyl1678 := r.ReadArrayStart() + if yyl1678 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1653, d) + x.codecDecodeSelfFromArray(yyl1678, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19510,12 +19946,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1654Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1654Slc - var yyhl1654 bool = l >= 0 - for yyj1654 := 0; ; yyj1654++ { - if yyhl1654 { - if yyj1654 >= l { + var yys1679Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1679Slc + var yyhl1679 bool = l >= 0 + for yyj1679 := 0; ; yyj1679++ { + if yyhl1679 { + if yyj1679 >= l { break } } else { @@ -19524,39 +19960,33 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1654Slc = r.DecodeBytes(yys1654Slc, true, true) - yys1654 := string(yys1654Slc) + yys1679Slc = r.DecodeBytes(yys1679Slc, true, true) + yys1679 := string(yys1679Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1654 { + switch yys1679 { case "podSelector": if r.TryDecodeAsNil() { - x.PodSelector = pkg1_unversioned.LabelSelector{} + x.PodSelector = LabelSelector{} } else { - yyv1655 := &x.PodSelector - yym1656 := z.DecBinary() - _ = yym1656 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1655) { - } else { - z.DecFallback(yyv1655, false) - } + yyv1680 := &x.PodSelector + yyv1680.CodecDecodeSelf(d) } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1657 := &x.Ingress - yym1658 := z.DecBinary() - _ = yym1658 + yyv1681 := &x.Ingress + yym1682 := z.DecBinary() + _ = yym1682 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1657), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1681), d) } } default: - z.DecStructFieldNotFound(-1, yys1654) - } // end switch yys1654 - } // end for yyj1654 + z.DecStructFieldNotFound(-1, yys1679) + } // end switch yys1679 + } // end for yyj1679 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19564,39 +19994,33 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1659 int - var yyb1659 bool - var yyhl1659 bool = l >= 0 - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l + var yyj1683 int + var yyb1683 bool + var yyhl1683 bool = l >= 0 + yyj1683++ + if yyhl1683 { + yyb1683 = yyj1683 > l } else { - yyb1659 = r.CheckBreak() + yyb1683 = r.CheckBreak() } - if yyb1659 { + if yyb1683 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.PodSelector = pkg1_unversioned.LabelSelector{} + x.PodSelector = LabelSelector{} } else { - yyv1660 := &x.PodSelector - yym1661 := z.DecBinary() - _ = yym1661 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1660) { - } else { - z.DecFallback(yyv1660, false) - } + yyv1684 := &x.PodSelector + yyv1684.CodecDecodeSelf(d) } - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l + yyj1683++ + if yyhl1683 { + yyb1683 = yyj1683 > l } else { - yyb1659 = r.CheckBreak() + yyb1683 = r.CheckBreak() } - if yyb1659 { + if yyb1683 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19604,26 +20028,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1662 := &x.Ingress - yym1663 := z.DecBinary() - _ = yym1663 + yyv1685 := &x.Ingress + yym1686 := z.DecBinary() + _ = yym1686 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1662), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1685), d) } } for { - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l + yyj1683++ + if yyhl1683 { + yyb1683 = yyj1683 > l } else { - yyb1659 = r.CheckBreak() + yyb1683 = r.CheckBreak() } - if yyb1659 { + if yyb1683 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1659-1, "") + z.DecStructFieldNotFound(yyj1683-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19635,39 +20059,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1664 := z.EncBinary() - _ = yym1664 + yym1687 := z.EncBinary() + _ = yym1687 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1665 := !z.EncBinary() - yy2arr1665 := z.EncBasicHandle().StructToArray - var yyq1665 [2]bool - _, _, _ = yysep1665, yyq1665, yy2arr1665 - const yyr1665 bool = false - yyq1665[0] = len(x.Ports) != 0 - yyq1665[1] = len(x.From) != 0 - var yynn1665 int - if yyr1665 || yy2arr1665 { + yysep1688 := !z.EncBinary() + yy2arr1688 := z.EncBasicHandle().StructToArray + var yyq1688 [2]bool + _, _, _ = yysep1688, yyq1688, yy2arr1688 + const yyr1688 bool = false + yyq1688[0] = len(x.Ports) != 0 + yyq1688[1] = len(x.From) != 0 + var yynn1688 int + if yyr1688 || yy2arr1688 { r.EncodeArrayStart(2) } else { - yynn1665 = 0 - for _, b := range yyq1665 { + yynn1688 = 0 + for _, b := range yyq1688 { if b { - yynn1665++ + yynn1688++ } } - r.EncodeMapStart(yynn1665) - yynn1665 = 0 + r.EncodeMapStart(yynn1688) + yynn1688 = 0 } - if yyr1665 || yy2arr1665 { + if yyr1688 || yy2arr1688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1665[0] { + if yyq1688[0] { if x.Ports == nil { r.EncodeNil() } else { - yym1667 := z.EncBinary() - _ = yym1667 + yym1690 := z.EncBinary() + _ = yym1690 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -19677,15 +20101,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1665[0] { + if yyq1688[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1668 := z.EncBinary() - _ = yym1668 + yym1691 := z.EncBinary() + _ = yym1691 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -19693,14 +20117,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1665 || yy2arr1665 { + if yyr1688 || yy2arr1688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1665[1] { + if yyq1688[1] { if x.From == nil { r.EncodeNil() } else { - yym1670 := z.EncBinary() - _ = yym1670 + yym1693 := z.EncBinary() + _ = yym1693 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -19710,15 +20134,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1665[1] { + if yyq1688[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym1671 := z.EncBinary() - _ = yym1671 + yym1694 := z.EncBinary() + _ = yym1694 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -19726,7 +20150,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1665 || yy2arr1665 { + if yyr1688 || yy2arr1688 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19739,25 +20163,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1672 := z.DecBinary() - _ = yym1672 + yym1695 := z.DecBinary() + _ = yym1695 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1673 := r.ContainerType() - if yyct1673 == codecSelferValueTypeMap1234 { - yyl1673 := r.ReadMapStart() - if yyl1673 == 0 { + yyct1696 := r.ContainerType() + if yyct1696 == codecSelferValueTypeMap1234 { + yyl1696 := r.ReadMapStart() + if yyl1696 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1673, d) + x.codecDecodeSelfFromMap(yyl1696, d) } - } else if yyct1673 == codecSelferValueTypeArray1234 { - yyl1673 := r.ReadArrayStart() - if yyl1673 == 0 { + } else if yyct1696 == codecSelferValueTypeArray1234 { + yyl1696 := r.ReadArrayStart() + if yyl1696 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1673, d) + x.codecDecodeSelfFromArray(yyl1696, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19769,12 +20193,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1674Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1674Slc - var yyhl1674 bool = l >= 0 - for yyj1674 := 0; ; yyj1674++ { - if yyhl1674 { - if yyj1674 >= l { + var yys1697Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1697Slc + var yyhl1697 bool = l >= 0 + for yyj1697 := 0; ; yyj1697++ { + if yyhl1697 { + if yyj1697 >= l { break } } else { @@ -19783,38 +20207,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1674Slc = r.DecodeBytes(yys1674Slc, true, true) - yys1674 := string(yys1674Slc) + yys1697Slc = r.DecodeBytes(yys1697Slc, true, true) + yys1697 := string(yys1697Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1674 { + switch yys1697 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1675 := &x.Ports - yym1676 := z.DecBinary() - _ = yym1676 + yyv1698 := &x.Ports + yym1699 := z.DecBinary() + _ = yym1699 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1675), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1698), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv1677 := &x.From - yym1678 := z.DecBinary() - _ = yym1678 + yyv1700 := &x.From + yym1701 := z.DecBinary() + _ = yym1701 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1677), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1700), d) } } default: - z.DecStructFieldNotFound(-1, yys1674) - } // end switch yys1674 - } // end for yyj1674 + z.DecStructFieldNotFound(-1, yys1697) + } // end switch yys1697 + } // end for yyj1697 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19822,16 +20246,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1679 int - var yyb1679 bool - var yyhl1679 bool = l >= 0 - yyj1679++ - if yyhl1679 { - yyb1679 = yyj1679 > l + var yyj1702 int + var yyb1702 bool + var yyhl1702 bool = l >= 0 + yyj1702++ + if yyhl1702 { + yyb1702 = yyj1702 > l } else { - yyb1679 = r.CheckBreak() + yyb1702 = r.CheckBreak() } - if yyb1679 { + if yyb1702 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19839,21 +20263,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1680 := &x.Ports - yym1681 := z.DecBinary() - _ = yym1681 + yyv1703 := &x.Ports + yym1704 := z.DecBinary() + _ = yym1704 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1680), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1703), d) } } - yyj1679++ - if yyhl1679 { - yyb1679 = yyj1679 > l + yyj1702++ + if yyhl1702 { + yyb1702 = yyj1702 > l } else { - yyb1679 = r.CheckBreak() + yyb1702 = r.CheckBreak() } - if yyb1679 { + if yyb1702 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19861,26 +20285,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv1682 := &x.From - yym1683 := z.DecBinary() - _ = yym1683 + yyv1705 := &x.From + yym1706 := z.DecBinary() + _ = yym1706 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1682), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1705), d) } } for { - yyj1679++ - if yyhl1679 { - yyb1679 = yyj1679 > l + yyj1702++ + if yyhl1702 { + yyb1702 = yyj1702 > l } else { - yyb1679 = r.CheckBreak() + yyb1702 = r.CheckBreak() } - if yyb1679 { + if yyb1702 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1679-1, "") + z.DecStructFieldNotFound(yyj1702-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19892,79 +20316,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1684 := z.EncBinary() - _ = yym1684 + yym1707 := z.EncBinary() + _ = yym1707 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1685 := !z.EncBinary() - yy2arr1685 := z.EncBasicHandle().StructToArray - var yyq1685 [2]bool - _, _, _ = yysep1685, yyq1685, yy2arr1685 - const yyr1685 bool = false - yyq1685[0] = x.Protocol != nil - yyq1685[1] = x.Port != nil - var yynn1685 int - if yyr1685 || yy2arr1685 { + yysep1708 := !z.EncBinary() + yy2arr1708 := z.EncBasicHandle().StructToArray + var yyq1708 [2]bool + _, _, _ = yysep1708, yyq1708, yy2arr1708 + const yyr1708 bool = false + yyq1708[0] = x.Protocol != nil + yyq1708[1] = x.Port != nil + var yynn1708 int + if yyr1708 || yy2arr1708 { r.EncodeArrayStart(2) } else { - yynn1685 = 0 - for _, b := range yyq1685 { + yynn1708 = 0 + for _, b := range yyq1708 { if b { - yynn1685++ + yynn1708++ } } - r.EncodeMapStart(yynn1685) - yynn1685 = 0 + r.EncodeMapStart(yynn1708) + yynn1708 = 0 } - if yyr1685 || yy2arr1685 { + if yyr1708 || yy2arr1708 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1685[0] { + if yyq1708[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy1687 := *x.Protocol - yym1688 := z.EncBinary() - _ = yym1688 + yy1710 := *x.Protocol + yym1711 := z.EncBinary() + _ = yym1711 if false { - } else if z.HasExtensions() && z.EncExt(yy1687) { + } else if z.HasExtensions() && z.EncExt(yy1710) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1687)) + r.EncodeString(codecSelferC_UTF81234, string(yy1710)) } } } else { r.EncodeNil() } } else { - if yyq1685[0] { + if yyq1708[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy1689 := *x.Protocol - yym1690 := z.EncBinary() - _ = yym1690 + yy1712 := *x.Protocol + yym1713 := z.EncBinary() + _ = yym1713 if false { - } else if z.HasExtensions() && z.EncExt(yy1689) { + } else if z.HasExtensions() && z.EncExt(yy1712) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1689)) + r.EncodeString(codecSelferC_UTF81234, string(yy1712)) } } } } - if yyr1685 || yy2arr1685 { + if yyr1708 || yy2arr1708 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1685[1] { + if yyq1708[1] { if x.Port == nil { r.EncodeNil() } else { - yym1692 := z.EncBinary() - _ = yym1692 + yym1715 := z.EncBinary() + _ = yym1715 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1692 && z.IsJSONHandle() { + } else if !yym1715 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -19974,18 +20398,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1685[1] { + if yyq1708[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym1693 := z.EncBinary() - _ = yym1693 + yym1716 := z.EncBinary() + _ = yym1716 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1693 && z.IsJSONHandle() { + } else if !yym1716 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -19993,7 +20417,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1685 || yy2arr1685 { + if yyr1708 || yy2arr1708 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20006,25 +20430,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1694 := z.DecBinary() - _ = yym1694 + yym1717 := z.DecBinary() + _ = yym1717 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1695 := r.ContainerType() - if yyct1695 == codecSelferValueTypeMap1234 { - yyl1695 := r.ReadMapStart() - if yyl1695 == 0 { + yyct1718 := r.ContainerType() + if yyct1718 == codecSelferValueTypeMap1234 { + yyl1718 := r.ReadMapStart() + if yyl1718 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1695, d) + x.codecDecodeSelfFromMap(yyl1718, d) } - } else if yyct1695 == codecSelferValueTypeArray1234 { - yyl1695 := r.ReadArrayStart() - if yyl1695 == 0 { + } else if yyct1718 == codecSelferValueTypeArray1234 { + yyl1718 := r.ReadArrayStart() + if yyl1718 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1695, d) + x.codecDecodeSelfFromArray(yyl1718, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20036,12 +20460,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1696Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1696Slc - var yyhl1696 bool = l >= 0 - for yyj1696 := 0; ; yyj1696++ { - if yyhl1696 { - if yyj1696 >= l { + var yys1719Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1719Slc + var yyhl1719 bool = l >= 0 + for yyj1719 := 0; ; yyj1719++ { + if yyhl1719 { + if yyj1719 >= l { break } } else { @@ -20050,10 +20474,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1696Slc = r.DecodeBytes(yys1696Slc, true, true) - yys1696 := string(yys1696Slc) + yys1719Slc = r.DecodeBytes(yys1719Slc, true, true) + yys1719 := string(yys1719Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1696 { + switch yys1719 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -20074,20 +20498,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1699 := z.DecBinary() - _ = yym1699 + yym1722 := z.DecBinary() + _ = yym1722 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1699 && z.IsJSONHandle() { + } else if !yym1722 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys1696) - } // end switch yys1696 - } // end for yyj1696 + z.DecStructFieldNotFound(-1, yys1719) + } // end switch yys1719 + } // end for yyj1719 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20095,16 +20519,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1700 int - var yyb1700 bool - var yyhl1700 bool = l >= 0 - yyj1700++ - if yyhl1700 { - yyb1700 = yyj1700 > l + var yyj1723 int + var yyb1723 bool + var yyhl1723 bool = l >= 0 + yyj1723++ + if yyhl1723 { + yyb1723 = yyj1723 > l } else { - yyb1700 = r.CheckBreak() + yyb1723 = r.CheckBreak() } - if yyb1700 { + if yyb1723 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20119,13 +20543,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj1700++ - if yyhl1700 { - yyb1700 = yyj1700 > l + yyj1723++ + if yyhl1723 { + yyb1723 = yyj1723 > l } else { - yyb1700 = r.CheckBreak() + yyb1723 = r.CheckBreak() } - if yyb1700 { + if yyb1723 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20138,28 +20562,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1703 := z.DecBinary() - _ = yym1703 + yym1726 := z.DecBinary() + _ = yym1726 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1703 && z.IsJSONHandle() { + } else if !yym1726 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj1700++ - if yyhl1700 { - yyb1700 = yyj1700 > l + yyj1723++ + if yyhl1723 { + yyb1723 = yyj1723 > l } else { - yyb1700 = r.CheckBreak() + yyb1723 = r.CheckBreak() } - if yyb1700 { + if yyb1723 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1700-1, "") + z.DecStructFieldNotFound(yyj1723-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20171,102 +20595,78 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1704 := z.EncBinary() - _ = yym1704 + yym1727 := z.EncBinary() + _ = yym1727 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1705 := !z.EncBinary() - yy2arr1705 := z.EncBasicHandle().StructToArray - var yyq1705 [2]bool - _, _, _ = yysep1705, yyq1705, yy2arr1705 - const yyr1705 bool = false - yyq1705[0] = x.PodSelector != nil - yyq1705[1] = x.NamespaceSelector != nil - var yynn1705 int - if yyr1705 || yy2arr1705 { + yysep1728 := !z.EncBinary() + yy2arr1728 := z.EncBasicHandle().StructToArray + var yyq1728 [2]bool + _, _, _ = yysep1728, yyq1728, yy2arr1728 + const yyr1728 bool = false + yyq1728[0] = x.PodSelector != nil + yyq1728[1] = x.NamespaceSelector != nil + var yynn1728 int + if yyr1728 || yy2arr1728 { r.EncodeArrayStart(2) } else { - yynn1705 = 0 - for _, b := range yyq1705 { + yynn1728 = 0 + for _, b := range yyq1728 { if b { - yynn1705++ + yynn1728++ } } - r.EncodeMapStart(yynn1705) - yynn1705 = 0 + r.EncodeMapStart(yynn1728) + yynn1728 = 0 } - if yyr1705 || yy2arr1705 { + if yyr1728 || yy2arr1728 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[0] { + if yyq1728[0] { if x.PodSelector == nil { r.EncodeNil() } else { - yym1707 := z.EncBinary() - _ = yym1707 - if false { - } else if z.HasExtensions() && z.EncExt(x.PodSelector) { - } else { - z.EncFallback(x.PodSelector) - } + x.PodSelector.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq1705[0] { + if yyq1728[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodSelector == nil { r.EncodeNil() } else { - yym1708 := z.EncBinary() - _ = yym1708 - if false { - } else if z.HasExtensions() && z.EncExt(x.PodSelector) { - } else { - z.EncFallback(x.PodSelector) - } + x.PodSelector.CodecEncodeSelf(e) } } } - if yyr1705 || yy2arr1705 { + if yyr1728 || yy2arr1728 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[1] { + if yyq1728[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1710 := z.EncBinary() - _ = yym1710 - if false { - } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { - } else { - z.EncFallback(x.NamespaceSelector) - } + x.NamespaceSelector.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq1705[1] { + if yyq1728[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1711 := z.EncBinary() - _ = yym1711 - if false { - } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { - } else { - z.EncFallback(x.NamespaceSelector) - } + x.NamespaceSelector.CodecEncodeSelf(e) } } } - if yyr1705 || yy2arr1705 { + if yyr1728 || yy2arr1728 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20279,25 +20679,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1712 := z.DecBinary() - _ = yym1712 + yym1731 := z.DecBinary() + _ = yym1731 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1713 := r.ContainerType() - if yyct1713 == codecSelferValueTypeMap1234 { - yyl1713 := r.ReadMapStart() - if yyl1713 == 0 { + yyct1732 := r.ContainerType() + if yyct1732 == codecSelferValueTypeMap1234 { + yyl1732 := r.ReadMapStart() + if yyl1732 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1713, d) + x.codecDecodeSelfFromMap(yyl1732, d) } - } else if yyct1713 == codecSelferValueTypeArray1234 { - yyl1713 := r.ReadArrayStart() - if yyl1713 == 0 { + } else if yyct1732 == codecSelferValueTypeArray1234 { + yyl1732 := r.ReadArrayStart() + if yyl1732 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1713, d) + x.codecDecodeSelfFromArray(yyl1732, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20309,12 +20709,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1714Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1714Slc - var yyhl1714 bool = l >= 0 - for yyj1714 := 0; ; yyj1714++ { - if yyhl1714 { - if yyj1714 >= l { + var yys1733Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1733Slc + var yyhl1733 bool = l >= 0 + for yyj1733 := 0; ; yyj1733++ { + if yyhl1733 { + if yyj1733 >= l { break } } else { @@ -20323,10 +20723,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1714Slc = r.DecodeBytes(yys1714Slc, true, true) - yys1714 := string(yys1714Slc) + yys1733Slc = r.DecodeBytes(yys1733Slc, true, true) + yys1733 := string(yys1733Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1714 { + switch yys1733 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -20334,15 +20734,9 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } else { if x.PodSelector == nil { - x.PodSelector = new(pkg1_unversioned.LabelSelector) - } - yym1716 := z.DecBinary() - _ = yym1716 - if false { - } else if z.HasExtensions() && z.DecExt(x.PodSelector) { - } else { - z.DecFallback(x.PodSelector, false) + x.PodSelector = new(LabelSelector) } + x.PodSelector.CodecDecodeSelf(d) } case "namespaceSelector": if r.TryDecodeAsNil() { @@ -20351,20 +20745,14 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } else { if x.NamespaceSelector == nil { - x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) - } - yym1718 := z.DecBinary() - _ = yym1718 - if false { - } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { - } else { - z.DecFallback(x.NamespaceSelector, false) + x.NamespaceSelector = new(LabelSelector) } + x.NamespaceSelector.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1714) - } // end switch yys1714 - } // end for yyj1714 + z.DecStructFieldNotFound(-1, yys1733) + } // end switch yys1733 + } // end for yyj1733 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20372,16 +20760,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1719 int - var yyb1719 bool - var yyhl1719 bool = l >= 0 - yyj1719++ - if yyhl1719 { - yyb1719 = yyj1719 > l + var yyj1736 int + var yyb1736 bool + var yyhl1736 bool = l >= 0 + yyj1736++ + if yyhl1736 { + yyb1736 = yyj1736 > l } else { - yyb1719 = r.CheckBreak() + yyb1736 = r.CheckBreak() } - if yyb1719 { + if yyb1736 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20392,23 +20780,17 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } else { if x.PodSelector == nil { - x.PodSelector = new(pkg1_unversioned.LabelSelector) - } - yym1721 := z.DecBinary() - _ = yym1721 - if false { - } else if z.HasExtensions() && z.DecExt(x.PodSelector) { - } else { - z.DecFallback(x.PodSelector, false) + x.PodSelector = new(LabelSelector) } + x.PodSelector.CodecDecodeSelf(d) } - yyj1719++ - if yyhl1719 { - yyb1719 = yyj1719 > l + yyj1736++ + if yyhl1736 { + yyb1736 = yyj1736 > l } else { - yyb1719 = r.CheckBreak() + yyb1736 = r.CheckBreak() } - if yyb1719 { + if yyb1736 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20419,28 +20801,22 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } else { if x.NamespaceSelector == nil { - x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) - } - yym1723 := z.DecBinary() - _ = yym1723 - if false { - } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { - } else { - z.DecFallback(x.NamespaceSelector, false) + x.NamespaceSelector = new(LabelSelector) } + x.NamespaceSelector.CodecDecodeSelf(d) } for { - yyj1719++ - if yyhl1719 { - yyb1719 = yyj1719 > l + yyj1736++ + if yyhl1736 { + yyb1736 = yyj1736 > l } else { - yyb1719 = r.CheckBreak() + yyb1736 = r.CheckBreak() } - if yyb1719 { + if yyb1736 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1719-1, "") + z.DecStructFieldNotFound(yyj1736-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20452,37 +20828,37 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1724 := z.EncBinary() - _ = yym1724 + yym1739 := z.EncBinary() + _ = yym1739 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1725 := !z.EncBinary() - yy2arr1725 := z.EncBasicHandle().StructToArray - var yyq1725 [4]bool - _, _, _ = yysep1725, yyq1725, yy2arr1725 - const yyr1725 bool = false - yyq1725[0] = x.Kind != "" - yyq1725[1] = x.APIVersion != "" - yyq1725[2] = true - var yynn1725 int - if yyr1725 || yy2arr1725 { + yysep1740 := !z.EncBinary() + yy2arr1740 := z.EncBasicHandle().StructToArray + var yyq1740 [4]bool + _, _, _ = yysep1740, yyq1740, yy2arr1740 + const yyr1740 bool = false + yyq1740[0] = x.Kind != "" + yyq1740[1] = x.APIVersion != "" + yyq1740[2] = true + var yynn1740 int + if yyr1740 || yy2arr1740 { r.EncodeArrayStart(4) } else { - yynn1725 = 1 - for _, b := range yyq1725 { + yynn1740 = 1 + for _, b := range yyq1740 { if b { - yynn1725++ + yynn1740++ } } - r.EncodeMapStart(yynn1725) - yynn1725 = 0 + r.EncodeMapStart(yynn1740) + yynn1740 = 0 } - if yyr1725 || yy2arr1725 { + if yyr1740 || yy2arr1740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1725[0] { - yym1727 := z.EncBinary() - _ = yym1727 + if yyq1740[0] { + yym1742 := z.EncBinary() + _ = yym1742 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -20491,23 +20867,23 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1725[0] { + if yyq1740[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1728 := z.EncBinary() - _ = yym1728 + yym1743 := z.EncBinary() + _ = yym1743 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1725 || yy2arr1725 { + if yyr1740 || yy2arr1740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1725[1] { - yym1730 := z.EncBinary() - _ = yym1730 + if yyq1740[1] { + yym1745 := z.EncBinary() + _ = yym1745 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -20516,54 +20892,54 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1725[1] { + if yyq1740[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1731 := z.EncBinary() - _ = yym1731 + yym1746 := z.EncBinary() + _ = yym1746 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1725 || yy2arr1725 { + if yyr1740 || yy2arr1740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1725[2] { - yy1733 := &x.ListMeta - yym1734 := z.EncBinary() - _ = yym1734 + if yyq1740[2] { + yy1748 := &x.ListMeta + yym1749 := z.EncBinary() + _ = yym1749 if false { - } else if z.HasExtensions() && z.EncExt(yy1733) { + } else if z.HasExtensions() && z.EncExt(yy1748) { } else { - z.EncFallback(yy1733) + z.EncFallback(yy1748) } } else { r.EncodeNil() } } else { - if yyq1725[2] { + if yyq1740[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1735 := &x.ListMeta - yym1736 := z.EncBinary() - _ = yym1736 + yy1750 := &x.ListMeta + yym1751 := z.EncBinary() + _ = yym1751 if false { - } else if z.HasExtensions() && z.EncExt(yy1735) { + } else if z.HasExtensions() && z.EncExt(yy1750) { } else { - z.EncFallback(yy1735) + z.EncFallback(yy1750) } } } - if yyr1725 || yy2arr1725 { + if yyr1740 || yy2arr1740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1738 := z.EncBinary() - _ = yym1738 + yym1753 := z.EncBinary() + _ = yym1753 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -20576,15 +20952,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1739 := z.EncBinary() - _ = yym1739 + yym1754 := z.EncBinary() + _ = yym1754 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr1725 || yy2arr1725 { + if yyr1740 || yy2arr1740 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20597,25 +20973,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1740 := z.DecBinary() - _ = yym1740 + yym1755 := z.DecBinary() + _ = yym1755 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1741 := r.ContainerType() - if yyct1741 == codecSelferValueTypeMap1234 { - yyl1741 := r.ReadMapStart() - if yyl1741 == 0 { + yyct1756 := r.ContainerType() + if yyct1756 == codecSelferValueTypeMap1234 { + yyl1756 := r.ReadMapStart() + if yyl1756 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1741, d) + x.codecDecodeSelfFromMap(yyl1756, d) } - } else if yyct1741 == codecSelferValueTypeArray1234 { - yyl1741 := r.ReadArrayStart() - if yyl1741 == 0 { + } else if yyct1756 == codecSelferValueTypeArray1234 { + yyl1756 := r.ReadArrayStart() + if yyl1756 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1741, d) + x.codecDecodeSelfFromArray(yyl1756, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20627,12 +21003,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1742Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1742Slc - var yyhl1742 bool = l >= 0 - for yyj1742 := 0; ; yyj1742++ { - if yyhl1742 { - if yyj1742 >= l { + var yys1757Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1757Slc + var yyhl1757 bool = l >= 0 + for yyj1757 := 0; ; yyj1757++ { + if yyhl1757 { + if yyj1757 >= l { break } } else { @@ -20641,10 +21017,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1742Slc = r.DecodeBytes(yys1742Slc, true, true) - yys1742 := string(yys1742Slc) + yys1757Slc = r.DecodeBytes(yys1757Slc, true, true) + yys1757 := string(yys1757Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1742 { + switch yys1757 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -20661,31 +21037,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1745 := &x.ListMeta - yym1746 := z.DecBinary() - _ = yym1746 + yyv1760 := &x.ListMeta + yym1761 := z.DecBinary() + _ = yym1761 if false { - } else if z.HasExtensions() && z.DecExt(yyv1745) { + } else if z.HasExtensions() && z.DecExt(yyv1760) { } else { - z.DecFallback(yyv1745, false) + z.DecFallback(yyv1760, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1747 := &x.Items - yym1748 := z.DecBinary() - _ = yym1748 + yyv1762 := &x.Items + yym1763 := z.DecBinary() + _ = yym1763 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1747), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1762), d) } } default: - z.DecStructFieldNotFound(-1, yys1742) - } // end switch yys1742 - } // end for yyj1742 + z.DecStructFieldNotFound(-1, yys1757) + } // end switch yys1757 + } // end for yyj1757 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20693,16 +21069,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1749 int - var yyb1749 bool - var yyhl1749 bool = l >= 0 - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + var yyj1764 int + var yyb1764 bool + var yyhl1764 bool = l >= 0 + yyj1764++ + if yyhl1764 { + yyb1764 = yyj1764 > l } else { - yyb1749 = r.CheckBreak() + yyb1764 = r.CheckBreak() } - if yyb1749 { + if yyb1764 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20712,13 +21088,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1764++ + if yyhl1764 { + yyb1764 = yyj1764 > l } else { - yyb1749 = r.CheckBreak() + yyb1764 = r.CheckBreak() } - if yyb1749 { + if yyb1764 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20728,13 +21104,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1764++ + if yyhl1764 { + yyb1764 = yyj1764 > l } else { - yyb1749 = r.CheckBreak() + yyb1764 = r.CheckBreak() } - if yyb1749 { + if yyb1764 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20742,22 +21118,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1752 := &x.ListMeta - yym1753 := z.DecBinary() - _ = yym1753 + yyv1767 := &x.ListMeta + yym1768 := z.DecBinary() + _ = yym1768 if false { - } else if z.HasExtensions() && z.DecExt(yyv1752) { + } else if z.HasExtensions() && z.DecExt(yyv1767) { } else { - z.DecFallback(yyv1752, false) + z.DecFallback(yyv1767, false) } } - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1764++ + if yyhl1764 { + yyb1764 = yyj1764 > l } else { - yyb1749 = r.CheckBreak() + yyb1764 = r.CheckBreak() } - if yyb1749 { + if yyb1764 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20765,26 +21141,26 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1754 := &x.Items - yym1755 := z.DecBinary() - _ = yym1755 + yyv1769 := &x.Items + yym1770 := z.DecBinary() + _ = yym1770 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1754), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1769), d) } } for { - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1764++ + if yyhl1764 { + yyb1764 = yyj1764 > l } else { - yyb1749 = r.CheckBreak() + yyb1764 = r.CheckBreak() } - if yyb1749 { + if yyb1764 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1749-1, "") + z.DecStructFieldNotFound(yyj1764-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20794,10 +21170,10 @@ func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1756 := range v { + for _, yyv1771 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1757 := &yyv1756 - yy1757.CodecEncodeSelf(e) + yy1772 := &yyv1771 + yy1772.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20807,83 +21183,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1758 := *v - yyh1758, yyl1758 := z.DecSliceHelperStart() - var yyc1758 bool - if yyl1758 == 0 { - if yyv1758 == nil { - yyv1758 = []CustomMetricTarget{} - yyc1758 = true - } else if len(yyv1758) != 0 { - yyv1758 = yyv1758[:0] - yyc1758 = true + yyv1773 := *v + yyh1773, yyl1773 := z.DecSliceHelperStart() + var yyc1773 bool + if yyl1773 == 0 { + if yyv1773 == nil { + yyv1773 = []CustomMetricTarget{} + yyc1773 = true + } else if len(yyv1773) != 0 { + yyv1773 = yyv1773[:0] + yyc1773 = true } - } else if yyl1758 > 0 { - var yyrr1758, yyrl1758 int - var yyrt1758 bool - if yyl1758 > cap(yyv1758) { + } else if yyl1773 > 0 { + var yyrr1773, yyrl1773 int + var yyrt1773 bool + if yyl1773 > cap(yyv1773) { - yyrg1758 := len(yyv1758) > 0 - yyv21758 := yyv1758 - yyrl1758, yyrt1758 = z.DecInferLen(yyl1758, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1758 { - if yyrl1758 <= cap(yyv1758) { - yyv1758 = yyv1758[:yyrl1758] + yyrg1773 := len(yyv1773) > 0 + yyv21773 := yyv1773 + yyrl1773, yyrt1773 = z.DecInferLen(yyl1773, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1773 { + if yyrl1773 <= cap(yyv1773) { + yyv1773 = yyv1773[:yyrl1773] } else { - yyv1758 = make([]CustomMetricTarget, yyrl1758) + yyv1773 = make([]CustomMetricTarget, yyrl1773) } } else { - yyv1758 = make([]CustomMetricTarget, yyrl1758) + yyv1773 = make([]CustomMetricTarget, yyrl1773) } - yyc1758 = true - yyrr1758 = len(yyv1758) - if yyrg1758 { - copy(yyv1758, yyv21758) + yyc1773 = true + yyrr1773 = len(yyv1773) + if yyrg1773 { + copy(yyv1773, yyv21773) } - } else if yyl1758 != len(yyv1758) { - yyv1758 = yyv1758[:yyl1758] - yyc1758 = true + } else if yyl1773 != len(yyv1773) { + yyv1773 = yyv1773[:yyl1773] + yyc1773 = true } - yyj1758 := 0 - for ; yyj1758 < yyrr1758; yyj1758++ { - yyh1758.ElemContainerState(yyj1758) + yyj1773 := 0 + for ; yyj1773 < yyrr1773; yyj1773++ { + yyh1773.ElemContainerState(yyj1773) if r.TryDecodeAsNil() { - yyv1758[yyj1758] = CustomMetricTarget{} + yyv1773[yyj1773] = CustomMetricTarget{} } else { - yyv1759 := &yyv1758[yyj1758] - yyv1759.CodecDecodeSelf(d) + yyv1774 := &yyv1773[yyj1773] + yyv1774.CodecDecodeSelf(d) } } - if yyrt1758 { - for ; yyj1758 < yyl1758; yyj1758++ { - yyv1758 = append(yyv1758, CustomMetricTarget{}) - yyh1758.ElemContainerState(yyj1758) + if yyrt1773 { + for ; yyj1773 < yyl1773; yyj1773++ { + yyv1773 = append(yyv1773, CustomMetricTarget{}) + yyh1773.ElemContainerState(yyj1773) if r.TryDecodeAsNil() { - yyv1758[yyj1758] = CustomMetricTarget{} + yyv1773[yyj1773] = CustomMetricTarget{} } else { - yyv1760 := &yyv1758[yyj1758] - yyv1760.CodecDecodeSelf(d) + yyv1775 := &yyv1773[yyj1773] + yyv1775.CodecDecodeSelf(d) } } } } else { - yyj1758 := 0 - for ; !r.CheckBreak(); yyj1758++ { + yyj1773 := 0 + for ; !r.CheckBreak(); yyj1773++ { - if yyj1758 >= len(yyv1758) { - yyv1758 = append(yyv1758, CustomMetricTarget{}) // var yyz1758 CustomMetricTarget - yyc1758 = true + if yyj1773 >= len(yyv1773) { + yyv1773 = append(yyv1773, CustomMetricTarget{}) // var yyz1773 CustomMetricTarget + yyc1773 = true } - yyh1758.ElemContainerState(yyj1758) - if yyj1758 < len(yyv1758) { + yyh1773.ElemContainerState(yyj1773) + if yyj1773 < len(yyv1773) { if r.TryDecodeAsNil() { - yyv1758[yyj1758] = CustomMetricTarget{} + yyv1773[yyj1773] = CustomMetricTarget{} } else { - yyv1761 := &yyv1758[yyj1758] - yyv1761.CodecDecodeSelf(d) + yyv1776 := &yyv1773[yyj1773] + yyv1776.CodecDecodeSelf(d) } } else { @@ -20891,17 +21267,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1758 < len(yyv1758) { - yyv1758 = yyv1758[:yyj1758] - yyc1758 = true - } else if yyj1758 == 0 && yyv1758 == nil { - yyv1758 = []CustomMetricTarget{} - yyc1758 = true + if yyj1773 < len(yyv1773) { + yyv1773 = yyv1773[:yyj1773] + yyc1773 = true + } else if yyj1773 == 0 && yyv1773 == nil { + yyv1773 = []CustomMetricTarget{} + yyc1773 = true } } - yyh1758.End() - if yyc1758 { - *v = yyv1758 + yyh1773.End() + if yyc1773 { + *v = yyv1773 } } @@ -20910,10 +21286,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1762 := range v { + for _, yyv1777 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1763 := &yyv1762 - yy1763.CodecEncodeSelf(e) + yy1778 := &yyv1777 + yy1778.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20923,83 +21299,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1764 := *v - yyh1764, yyl1764 := z.DecSliceHelperStart() - var yyc1764 bool - if yyl1764 == 0 { - if yyv1764 == nil { - yyv1764 = []CustomMetricCurrentStatus{} - yyc1764 = true - } else if len(yyv1764) != 0 { - yyv1764 = yyv1764[:0] - yyc1764 = true + yyv1779 := *v + yyh1779, yyl1779 := z.DecSliceHelperStart() + var yyc1779 bool + if yyl1779 == 0 { + if yyv1779 == nil { + yyv1779 = []CustomMetricCurrentStatus{} + yyc1779 = true + } else if len(yyv1779) != 0 { + yyv1779 = yyv1779[:0] + yyc1779 = true } - } else if yyl1764 > 0 { - var yyrr1764, yyrl1764 int - var yyrt1764 bool - if yyl1764 > cap(yyv1764) { + } else if yyl1779 > 0 { + var yyrr1779, yyrl1779 int + var yyrt1779 bool + if yyl1779 > cap(yyv1779) { - yyrg1764 := len(yyv1764) > 0 - yyv21764 := yyv1764 - yyrl1764, yyrt1764 = z.DecInferLen(yyl1764, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1764 { - if yyrl1764 <= cap(yyv1764) { - yyv1764 = yyv1764[:yyrl1764] + yyrg1779 := len(yyv1779) > 0 + yyv21779 := yyv1779 + yyrl1779, yyrt1779 = z.DecInferLen(yyl1779, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1779 { + if yyrl1779 <= cap(yyv1779) { + yyv1779 = yyv1779[:yyrl1779] } else { - yyv1764 = make([]CustomMetricCurrentStatus, yyrl1764) + yyv1779 = make([]CustomMetricCurrentStatus, yyrl1779) } } else { - yyv1764 = make([]CustomMetricCurrentStatus, yyrl1764) + yyv1779 = make([]CustomMetricCurrentStatus, yyrl1779) } - yyc1764 = true - yyrr1764 = len(yyv1764) - if yyrg1764 { - copy(yyv1764, yyv21764) + yyc1779 = true + yyrr1779 = len(yyv1779) + if yyrg1779 { + copy(yyv1779, yyv21779) } - } else if yyl1764 != len(yyv1764) { - yyv1764 = yyv1764[:yyl1764] - yyc1764 = true + } else if yyl1779 != len(yyv1779) { + yyv1779 = yyv1779[:yyl1779] + yyc1779 = true } - yyj1764 := 0 - for ; yyj1764 < yyrr1764; yyj1764++ { - yyh1764.ElemContainerState(yyj1764) + yyj1779 := 0 + for ; yyj1779 < yyrr1779; yyj1779++ { + yyh1779.ElemContainerState(yyj1779) if r.TryDecodeAsNil() { - yyv1764[yyj1764] = CustomMetricCurrentStatus{} + yyv1779[yyj1779] = CustomMetricCurrentStatus{} } else { - yyv1765 := &yyv1764[yyj1764] - yyv1765.CodecDecodeSelf(d) + yyv1780 := &yyv1779[yyj1779] + yyv1780.CodecDecodeSelf(d) } } - if yyrt1764 { - for ; yyj1764 < yyl1764; yyj1764++ { - yyv1764 = append(yyv1764, CustomMetricCurrentStatus{}) - yyh1764.ElemContainerState(yyj1764) + if yyrt1779 { + for ; yyj1779 < yyl1779; yyj1779++ { + yyv1779 = append(yyv1779, CustomMetricCurrentStatus{}) + yyh1779.ElemContainerState(yyj1779) if r.TryDecodeAsNil() { - yyv1764[yyj1764] = CustomMetricCurrentStatus{} + yyv1779[yyj1779] = CustomMetricCurrentStatus{} } else { - yyv1766 := &yyv1764[yyj1764] - yyv1766.CodecDecodeSelf(d) + yyv1781 := &yyv1779[yyj1779] + yyv1781.CodecDecodeSelf(d) } } } } else { - yyj1764 := 0 - for ; !r.CheckBreak(); yyj1764++ { + yyj1779 := 0 + for ; !r.CheckBreak(); yyj1779++ { - if yyj1764 >= len(yyv1764) { - yyv1764 = append(yyv1764, CustomMetricCurrentStatus{}) // var yyz1764 CustomMetricCurrentStatus - yyc1764 = true + if yyj1779 >= len(yyv1779) { + yyv1779 = append(yyv1779, CustomMetricCurrentStatus{}) // var yyz1779 CustomMetricCurrentStatus + yyc1779 = true } - yyh1764.ElemContainerState(yyj1764) - if yyj1764 < len(yyv1764) { + yyh1779.ElemContainerState(yyj1779) + if yyj1779 < len(yyv1779) { if r.TryDecodeAsNil() { - yyv1764[yyj1764] = CustomMetricCurrentStatus{} + yyv1779[yyj1779] = CustomMetricCurrentStatus{} } else { - yyv1767 := &yyv1764[yyj1764] - yyv1767.CodecDecodeSelf(d) + yyv1782 := &yyv1779[yyj1779] + yyv1782.CodecDecodeSelf(d) } } else { @@ -21007,17 +21383,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1764 < len(yyv1764) { - yyv1764 = yyv1764[:yyj1764] - yyc1764 = true - } else if yyj1764 == 0 && yyv1764 == nil { - yyv1764 = []CustomMetricCurrentStatus{} - yyc1764 = true + if yyj1779 < len(yyv1779) { + yyv1779 = yyv1779[:yyj1779] + yyc1779 = true + } else if yyj1779 == 0 && yyv1779 == nil { + yyv1779 = []CustomMetricCurrentStatus{} + yyc1779 = true } } - yyh1764.End() - if yyc1764 { - *v = yyv1764 + yyh1779.End() + if yyc1779 { + *v = yyv1779 } } @@ -21026,10 +21402,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1768 := range v { + for _, yyv1783 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1769 := &yyv1768 - yy1769.CodecEncodeSelf(e) + yy1784 := &yyv1783 + yy1784.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21039,83 +21415,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1770 := *v - yyh1770, yyl1770 := z.DecSliceHelperStart() - var yyc1770 bool - if yyl1770 == 0 { - if yyv1770 == nil { - yyv1770 = []HorizontalPodAutoscaler{} - yyc1770 = true - } else if len(yyv1770) != 0 { - yyv1770 = yyv1770[:0] - yyc1770 = true + yyv1785 := *v + yyh1785, yyl1785 := z.DecSliceHelperStart() + var yyc1785 bool + if yyl1785 == 0 { + if yyv1785 == nil { + yyv1785 = []HorizontalPodAutoscaler{} + yyc1785 = true + } else if len(yyv1785) != 0 { + yyv1785 = yyv1785[:0] + yyc1785 = true } - } else if yyl1770 > 0 { - var yyrr1770, yyrl1770 int - var yyrt1770 bool - if yyl1770 > cap(yyv1770) { + } else if yyl1785 > 0 { + var yyrr1785, yyrl1785 int + var yyrt1785 bool + if yyl1785 > cap(yyv1785) { - yyrg1770 := len(yyv1770) > 0 - yyv21770 := yyv1770 - yyrl1770, yyrt1770 = z.DecInferLen(yyl1770, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1770 { - if yyrl1770 <= cap(yyv1770) { - yyv1770 = yyv1770[:yyrl1770] + yyrg1785 := len(yyv1785) > 0 + yyv21785 := yyv1785 + yyrl1785, yyrt1785 = z.DecInferLen(yyl1785, z.DecBasicHandle().MaxInitLen, 376) + if yyrt1785 { + if yyrl1785 <= cap(yyv1785) { + yyv1785 = yyv1785[:yyrl1785] } else { - yyv1770 = make([]HorizontalPodAutoscaler, yyrl1770) + yyv1785 = make([]HorizontalPodAutoscaler, yyrl1785) } } else { - yyv1770 = make([]HorizontalPodAutoscaler, yyrl1770) + yyv1785 = make([]HorizontalPodAutoscaler, yyrl1785) } - yyc1770 = true - yyrr1770 = len(yyv1770) - if yyrg1770 { - copy(yyv1770, yyv21770) + yyc1785 = true + yyrr1785 = len(yyv1785) + if yyrg1785 { + copy(yyv1785, yyv21785) } - } else if yyl1770 != len(yyv1770) { - yyv1770 = yyv1770[:yyl1770] - yyc1770 = true + } else if yyl1785 != len(yyv1785) { + yyv1785 = yyv1785[:yyl1785] + yyc1785 = true } - yyj1770 := 0 - for ; yyj1770 < yyrr1770; yyj1770++ { - yyh1770.ElemContainerState(yyj1770) + yyj1785 := 0 + for ; yyj1785 < yyrr1785; yyj1785++ { + yyh1785.ElemContainerState(yyj1785) if r.TryDecodeAsNil() { - yyv1770[yyj1770] = HorizontalPodAutoscaler{} + yyv1785[yyj1785] = HorizontalPodAutoscaler{} } else { - yyv1771 := &yyv1770[yyj1770] - yyv1771.CodecDecodeSelf(d) + yyv1786 := &yyv1785[yyj1785] + yyv1786.CodecDecodeSelf(d) } } - if yyrt1770 { - for ; yyj1770 < yyl1770; yyj1770++ { - yyv1770 = append(yyv1770, HorizontalPodAutoscaler{}) - yyh1770.ElemContainerState(yyj1770) + if yyrt1785 { + for ; yyj1785 < yyl1785; yyj1785++ { + yyv1785 = append(yyv1785, HorizontalPodAutoscaler{}) + yyh1785.ElemContainerState(yyj1785) if r.TryDecodeAsNil() { - yyv1770[yyj1770] = HorizontalPodAutoscaler{} + yyv1785[yyj1785] = HorizontalPodAutoscaler{} } else { - yyv1772 := &yyv1770[yyj1770] - yyv1772.CodecDecodeSelf(d) + yyv1787 := &yyv1785[yyj1785] + yyv1787.CodecDecodeSelf(d) } } } } else { - yyj1770 := 0 - for ; !r.CheckBreak(); yyj1770++ { + yyj1785 := 0 + for ; !r.CheckBreak(); yyj1785++ { - if yyj1770 >= len(yyv1770) { - yyv1770 = append(yyv1770, HorizontalPodAutoscaler{}) // var yyz1770 HorizontalPodAutoscaler - yyc1770 = true + if yyj1785 >= len(yyv1785) { + yyv1785 = append(yyv1785, HorizontalPodAutoscaler{}) // var yyz1785 HorizontalPodAutoscaler + yyc1785 = true } - yyh1770.ElemContainerState(yyj1770) - if yyj1770 < len(yyv1770) { + yyh1785.ElemContainerState(yyj1785) + if yyj1785 < len(yyv1785) { if r.TryDecodeAsNil() { - yyv1770[yyj1770] = HorizontalPodAutoscaler{} + yyv1785[yyj1785] = HorizontalPodAutoscaler{} } else { - yyv1773 := &yyv1770[yyj1770] - yyv1773.CodecDecodeSelf(d) + yyv1788 := &yyv1785[yyj1785] + yyv1788.CodecDecodeSelf(d) } } else { @@ -21123,17 +21499,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1770 < len(yyv1770) { - yyv1770 = yyv1770[:yyj1770] - yyc1770 = true - } else if yyj1770 == 0 && yyv1770 == nil { - yyv1770 = []HorizontalPodAutoscaler{} - yyc1770 = true + if yyj1785 < len(yyv1785) { + yyv1785 = yyv1785[:yyj1785] + yyc1785 = true + } else if yyj1785 == 0 && yyv1785 == nil { + yyv1785 = []HorizontalPodAutoscaler{} + yyc1785 = true } } - yyh1770.End() - if yyc1770 { - *v = yyv1770 + yyh1785.End() + if yyc1785 { + *v = yyv1785 } } @@ -21142,10 +21518,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1774 := range v { + for _, yyv1789 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1775 := &yyv1774 - yy1775.CodecEncodeSelf(e) + yy1790 := &yyv1789 + yy1790.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21155,83 +21531,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1776 := *v - yyh1776, yyl1776 := z.DecSliceHelperStart() - var yyc1776 bool - if yyl1776 == 0 { - if yyv1776 == nil { - yyv1776 = []APIVersion{} - yyc1776 = true - } else if len(yyv1776) != 0 { - yyv1776 = yyv1776[:0] - yyc1776 = true + yyv1791 := *v + yyh1791, yyl1791 := z.DecSliceHelperStart() + var yyc1791 bool + if yyl1791 == 0 { + if yyv1791 == nil { + yyv1791 = []APIVersion{} + yyc1791 = true + } else if len(yyv1791) != 0 { + yyv1791 = yyv1791[:0] + yyc1791 = true } - } else if yyl1776 > 0 { - var yyrr1776, yyrl1776 int - var yyrt1776 bool - if yyl1776 > cap(yyv1776) { + } else if yyl1791 > 0 { + var yyrr1791, yyrl1791 int + var yyrt1791 bool + if yyl1791 > cap(yyv1791) { - yyrg1776 := len(yyv1776) > 0 - yyv21776 := yyv1776 - yyrl1776, yyrt1776 = z.DecInferLen(yyl1776, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1776 { - if yyrl1776 <= cap(yyv1776) { - yyv1776 = yyv1776[:yyrl1776] + yyrg1791 := len(yyv1791) > 0 + yyv21791 := yyv1791 + yyrl1791, yyrt1791 = z.DecInferLen(yyl1791, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1791 { + if yyrl1791 <= cap(yyv1791) { + yyv1791 = yyv1791[:yyrl1791] } else { - yyv1776 = make([]APIVersion, yyrl1776) + yyv1791 = make([]APIVersion, yyrl1791) } } else { - yyv1776 = make([]APIVersion, yyrl1776) + yyv1791 = make([]APIVersion, yyrl1791) } - yyc1776 = true - yyrr1776 = len(yyv1776) - if yyrg1776 { - copy(yyv1776, yyv21776) + yyc1791 = true + yyrr1791 = len(yyv1791) + if yyrg1791 { + copy(yyv1791, yyv21791) } - } else if yyl1776 != len(yyv1776) { - yyv1776 = yyv1776[:yyl1776] - yyc1776 = true + } else if yyl1791 != len(yyv1791) { + yyv1791 = yyv1791[:yyl1791] + yyc1791 = true } - yyj1776 := 0 - for ; yyj1776 < yyrr1776; yyj1776++ { - yyh1776.ElemContainerState(yyj1776) + yyj1791 := 0 + for ; yyj1791 < yyrr1791; yyj1791++ { + yyh1791.ElemContainerState(yyj1791) if r.TryDecodeAsNil() { - yyv1776[yyj1776] = APIVersion{} + yyv1791[yyj1791] = APIVersion{} } else { - yyv1777 := &yyv1776[yyj1776] - yyv1777.CodecDecodeSelf(d) + yyv1792 := &yyv1791[yyj1791] + yyv1792.CodecDecodeSelf(d) } } - if yyrt1776 { - for ; yyj1776 < yyl1776; yyj1776++ { - yyv1776 = append(yyv1776, APIVersion{}) - yyh1776.ElemContainerState(yyj1776) + if yyrt1791 { + for ; yyj1791 < yyl1791; yyj1791++ { + yyv1791 = append(yyv1791, APIVersion{}) + yyh1791.ElemContainerState(yyj1791) if r.TryDecodeAsNil() { - yyv1776[yyj1776] = APIVersion{} + yyv1791[yyj1791] = APIVersion{} } else { - yyv1778 := &yyv1776[yyj1776] - yyv1778.CodecDecodeSelf(d) + yyv1793 := &yyv1791[yyj1791] + yyv1793.CodecDecodeSelf(d) } } } } else { - yyj1776 := 0 - for ; !r.CheckBreak(); yyj1776++ { + yyj1791 := 0 + for ; !r.CheckBreak(); yyj1791++ { - if yyj1776 >= len(yyv1776) { - yyv1776 = append(yyv1776, APIVersion{}) // var yyz1776 APIVersion - yyc1776 = true + if yyj1791 >= len(yyv1791) { + yyv1791 = append(yyv1791, APIVersion{}) // var yyz1791 APIVersion + yyc1791 = true } - yyh1776.ElemContainerState(yyj1776) - if yyj1776 < len(yyv1776) { + yyh1791.ElemContainerState(yyj1791) + if yyj1791 < len(yyv1791) { if r.TryDecodeAsNil() { - yyv1776[yyj1776] = APIVersion{} + yyv1791[yyj1791] = APIVersion{} } else { - yyv1779 := &yyv1776[yyj1776] - yyv1779.CodecDecodeSelf(d) + yyv1794 := &yyv1791[yyj1791] + yyv1794.CodecDecodeSelf(d) } } else { @@ -21239,17 +21615,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1776 < len(yyv1776) { - yyv1776 = yyv1776[:yyj1776] - yyc1776 = true - } else if yyj1776 == 0 && yyv1776 == nil { - yyv1776 = []APIVersion{} - yyc1776 = true + if yyj1791 < len(yyv1791) { + yyv1791 = yyv1791[:yyj1791] + yyc1791 = true + } else if yyj1791 == 0 && yyv1791 == nil { + yyv1791 = []APIVersion{} + yyc1791 = true } } - yyh1776.End() - if yyc1776 { - *v = yyv1776 + yyh1791.End() + if yyc1791 { + *v = yyv1791 } } @@ -21258,10 +21634,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1780 := range v { + for _, yyv1795 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1781 := &yyv1780 - yy1781.CodecEncodeSelf(e) + yy1796 := &yyv1795 + yy1796.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21271,83 +21647,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1782 := *v - yyh1782, yyl1782 := z.DecSliceHelperStart() - var yyc1782 bool - if yyl1782 == 0 { - if yyv1782 == nil { - yyv1782 = []ThirdPartyResource{} - yyc1782 = true - } else if len(yyv1782) != 0 { - yyv1782 = yyv1782[:0] - yyc1782 = true + yyv1797 := *v + yyh1797, yyl1797 := z.DecSliceHelperStart() + var yyc1797 bool + if yyl1797 == 0 { + if yyv1797 == nil { + yyv1797 = []ThirdPartyResource{} + yyc1797 = true + } else if len(yyv1797) != 0 { + yyv1797 = yyv1797[:0] + yyc1797 = true } - } else if yyl1782 > 0 { - var yyrr1782, yyrl1782 int - var yyrt1782 bool - if yyl1782 > cap(yyv1782) { + } else if yyl1797 > 0 { + var yyrr1797, yyrl1797 int + var yyrt1797 bool + if yyl1797 > cap(yyv1797) { - yyrg1782 := len(yyv1782) > 0 - yyv21782 := yyv1782 - yyrl1782, yyrt1782 = z.DecInferLen(yyl1782, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1782 { - if yyrl1782 <= cap(yyv1782) { - yyv1782 = yyv1782[:yyrl1782] + yyrg1797 := len(yyv1797) > 0 + yyv21797 := yyv1797 + yyrl1797, yyrt1797 = z.DecInferLen(yyl1797, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1797 { + if yyrl1797 <= cap(yyv1797) { + yyv1797 = yyv1797[:yyrl1797] } else { - yyv1782 = make([]ThirdPartyResource, yyrl1782) + yyv1797 = make([]ThirdPartyResource, yyrl1797) } } else { - yyv1782 = make([]ThirdPartyResource, yyrl1782) + yyv1797 = make([]ThirdPartyResource, yyrl1797) } - yyc1782 = true - yyrr1782 = len(yyv1782) - if yyrg1782 { - copy(yyv1782, yyv21782) + yyc1797 = true + yyrr1797 = len(yyv1797) + if yyrg1797 { + copy(yyv1797, yyv21797) } - } else if yyl1782 != len(yyv1782) { - yyv1782 = yyv1782[:yyl1782] - yyc1782 = true + } else if yyl1797 != len(yyv1797) { + yyv1797 = yyv1797[:yyl1797] + yyc1797 = true } - yyj1782 := 0 - for ; yyj1782 < yyrr1782; yyj1782++ { - yyh1782.ElemContainerState(yyj1782) + yyj1797 := 0 + for ; yyj1797 < yyrr1797; yyj1797++ { + yyh1797.ElemContainerState(yyj1797) if r.TryDecodeAsNil() { - yyv1782[yyj1782] = ThirdPartyResource{} + yyv1797[yyj1797] = ThirdPartyResource{} } else { - yyv1783 := &yyv1782[yyj1782] - yyv1783.CodecDecodeSelf(d) + yyv1798 := &yyv1797[yyj1797] + yyv1798.CodecDecodeSelf(d) } } - if yyrt1782 { - for ; yyj1782 < yyl1782; yyj1782++ { - yyv1782 = append(yyv1782, ThirdPartyResource{}) - yyh1782.ElemContainerState(yyj1782) + if yyrt1797 { + for ; yyj1797 < yyl1797; yyj1797++ { + yyv1797 = append(yyv1797, ThirdPartyResource{}) + yyh1797.ElemContainerState(yyj1797) if r.TryDecodeAsNil() { - yyv1782[yyj1782] = ThirdPartyResource{} + yyv1797[yyj1797] = ThirdPartyResource{} } else { - yyv1784 := &yyv1782[yyj1782] - yyv1784.CodecDecodeSelf(d) + yyv1799 := &yyv1797[yyj1797] + yyv1799.CodecDecodeSelf(d) } } } } else { - yyj1782 := 0 - for ; !r.CheckBreak(); yyj1782++ { + yyj1797 := 0 + for ; !r.CheckBreak(); yyj1797++ { - if yyj1782 >= len(yyv1782) { - yyv1782 = append(yyv1782, ThirdPartyResource{}) // var yyz1782 ThirdPartyResource - yyc1782 = true + if yyj1797 >= len(yyv1797) { + yyv1797 = append(yyv1797, ThirdPartyResource{}) // var yyz1797 ThirdPartyResource + yyc1797 = true } - yyh1782.ElemContainerState(yyj1782) - if yyj1782 < len(yyv1782) { + yyh1797.ElemContainerState(yyj1797) + if yyj1797 < len(yyv1797) { if r.TryDecodeAsNil() { - yyv1782[yyj1782] = ThirdPartyResource{} + yyv1797[yyj1797] = ThirdPartyResource{} } else { - yyv1785 := &yyv1782[yyj1782] - yyv1785.CodecDecodeSelf(d) + yyv1800 := &yyv1797[yyj1797] + yyv1800.CodecDecodeSelf(d) } } else { @@ -21355,17 +21731,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1782 < len(yyv1782) { - yyv1782 = yyv1782[:yyj1782] - yyc1782 = true - } else if yyj1782 == 0 && yyv1782 == nil { - yyv1782 = []ThirdPartyResource{} - yyc1782 = true + if yyj1797 < len(yyv1797) { + yyv1797 = yyv1797[:yyj1797] + yyc1797 = true + } else if yyj1797 == 0 && yyv1797 == nil { + yyv1797 = []ThirdPartyResource{} + yyc1797 = true } } - yyh1782.End() - if yyc1782 { - *v = yyv1782 + yyh1797.End() + if yyc1797 { + *v = yyv1797 } } @@ -21374,10 +21750,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1786 := range v { + for _, yyv1801 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1787 := &yyv1786 - yy1787.CodecEncodeSelf(e) + yy1802 := &yyv1801 + yy1802.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21387,83 +21763,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1788 := *v - yyh1788, yyl1788 := z.DecSliceHelperStart() - var yyc1788 bool - if yyl1788 == 0 { - if yyv1788 == nil { - yyv1788 = []Deployment{} - yyc1788 = true - } else if len(yyv1788) != 0 { - yyv1788 = yyv1788[:0] - yyc1788 = true + yyv1803 := *v + yyh1803, yyl1803 := z.DecSliceHelperStart() + var yyc1803 bool + if yyl1803 == 0 { + if yyv1803 == nil { + yyv1803 = []Deployment{} + yyc1803 = true + } else if len(yyv1803) != 0 { + yyv1803 = yyv1803[:0] + yyc1803 = true } - } else if yyl1788 > 0 { - var yyrr1788, yyrl1788 int - var yyrt1788 bool - if yyl1788 > cap(yyv1788) { + } else if yyl1803 > 0 { + var yyrr1803, yyrl1803 int + var yyrt1803 bool + if yyl1803 > cap(yyv1803) { - yyrg1788 := len(yyv1788) > 0 - yyv21788 := yyv1788 - yyrl1788, yyrt1788 = z.DecInferLen(yyl1788, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1788 { - if yyrl1788 <= cap(yyv1788) { - yyv1788 = yyv1788[:yyrl1788] + yyrg1803 := len(yyv1803) > 0 + yyv21803 := yyv1803 + yyrl1803, yyrt1803 = z.DecInferLen(yyl1803, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1803 { + if yyrl1803 <= cap(yyv1803) { + yyv1803 = yyv1803[:yyrl1803] } else { - yyv1788 = make([]Deployment, yyrl1788) + yyv1803 = make([]Deployment, yyrl1803) } } else { - yyv1788 = make([]Deployment, yyrl1788) + yyv1803 = make([]Deployment, yyrl1803) } - yyc1788 = true - yyrr1788 = len(yyv1788) - if yyrg1788 { - copy(yyv1788, yyv21788) + yyc1803 = true + yyrr1803 = len(yyv1803) + if yyrg1803 { + copy(yyv1803, yyv21803) } - } else if yyl1788 != len(yyv1788) { - yyv1788 = yyv1788[:yyl1788] - yyc1788 = true + } else if yyl1803 != len(yyv1803) { + yyv1803 = yyv1803[:yyl1803] + yyc1803 = true } - yyj1788 := 0 - for ; yyj1788 < yyrr1788; yyj1788++ { - yyh1788.ElemContainerState(yyj1788) + yyj1803 := 0 + for ; yyj1803 < yyrr1803; yyj1803++ { + yyh1803.ElemContainerState(yyj1803) if r.TryDecodeAsNil() { - yyv1788[yyj1788] = Deployment{} + yyv1803[yyj1803] = Deployment{} } else { - yyv1789 := &yyv1788[yyj1788] - yyv1789.CodecDecodeSelf(d) + yyv1804 := &yyv1803[yyj1803] + yyv1804.CodecDecodeSelf(d) } } - if yyrt1788 { - for ; yyj1788 < yyl1788; yyj1788++ { - yyv1788 = append(yyv1788, Deployment{}) - yyh1788.ElemContainerState(yyj1788) + if yyrt1803 { + for ; yyj1803 < yyl1803; yyj1803++ { + yyv1803 = append(yyv1803, Deployment{}) + yyh1803.ElemContainerState(yyj1803) if r.TryDecodeAsNil() { - yyv1788[yyj1788] = Deployment{} + yyv1803[yyj1803] = Deployment{} } else { - yyv1790 := &yyv1788[yyj1788] - yyv1790.CodecDecodeSelf(d) + yyv1805 := &yyv1803[yyj1803] + yyv1805.CodecDecodeSelf(d) } } } } else { - yyj1788 := 0 - for ; !r.CheckBreak(); yyj1788++ { + yyj1803 := 0 + for ; !r.CheckBreak(); yyj1803++ { - if yyj1788 >= len(yyv1788) { - yyv1788 = append(yyv1788, Deployment{}) // var yyz1788 Deployment - yyc1788 = true + if yyj1803 >= len(yyv1803) { + yyv1803 = append(yyv1803, Deployment{}) // var yyz1803 Deployment + yyc1803 = true } - yyh1788.ElemContainerState(yyj1788) - if yyj1788 < len(yyv1788) { + yyh1803.ElemContainerState(yyj1803) + if yyj1803 < len(yyv1803) { if r.TryDecodeAsNil() { - yyv1788[yyj1788] = Deployment{} + yyv1803[yyj1803] = Deployment{} } else { - yyv1791 := &yyv1788[yyj1788] - yyv1791.CodecDecodeSelf(d) + yyv1806 := &yyv1803[yyj1803] + yyv1806.CodecDecodeSelf(d) } } else { @@ -21471,17 +21847,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1788 < len(yyv1788) { - yyv1788 = yyv1788[:yyj1788] - yyc1788 = true - } else if yyj1788 == 0 && yyv1788 == nil { - yyv1788 = []Deployment{} - yyc1788 = true + if yyj1803 < len(yyv1803) { + yyv1803 = yyv1803[:yyj1803] + yyc1803 = true + } else if yyj1803 == 0 && yyv1803 == nil { + yyv1803 = []Deployment{} + yyc1803 = true } } - yyh1788.End() - if yyc1788 { - *v = yyv1788 + yyh1803.End() + if yyc1803 { + *v = yyv1803 } } @@ -21490,10 +21866,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1792 := range v { + for _, yyv1807 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1793 := &yyv1792 - yy1793.CodecEncodeSelf(e) + yy1808 := &yyv1807 + yy1808.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21503,83 +21879,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1794 := *v - yyh1794, yyl1794 := z.DecSliceHelperStart() - var yyc1794 bool - if yyl1794 == 0 { - if yyv1794 == nil { - yyv1794 = []DaemonSet{} - yyc1794 = true - } else if len(yyv1794) != 0 { - yyv1794 = yyv1794[:0] - yyc1794 = true + yyv1809 := *v + yyh1809, yyl1809 := z.DecSliceHelperStart() + var yyc1809 bool + if yyl1809 == 0 { + if yyv1809 == nil { + yyv1809 = []DaemonSet{} + yyc1809 = true + } else if len(yyv1809) != 0 { + yyv1809 = yyv1809[:0] + yyc1809 = true } - } else if yyl1794 > 0 { - var yyrr1794, yyrl1794 int - var yyrt1794 bool - if yyl1794 > cap(yyv1794) { + } else if yyl1809 > 0 { + var yyrr1809, yyrl1809 int + var yyrt1809 bool + if yyl1809 > cap(yyv1809) { - yyrg1794 := len(yyv1794) > 0 - yyv21794 := yyv1794 - yyrl1794, yyrt1794 = z.DecInferLen(yyl1794, z.DecBasicHandle().MaxInitLen, 752) - if yyrt1794 { - if yyrl1794 <= cap(yyv1794) { - yyv1794 = yyv1794[:yyrl1794] + yyrg1809 := len(yyv1809) > 0 + yyv21809 := yyv1809 + yyrl1809, yyrt1809 = z.DecInferLen(yyl1809, z.DecBasicHandle().MaxInitLen, 752) + if yyrt1809 { + if yyrl1809 <= cap(yyv1809) { + yyv1809 = yyv1809[:yyrl1809] } else { - yyv1794 = make([]DaemonSet, yyrl1794) + yyv1809 = make([]DaemonSet, yyrl1809) } } else { - yyv1794 = make([]DaemonSet, yyrl1794) + yyv1809 = make([]DaemonSet, yyrl1809) } - yyc1794 = true - yyrr1794 = len(yyv1794) - if yyrg1794 { - copy(yyv1794, yyv21794) + yyc1809 = true + yyrr1809 = len(yyv1809) + if yyrg1809 { + copy(yyv1809, yyv21809) } - } else if yyl1794 != len(yyv1794) { - yyv1794 = yyv1794[:yyl1794] - yyc1794 = true + } else if yyl1809 != len(yyv1809) { + yyv1809 = yyv1809[:yyl1809] + yyc1809 = true } - yyj1794 := 0 - for ; yyj1794 < yyrr1794; yyj1794++ { - yyh1794.ElemContainerState(yyj1794) + yyj1809 := 0 + for ; yyj1809 < yyrr1809; yyj1809++ { + yyh1809.ElemContainerState(yyj1809) if r.TryDecodeAsNil() { - yyv1794[yyj1794] = DaemonSet{} + yyv1809[yyj1809] = DaemonSet{} } else { - yyv1795 := &yyv1794[yyj1794] - yyv1795.CodecDecodeSelf(d) + yyv1810 := &yyv1809[yyj1809] + yyv1810.CodecDecodeSelf(d) } } - if yyrt1794 { - for ; yyj1794 < yyl1794; yyj1794++ { - yyv1794 = append(yyv1794, DaemonSet{}) - yyh1794.ElemContainerState(yyj1794) + if yyrt1809 { + for ; yyj1809 < yyl1809; yyj1809++ { + yyv1809 = append(yyv1809, DaemonSet{}) + yyh1809.ElemContainerState(yyj1809) if r.TryDecodeAsNil() { - yyv1794[yyj1794] = DaemonSet{} + yyv1809[yyj1809] = DaemonSet{} } else { - yyv1796 := &yyv1794[yyj1794] - yyv1796.CodecDecodeSelf(d) + yyv1811 := &yyv1809[yyj1809] + yyv1811.CodecDecodeSelf(d) } } } } else { - yyj1794 := 0 - for ; !r.CheckBreak(); yyj1794++ { + yyj1809 := 0 + for ; !r.CheckBreak(); yyj1809++ { - if yyj1794 >= len(yyv1794) { - yyv1794 = append(yyv1794, DaemonSet{}) // var yyz1794 DaemonSet - yyc1794 = true + if yyj1809 >= len(yyv1809) { + yyv1809 = append(yyv1809, DaemonSet{}) // var yyz1809 DaemonSet + yyc1809 = true } - yyh1794.ElemContainerState(yyj1794) - if yyj1794 < len(yyv1794) { + yyh1809.ElemContainerState(yyj1809) + if yyj1809 < len(yyv1809) { if r.TryDecodeAsNil() { - yyv1794[yyj1794] = DaemonSet{} + yyv1809[yyj1809] = DaemonSet{} } else { - yyv1797 := &yyv1794[yyj1794] - yyv1797.CodecDecodeSelf(d) + yyv1812 := &yyv1809[yyj1809] + yyv1812.CodecDecodeSelf(d) } } else { @@ -21587,17 +21963,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1794 < len(yyv1794) { - yyv1794 = yyv1794[:yyj1794] - yyc1794 = true - } else if yyj1794 == 0 && yyv1794 == nil { - yyv1794 = []DaemonSet{} - yyc1794 = true + if yyj1809 < len(yyv1809) { + yyv1809 = yyv1809[:yyj1809] + yyc1809 = true + } else if yyj1809 == 0 && yyv1809 == nil { + yyv1809 = []DaemonSet{} + yyc1809 = true } } - yyh1794.End() - if yyc1794 { - *v = yyv1794 + yyh1809.End() + if yyc1809 { + *v = yyv1809 } } @@ -21606,10 +21982,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1798 := range v { + for _, yyv1813 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1799 := &yyv1798 - yy1799.CodecEncodeSelf(e) + yy1814 := &yyv1813 + yy1814.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21619,83 +21995,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1800 := *v - yyh1800, yyl1800 := z.DecSliceHelperStart() - var yyc1800 bool - if yyl1800 == 0 { - if yyv1800 == nil { - yyv1800 = []ThirdPartyResourceData{} - yyc1800 = true - } else if len(yyv1800) != 0 { - yyv1800 = yyv1800[:0] - yyc1800 = true + yyv1815 := *v + yyh1815, yyl1815 := z.DecSliceHelperStart() + var yyc1815 bool + if yyl1815 == 0 { + if yyv1815 == nil { + yyv1815 = []ThirdPartyResourceData{} + yyc1815 = true + } else if len(yyv1815) != 0 { + yyv1815 = yyv1815[:0] + yyc1815 = true } - } else if yyl1800 > 0 { - var yyrr1800, yyrl1800 int - var yyrt1800 bool - if yyl1800 > cap(yyv1800) { + } else if yyl1815 > 0 { + var yyrr1815, yyrl1815 int + var yyrt1815 bool + if yyl1815 > cap(yyv1815) { - yyrg1800 := len(yyv1800) > 0 - yyv21800 := yyv1800 - yyrl1800, yyrt1800 = z.DecInferLen(yyl1800, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1800 { - if yyrl1800 <= cap(yyv1800) { - yyv1800 = yyv1800[:yyrl1800] + yyrg1815 := len(yyv1815) > 0 + yyv21815 := yyv1815 + yyrl1815, yyrt1815 = z.DecInferLen(yyl1815, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1815 { + if yyrl1815 <= cap(yyv1815) { + yyv1815 = yyv1815[:yyrl1815] } else { - yyv1800 = make([]ThirdPartyResourceData, yyrl1800) + yyv1815 = make([]ThirdPartyResourceData, yyrl1815) } } else { - yyv1800 = make([]ThirdPartyResourceData, yyrl1800) + yyv1815 = make([]ThirdPartyResourceData, yyrl1815) } - yyc1800 = true - yyrr1800 = len(yyv1800) - if yyrg1800 { - copy(yyv1800, yyv21800) + yyc1815 = true + yyrr1815 = len(yyv1815) + if yyrg1815 { + copy(yyv1815, yyv21815) } - } else if yyl1800 != len(yyv1800) { - yyv1800 = yyv1800[:yyl1800] - yyc1800 = true + } else if yyl1815 != len(yyv1815) { + yyv1815 = yyv1815[:yyl1815] + yyc1815 = true } - yyj1800 := 0 - for ; yyj1800 < yyrr1800; yyj1800++ { - yyh1800.ElemContainerState(yyj1800) + yyj1815 := 0 + for ; yyj1815 < yyrr1815; yyj1815++ { + yyh1815.ElemContainerState(yyj1815) if r.TryDecodeAsNil() { - yyv1800[yyj1800] = ThirdPartyResourceData{} + yyv1815[yyj1815] = ThirdPartyResourceData{} } else { - yyv1801 := &yyv1800[yyj1800] - yyv1801.CodecDecodeSelf(d) + yyv1816 := &yyv1815[yyj1815] + yyv1816.CodecDecodeSelf(d) } } - if yyrt1800 { - for ; yyj1800 < yyl1800; yyj1800++ { - yyv1800 = append(yyv1800, ThirdPartyResourceData{}) - yyh1800.ElemContainerState(yyj1800) + if yyrt1815 { + for ; yyj1815 < yyl1815; yyj1815++ { + yyv1815 = append(yyv1815, ThirdPartyResourceData{}) + yyh1815.ElemContainerState(yyj1815) if r.TryDecodeAsNil() { - yyv1800[yyj1800] = ThirdPartyResourceData{} + yyv1815[yyj1815] = ThirdPartyResourceData{} } else { - yyv1802 := &yyv1800[yyj1800] - yyv1802.CodecDecodeSelf(d) + yyv1817 := &yyv1815[yyj1815] + yyv1817.CodecDecodeSelf(d) } } } } else { - yyj1800 := 0 - for ; !r.CheckBreak(); yyj1800++ { + yyj1815 := 0 + for ; !r.CheckBreak(); yyj1815++ { - if yyj1800 >= len(yyv1800) { - yyv1800 = append(yyv1800, ThirdPartyResourceData{}) // var yyz1800 ThirdPartyResourceData - yyc1800 = true + if yyj1815 >= len(yyv1815) { + yyv1815 = append(yyv1815, ThirdPartyResourceData{}) // var yyz1815 ThirdPartyResourceData + yyc1815 = true } - yyh1800.ElemContainerState(yyj1800) - if yyj1800 < len(yyv1800) { + yyh1815.ElemContainerState(yyj1815) + if yyj1815 < len(yyv1815) { if r.TryDecodeAsNil() { - yyv1800[yyj1800] = ThirdPartyResourceData{} + yyv1815[yyj1815] = ThirdPartyResourceData{} } else { - yyv1803 := &yyv1800[yyj1800] - yyv1803.CodecDecodeSelf(d) + yyv1818 := &yyv1815[yyj1815] + yyv1818.CodecDecodeSelf(d) } } else { @@ -21703,17 +22079,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1800 < len(yyv1800) { - yyv1800 = yyv1800[:yyj1800] - yyc1800 = true - } else if yyj1800 == 0 && yyv1800 == nil { - yyv1800 = []ThirdPartyResourceData{} - yyc1800 = true + if yyj1815 < len(yyv1815) { + yyv1815 = yyv1815[:yyj1815] + yyc1815 = true + } else if yyj1815 == 0 && yyv1815 == nil { + yyv1815 = []ThirdPartyResourceData{} + yyc1815 = true } } - yyh1800.End() - if yyc1800 { - *v = yyv1800 + yyh1815.End() + if yyc1815 { + *v = yyv1815 } } @@ -21722,10 +22098,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1804 := range v { + for _, yyv1819 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1805 := &yyv1804 - yy1805.CodecEncodeSelf(e) + yy1820 := &yyv1819 + yy1820.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21735,83 +22111,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1806 := *v - yyh1806, yyl1806 := z.DecSliceHelperStart() - var yyc1806 bool - if yyl1806 == 0 { - if yyv1806 == nil { - yyv1806 = []Job{} - yyc1806 = true - } else if len(yyv1806) != 0 { - yyv1806 = yyv1806[:0] - yyc1806 = true + yyv1821 := *v + yyh1821, yyl1821 := z.DecSliceHelperStart() + var yyc1821 bool + if yyl1821 == 0 { + if yyv1821 == nil { + yyv1821 = []Job{} + yyc1821 = true + } else if len(yyv1821) != 0 { + yyv1821 = yyv1821[:0] + yyc1821 = true } - } else if yyl1806 > 0 { - var yyrr1806, yyrl1806 int - var yyrt1806 bool - if yyl1806 > cap(yyv1806) { + } else if yyl1821 > 0 { + var yyrr1821, yyrl1821 int + var yyrt1821 bool + if yyl1821 > cap(yyv1821) { - yyrg1806 := len(yyv1806) > 0 - yyv21806 := yyv1806 - yyrl1806, yyrt1806 = z.DecInferLen(yyl1806, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1806 { - if yyrl1806 <= cap(yyv1806) { - yyv1806 = yyv1806[:yyrl1806] + yyrg1821 := len(yyv1821) > 0 + yyv21821 := yyv1821 + yyrl1821, yyrt1821 = z.DecInferLen(yyl1821, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1821 { + if yyrl1821 <= cap(yyv1821) { + yyv1821 = yyv1821[:yyrl1821] } else { - yyv1806 = make([]Job, yyrl1806) + yyv1821 = make([]Job, yyrl1821) } } else { - yyv1806 = make([]Job, yyrl1806) + yyv1821 = make([]Job, yyrl1821) } - yyc1806 = true - yyrr1806 = len(yyv1806) - if yyrg1806 { - copy(yyv1806, yyv21806) + yyc1821 = true + yyrr1821 = len(yyv1821) + if yyrg1821 { + copy(yyv1821, yyv21821) } - } else if yyl1806 != len(yyv1806) { - yyv1806 = yyv1806[:yyl1806] - yyc1806 = true + } else if yyl1821 != len(yyv1821) { + yyv1821 = yyv1821[:yyl1821] + yyc1821 = true } - yyj1806 := 0 - for ; yyj1806 < yyrr1806; yyj1806++ { - yyh1806.ElemContainerState(yyj1806) + yyj1821 := 0 + for ; yyj1821 < yyrr1821; yyj1821++ { + yyh1821.ElemContainerState(yyj1821) if r.TryDecodeAsNil() { - yyv1806[yyj1806] = Job{} + yyv1821[yyj1821] = Job{} } else { - yyv1807 := &yyv1806[yyj1806] - yyv1807.CodecDecodeSelf(d) + yyv1822 := &yyv1821[yyj1821] + yyv1822.CodecDecodeSelf(d) } } - if yyrt1806 { - for ; yyj1806 < yyl1806; yyj1806++ { - yyv1806 = append(yyv1806, Job{}) - yyh1806.ElemContainerState(yyj1806) + if yyrt1821 { + for ; yyj1821 < yyl1821; yyj1821++ { + yyv1821 = append(yyv1821, Job{}) + yyh1821.ElemContainerState(yyj1821) if r.TryDecodeAsNil() { - yyv1806[yyj1806] = Job{} + yyv1821[yyj1821] = Job{} } else { - yyv1808 := &yyv1806[yyj1806] - yyv1808.CodecDecodeSelf(d) + yyv1823 := &yyv1821[yyj1821] + yyv1823.CodecDecodeSelf(d) } } } } else { - yyj1806 := 0 - for ; !r.CheckBreak(); yyj1806++ { + yyj1821 := 0 + for ; !r.CheckBreak(); yyj1821++ { - if yyj1806 >= len(yyv1806) { - yyv1806 = append(yyv1806, Job{}) // var yyz1806 Job - yyc1806 = true + if yyj1821 >= len(yyv1821) { + yyv1821 = append(yyv1821, Job{}) // var yyz1821 Job + yyc1821 = true } - yyh1806.ElemContainerState(yyj1806) - if yyj1806 < len(yyv1806) { + yyh1821.ElemContainerState(yyj1821) + if yyj1821 < len(yyv1821) { if r.TryDecodeAsNil() { - yyv1806[yyj1806] = Job{} + yyv1821[yyj1821] = Job{} } else { - yyv1809 := &yyv1806[yyj1806] - yyv1809.CodecDecodeSelf(d) + yyv1824 := &yyv1821[yyj1821] + yyv1824.CodecDecodeSelf(d) } } else { @@ -21819,17 +22195,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1806 < len(yyv1806) { - yyv1806 = yyv1806[:yyj1806] - yyc1806 = true - } else if yyj1806 == 0 && yyv1806 == nil { - yyv1806 = []Job{} - yyc1806 = true + if yyj1821 < len(yyv1821) { + yyv1821 = yyv1821[:yyj1821] + yyc1821 = true + } else if yyj1821 == 0 && yyv1821 == nil { + yyv1821 = []Job{} + yyc1821 = true } } - yyh1806.End() - if yyc1806 { - *v = yyv1806 + yyh1821.End() + if yyc1821 { + *v = yyv1821 } } @@ -21838,10 +22214,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1810 := range v { + for _, yyv1825 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1811 := &yyv1810 - yy1811.CodecEncodeSelf(e) + yy1826 := &yyv1825 + yy1826.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21851,83 +22227,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1812 := *v - yyh1812, yyl1812 := z.DecSliceHelperStart() - var yyc1812 bool - if yyl1812 == 0 { - if yyv1812 == nil { - yyv1812 = []JobCondition{} - yyc1812 = true - } else if len(yyv1812) != 0 { - yyv1812 = yyv1812[:0] - yyc1812 = true + yyv1827 := *v + yyh1827, yyl1827 := z.DecSliceHelperStart() + var yyc1827 bool + if yyl1827 == 0 { + if yyv1827 == nil { + yyv1827 = []JobCondition{} + yyc1827 = true + } else if len(yyv1827) != 0 { + yyv1827 = yyv1827[:0] + yyc1827 = true } - } else if yyl1812 > 0 { - var yyrr1812, yyrl1812 int - var yyrt1812 bool - if yyl1812 > cap(yyv1812) { + } else if yyl1827 > 0 { + var yyrr1827, yyrl1827 int + var yyrt1827 bool + if yyl1827 > cap(yyv1827) { - yyrg1812 := len(yyv1812) > 0 - yyv21812 := yyv1812 - yyrl1812, yyrt1812 = z.DecInferLen(yyl1812, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1812 { - if yyrl1812 <= cap(yyv1812) { - yyv1812 = yyv1812[:yyrl1812] + yyrg1827 := len(yyv1827) > 0 + yyv21827 := yyv1827 + yyrl1827, yyrt1827 = z.DecInferLen(yyl1827, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1827 { + if yyrl1827 <= cap(yyv1827) { + yyv1827 = yyv1827[:yyrl1827] } else { - yyv1812 = make([]JobCondition, yyrl1812) + yyv1827 = make([]JobCondition, yyrl1827) } } else { - yyv1812 = make([]JobCondition, yyrl1812) + yyv1827 = make([]JobCondition, yyrl1827) } - yyc1812 = true - yyrr1812 = len(yyv1812) - if yyrg1812 { - copy(yyv1812, yyv21812) + yyc1827 = true + yyrr1827 = len(yyv1827) + if yyrg1827 { + copy(yyv1827, yyv21827) } - } else if yyl1812 != len(yyv1812) { - yyv1812 = yyv1812[:yyl1812] - yyc1812 = true + } else if yyl1827 != len(yyv1827) { + yyv1827 = yyv1827[:yyl1827] + yyc1827 = true } - yyj1812 := 0 - for ; yyj1812 < yyrr1812; yyj1812++ { - yyh1812.ElemContainerState(yyj1812) + yyj1827 := 0 + for ; yyj1827 < yyrr1827; yyj1827++ { + yyh1827.ElemContainerState(yyj1827) if r.TryDecodeAsNil() { - yyv1812[yyj1812] = JobCondition{} + yyv1827[yyj1827] = JobCondition{} } else { - yyv1813 := &yyv1812[yyj1812] - yyv1813.CodecDecodeSelf(d) + yyv1828 := &yyv1827[yyj1827] + yyv1828.CodecDecodeSelf(d) } } - if yyrt1812 { - for ; yyj1812 < yyl1812; yyj1812++ { - yyv1812 = append(yyv1812, JobCondition{}) - yyh1812.ElemContainerState(yyj1812) + if yyrt1827 { + for ; yyj1827 < yyl1827; yyj1827++ { + yyv1827 = append(yyv1827, JobCondition{}) + yyh1827.ElemContainerState(yyj1827) if r.TryDecodeAsNil() { - yyv1812[yyj1812] = JobCondition{} + yyv1827[yyj1827] = JobCondition{} } else { - yyv1814 := &yyv1812[yyj1812] - yyv1814.CodecDecodeSelf(d) + yyv1829 := &yyv1827[yyj1827] + yyv1829.CodecDecodeSelf(d) } } } } else { - yyj1812 := 0 - for ; !r.CheckBreak(); yyj1812++ { + yyj1827 := 0 + for ; !r.CheckBreak(); yyj1827++ { - if yyj1812 >= len(yyv1812) { - yyv1812 = append(yyv1812, JobCondition{}) // var yyz1812 JobCondition - yyc1812 = true + if yyj1827 >= len(yyv1827) { + yyv1827 = append(yyv1827, JobCondition{}) // var yyz1827 JobCondition + yyc1827 = true } - yyh1812.ElemContainerState(yyj1812) - if yyj1812 < len(yyv1812) { + yyh1827.ElemContainerState(yyj1827) + if yyj1827 < len(yyv1827) { if r.TryDecodeAsNil() { - yyv1812[yyj1812] = JobCondition{} + yyv1827[yyj1827] = JobCondition{} } else { - yyv1815 := &yyv1812[yyj1812] - yyv1815.CodecDecodeSelf(d) + yyv1830 := &yyv1827[yyj1827] + yyv1830.CodecDecodeSelf(d) } } else { @@ -21935,17 +22311,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1812 < len(yyv1812) { - yyv1812 = yyv1812[:yyj1812] - yyc1812 = true - } else if yyj1812 == 0 && yyv1812 == nil { - yyv1812 = []JobCondition{} - yyc1812 = true + if yyj1827 < len(yyv1827) { + yyv1827 = yyv1827[:yyj1827] + yyc1827 = true + } else if yyj1827 == 0 && yyv1827 == nil { + yyv1827 = []JobCondition{} + yyc1827 = true } } - yyh1812.End() - if yyc1812 { - *v = yyv1812 + yyh1827.End() + if yyc1827 { + *v = yyv1827 } } @@ -21954,10 +22330,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1816 := range v { + for _, yyv1831 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1817 := &yyv1816 - yy1817.CodecEncodeSelf(e) + yy1832 := &yyv1831 + yy1832.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21967,83 +22343,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1818 := *v - yyh1818, yyl1818 := z.DecSliceHelperStart() - var yyc1818 bool - if yyl1818 == 0 { - if yyv1818 == nil { - yyv1818 = []Ingress{} - yyc1818 = true - } else if len(yyv1818) != 0 { - yyv1818 = yyv1818[:0] - yyc1818 = true + yyv1833 := *v + yyh1833, yyl1833 := z.DecSliceHelperStart() + var yyc1833 bool + if yyl1833 == 0 { + if yyv1833 == nil { + yyv1833 = []Ingress{} + yyc1833 = true + } else if len(yyv1833) != 0 { + yyv1833 = yyv1833[:0] + yyc1833 = true } - } else if yyl1818 > 0 { - var yyrr1818, yyrl1818 int - var yyrt1818 bool - if yyl1818 > cap(yyv1818) { + } else if yyl1833 > 0 { + var yyrr1833, yyrl1833 int + var yyrt1833 bool + if yyl1833 > cap(yyv1833) { - yyrg1818 := len(yyv1818) > 0 - yyv21818 := yyv1818 - yyrl1818, yyrt1818 = z.DecInferLen(yyl1818, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1818 { - if yyrl1818 <= cap(yyv1818) { - yyv1818 = yyv1818[:yyrl1818] + yyrg1833 := len(yyv1833) > 0 + yyv21833 := yyv1833 + yyrl1833, yyrt1833 = z.DecInferLen(yyl1833, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1833 { + if yyrl1833 <= cap(yyv1833) { + yyv1833 = yyv1833[:yyrl1833] } else { - yyv1818 = make([]Ingress, yyrl1818) + yyv1833 = make([]Ingress, yyrl1833) } } else { - yyv1818 = make([]Ingress, yyrl1818) + yyv1833 = make([]Ingress, yyrl1833) } - yyc1818 = true - yyrr1818 = len(yyv1818) - if yyrg1818 { - copy(yyv1818, yyv21818) + yyc1833 = true + yyrr1833 = len(yyv1833) + if yyrg1833 { + copy(yyv1833, yyv21833) } - } else if yyl1818 != len(yyv1818) { - yyv1818 = yyv1818[:yyl1818] - yyc1818 = true + } else if yyl1833 != len(yyv1833) { + yyv1833 = yyv1833[:yyl1833] + yyc1833 = true } - yyj1818 := 0 - for ; yyj1818 < yyrr1818; yyj1818++ { - yyh1818.ElemContainerState(yyj1818) + yyj1833 := 0 + for ; yyj1833 < yyrr1833; yyj1833++ { + yyh1833.ElemContainerState(yyj1833) if r.TryDecodeAsNil() { - yyv1818[yyj1818] = Ingress{} + yyv1833[yyj1833] = Ingress{} } else { - yyv1819 := &yyv1818[yyj1818] - yyv1819.CodecDecodeSelf(d) + yyv1834 := &yyv1833[yyj1833] + yyv1834.CodecDecodeSelf(d) } } - if yyrt1818 { - for ; yyj1818 < yyl1818; yyj1818++ { - yyv1818 = append(yyv1818, Ingress{}) - yyh1818.ElemContainerState(yyj1818) + if yyrt1833 { + for ; yyj1833 < yyl1833; yyj1833++ { + yyv1833 = append(yyv1833, Ingress{}) + yyh1833.ElemContainerState(yyj1833) if r.TryDecodeAsNil() { - yyv1818[yyj1818] = Ingress{} + yyv1833[yyj1833] = Ingress{} } else { - yyv1820 := &yyv1818[yyj1818] - yyv1820.CodecDecodeSelf(d) + yyv1835 := &yyv1833[yyj1833] + yyv1835.CodecDecodeSelf(d) } } } } else { - yyj1818 := 0 - for ; !r.CheckBreak(); yyj1818++ { + yyj1833 := 0 + for ; !r.CheckBreak(); yyj1833++ { - if yyj1818 >= len(yyv1818) { - yyv1818 = append(yyv1818, Ingress{}) // var yyz1818 Ingress - yyc1818 = true + if yyj1833 >= len(yyv1833) { + yyv1833 = append(yyv1833, Ingress{}) // var yyz1833 Ingress + yyc1833 = true } - yyh1818.ElemContainerState(yyj1818) - if yyj1818 < len(yyv1818) { + yyh1833.ElemContainerState(yyj1833) + if yyj1833 < len(yyv1833) { if r.TryDecodeAsNil() { - yyv1818[yyj1818] = Ingress{} + yyv1833[yyj1833] = Ingress{} } else { - yyv1821 := &yyv1818[yyj1818] - yyv1821.CodecDecodeSelf(d) + yyv1836 := &yyv1833[yyj1833] + yyv1836.CodecDecodeSelf(d) } } else { @@ -22051,17 +22427,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1818 < len(yyv1818) { - yyv1818 = yyv1818[:yyj1818] - yyc1818 = true - } else if yyj1818 == 0 && yyv1818 == nil { - yyv1818 = []Ingress{} - yyc1818 = true + if yyj1833 < len(yyv1833) { + yyv1833 = yyv1833[:yyj1833] + yyc1833 = true + } else if yyj1833 == 0 && yyv1833 == nil { + yyv1833 = []Ingress{} + yyc1833 = true } } - yyh1818.End() - if yyc1818 { - *v = yyv1818 + yyh1833.End() + if yyc1833 { + *v = yyv1833 } } @@ -22070,10 +22446,10 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1822 := range v { + for _, yyv1837 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1823 := &yyv1822 - yy1823.CodecEncodeSelf(e) + yy1838 := &yyv1837 + yy1838.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22083,83 +22459,83 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1824 := *v - yyh1824, yyl1824 := z.DecSliceHelperStart() - var yyc1824 bool - if yyl1824 == 0 { - if yyv1824 == nil { - yyv1824 = []IngressTLS{} - yyc1824 = true - } else if len(yyv1824) != 0 { - yyv1824 = yyv1824[:0] - yyc1824 = true + yyv1839 := *v + yyh1839, yyl1839 := z.DecSliceHelperStart() + var yyc1839 bool + if yyl1839 == 0 { + if yyv1839 == nil { + yyv1839 = []IngressTLS{} + yyc1839 = true + } else if len(yyv1839) != 0 { + yyv1839 = yyv1839[:0] + yyc1839 = true } - } else if yyl1824 > 0 { - var yyrr1824, yyrl1824 int - var yyrt1824 bool - if yyl1824 > cap(yyv1824) { + } else if yyl1839 > 0 { + var yyrr1839, yyrl1839 int + var yyrt1839 bool + if yyl1839 > cap(yyv1839) { - yyrg1824 := len(yyv1824) > 0 - yyv21824 := yyv1824 - yyrl1824, yyrt1824 = z.DecInferLen(yyl1824, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1824 { - if yyrl1824 <= cap(yyv1824) { - yyv1824 = yyv1824[:yyrl1824] + yyrg1839 := len(yyv1839) > 0 + yyv21839 := yyv1839 + yyrl1839, yyrt1839 = z.DecInferLen(yyl1839, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1839 { + if yyrl1839 <= cap(yyv1839) { + yyv1839 = yyv1839[:yyrl1839] } else { - yyv1824 = make([]IngressTLS, yyrl1824) + yyv1839 = make([]IngressTLS, yyrl1839) } } else { - yyv1824 = make([]IngressTLS, yyrl1824) + yyv1839 = make([]IngressTLS, yyrl1839) } - yyc1824 = true - yyrr1824 = len(yyv1824) - if yyrg1824 { - copy(yyv1824, yyv21824) + yyc1839 = true + yyrr1839 = len(yyv1839) + if yyrg1839 { + copy(yyv1839, yyv21839) } - } else if yyl1824 != len(yyv1824) { - yyv1824 = yyv1824[:yyl1824] - yyc1824 = true + } else if yyl1839 != len(yyv1839) { + yyv1839 = yyv1839[:yyl1839] + yyc1839 = true } - yyj1824 := 0 - for ; yyj1824 < yyrr1824; yyj1824++ { - yyh1824.ElemContainerState(yyj1824) + yyj1839 := 0 + for ; yyj1839 < yyrr1839; yyj1839++ { + yyh1839.ElemContainerState(yyj1839) if r.TryDecodeAsNil() { - yyv1824[yyj1824] = IngressTLS{} + yyv1839[yyj1839] = IngressTLS{} } else { - yyv1825 := &yyv1824[yyj1824] - yyv1825.CodecDecodeSelf(d) + yyv1840 := &yyv1839[yyj1839] + yyv1840.CodecDecodeSelf(d) } } - if yyrt1824 { - for ; yyj1824 < yyl1824; yyj1824++ { - yyv1824 = append(yyv1824, IngressTLS{}) - yyh1824.ElemContainerState(yyj1824) + if yyrt1839 { + for ; yyj1839 < yyl1839; yyj1839++ { + yyv1839 = append(yyv1839, IngressTLS{}) + yyh1839.ElemContainerState(yyj1839) if r.TryDecodeAsNil() { - yyv1824[yyj1824] = IngressTLS{} + yyv1839[yyj1839] = IngressTLS{} } else { - yyv1826 := &yyv1824[yyj1824] - yyv1826.CodecDecodeSelf(d) + yyv1841 := &yyv1839[yyj1839] + yyv1841.CodecDecodeSelf(d) } } } } else { - yyj1824 := 0 - for ; !r.CheckBreak(); yyj1824++ { + yyj1839 := 0 + for ; !r.CheckBreak(); yyj1839++ { - if yyj1824 >= len(yyv1824) { - yyv1824 = append(yyv1824, IngressTLS{}) // var yyz1824 IngressTLS - yyc1824 = true + if yyj1839 >= len(yyv1839) { + yyv1839 = append(yyv1839, IngressTLS{}) // var yyz1839 IngressTLS + yyc1839 = true } - yyh1824.ElemContainerState(yyj1824) - if yyj1824 < len(yyv1824) { + yyh1839.ElemContainerState(yyj1839) + if yyj1839 < len(yyv1839) { if r.TryDecodeAsNil() { - yyv1824[yyj1824] = IngressTLS{} + yyv1839[yyj1839] = IngressTLS{} } else { - yyv1827 := &yyv1824[yyj1824] - yyv1827.CodecDecodeSelf(d) + yyv1842 := &yyv1839[yyj1839] + yyv1842.CodecDecodeSelf(d) } } else { @@ -22167,17 +22543,17 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } - if yyj1824 < len(yyv1824) { - yyv1824 = yyv1824[:yyj1824] - yyc1824 = true - } else if yyj1824 == 0 && yyv1824 == nil { - yyv1824 = []IngressTLS{} - yyc1824 = true + if yyj1839 < len(yyv1839) { + yyv1839 = yyv1839[:yyj1839] + yyc1839 = true + } else if yyj1839 == 0 && yyv1839 == nil { + yyv1839 = []IngressTLS{} + yyc1839 = true } } - yyh1824.End() - if yyc1824 { - *v = yyv1824 + yyh1839.End() + if yyc1839 { + *v = yyv1839 } } @@ -22186,10 +22562,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1828 := range v { + for _, yyv1843 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1829 := &yyv1828 - yy1829.CodecEncodeSelf(e) + yy1844 := &yyv1843 + yy1844.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22199,83 +22575,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1830 := *v - yyh1830, yyl1830 := z.DecSliceHelperStart() - var yyc1830 bool - if yyl1830 == 0 { - if yyv1830 == nil { - yyv1830 = []IngressRule{} - yyc1830 = true - } else if len(yyv1830) != 0 { - yyv1830 = yyv1830[:0] - yyc1830 = true + yyv1845 := *v + yyh1845, yyl1845 := z.DecSliceHelperStart() + var yyc1845 bool + if yyl1845 == 0 { + if yyv1845 == nil { + yyv1845 = []IngressRule{} + yyc1845 = true + } else if len(yyv1845) != 0 { + yyv1845 = yyv1845[:0] + yyc1845 = true } - } else if yyl1830 > 0 { - var yyrr1830, yyrl1830 int - var yyrt1830 bool - if yyl1830 > cap(yyv1830) { + } else if yyl1845 > 0 { + var yyrr1845, yyrl1845 int + var yyrt1845 bool + if yyl1845 > cap(yyv1845) { - yyrg1830 := len(yyv1830) > 0 - yyv21830 := yyv1830 - yyrl1830, yyrt1830 = z.DecInferLen(yyl1830, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1830 { - if yyrl1830 <= cap(yyv1830) { - yyv1830 = yyv1830[:yyrl1830] + yyrg1845 := len(yyv1845) > 0 + yyv21845 := yyv1845 + yyrl1845, yyrt1845 = z.DecInferLen(yyl1845, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1845 { + if yyrl1845 <= cap(yyv1845) { + yyv1845 = yyv1845[:yyrl1845] } else { - yyv1830 = make([]IngressRule, yyrl1830) + yyv1845 = make([]IngressRule, yyrl1845) } } else { - yyv1830 = make([]IngressRule, yyrl1830) + yyv1845 = make([]IngressRule, yyrl1845) } - yyc1830 = true - yyrr1830 = len(yyv1830) - if yyrg1830 { - copy(yyv1830, yyv21830) + yyc1845 = true + yyrr1845 = len(yyv1845) + if yyrg1845 { + copy(yyv1845, yyv21845) } - } else if yyl1830 != len(yyv1830) { - yyv1830 = yyv1830[:yyl1830] - yyc1830 = true + } else if yyl1845 != len(yyv1845) { + yyv1845 = yyv1845[:yyl1845] + yyc1845 = true } - yyj1830 := 0 - for ; yyj1830 < yyrr1830; yyj1830++ { - yyh1830.ElemContainerState(yyj1830) + yyj1845 := 0 + for ; yyj1845 < yyrr1845; yyj1845++ { + yyh1845.ElemContainerState(yyj1845) if r.TryDecodeAsNil() { - yyv1830[yyj1830] = IngressRule{} + yyv1845[yyj1845] = IngressRule{} } else { - yyv1831 := &yyv1830[yyj1830] - yyv1831.CodecDecodeSelf(d) + yyv1846 := &yyv1845[yyj1845] + yyv1846.CodecDecodeSelf(d) } } - if yyrt1830 { - for ; yyj1830 < yyl1830; yyj1830++ { - yyv1830 = append(yyv1830, IngressRule{}) - yyh1830.ElemContainerState(yyj1830) + if yyrt1845 { + for ; yyj1845 < yyl1845; yyj1845++ { + yyv1845 = append(yyv1845, IngressRule{}) + yyh1845.ElemContainerState(yyj1845) if r.TryDecodeAsNil() { - yyv1830[yyj1830] = IngressRule{} + yyv1845[yyj1845] = IngressRule{} } else { - yyv1832 := &yyv1830[yyj1830] - yyv1832.CodecDecodeSelf(d) + yyv1847 := &yyv1845[yyj1845] + yyv1847.CodecDecodeSelf(d) } } } } else { - yyj1830 := 0 - for ; !r.CheckBreak(); yyj1830++ { + yyj1845 := 0 + for ; !r.CheckBreak(); yyj1845++ { - if yyj1830 >= len(yyv1830) { - yyv1830 = append(yyv1830, IngressRule{}) // var yyz1830 IngressRule - yyc1830 = true + if yyj1845 >= len(yyv1845) { + yyv1845 = append(yyv1845, IngressRule{}) // var yyz1845 IngressRule + yyc1845 = true } - yyh1830.ElemContainerState(yyj1830) - if yyj1830 < len(yyv1830) { + yyh1845.ElemContainerState(yyj1845) + if yyj1845 < len(yyv1845) { if r.TryDecodeAsNil() { - yyv1830[yyj1830] = IngressRule{} + yyv1845[yyj1845] = IngressRule{} } else { - yyv1833 := &yyv1830[yyj1830] - yyv1833.CodecDecodeSelf(d) + yyv1848 := &yyv1845[yyj1845] + yyv1848.CodecDecodeSelf(d) } } else { @@ -22283,17 +22659,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1830 < len(yyv1830) { - yyv1830 = yyv1830[:yyj1830] - yyc1830 = true - } else if yyj1830 == 0 && yyv1830 == nil { - yyv1830 = []IngressRule{} - yyc1830 = true + if yyj1845 < len(yyv1845) { + yyv1845 = yyv1845[:yyj1845] + yyc1845 = true + } else if yyj1845 == 0 && yyv1845 == nil { + yyv1845 = []IngressRule{} + yyc1845 = true } } - yyh1830.End() - if yyc1830 { - *v = yyv1830 + yyh1845.End() + if yyc1845 { + *v = yyv1845 } } @@ -22302,10 +22678,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1834 := range v { + for _, yyv1849 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1835 := &yyv1834 - yy1835.CodecEncodeSelf(e) + yy1850 := &yyv1849 + yy1850.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22315,83 +22691,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1836 := *v - yyh1836, yyl1836 := z.DecSliceHelperStart() - var yyc1836 bool - if yyl1836 == 0 { - if yyv1836 == nil { - yyv1836 = []HTTPIngressPath{} - yyc1836 = true - } else if len(yyv1836) != 0 { - yyv1836 = yyv1836[:0] - yyc1836 = true + yyv1851 := *v + yyh1851, yyl1851 := z.DecSliceHelperStart() + var yyc1851 bool + if yyl1851 == 0 { + if yyv1851 == nil { + yyv1851 = []HTTPIngressPath{} + yyc1851 = true + } else if len(yyv1851) != 0 { + yyv1851 = yyv1851[:0] + yyc1851 = true } - } else if yyl1836 > 0 { - var yyrr1836, yyrl1836 int - var yyrt1836 bool - if yyl1836 > cap(yyv1836) { + } else if yyl1851 > 0 { + var yyrr1851, yyrl1851 int + var yyrt1851 bool + if yyl1851 > cap(yyv1851) { - yyrg1836 := len(yyv1836) > 0 - yyv21836 := yyv1836 - yyrl1836, yyrt1836 = z.DecInferLen(yyl1836, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1836 { - if yyrl1836 <= cap(yyv1836) { - yyv1836 = yyv1836[:yyrl1836] + yyrg1851 := len(yyv1851) > 0 + yyv21851 := yyv1851 + yyrl1851, yyrt1851 = z.DecInferLen(yyl1851, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1851 { + if yyrl1851 <= cap(yyv1851) { + yyv1851 = yyv1851[:yyrl1851] } else { - yyv1836 = make([]HTTPIngressPath, yyrl1836) + yyv1851 = make([]HTTPIngressPath, yyrl1851) } } else { - yyv1836 = make([]HTTPIngressPath, yyrl1836) + yyv1851 = make([]HTTPIngressPath, yyrl1851) } - yyc1836 = true - yyrr1836 = len(yyv1836) - if yyrg1836 { - copy(yyv1836, yyv21836) + yyc1851 = true + yyrr1851 = len(yyv1851) + if yyrg1851 { + copy(yyv1851, yyv21851) } - } else if yyl1836 != len(yyv1836) { - yyv1836 = yyv1836[:yyl1836] - yyc1836 = true + } else if yyl1851 != len(yyv1851) { + yyv1851 = yyv1851[:yyl1851] + yyc1851 = true } - yyj1836 := 0 - for ; yyj1836 < yyrr1836; yyj1836++ { - yyh1836.ElemContainerState(yyj1836) + yyj1851 := 0 + for ; yyj1851 < yyrr1851; yyj1851++ { + yyh1851.ElemContainerState(yyj1851) if r.TryDecodeAsNil() { - yyv1836[yyj1836] = HTTPIngressPath{} + yyv1851[yyj1851] = HTTPIngressPath{} } else { - yyv1837 := &yyv1836[yyj1836] - yyv1837.CodecDecodeSelf(d) + yyv1852 := &yyv1851[yyj1851] + yyv1852.CodecDecodeSelf(d) } } - if yyrt1836 { - for ; yyj1836 < yyl1836; yyj1836++ { - yyv1836 = append(yyv1836, HTTPIngressPath{}) - yyh1836.ElemContainerState(yyj1836) + if yyrt1851 { + for ; yyj1851 < yyl1851; yyj1851++ { + yyv1851 = append(yyv1851, HTTPIngressPath{}) + yyh1851.ElemContainerState(yyj1851) if r.TryDecodeAsNil() { - yyv1836[yyj1836] = HTTPIngressPath{} + yyv1851[yyj1851] = HTTPIngressPath{} } else { - yyv1838 := &yyv1836[yyj1836] - yyv1838.CodecDecodeSelf(d) + yyv1853 := &yyv1851[yyj1851] + yyv1853.CodecDecodeSelf(d) } } } } else { - yyj1836 := 0 - for ; !r.CheckBreak(); yyj1836++ { + yyj1851 := 0 + for ; !r.CheckBreak(); yyj1851++ { - if yyj1836 >= len(yyv1836) { - yyv1836 = append(yyv1836, HTTPIngressPath{}) // var yyz1836 HTTPIngressPath - yyc1836 = true + if yyj1851 >= len(yyv1851) { + yyv1851 = append(yyv1851, HTTPIngressPath{}) // var yyz1851 HTTPIngressPath + yyc1851 = true } - yyh1836.ElemContainerState(yyj1836) - if yyj1836 < len(yyv1836) { + yyh1851.ElemContainerState(yyj1851) + if yyj1851 < len(yyv1851) { if r.TryDecodeAsNil() { - yyv1836[yyj1836] = HTTPIngressPath{} + yyv1851[yyj1851] = HTTPIngressPath{} } else { - yyv1839 := &yyv1836[yyj1836] - yyv1839.CodecDecodeSelf(d) + yyv1854 := &yyv1851[yyj1851] + yyv1854.CodecDecodeSelf(d) } } else { @@ -22399,17 +22775,133 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1836 < len(yyv1836) { - yyv1836 = yyv1836[:yyj1836] - yyc1836 = true - } else if yyj1836 == 0 && yyv1836 == nil { - yyv1836 = []HTTPIngressPath{} - yyc1836 = true + if yyj1851 < len(yyv1851) { + yyv1851 = yyv1851[:yyj1851] + yyc1851 = true + } else if yyj1851 == 0 && yyv1851 == nil { + yyv1851 = []HTTPIngressPath{} + yyc1851 = true } } - yyh1836.End() - if yyc1836 { - *v = yyv1836 + yyh1851.End() + if yyc1851 { + *v = yyv1851 + } +} + +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 _, yyv1855 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1856 := &yyv1855 + yy1856.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 + + yyv1857 := *v + yyh1857, yyl1857 := z.DecSliceHelperStart() + var yyc1857 bool + if yyl1857 == 0 { + if yyv1857 == nil { + yyv1857 = []LabelSelectorRequirement{} + yyc1857 = true + } else if len(yyv1857) != 0 { + yyv1857 = yyv1857[:0] + yyc1857 = true + } + } else if yyl1857 > 0 { + var yyrr1857, yyrl1857 int + var yyrt1857 bool + if yyl1857 > cap(yyv1857) { + + yyrg1857 := len(yyv1857) > 0 + yyv21857 := yyv1857 + yyrl1857, yyrt1857 = z.DecInferLen(yyl1857, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1857 { + if yyrl1857 <= cap(yyv1857) { + yyv1857 = yyv1857[:yyrl1857] + } else { + yyv1857 = make([]LabelSelectorRequirement, yyrl1857) + } + } else { + yyv1857 = make([]LabelSelectorRequirement, yyrl1857) + } + yyc1857 = true + yyrr1857 = len(yyv1857) + if yyrg1857 { + copy(yyv1857, yyv21857) + } + } else if yyl1857 != len(yyv1857) { + yyv1857 = yyv1857[:yyl1857] + yyc1857 = true + } + yyj1857 := 0 + for ; yyj1857 < yyrr1857; yyj1857++ { + yyh1857.ElemContainerState(yyj1857) + if r.TryDecodeAsNil() { + yyv1857[yyj1857] = LabelSelectorRequirement{} + } else { + yyv1858 := &yyv1857[yyj1857] + yyv1858.CodecDecodeSelf(d) + } + + } + if yyrt1857 { + for ; yyj1857 < yyl1857; yyj1857++ { + yyv1857 = append(yyv1857, LabelSelectorRequirement{}) + yyh1857.ElemContainerState(yyj1857) + if r.TryDecodeAsNil() { + yyv1857[yyj1857] = LabelSelectorRequirement{} + } else { + yyv1859 := &yyv1857[yyj1857] + yyv1859.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1857 := 0 + for ; !r.CheckBreak(); yyj1857++ { + + if yyj1857 >= len(yyv1857) { + yyv1857 = append(yyv1857, LabelSelectorRequirement{}) // var yyz1857 LabelSelectorRequirement + yyc1857 = true + } + yyh1857.ElemContainerState(yyj1857) + if yyj1857 < len(yyv1857) { + if r.TryDecodeAsNil() { + yyv1857[yyj1857] = LabelSelectorRequirement{} + } else { + yyv1860 := &yyv1857[yyj1857] + yyv1860.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1857 < len(yyv1857) { + yyv1857 = yyv1857[:yyj1857] + yyc1857 = true + } else if yyj1857 == 0 && yyv1857 == nil { + yyv1857 = []LabelSelectorRequirement{} + yyc1857 = true + } + } + yyh1857.End() + if yyc1857 { + *v = yyv1857 } } @@ -22418,10 +22910,10 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1840 := range v { + for _, yyv1861 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1841 := &yyv1840 - yy1841.CodecEncodeSelf(e) + yy1862 := &yyv1861 + yy1862.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22431,83 +22923,83 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1842 := *v - yyh1842, yyl1842 := z.DecSliceHelperStart() - var yyc1842 bool - if yyl1842 == 0 { - if yyv1842 == nil { - yyv1842 = []ReplicaSet{} - yyc1842 = true - } else if len(yyv1842) != 0 { - yyv1842 = yyv1842[:0] - yyc1842 = true + yyv1863 := *v + yyh1863, yyl1863 := z.DecSliceHelperStart() + var yyc1863 bool + if yyl1863 == 0 { + if yyv1863 == nil { + yyv1863 = []ReplicaSet{} + yyc1863 = true + } else if len(yyv1863) != 0 { + yyv1863 = yyv1863[:0] + yyc1863 = true } - } else if yyl1842 > 0 { - var yyrr1842, yyrl1842 int - var yyrt1842 bool - if yyl1842 > cap(yyv1842) { + } else if yyl1863 > 0 { + var yyrr1863, yyrl1863 int + var yyrt1863 bool + if yyl1863 > cap(yyv1863) { - yyrg1842 := len(yyv1842) > 0 - yyv21842 := yyv1842 - yyrl1842, yyrt1842 = z.DecInferLen(yyl1842, z.DecBasicHandle().MaxInitLen, 800) - if yyrt1842 { - if yyrl1842 <= cap(yyv1842) { - yyv1842 = yyv1842[:yyrl1842] + yyrg1863 := len(yyv1863) > 0 + yyv21863 := yyv1863 + yyrl1863, yyrt1863 = z.DecInferLen(yyl1863, z.DecBasicHandle().MaxInitLen, 800) + if yyrt1863 { + if yyrl1863 <= cap(yyv1863) { + yyv1863 = yyv1863[:yyrl1863] } else { - yyv1842 = make([]ReplicaSet, yyrl1842) + yyv1863 = make([]ReplicaSet, yyrl1863) } } else { - yyv1842 = make([]ReplicaSet, yyrl1842) + yyv1863 = make([]ReplicaSet, yyrl1863) } - yyc1842 = true - yyrr1842 = len(yyv1842) - if yyrg1842 { - copy(yyv1842, yyv21842) + yyc1863 = true + yyrr1863 = len(yyv1863) + if yyrg1863 { + copy(yyv1863, yyv21863) } - } else if yyl1842 != len(yyv1842) { - yyv1842 = yyv1842[:yyl1842] - yyc1842 = true + } else if yyl1863 != len(yyv1863) { + yyv1863 = yyv1863[:yyl1863] + yyc1863 = true } - yyj1842 := 0 - for ; yyj1842 < yyrr1842; yyj1842++ { - yyh1842.ElemContainerState(yyj1842) + yyj1863 := 0 + for ; yyj1863 < yyrr1863; yyj1863++ { + yyh1863.ElemContainerState(yyj1863) if r.TryDecodeAsNil() { - yyv1842[yyj1842] = ReplicaSet{} + yyv1863[yyj1863] = ReplicaSet{} } else { - yyv1843 := &yyv1842[yyj1842] - yyv1843.CodecDecodeSelf(d) + yyv1864 := &yyv1863[yyj1863] + yyv1864.CodecDecodeSelf(d) } } - if yyrt1842 { - for ; yyj1842 < yyl1842; yyj1842++ { - yyv1842 = append(yyv1842, ReplicaSet{}) - yyh1842.ElemContainerState(yyj1842) + if yyrt1863 { + for ; yyj1863 < yyl1863; yyj1863++ { + yyv1863 = append(yyv1863, ReplicaSet{}) + yyh1863.ElemContainerState(yyj1863) if r.TryDecodeAsNil() { - yyv1842[yyj1842] = ReplicaSet{} + yyv1863[yyj1863] = ReplicaSet{} } else { - yyv1844 := &yyv1842[yyj1842] - yyv1844.CodecDecodeSelf(d) + yyv1865 := &yyv1863[yyj1863] + yyv1865.CodecDecodeSelf(d) } } } } else { - yyj1842 := 0 - for ; !r.CheckBreak(); yyj1842++ { + yyj1863 := 0 + for ; !r.CheckBreak(); yyj1863++ { - if yyj1842 >= len(yyv1842) { - yyv1842 = append(yyv1842, ReplicaSet{}) // var yyz1842 ReplicaSet - yyc1842 = true + if yyj1863 >= len(yyv1863) { + yyv1863 = append(yyv1863, ReplicaSet{}) // var yyz1863 ReplicaSet + yyc1863 = true } - yyh1842.ElemContainerState(yyj1842) - if yyj1842 < len(yyv1842) { + yyh1863.ElemContainerState(yyj1863) + if yyj1863 < len(yyv1863) { if r.TryDecodeAsNil() { - yyv1842[yyj1842] = ReplicaSet{} + yyv1863[yyj1863] = ReplicaSet{} } else { - yyv1845 := &yyv1842[yyj1842] - yyv1845.CodecDecodeSelf(d) + yyv1866 := &yyv1863[yyj1863] + yyv1866.CodecDecodeSelf(d) } } else { @@ -22515,17 +23007,17 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } - if yyj1842 < len(yyv1842) { - yyv1842 = yyv1842[:yyj1842] - yyc1842 = true - } else if yyj1842 == 0 && yyv1842 == nil { - yyv1842 = []ReplicaSet{} - yyc1842 = true + if yyj1863 < len(yyv1863) { + yyv1863 = yyv1863[:yyj1863] + yyc1863 = true + } else if yyj1863 == 0 && yyv1863 == nil { + yyv1863 = []ReplicaSet{} + yyc1863 = true } } - yyh1842.End() - if yyc1842 { - *v = yyv1842 + yyh1863.End() + if yyc1863 { + *v = yyv1863 } } @@ -22534,10 +23026,10 @@ func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1846 := range v { + for _, yyv1867 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1847 := &yyv1846 - yy1847.CodecEncodeSelf(e) + yy1868 := &yyv1867 + yy1868.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22547,83 +23039,83 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1848 := *v - yyh1848, yyl1848 := z.DecSliceHelperStart() - var yyc1848 bool - if yyl1848 == 0 { - if yyv1848 == nil { - yyv1848 = []ReplicaSetCondition{} - yyc1848 = true - } else if len(yyv1848) != 0 { - yyv1848 = yyv1848[:0] - yyc1848 = true + yyv1869 := *v + yyh1869, yyl1869 := z.DecSliceHelperStart() + var yyc1869 bool + if yyl1869 == 0 { + if yyv1869 == nil { + yyv1869 = []ReplicaSetCondition{} + yyc1869 = true + } else if len(yyv1869) != 0 { + yyv1869 = yyv1869[:0] + yyc1869 = true } - } else if yyl1848 > 0 { - var yyrr1848, yyrl1848 int - var yyrt1848 bool - if yyl1848 > cap(yyv1848) { + } else if yyl1869 > 0 { + var yyrr1869, yyrl1869 int + var yyrt1869 bool + if yyl1869 > cap(yyv1869) { - yyrg1848 := len(yyv1848) > 0 - yyv21848 := yyv1848 - yyrl1848, yyrt1848 = z.DecInferLen(yyl1848, z.DecBasicHandle().MaxInitLen, 88) - if yyrt1848 { - if yyrl1848 <= cap(yyv1848) { - yyv1848 = yyv1848[:yyrl1848] + yyrg1869 := len(yyv1869) > 0 + yyv21869 := yyv1869 + yyrl1869, yyrt1869 = z.DecInferLen(yyl1869, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1869 { + if yyrl1869 <= cap(yyv1869) { + yyv1869 = yyv1869[:yyrl1869] } else { - yyv1848 = make([]ReplicaSetCondition, yyrl1848) + yyv1869 = make([]ReplicaSetCondition, yyrl1869) } } else { - yyv1848 = make([]ReplicaSetCondition, yyrl1848) + yyv1869 = make([]ReplicaSetCondition, yyrl1869) } - yyc1848 = true - yyrr1848 = len(yyv1848) - if yyrg1848 { - copy(yyv1848, yyv21848) + yyc1869 = true + yyrr1869 = len(yyv1869) + if yyrg1869 { + copy(yyv1869, yyv21869) } - } else if yyl1848 != len(yyv1848) { - yyv1848 = yyv1848[:yyl1848] - yyc1848 = true + } else if yyl1869 != len(yyv1869) { + yyv1869 = yyv1869[:yyl1869] + yyc1869 = true } - yyj1848 := 0 - for ; yyj1848 < yyrr1848; yyj1848++ { - yyh1848.ElemContainerState(yyj1848) + yyj1869 := 0 + for ; yyj1869 < yyrr1869; yyj1869++ { + yyh1869.ElemContainerState(yyj1869) if r.TryDecodeAsNil() { - yyv1848[yyj1848] = ReplicaSetCondition{} + yyv1869[yyj1869] = ReplicaSetCondition{} } else { - yyv1849 := &yyv1848[yyj1848] - yyv1849.CodecDecodeSelf(d) + yyv1870 := &yyv1869[yyj1869] + yyv1870.CodecDecodeSelf(d) } } - if yyrt1848 { - for ; yyj1848 < yyl1848; yyj1848++ { - yyv1848 = append(yyv1848, ReplicaSetCondition{}) - yyh1848.ElemContainerState(yyj1848) + if yyrt1869 { + for ; yyj1869 < yyl1869; yyj1869++ { + yyv1869 = append(yyv1869, ReplicaSetCondition{}) + yyh1869.ElemContainerState(yyj1869) if r.TryDecodeAsNil() { - yyv1848[yyj1848] = ReplicaSetCondition{} + yyv1869[yyj1869] = ReplicaSetCondition{} } else { - yyv1850 := &yyv1848[yyj1848] - yyv1850.CodecDecodeSelf(d) + yyv1871 := &yyv1869[yyj1869] + yyv1871.CodecDecodeSelf(d) } } } } else { - yyj1848 := 0 - for ; !r.CheckBreak(); yyj1848++ { + yyj1869 := 0 + for ; !r.CheckBreak(); yyj1869++ { - if yyj1848 >= len(yyv1848) { - yyv1848 = append(yyv1848, ReplicaSetCondition{}) // var yyz1848 ReplicaSetCondition - yyc1848 = true + if yyj1869 >= len(yyv1869) { + yyv1869 = append(yyv1869, ReplicaSetCondition{}) // var yyz1869 ReplicaSetCondition + yyc1869 = true } - yyh1848.ElemContainerState(yyj1848) - if yyj1848 < len(yyv1848) { + yyh1869.ElemContainerState(yyj1869) + if yyj1869 < len(yyv1869) { if r.TryDecodeAsNil() { - yyv1848[yyj1848] = ReplicaSetCondition{} + yyv1869[yyj1869] = ReplicaSetCondition{} } else { - yyv1851 := &yyv1848[yyj1848] - yyv1851.CodecDecodeSelf(d) + yyv1872 := &yyv1869[yyj1869] + yyv1872.CodecDecodeSelf(d) } } else { @@ -22631,17 +23123,17 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } } - if yyj1848 < len(yyv1848) { - yyv1848 = yyv1848[:yyj1848] - yyc1848 = true - } else if yyj1848 == 0 && yyv1848 == nil { - yyv1848 = []ReplicaSetCondition{} - yyc1848 = true + if yyj1869 < len(yyv1869) { + yyv1869 = yyv1869[:yyj1869] + yyc1869 = true + } else if yyj1869 == 0 && yyv1869 == nil { + yyv1869 = []ReplicaSetCondition{} + yyc1869 = true } } - yyh1848.End() - if yyc1848 { - *v = yyv1848 + yyh1869.End() + if yyc1869 { + *v = yyv1869 } } @@ -22650,14 +23142,14 @@ func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1852 := range v { + for _, yyv1873 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1853 := z.EncBinary() - _ = yym1853 + yym1874 := z.EncBinary() + _ = yym1874 if false { - } else if z.HasExtensions() && z.EncExt(yyv1852) { + } else if z.HasExtensions() && z.EncExt(yyv1873) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1852)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1873)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -22668,75 +23160,75 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1854 := *v - yyh1854, yyl1854 := z.DecSliceHelperStart() - var yyc1854 bool - if yyl1854 == 0 { - if yyv1854 == nil { - yyv1854 = []pkg2_v1.Capability{} - yyc1854 = true - } else if len(yyv1854) != 0 { - yyv1854 = yyv1854[:0] - yyc1854 = true + yyv1875 := *v + yyh1875, yyl1875 := z.DecSliceHelperStart() + var yyc1875 bool + if yyl1875 == 0 { + if yyv1875 == nil { + yyv1875 = []pkg2_v1.Capability{} + yyc1875 = true + } else if len(yyv1875) != 0 { + yyv1875 = yyv1875[:0] + yyc1875 = true } - } else if yyl1854 > 0 { - var yyrr1854, yyrl1854 int - var yyrt1854 bool - if yyl1854 > cap(yyv1854) { + } else if yyl1875 > 0 { + var yyrr1875, yyrl1875 int + var yyrt1875 bool + if yyl1875 > cap(yyv1875) { - yyrl1854, yyrt1854 = z.DecInferLen(yyl1854, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1854 { - if yyrl1854 <= cap(yyv1854) { - yyv1854 = yyv1854[:yyrl1854] + yyrl1875, yyrt1875 = z.DecInferLen(yyl1875, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1875 { + if yyrl1875 <= cap(yyv1875) { + yyv1875 = yyv1875[:yyrl1875] } else { - yyv1854 = make([]pkg2_v1.Capability, yyrl1854) + yyv1875 = make([]pkg2_v1.Capability, yyrl1875) } } else { - yyv1854 = make([]pkg2_v1.Capability, yyrl1854) + yyv1875 = make([]pkg2_v1.Capability, yyrl1875) } - yyc1854 = true - yyrr1854 = len(yyv1854) - } else if yyl1854 != len(yyv1854) { - yyv1854 = yyv1854[:yyl1854] - yyc1854 = true + yyc1875 = true + yyrr1875 = len(yyv1875) + } else if yyl1875 != len(yyv1875) { + yyv1875 = yyv1875[:yyl1875] + yyc1875 = true } - yyj1854 := 0 - for ; yyj1854 < yyrr1854; yyj1854++ { - yyh1854.ElemContainerState(yyj1854) + yyj1875 := 0 + for ; yyj1875 < yyrr1875; yyj1875++ { + yyh1875.ElemContainerState(yyj1875) if r.TryDecodeAsNil() { - yyv1854[yyj1854] = "" + yyv1875[yyj1875] = "" } else { - yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) + yyv1875[yyj1875] = pkg2_v1.Capability(r.DecodeString()) } } - if yyrt1854 { - for ; yyj1854 < yyl1854; yyj1854++ { - yyv1854 = append(yyv1854, "") - yyh1854.ElemContainerState(yyj1854) + if yyrt1875 { + for ; yyj1875 < yyl1875; yyj1875++ { + yyv1875 = append(yyv1875, "") + yyh1875.ElemContainerState(yyj1875) if r.TryDecodeAsNil() { - yyv1854[yyj1854] = "" + yyv1875[yyj1875] = "" } else { - yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) + yyv1875[yyj1875] = pkg2_v1.Capability(r.DecodeString()) } } } } else { - yyj1854 := 0 - for ; !r.CheckBreak(); yyj1854++ { + yyj1875 := 0 + for ; !r.CheckBreak(); yyj1875++ { - if yyj1854 >= len(yyv1854) { - yyv1854 = append(yyv1854, "") // var yyz1854 pkg2_v1.Capability - yyc1854 = true + if yyj1875 >= len(yyv1875) { + yyv1875 = append(yyv1875, "") // var yyz1875 pkg2_v1.Capability + yyc1875 = true } - yyh1854.ElemContainerState(yyj1854) - if yyj1854 < len(yyv1854) { + yyh1875.ElemContainerState(yyj1875) + if yyj1875 < len(yyv1875) { if r.TryDecodeAsNil() { - yyv1854[yyj1854] = "" + yyv1875[yyj1875] = "" } else { - yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) + yyv1875[yyj1875] = pkg2_v1.Capability(r.DecodeString()) } } else { @@ -22744,17 +23236,17 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec } } - if yyj1854 < len(yyv1854) { - yyv1854 = yyv1854[:yyj1854] - yyc1854 = true - } else if yyj1854 == 0 && yyv1854 == nil { - yyv1854 = []pkg2_v1.Capability{} - yyc1854 = true + if yyj1875 < len(yyv1875) { + yyv1875 = yyv1875[:yyj1875] + yyc1875 = true + } else if yyj1875 == 0 && yyv1875 == nil { + yyv1875 = []pkg2_v1.Capability{} + yyc1875 = true } } - yyh1854.End() - if yyc1854 { - *v = yyv1854 + yyh1875.End() + if yyc1875 { + *v = yyv1875 } } @@ -22763,9 +23255,9 @@ func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1858 := range v { + for _, yyv1879 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1858.CodecEncodeSelf(e) + yyv1879.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22775,75 +23267,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1859 := *v - yyh1859, yyl1859 := z.DecSliceHelperStart() - var yyc1859 bool - if yyl1859 == 0 { - if yyv1859 == nil { - yyv1859 = []FSType{} - yyc1859 = true - } else if len(yyv1859) != 0 { - yyv1859 = yyv1859[:0] - yyc1859 = true + yyv1880 := *v + yyh1880, yyl1880 := z.DecSliceHelperStart() + var yyc1880 bool + if yyl1880 == 0 { + if yyv1880 == nil { + yyv1880 = []FSType{} + yyc1880 = true + } else if len(yyv1880) != 0 { + yyv1880 = yyv1880[:0] + yyc1880 = true } - } else if yyl1859 > 0 { - var yyrr1859, yyrl1859 int - var yyrt1859 bool - if yyl1859 > cap(yyv1859) { + } else if yyl1880 > 0 { + var yyrr1880, yyrl1880 int + var yyrt1880 bool + if yyl1880 > cap(yyv1880) { - yyrl1859, yyrt1859 = z.DecInferLen(yyl1859, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1859 { - if yyrl1859 <= cap(yyv1859) { - yyv1859 = yyv1859[:yyrl1859] + yyrl1880, yyrt1880 = z.DecInferLen(yyl1880, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1880 { + if yyrl1880 <= cap(yyv1880) { + yyv1880 = yyv1880[:yyrl1880] } else { - yyv1859 = make([]FSType, yyrl1859) + yyv1880 = make([]FSType, yyrl1880) } } else { - yyv1859 = make([]FSType, yyrl1859) + yyv1880 = make([]FSType, yyrl1880) } - yyc1859 = true - yyrr1859 = len(yyv1859) - } else if yyl1859 != len(yyv1859) { - yyv1859 = yyv1859[:yyl1859] - yyc1859 = true + yyc1880 = true + yyrr1880 = len(yyv1880) + } else if yyl1880 != len(yyv1880) { + yyv1880 = yyv1880[:yyl1880] + yyc1880 = true } - yyj1859 := 0 - for ; yyj1859 < yyrr1859; yyj1859++ { - yyh1859.ElemContainerState(yyj1859) + yyj1880 := 0 + for ; yyj1880 < yyrr1880; yyj1880++ { + yyh1880.ElemContainerState(yyj1880) if r.TryDecodeAsNil() { - yyv1859[yyj1859] = "" + yyv1880[yyj1880] = "" } else { - yyv1859[yyj1859] = FSType(r.DecodeString()) + yyv1880[yyj1880] = FSType(r.DecodeString()) } } - if yyrt1859 { - for ; yyj1859 < yyl1859; yyj1859++ { - yyv1859 = append(yyv1859, "") - yyh1859.ElemContainerState(yyj1859) + if yyrt1880 { + for ; yyj1880 < yyl1880; yyj1880++ { + yyv1880 = append(yyv1880, "") + yyh1880.ElemContainerState(yyj1880) if r.TryDecodeAsNil() { - yyv1859[yyj1859] = "" + yyv1880[yyj1880] = "" } else { - yyv1859[yyj1859] = FSType(r.DecodeString()) + yyv1880[yyj1880] = FSType(r.DecodeString()) } } } } else { - yyj1859 := 0 - for ; !r.CheckBreak(); yyj1859++ { + yyj1880 := 0 + for ; !r.CheckBreak(); yyj1880++ { - if yyj1859 >= len(yyv1859) { - yyv1859 = append(yyv1859, "") // var yyz1859 FSType - yyc1859 = true + if yyj1880 >= len(yyv1880) { + yyv1880 = append(yyv1880, "") // var yyz1880 FSType + yyc1880 = true } - yyh1859.ElemContainerState(yyj1859) - if yyj1859 < len(yyv1859) { + yyh1880.ElemContainerState(yyj1880) + if yyj1880 < len(yyv1880) { if r.TryDecodeAsNil() { - yyv1859[yyj1859] = "" + yyv1880[yyj1880] = "" } else { - yyv1859[yyj1859] = FSType(r.DecodeString()) + yyv1880[yyj1880] = FSType(r.DecodeString()) } } else { @@ -22851,17 +23343,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1859 < len(yyv1859) { - yyv1859 = yyv1859[:yyj1859] - yyc1859 = true - } else if yyj1859 == 0 && yyv1859 == nil { - yyv1859 = []FSType{} - yyc1859 = true + if yyj1880 < len(yyv1880) { + yyv1880 = yyv1880[:yyj1880] + yyc1880 = true + } else if yyj1880 == 0 && yyv1880 == nil { + yyv1880 = []FSType{} + yyc1880 = true } } - yyh1859.End() - if yyc1859 { - *v = yyv1859 + yyh1880.End() + if yyc1880 { + *v = yyv1880 } } @@ -22870,10 +23362,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1863 := range v { + for _, yyv1884 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1864 := &yyv1863 - yy1864.CodecEncodeSelf(e) + yy1885 := &yyv1884 + yy1885.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22883,83 +23375,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1865 := *v - yyh1865, yyl1865 := z.DecSliceHelperStart() - var yyc1865 bool - if yyl1865 == 0 { - if yyv1865 == nil { - yyv1865 = []HostPortRange{} - yyc1865 = true - } else if len(yyv1865) != 0 { - yyv1865 = yyv1865[:0] - yyc1865 = true + yyv1886 := *v + yyh1886, yyl1886 := z.DecSliceHelperStart() + var yyc1886 bool + if yyl1886 == 0 { + if yyv1886 == nil { + yyv1886 = []HostPortRange{} + yyc1886 = true + } else if len(yyv1886) != 0 { + yyv1886 = yyv1886[:0] + yyc1886 = true } - } else if yyl1865 > 0 { - var yyrr1865, yyrl1865 int - var yyrt1865 bool - if yyl1865 > cap(yyv1865) { + } else if yyl1886 > 0 { + var yyrr1886, yyrl1886 int + var yyrt1886 bool + if yyl1886 > cap(yyv1886) { - yyrg1865 := len(yyv1865) > 0 - yyv21865 := yyv1865 - yyrl1865, yyrt1865 = z.DecInferLen(yyl1865, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1865 { - if yyrl1865 <= cap(yyv1865) { - yyv1865 = yyv1865[:yyrl1865] + yyrg1886 := len(yyv1886) > 0 + yyv21886 := yyv1886 + yyrl1886, yyrt1886 = z.DecInferLen(yyl1886, z.DecBasicHandle().MaxInitLen, 8) + if yyrt1886 { + if yyrl1886 <= cap(yyv1886) { + yyv1886 = yyv1886[:yyrl1886] } else { - yyv1865 = make([]HostPortRange, yyrl1865) + yyv1886 = make([]HostPortRange, yyrl1886) } } else { - yyv1865 = make([]HostPortRange, yyrl1865) + yyv1886 = make([]HostPortRange, yyrl1886) } - yyc1865 = true - yyrr1865 = len(yyv1865) - if yyrg1865 { - copy(yyv1865, yyv21865) + yyc1886 = true + yyrr1886 = len(yyv1886) + if yyrg1886 { + copy(yyv1886, yyv21886) } - } else if yyl1865 != len(yyv1865) { - yyv1865 = yyv1865[:yyl1865] - yyc1865 = true + } else if yyl1886 != len(yyv1886) { + yyv1886 = yyv1886[:yyl1886] + yyc1886 = true } - yyj1865 := 0 - for ; yyj1865 < yyrr1865; yyj1865++ { - yyh1865.ElemContainerState(yyj1865) + yyj1886 := 0 + for ; yyj1886 < yyrr1886; yyj1886++ { + yyh1886.ElemContainerState(yyj1886) if r.TryDecodeAsNil() { - yyv1865[yyj1865] = HostPortRange{} + yyv1886[yyj1886] = HostPortRange{} } else { - yyv1866 := &yyv1865[yyj1865] - yyv1866.CodecDecodeSelf(d) + yyv1887 := &yyv1886[yyj1886] + yyv1887.CodecDecodeSelf(d) } } - if yyrt1865 { - for ; yyj1865 < yyl1865; yyj1865++ { - yyv1865 = append(yyv1865, HostPortRange{}) - yyh1865.ElemContainerState(yyj1865) + if yyrt1886 { + for ; yyj1886 < yyl1886; yyj1886++ { + yyv1886 = append(yyv1886, HostPortRange{}) + yyh1886.ElemContainerState(yyj1886) if r.TryDecodeAsNil() { - yyv1865[yyj1865] = HostPortRange{} + yyv1886[yyj1886] = HostPortRange{} } else { - yyv1867 := &yyv1865[yyj1865] - yyv1867.CodecDecodeSelf(d) + yyv1888 := &yyv1886[yyj1886] + yyv1888.CodecDecodeSelf(d) } } } } else { - yyj1865 := 0 - for ; !r.CheckBreak(); yyj1865++ { + yyj1886 := 0 + for ; !r.CheckBreak(); yyj1886++ { - if yyj1865 >= len(yyv1865) { - yyv1865 = append(yyv1865, HostPortRange{}) // var yyz1865 HostPortRange - yyc1865 = true + if yyj1886 >= len(yyv1886) { + yyv1886 = append(yyv1886, HostPortRange{}) // var yyz1886 HostPortRange + yyc1886 = true } - yyh1865.ElemContainerState(yyj1865) - if yyj1865 < len(yyv1865) { + yyh1886.ElemContainerState(yyj1886) + if yyj1886 < len(yyv1886) { if r.TryDecodeAsNil() { - yyv1865[yyj1865] = HostPortRange{} + yyv1886[yyj1886] = HostPortRange{} } else { - yyv1868 := &yyv1865[yyj1865] - yyv1868.CodecDecodeSelf(d) + yyv1889 := &yyv1886[yyj1886] + yyv1889.CodecDecodeSelf(d) } } else { @@ -22967,17 +23459,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1865 < len(yyv1865) { - yyv1865 = yyv1865[:yyj1865] - yyc1865 = true - } else if yyj1865 == 0 && yyv1865 == nil { - yyv1865 = []HostPortRange{} - yyc1865 = true + if yyj1886 < len(yyv1886) { + yyv1886 = yyv1886[:yyj1886] + yyc1886 = true + } else if yyj1886 == 0 && yyv1886 == nil { + yyv1886 = []HostPortRange{} + yyc1886 = true } } - yyh1865.End() - if yyc1865 { - *v = yyv1865 + yyh1886.End() + if yyc1886 { + *v = yyv1886 } } @@ -22986,10 +23478,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1869 := range v { + for _, yyv1890 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1870 := &yyv1869 - yy1870.CodecEncodeSelf(e) + yy1891 := &yyv1890 + yy1891.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22999,83 +23491,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1871 := *v - yyh1871, yyl1871 := z.DecSliceHelperStart() - var yyc1871 bool - if yyl1871 == 0 { - if yyv1871 == nil { - yyv1871 = []IDRange{} - yyc1871 = true - } else if len(yyv1871) != 0 { - yyv1871 = yyv1871[:0] - yyc1871 = true + yyv1892 := *v + yyh1892, yyl1892 := z.DecSliceHelperStart() + var yyc1892 bool + if yyl1892 == 0 { + if yyv1892 == nil { + yyv1892 = []IDRange{} + yyc1892 = true + } else if len(yyv1892) != 0 { + yyv1892 = yyv1892[:0] + yyc1892 = true } - } else if yyl1871 > 0 { - var yyrr1871, yyrl1871 int - var yyrt1871 bool - if yyl1871 > cap(yyv1871) { + } else if yyl1892 > 0 { + var yyrr1892, yyrl1892 int + var yyrt1892 bool + if yyl1892 > cap(yyv1892) { - yyrg1871 := len(yyv1871) > 0 - yyv21871 := yyv1871 - yyrl1871, yyrt1871 = z.DecInferLen(yyl1871, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1871 { - if yyrl1871 <= cap(yyv1871) { - yyv1871 = yyv1871[:yyrl1871] + yyrg1892 := len(yyv1892) > 0 + yyv21892 := yyv1892 + yyrl1892, yyrt1892 = z.DecInferLen(yyl1892, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1892 { + if yyrl1892 <= cap(yyv1892) { + yyv1892 = yyv1892[:yyrl1892] } else { - yyv1871 = make([]IDRange, yyrl1871) + yyv1892 = make([]IDRange, yyrl1892) } } else { - yyv1871 = make([]IDRange, yyrl1871) + yyv1892 = make([]IDRange, yyrl1892) } - yyc1871 = true - yyrr1871 = len(yyv1871) - if yyrg1871 { - copy(yyv1871, yyv21871) + yyc1892 = true + yyrr1892 = len(yyv1892) + if yyrg1892 { + copy(yyv1892, yyv21892) } - } else if yyl1871 != len(yyv1871) { - yyv1871 = yyv1871[:yyl1871] - yyc1871 = true + } else if yyl1892 != len(yyv1892) { + yyv1892 = yyv1892[:yyl1892] + yyc1892 = true } - yyj1871 := 0 - for ; yyj1871 < yyrr1871; yyj1871++ { - yyh1871.ElemContainerState(yyj1871) + yyj1892 := 0 + for ; yyj1892 < yyrr1892; yyj1892++ { + yyh1892.ElemContainerState(yyj1892) if r.TryDecodeAsNil() { - yyv1871[yyj1871] = IDRange{} + yyv1892[yyj1892] = IDRange{} } else { - yyv1872 := &yyv1871[yyj1871] - yyv1872.CodecDecodeSelf(d) + yyv1893 := &yyv1892[yyj1892] + yyv1893.CodecDecodeSelf(d) } } - if yyrt1871 { - for ; yyj1871 < yyl1871; yyj1871++ { - yyv1871 = append(yyv1871, IDRange{}) - yyh1871.ElemContainerState(yyj1871) + if yyrt1892 { + for ; yyj1892 < yyl1892; yyj1892++ { + yyv1892 = append(yyv1892, IDRange{}) + yyh1892.ElemContainerState(yyj1892) if r.TryDecodeAsNil() { - yyv1871[yyj1871] = IDRange{} + yyv1892[yyj1892] = IDRange{} } else { - yyv1873 := &yyv1871[yyj1871] - yyv1873.CodecDecodeSelf(d) + yyv1894 := &yyv1892[yyj1892] + yyv1894.CodecDecodeSelf(d) } } } } else { - yyj1871 := 0 - for ; !r.CheckBreak(); yyj1871++ { + yyj1892 := 0 + for ; !r.CheckBreak(); yyj1892++ { - if yyj1871 >= len(yyv1871) { - yyv1871 = append(yyv1871, IDRange{}) // var yyz1871 IDRange - yyc1871 = true + if yyj1892 >= len(yyv1892) { + yyv1892 = append(yyv1892, IDRange{}) // var yyz1892 IDRange + yyc1892 = true } - yyh1871.ElemContainerState(yyj1871) - if yyj1871 < len(yyv1871) { + yyh1892.ElemContainerState(yyj1892) + if yyj1892 < len(yyv1892) { if r.TryDecodeAsNil() { - yyv1871[yyj1871] = IDRange{} + yyv1892[yyj1892] = IDRange{} } else { - yyv1874 := &yyv1871[yyj1871] - yyv1874.CodecDecodeSelf(d) + yyv1895 := &yyv1892[yyj1892] + yyv1895.CodecDecodeSelf(d) } } else { @@ -23083,17 +23575,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1871 < len(yyv1871) { - yyv1871 = yyv1871[:yyj1871] - yyc1871 = true - } else if yyj1871 == 0 && yyv1871 == nil { - yyv1871 = []IDRange{} - yyc1871 = true + if yyj1892 < len(yyv1892) { + yyv1892 = yyv1892[:yyj1892] + yyc1892 = true + } else if yyj1892 == 0 && yyv1892 == nil { + yyv1892 = []IDRange{} + yyc1892 = true } } - yyh1871.End() - if yyc1871 { - *v = yyv1871 + yyh1892.End() + if yyc1892 { + *v = yyv1892 } } @@ -23102,10 +23594,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1875 := range v { + for _, yyv1896 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1876 := &yyv1875 - yy1876.CodecEncodeSelf(e) + yy1897 := &yyv1896 + yy1897.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23115,83 +23607,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1877 := *v - yyh1877, yyl1877 := z.DecSliceHelperStart() - var yyc1877 bool - if yyl1877 == 0 { - if yyv1877 == nil { - yyv1877 = []PodSecurityPolicy{} - yyc1877 = true - } else if len(yyv1877) != 0 { - yyv1877 = yyv1877[:0] - yyc1877 = true + yyv1898 := *v + yyh1898, yyl1898 := z.DecSliceHelperStart() + var yyc1898 bool + if yyl1898 == 0 { + if yyv1898 == nil { + yyv1898 = []PodSecurityPolicy{} + yyc1898 = true + } else if len(yyv1898) != 0 { + yyv1898 = yyv1898[:0] + yyc1898 = true } - } else if yyl1877 > 0 { - var yyrr1877, yyrl1877 int - var yyrt1877 bool - if yyl1877 > cap(yyv1877) { + } else if yyl1898 > 0 { + var yyrr1898, yyrl1898 int + var yyrt1898 bool + if yyl1898 > cap(yyv1898) { - yyrg1877 := len(yyv1877) > 0 - yyv21877 := yyv1877 - yyrl1877, yyrt1877 = z.DecInferLen(yyl1877, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1877 { - if yyrl1877 <= cap(yyv1877) { - yyv1877 = yyv1877[:yyrl1877] + yyrg1898 := len(yyv1898) > 0 + yyv21898 := yyv1898 + yyrl1898, yyrt1898 = z.DecInferLen(yyl1898, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1898 { + if yyrl1898 <= cap(yyv1898) { + yyv1898 = yyv1898[:yyrl1898] } else { - yyv1877 = make([]PodSecurityPolicy, yyrl1877) + yyv1898 = make([]PodSecurityPolicy, yyrl1898) } } else { - yyv1877 = make([]PodSecurityPolicy, yyrl1877) + yyv1898 = make([]PodSecurityPolicy, yyrl1898) } - yyc1877 = true - yyrr1877 = len(yyv1877) - if yyrg1877 { - copy(yyv1877, yyv21877) + yyc1898 = true + yyrr1898 = len(yyv1898) + if yyrg1898 { + copy(yyv1898, yyv21898) } - } else if yyl1877 != len(yyv1877) { - yyv1877 = yyv1877[:yyl1877] - yyc1877 = true + } else if yyl1898 != len(yyv1898) { + yyv1898 = yyv1898[:yyl1898] + yyc1898 = true } - yyj1877 := 0 - for ; yyj1877 < yyrr1877; yyj1877++ { - yyh1877.ElemContainerState(yyj1877) + yyj1898 := 0 + for ; yyj1898 < yyrr1898; yyj1898++ { + yyh1898.ElemContainerState(yyj1898) if r.TryDecodeAsNil() { - yyv1877[yyj1877] = PodSecurityPolicy{} + yyv1898[yyj1898] = PodSecurityPolicy{} } else { - yyv1878 := &yyv1877[yyj1877] - yyv1878.CodecDecodeSelf(d) + yyv1899 := &yyv1898[yyj1898] + yyv1899.CodecDecodeSelf(d) } } - if yyrt1877 { - for ; yyj1877 < yyl1877; yyj1877++ { - yyv1877 = append(yyv1877, PodSecurityPolicy{}) - yyh1877.ElemContainerState(yyj1877) + if yyrt1898 { + for ; yyj1898 < yyl1898; yyj1898++ { + yyv1898 = append(yyv1898, PodSecurityPolicy{}) + yyh1898.ElemContainerState(yyj1898) if r.TryDecodeAsNil() { - yyv1877[yyj1877] = PodSecurityPolicy{} + yyv1898[yyj1898] = PodSecurityPolicy{} } else { - yyv1879 := &yyv1877[yyj1877] - yyv1879.CodecDecodeSelf(d) + yyv1900 := &yyv1898[yyj1898] + yyv1900.CodecDecodeSelf(d) } } } } else { - yyj1877 := 0 - for ; !r.CheckBreak(); yyj1877++ { + yyj1898 := 0 + for ; !r.CheckBreak(); yyj1898++ { - if yyj1877 >= len(yyv1877) { - yyv1877 = append(yyv1877, PodSecurityPolicy{}) // var yyz1877 PodSecurityPolicy - yyc1877 = true + if yyj1898 >= len(yyv1898) { + yyv1898 = append(yyv1898, PodSecurityPolicy{}) // var yyz1898 PodSecurityPolicy + yyc1898 = true } - yyh1877.ElemContainerState(yyj1877) - if yyj1877 < len(yyv1877) { + yyh1898.ElemContainerState(yyj1898) + if yyj1898 < len(yyv1898) { if r.TryDecodeAsNil() { - yyv1877[yyj1877] = PodSecurityPolicy{} + yyv1898[yyj1898] = PodSecurityPolicy{} } else { - yyv1880 := &yyv1877[yyj1877] - yyv1880.CodecDecodeSelf(d) + yyv1901 := &yyv1898[yyj1898] + yyv1901.CodecDecodeSelf(d) } } else { @@ -23199,17 +23691,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1877 < len(yyv1877) { - yyv1877 = yyv1877[:yyj1877] - yyc1877 = true - } else if yyj1877 == 0 && yyv1877 == nil { - yyv1877 = []PodSecurityPolicy{} - yyc1877 = true + if yyj1898 < len(yyv1898) { + yyv1898 = yyv1898[:yyj1898] + yyc1898 = true + } else if yyj1898 == 0 && yyv1898 == nil { + yyv1898 = []PodSecurityPolicy{} + yyc1898 = true } } - yyh1877.End() - if yyc1877 { - *v = yyv1877 + yyh1898.End() + if yyc1898 { + *v = yyv1898 } } @@ -23218,10 +23710,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1881 := range v { + for _, yyv1902 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1882 := &yyv1881 - yy1882.CodecEncodeSelf(e) + yy1903 := &yyv1902 + yy1903.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23231,83 +23723,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1883 := *v - yyh1883, yyl1883 := z.DecSliceHelperStart() - var yyc1883 bool - if yyl1883 == 0 { - if yyv1883 == nil { - yyv1883 = []NetworkPolicyIngressRule{} - yyc1883 = true - } else if len(yyv1883) != 0 { - yyv1883 = yyv1883[:0] - yyc1883 = true + yyv1904 := *v + yyh1904, yyl1904 := z.DecSliceHelperStart() + var yyc1904 bool + if yyl1904 == 0 { + if yyv1904 == nil { + yyv1904 = []NetworkPolicyIngressRule{} + yyc1904 = true + } else if len(yyv1904) != 0 { + yyv1904 = yyv1904[:0] + yyc1904 = true } - } else if yyl1883 > 0 { - var yyrr1883, yyrl1883 int - var yyrt1883 bool - if yyl1883 > cap(yyv1883) { + } else if yyl1904 > 0 { + var yyrr1904, yyrl1904 int + var yyrt1904 bool + if yyl1904 > cap(yyv1904) { - yyrg1883 := len(yyv1883) > 0 - yyv21883 := yyv1883 - yyrl1883, yyrt1883 = z.DecInferLen(yyl1883, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1883 { - if yyrl1883 <= cap(yyv1883) { - yyv1883 = yyv1883[:yyrl1883] + yyrg1904 := len(yyv1904) > 0 + yyv21904 := yyv1904 + yyrl1904, yyrt1904 = z.DecInferLen(yyl1904, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1904 { + if yyrl1904 <= cap(yyv1904) { + yyv1904 = yyv1904[:yyrl1904] } else { - yyv1883 = make([]NetworkPolicyIngressRule, yyrl1883) + yyv1904 = make([]NetworkPolicyIngressRule, yyrl1904) } } else { - yyv1883 = make([]NetworkPolicyIngressRule, yyrl1883) + yyv1904 = make([]NetworkPolicyIngressRule, yyrl1904) } - yyc1883 = true - yyrr1883 = len(yyv1883) - if yyrg1883 { - copy(yyv1883, yyv21883) + yyc1904 = true + yyrr1904 = len(yyv1904) + if yyrg1904 { + copy(yyv1904, yyv21904) } - } else if yyl1883 != len(yyv1883) { - yyv1883 = yyv1883[:yyl1883] - yyc1883 = true + } else if yyl1904 != len(yyv1904) { + yyv1904 = yyv1904[:yyl1904] + yyc1904 = true } - yyj1883 := 0 - for ; yyj1883 < yyrr1883; yyj1883++ { - yyh1883.ElemContainerState(yyj1883) + yyj1904 := 0 + for ; yyj1904 < yyrr1904; yyj1904++ { + yyh1904.ElemContainerState(yyj1904) if r.TryDecodeAsNil() { - yyv1883[yyj1883] = NetworkPolicyIngressRule{} + yyv1904[yyj1904] = NetworkPolicyIngressRule{} } else { - yyv1884 := &yyv1883[yyj1883] - yyv1884.CodecDecodeSelf(d) + yyv1905 := &yyv1904[yyj1904] + yyv1905.CodecDecodeSelf(d) } } - if yyrt1883 { - for ; yyj1883 < yyl1883; yyj1883++ { - yyv1883 = append(yyv1883, NetworkPolicyIngressRule{}) - yyh1883.ElemContainerState(yyj1883) + if yyrt1904 { + for ; yyj1904 < yyl1904; yyj1904++ { + yyv1904 = append(yyv1904, NetworkPolicyIngressRule{}) + yyh1904.ElemContainerState(yyj1904) if r.TryDecodeAsNil() { - yyv1883[yyj1883] = NetworkPolicyIngressRule{} + yyv1904[yyj1904] = NetworkPolicyIngressRule{} } else { - yyv1885 := &yyv1883[yyj1883] - yyv1885.CodecDecodeSelf(d) + yyv1906 := &yyv1904[yyj1904] + yyv1906.CodecDecodeSelf(d) } } } } else { - yyj1883 := 0 - for ; !r.CheckBreak(); yyj1883++ { + yyj1904 := 0 + for ; !r.CheckBreak(); yyj1904++ { - if yyj1883 >= len(yyv1883) { - yyv1883 = append(yyv1883, NetworkPolicyIngressRule{}) // var yyz1883 NetworkPolicyIngressRule - yyc1883 = true + if yyj1904 >= len(yyv1904) { + yyv1904 = append(yyv1904, NetworkPolicyIngressRule{}) // var yyz1904 NetworkPolicyIngressRule + yyc1904 = true } - yyh1883.ElemContainerState(yyj1883) - if yyj1883 < len(yyv1883) { + yyh1904.ElemContainerState(yyj1904) + if yyj1904 < len(yyv1904) { if r.TryDecodeAsNil() { - yyv1883[yyj1883] = NetworkPolicyIngressRule{} + yyv1904[yyj1904] = NetworkPolicyIngressRule{} } else { - yyv1886 := &yyv1883[yyj1883] - yyv1886.CodecDecodeSelf(d) + yyv1907 := &yyv1904[yyj1904] + yyv1907.CodecDecodeSelf(d) } } else { @@ -23315,17 +23807,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1883 < len(yyv1883) { - yyv1883 = yyv1883[:yyj1883] - yyc1883 = true - } else if yyj1883 == 0 && yyv1883 == nil { - yyv1883 = []NetworkPolicyIngressRule{} - yyc1883 = true + if yyj1904 < len(yyv1904) { + yyv1904 = yyv1904[:yyj1904] + yyc1904 = true + } else if yyj1904 == 0 && yyv1904 == nil { + yyv1904 = []NetworkPolicyIngressRule{} + yyc1904 = true } } - yyh1883.End() - if yyc1883 { - *v = yyv1883 + yyh1904.End() + if yyc1904 { + *v = yyv1904 } } @@ -23334,10 +23826,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1887 := range v { + for _, yyv1908 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1888 := &yyv1887 - yy1888.CodecEncodeSelf(e) + yy1909 := &yyv1908 + yy1909.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23347,83 +23839,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1889 := *v - yyh1889, yyl1889 := z.DecSliceHelperStart() - var yyc1889 bool - if yyl1889 == 0 { - if yyv1889 == nil { - yyv1889 = []NetworkPolicyPort{} - yyc1889 = true - } else if len(yyv1889) != 0 { - yyv1889 = yyv1889[:0] - yyc1889 = true + yyv1910 := *v + yyh1910, yyl1910 := z.DecSliceHelperStart() + var yyc1910 bool + if yyl1910 == 0 { + if yyv1910 == nil { + yyv1910 = []NetworkPolicyPort{} + yyc1910 = true + } else if len(yyv1910) != 0 { + yyv1910 = yyv1910[:0] + yyc1910 = true } - } else if yyl1889 > 0 { - var yyrr1889, yyrl1889 int - var yyrt1889 bool - if yyl1889 > cap(yyv1889) { + } else if yyl1910 > 0 { + var yyrr1910, yyrl1910 int + var yyrt1910 bool + if yyl1910 > cap(yyv1910) { - yyrg1889 := len(yyv1889) > 0 - yyv21889 := yyv1889 - yyrl1889, yyrt1889 = z.DecInferLen(yyl1889, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1889 { - if yyrl1889 <= cap(yyv1889) { - yyv1889 = yyv1889[:yyrl1889] + yyrg1910 := len(yyv1910) > 0 + yyv21910 := yyv1910 + yyrl1910, yyrt1910 = z.DecInferLen(yyl1910, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1910 { + if yyrl1910 <= cap(yyv1910) { + yyv1910 = yyv1910[:yyrl1910] } else { - yyv1889 = make([]NetworkPolicyPort, yyrl1889) + yyv1910 = make([]NetworkPolicyPort, yyrl1910) } } else { - yyv1889 = make([]NetworkPolicyPort, yyrl1889) + yyv1910 = make([]NetworkPolicyPort, yyrl1910) } - yyc1889 = true - yyrr1889 = len(yyv1889) - if yyrg1889 { - copy(yyv1889, yyv21889) + yyc1910 = true + yyrr1910 = len(yyv1910) + if yyrg1910 { + copy(yyv1910, yyv21910) } - } else if yyl1889 != len(yyv1889) { - yyv1889 = yyv1889[:yyl1889] - yyc1889 = true + } else if yyl1910 != len(yyv1910) { + yyv1910 = yyv1910[:yyl1910] + yyc1910 = true } - yyj1889 := 0 - for ; yyj1889 < yyrr1889; yyj1889++ { - yyh1889.ElemContainerState(yyj1889) + yyj1910 := 0 + for ; yyj1910 < yyrr1910; yyj1910++ { + yyh1910.ElemContainerState(yyj1910) if r.TryDecodeAsNil() { - yyv1889[yyj1889] = NetworkPolicyPort{} + yyv1910[yyj1910] = NetworkPolicyPort{} } else { - yyv1890 := &yyv1889[yyj1889] - yyv1890.CodecDecodeSelf(d) + yyv1911 := &yyv1910[yyj1910] + yyv1911.CodecDecodeSelf(d) } } - if yyrt1889 { - for ; yyj1889 < yyl1889; yyj1889++ { - yyv1889 = append(yyv1889, NetworkPolicyPort{}) - yyh1889.ElemContainerState(yyj1889) + if yyrt1910 { + for ; yyj1910 < yyl1910; yyj1910++ { + yyv1910 = append(yyv1910, NetworkPolicyPort{}) + yyh1910.ElemContainerState(yyj1910) if r.TryDecodeAsNil() { - yyv1889[yyj1889] = NetworkPolicyPort{} + yyv1910[yyj1910] = NetworkPolicyPort{} } else { - yyv1891 := &yyv1889[yyj1889] - yyv1891.CodecDecodeSelf(d) + yyv1912 := &yyv1910[yyj1910] + yyv1912.CodecDecodeSelf(d) } } } } else { - yyj1889 := 0 - for ; !r.CheckBreak(); yyj1889++ { + yyj1910 := 0 + for ; !r.CheckBreak(); yyj1910++ { - if yyj1889 >= len(yyv1889) { - yyv1889 = append(yyv1889, NetworkPolicyPort{}) // var yyz1889 NetworkPolicyPort - yyc1889 = true + if yyj1910 >= len(yyv1910) { + yyv1910 = append(yyv1910, NetworkPolicyPort{}) // var yyz1910 NetworkPolicyPort + yyc1910 = true } - yyh1889.ElemContainerState(yyj1889) - if yyj1889 < len(yyv1889) { + yyh1910.ElemContainerState(yyj1910) + if yyj1910 < len(yyv1910) { if r.TryDecodeAsNil() { - yyv1889[yyj1889] = NetworkPolicyPort{} + yyv1910[yyj1910] = NetworkPolicyPort{} } else { - yyv1892 := &yyv1889[yyj1889] - yyv1892.CodecDecodeSelf(d) + yyv1913 := &yyv1910[yyj1910] + yyv1913.CodecDecodeSelf(d) } } else { @@ -23431,17 +23923,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1889 < len(yyv1889) { - yyv1889 = yyv1889[:yyj1889] - yyc1889 = true - } else if yyj1889 == 0 && yyv1889 == nil { - yyv1889 = []NetworkPolicyPort{} - yyc1889 = true + if yyj1910 < len(yyv1910) { + yyv1910 = yyv1910[:yyj1910] + yyc1910 = true + } else if yyj1910 == 0 && yyv1910 == nil { + yyv1910 = []NetworkPolicyPort{} + yyc1910 = true } } - yyh1889.End() - if yyc1889 { - *v = yyv1889 + yyh1910.End() + if yyc1910 { + *v = yyv1910 } } @@ -23450,10 +23942,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1893 := range v { + for _, yyv1914 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1894 := &yyv1893 - yy1894.CodecEncodeSelf(e) + yy1915 := &yyv1914 + yy1915.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23463,83 +23955,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1895 := *v - yyh1895, yyl1895 := z.DecSliceHelperStart() - var yyc1895 bool - if yyl1895 == 0 { - if yyv1895 == nil { - yyv1895 = []NetworkPolicyPeer{} - yyc1895 = true - } else if len(yyv1895) != 0 { - yyv1895 = yyv1895[:0] - yyc1895 = true + yyv1916 := *v + yyh1916, yyl1916 := z.DecSliceHelperStart() + var yyc1916 bool + if yyl1916 == 0 { + if yyv1916 == nil { + yyv1916 = []NetworkPolicyPeer{} + yyc1916 = true + } else if len(yyv1916) != 0 { + yyv1916 = yyv1916[:0] + yyc1916 = true } - } else if yyl1895 > 0 { - var yyrr1895, yyrl1895 int - var yyrt1895 bool - if yyl1895 > cap(yyv1895) { + } else if yyl1916 > 0 { + var yyrr1916, yyrl1916 int + var yyrt1916 bool + if yyl1916 > cap(yyv1916) { - yyrg1895 := len(yyv1895) > 0 - yyv21895 := yyv1895 - yyrl1895, yyrt1895 = z.DecInferLen(yyl1895, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1895 { - if yyrl1895 <= cap(yyv1895) { - yyv1895 = yyv1895[:yyrl1895] + yyrg1916 := len(yyv1916) > 0 + yyv21916 := yyv1916 + yyrl1916, yyrt1916 = z.DecInferLen(yyl1916, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1916 { + if yyrl1916 <= cap(yyv1916) { + yyv1916 = yyv1916[:yyrl1916] } else { - yyv1895 = make([]NetworkPolicyPeer, yyrl1895) + yyv1916 = make([]NetworkPolicyPeer, yyrl1916) } } else { - yyv1895 = make([]NetworkPolicyPeer, yyrl1895) + yyv1916 = make([]NetworkPolicyPeer, yyrl1916) } - yyc1895 = true - yyrr1895 = len(yyv1895) - if yyrg1895 { - copy(yyv1895, yyv21895) + yyc1916 = true + yyrr1916 = len(yyv1916) + if yyrg1916 { + copy(yyv1916, yyv21916) } - } else if yyl1895 != len(yyv1895) { - yyv1895 = yyv1895[:yyl1895] - yyc1895 = true + } else if yyl1916 != len(yyv1916) { + yyv1916 = yyv1916[:yyl1916] + yyc1916 = true } - yyj1895 := 0 - for ; yyj1895 < yyrr1895; yyj1895++ { - yyh1895.ElemContainerState(yyj1895) + yyj1916 := 0 + for ; yyj1916 < yyrr1916; yyj1916++ { + yyh1916.ElemContainerState(yyj1916) if r.TryDecodeAsNil() { - yyv1895[yyj1895] = NetworkPolicyPeer{} + yyv1916[yyj1916] = NetworkPolicyPeer{} } else { - yyv1896 := &yyv1895[yyj1895] - yyv1896.CodecDecodeSelf(d) + yyv1917 := &yyv1916[yyj1916] + yyv1917.CodecDecodeSelf(d) } } - if yyrt1895 { - for ; yyj1895 < yyl1895; yyj1895++ { - yyv1895 = append(yyv1895, NetworkPolicyPeer{}) - yyh1895.ElemContainerState(yyj1895) + if yyrt1916 { + for ; yyj1916 < yyl1916; yyj1916++ { + yyv1916 = append(yyv1916, NetworkPolicyPeer{}) + yyh1916.ElemContainerState(yyj1916) if r.TryDecodeAsNil() { - yyv1895[yyj1895] = NetworkPolicyPeer{} + yyv1916[yyj1916] = NetworkPolicyPeer{} } else { - yyv1897 := &yyv1895[yyj1895] - yyv1897.CodecDecodeSelf(d) + yyv1918 := &yyv1916[yyj1916] + yyv1918.CodecDecodeSelf(d) } } } } else { - yyj1895 := 0 - for ; !r.CheckBreak(); yyj1895++ { + yyj1916 := 0 + for ; !r.CheckBreak(); yyj1916++ { - if yyj1895 >= len(yyv1895) { - yyv1895 = append(yyv1895, NetworkPolicyPeer{}) // var yyz1895 NetworkPolicyPeer - yyc1895 = true + if yyj1916 >= len(yyv1916) { + yyv1916 = append(yyv1916, NetworkPolicyPeer{}) // var yyz1916 NetworkPolicyPeer + yyc1916 = true } - yyh1895.ElemContainerState(yyj1895) - if yyj1895 < len(yyv1895) { + yyh1916.ElemContainerState(yyj1916) + if yyj1916 < len(yyv1916) { if r.TryDecodeAsNil() { - yyv1895[yyj1895] = NetworkPolicyPeer{} + yyv1916[yyj1916] = NetworkPolicyPeer{} } else { - yyv1898 := &yyv1895[yyj1895] - yyv1898.CodecDecodeSelf(d) + yyv1919 := &yyv1916[yyj1916] + yyv1919.CodecDecodeSelf(d) } } else { @@ -23547,17 +24039,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1895 < len(yyv1895) { - yyv1895 = yyv1895[:yyj1895] - yyc1895 = true - } else if yyj1895 == 0 && yyv1895 == nil { - yyv1895 = []NetworkPolicyPeer{} - yyc1895 = true + if yyj1916 < len(yyv1916) { + yyv1916 = yyv1916[:yyj1916] + yyc1916 = true + } else if yyj1916 == 0 && yyv1916 == nil { + yyv1916 = []NetworkPolicyPeer{} + yyc1916 = true } } - yyh1895.End() - if yyc1895 { - *v = yyv1895 + yyh1916.End() + if yyc1916 { + *v = yyv1916 } } @@ -23566,10 +24058,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1899 := range v { + for _, yyv1920 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1900 := &yyv1899 - yy1900.CodecEncodeSelf(e) + yy1921 := &yyv1920 + yy1921.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23579,83 +24071,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1901 := *v - yyh1901, yyl1901 := z.DecSliceHelperStart() - var yyc1901 bool - if yyl1901 == 0 { - if yyv1901 == nil { - yyv1901 = []NetworkPolicy{} - yyc1901 = true - } else if len(yyv1901) != 0 { - yyv1901 = yyv1901[:0] - yyc1901 = true + yyv1922 := *v + yyh1922, yyl1922 := z.DecSliceHelperStart() + var yyc1922 bool + if yyl1922 == 0 { + if yyv1922 == nil { + yyv1922 = []NetworkPolicy{} + yyc1922 = true + } else if len(yyv1922) != 0 { + yyv1922 = yyv1922[:0] + yyc1922 = true } - } else if yyl1901 > 0 { - var yyrr1901, yyrl1901 int - var yyrt1901 bool - if yyl1901 > cap(yyv1901) { + } else if yyl1922 > 0 { + var yyrr1922, yyrl1922 int + var yyrt1922 bool + if yyl1922 > cap(yyv1922) { - yyrg1901 := len(yyv1901) > 0 - yyv21901 := yyv1901 - yyrl1901, yyrt1901 = z.DecInferLen(yyl1901, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1901 { - if yyrl1901 <= cap(yyv1901) { - yyv1901 = yyv1901[:yyrl1901] + yyrg1922 := len(yyv1922) > 0 + yyv21922 := yyv1922 + yyrl1922, yyrt1922 = z.DecInferLen(yyl1922, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1922 { + if yyrl1922 <= cap(yyv1922) { + yyv1922 = yyv1922[:yyrl1922] } else { - yyv1901 = make([]NetworkPolicy, yyrl1901) + yyv1922 = make([]NetworkPolicy, yyrl1922) } } else { - yyv1901 = make([]NetworkPolicy, yyrl1901) + yyv1922 = make([]NetworkPolicy, yyrl1922) } - yyc1901 = true - yyrr1901 = len(yyv1901) - if yyrg1901 { - copy(yyv1901, yyv21901) + yyc1922 = true + yyrr1922 = len(yyv1922) + if yyrg1922 { + copy(yyv1922, yyv21922) } - } else if yyl1901 != len(yyv1901) { - yyv1901 = yyv1901[:yyl1901] - yyc1901 = true + } else if yyl1922 != len(yyv1922) { + yyv1922 = yyv1922[:yyl1922] + yyc1922 = true } - yyj1901 := 0 - for ; yyj1901 < yyrr1901; yyj1901++ { - yyh1901.ElemContainerState(yyj1901) + yyj1922 := 0 + for ; yyj1922 < yyrr1922; yyj1922++ { + yyh1922.ElemContainerState(yyj1922) if r.TryDecodeAsNil() { - yyv1901[yyj1901] = NetworkPolicy{} + yyv1922[yyj1922] = NetworkPolicy{} } else { - yyv1902 := &yyv1901[yyj1901] - yyv1902.CodecDecodeSelf(d) + yyv1923 := &yyv1922[yyj1922] + yyv1923.CodecDecodeSelf(d) } } - if yyrt1901 { - for ; yyj1901 < yyl1901; yyj1901++ { - yyv1901 = append(yyv1901, NetworkPolicy{}) - yyh1901.ElemContainerState(yyj1901) + if yyrt1922 { + for ; yyj1922 < yyl1922; yyj1922++ { + yyv1922 = append(yyv1922, NetworkPolicy{}) + yyh1922.ElemContainerState(yyj1922) if r.TryDecodeAsNil() { - yyv1901[yyj1901] = NetworkPolicy{} + yyv1922[yyj1922] = NetworkPolicy{} } else { - yyv1903 := &yyv1901[yyj1901] - yyv1903.CodecDecodeSelf(d) + yyv1924 := &yyv1922[yyj1922] + yyv1924.CodecDecodeSelf(d) } } } } else { - yyj1901 := 0 - for ; !r.CheckBreak(); yyj1901++ { + yyj1922 := 0 + for ; !r.CheckBreak(); yyj1922++ { - if yyj1901 >= len(yyv1901) { - yyv1901 = append(yyv1901, NetworkPolicy{}) // var yyz1901 NetworkPolicy - yyc1901 = true + if yyj1922 >= len(yyv1922) { + yyv1922 = append(yyv1922, NetworkPolicy{}) // var yyz1922 NetworkPolicy + yyc1922 = true } - yyh1901.ElemContainerState(yyj1901) - if yyj1901 < len(yyv1901) { + yyh1922.ElemContainerState(yyj1922) + if yyj1922 < len(yyv1922) { if r.TryDecodeAsNil() { - yyv1901[yyj1901] = NetworkPolicy{} + yyv1922[yyj1922] = NetworkPolicy{} } else { - yyv1904 := &yyv1901[yyj1901] - yyv1904.CodecDecodeSelf(d) + yyv1925 := &yyv1922[yyj1922] + yyv1925.CodecDecodeSelf(d) } } else { @@ -23663,16 +24155,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1901 < len(yyv1901) { - yyv1901 = yyv1901[:yyj1901] - yyc1901 = true - } else if yyj1901 == 0 && yyv1901 == nil { - yyv1901 = []NetworkPolicy{} - yyc1901 = true + if yyj1922 < len(yyv1922) { + yyv1922 = yyv1922[:yyj1922] + yyc1922 = true + } else if yyj1922 == 0 && yyv1922 == nil { + yyv1922 = []NetworkPolicy{} + yyc1922 = true } } - yyh1901.End() - if yyc1901 { - *v = yyv1901 + yyh1922.End() + if yyc1922 { + *v = yyv1922 } } diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index 8abef073253..f714cd9c709 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -264,7 +264,7 @@ type DeploymentSpec struct { // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. // +optional - Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` + Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` // Template describes the pods that will be created. Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"` @@ -464,7 +464,7 @@ type DaemonSetSpec struct { // If empty, defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"` + Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"` // Template is the object that describes the pod that will be created. // The DaemonSet will create exactly one copy of this pod on every node @@ -630,7 +630,7 @@ type JobSpec struct { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // AutoSelector controls generation of pod labels and pod selectors. // It was not present in the original extensions/v1beta1 Job definition, but exists @@ -884,6 +884,46 @@ type ExportOptions struct { Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"` } +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +type LabelSelector struct { + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"` + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"` +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +type LabelSelectorRequirement struct { + // key is the label key that the selector applies to. + Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` + // operator represents a key's relationship to a set of values. + // Valid operators ard In, NotIn, Exists and DoesNotExist. + Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"` + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` +} + +// A label selector operator is the set of operators that can be used in a selector requirement. +type LabelSelectorOperator string + +const ( + LabelSelectorOpIn LabelSelectorOperator = "In" + LabelSelectorOpNotIn LabelSelectorOperator = "NotIn" + LabelSelectorOpExists LabelSelectorOperator = "Exists" + LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist" +) + // +genclient=true // ReplicaSet represents the configuration of a ReplicaSet. @@ -943,7 +983,7 @@ type ReplicaSetSpec struct { // Label keys and values that must match in order to be controlled by this replica set. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` + Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` // Template is the object that describes the pod that will be created if // insufficient replicas are detected. @@ -1237,7 +1277,7 @@ type NetworkPolicySpec struct { // same set of pods. In this case, the ingress rules for each are combined additively. // This field is NOT optional and follows standard label selector semantics. // An empty podSelector matches all pods in this namespace. - PodSelector unversioned.LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"` + PodSelector LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"` // List of ingress rules to be applied to the selected pods. // Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, @@ -1297,7 +1337,7 @@ type NetworkPolicyPeer struct { // If not provided, this selector selects no pods. // If present but empty, this selector selects all pods in this namespace. // +optional - PodSelector *unversioned.LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"` + PodSelector *LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"` // Selects Namespaces using cluster scoped-labels. This // matches all pods in all namespaces selected by this label selector. @@ -1305,7 +1345,7 @@ type NetworkPolicyPeer struct { // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. // +optional - NamespaceSelector *unversioned.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"` + NamespaceSelector *LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"` } // Network Policy List is a list of NetworkPolicy objects. diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index 9d4adcd9533..31ad01fb5b5 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -423,6 +423,27 @@ func (JobStatus) SwaggerDoc() map[string]string { return map_JobStatus } +var map_LabelSelector = map[string]string{ + "": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "matchLabels": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "matchExpressions": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", +} + +func (LabelSelector) SwaggerDoc() map[string]string { + return map_LabelSelector +} + +var map_LabelSelectorRequirement = map[string]string{ + "": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "key": "key is the label key that the selector applies to.", + "operator": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + "values": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", +} + +func (LabelSelectorRequirement) SwaggerDoc() map[string]string { + return map_LabelSelectorRequirement +} + var map_NetworkPolicy = map[string]string{ "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "spec": "Specification of the desired behavior for this NetworkPolicy.", diff --git a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index 5c6abac7354..818fd3b14b6 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -22,6 +22,7 @@ package v1beta1 import ( api "k8s.io/kubernetes/pkg/api" + unversioned "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" autoscaling "k8s.io/kubernetes/pkg/apis/autoscaling" batch "k8s.io/kubernetes/pkg/apis/batch" @@ -114,6 +115,10 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_batch_JobSpec_To_v1beta1_JobSpec, Convert_v1beta1_JobStatus_To_batch_JobStatus, Convert_batch_JobStatus_To_v1beta1_JobStatus, + Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector, + Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector, + Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, + Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement, Convert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy, Convert_extensions_NetworkPolicy_To_v1beta1_NetworkPolicy, Convert_v1beta1_NetworkPolicyIngressRule_To_extensions_NetworkPolicyIngressRule, @@ -406,7 +411,15 @@ func Convert_extensions_DaemonSetList_To_v1beta1_DaemonSetList(in *extensions.Da } func autoConvert_v1beta1_DaemonSetSpec_To_extensions_DaemonSetSpec(in *DaemonSetSpec, out *extensions.DaemonSetSpec, s conversion.Scope) error { - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -418,7 +431,15 @@ func Convert_v1beta1_DaemonSetSpec_To_extensions_DaemonSetSpec(in *DaemonSetSpec } func autoConvert_extensions_DaemonSetSpec_To_v1beta1_DaemonSetSpec(in *extensions.DaemonSetSpec, out *DaemonSetSpec, s conversion.Scope) error { - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -581,7 +602,15 @@ func autoConvert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *Deploym if err := api.Convert_Pointer_int32_To_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -607,7 +636,15 @@ func autoConvert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensi if err := api.Convert_int32_To_Pointer_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -1413,7 +1450,15 @@ func autoConvert_v1beta1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpe out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } // WARNING: in.AutoSelector requires manual conversion: does not exist in peer-type if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -1425,7 +1470,15 @@ func autoConvert_batch_JobSpec_To_v1beta1_JobSpec(in *batch.JobSpec, out *JobSpe out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } // WARNING: in.ManualSelector requires manual conversion: does not exist in peer-type if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -1481,6 +1534,68 @@ func Convert_batch_JobStatus_To_v1beta1_JobStatus(in *batch.JobStatus, out *JobS return autoConvert_batch_JobStatus_To_v1beta1_JobStatus(in, out, s) } +func autoConvert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { + out.MatchLabels = in.MatchLabels + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]unversioned.LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil +} + +func Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error { + return autoConvert_v1beta1_LabelSelector_To_unversioned_LabelSelector(in, out, s) +} + +func autoConvert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { + out.MatchLabels = in.MatchLabels + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil +} + +func Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error { + return autoConvert_unversioned_LabelSelector_To_v1beta1_LabelSelector(in, out, s) +} + +func autoConvert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { + out.Key = in.Key + out.Operator = unversioned.LabelSelectorOperator(in.Operator) + out.Values = in.Values + return nil +} + +func Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error { + return autoConvert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in, out, s) +} + +func autoConvert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { + out.Key = in.Key + out.Operator = LabelSelectorOperator(in.Operator) + out.Values = in.Values + return nil +} + +func Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error { + return autoConvert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(in, out, s) +} + func autoConvert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy(in *NetworkPolicy, out *extensions.NetworkPolicy, s conversion.Scope) error { if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { return err @@ -1628,8 +1743,24 @@ func Convert_extensions_NetworkPolicyList_To_v1beta1_NetworkPolicyList(in *exten } func autoConvert_v1beta1_NetworkPolicyPeer_To_extensions_NetworkPolicyPeer(in *NetworkPolicyPeer, out *extensions.NetworkPolicyPeer, s conversion.Scope) error { - out.PodSelector = in.PodSelector - out.NamespaceSelector = in.NamespaceSelector + if in.PodSelector != nil { + in, out := &in.PodSelector, &out.PodSelector + *out = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.PodSelector = nil + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.NamespaceSelector = nil + } return nil } @@ -1638,8 +1769,24 @@ func Convert_v1beta1_NetworkPolicyPeer_To_extensions_NetworkPolicyPeer(in *Netwo } func autoConvert_extensions_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer(in *extensions.NetworkPolicyPeer, out *NetworkPolicyPeer, s conversion.Scope) error { - out.PodSelector = in.PodSelector - out.NamespaceSelector = in.NamespaceSelector + if in.PodSelector != nil { + in, out := &in.PodSelector, &out.PodSelector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.PodSelector = nil + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.NamespaceSelector = nil + } return nil } @@ -1680,7 +1827,9 @@ func Convert_extensions_NetworkPolicyPort_To_v1beta1_NetworkPolicyPort(in *exten } func autoConvert_v1beta1_NetworkPolicySpec_To_extensions_NetworkPolicySpec(in *NetworkPolicySpec, out *extensions.NetworkPolicySpec, s conversion.Scope) error { - out.PodSelector = in.PodSelector + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(&in.PodSelector, &out.PodSelector, s); err != nil { + return err + } if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]extensions.NetworkPolicyIngressRule, len(*in)) @@ -1700,7 +1849,9 @@ func Convert_v1beta1_NetworkPolicySpec_To_extensions_NetworkPolicySpec(in *Netwo } func autoConvert_extensions_NetworkPolicySpec_To_v1beta1_NetworkPolicySpec(in *extensions.NetworkPolicySpec, out *NetworkPolicySpec, s conversion.Scope) error { - out.PodSelector = in.PodSelector + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(&in.PodSelector, &out.PodSelector, s); err != nil { + return err + } if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]NetworkPolicyIngressRule, len(*in)) @@ -2076,7 +2227,15 @@ func autoConvert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *Replica return err } out.MinReadySeconds = in.MinReadySeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(unversioned.LabelSelector) + if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -2088,7 +2247,15 @@ func autoConvert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensi return err } out.MinReadySeconds = in.MinReadySeconds - out.Selector = in.Selector + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(LabelSelector) + if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(*in, *out, s); err != nil { + return err + } + } else { + out.Selector = nil + } if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } diff --git a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index 746f1ce0d3d..05275be7677 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -76,6 +76,8 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobList, InType: reflect.TypeOf(&JobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicy, InType: reflect.TypeOf(&NetworkPolicy{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyIngressRule, InType: reflect.TypeOf(&NetworkPolicyIngressRule{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyList, InType: reflect.TypeOf(&NetworkPolicyList{})}, @@ -226,8 +228,8 @@ func DeepCopy_v1beta1_DaemonSetSpec(in interface{}, out interface{}, c *conversi out := out.(*DaemonSetSpec) if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -322,8 +324,8 @@ func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *convers } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -778,8 +780,8 @@ func DeepCopy_v1beta1_JobSpec(in interface{}, out interface{}, c *conversion.Clo } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -835,6 +837,51 @@ func DeepCopy_v1beta1_JobStatus(in interface{}, out interface{}, c *conversion.C } } +func DeepCopy_v1beta1_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*LabelSelector) + out := out.(*LabelSelector) + if in.MatchLabels != nil { + in, out := &in.MatchLabels, &out.MatchLabels + *out = make(map[string]string) + for key, val := range *in { + (*out)[key] = val + } + } else { + out.MatchLabels = nil + } + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]LabelSelectorRequirement, len(*in)) + for i := range *in { + if err := DeepCopy_v1beta1_LabelSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.MatchExpressions = nil + } + return nil + } +} + +func DeepCopy_v1beta1_LabelSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*LabelSelectorRequirement) + out := out.(*LabelSelectorRequirement) + out.Key = in.Key + out.Operator = in.Operator + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]string, len(*in)) + copy(*out, *in) + } else { + out.Values = nil + } + return nil + } +} + func DeepCopy_v1beta1_NetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NetworkPolicy) @@ -907,8 +954,8 @@ func DeepCopy_v1beta1_NetworkPolicyPeer(in interface{}, out interface{}, c *conv out := out.(*NetworkPolicyPeer) if in.PodSelector != nil { in, out := &in.PodSelector, &out.PodSelector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -916,8 +963,8 @@ func DeepCopy_v1beta1_NetworkPolicyPeer(in interface{}, out interface{}, c *conv } if in.NamespaceSelector != nil { in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -953,7 +1000,7 @@ func DeepCopy_v1beta1_NetworkPolicySpec(in interface{}, out interface{}, c *conv { in := in.(*NetworkPolicySpec) out := out.(*NetworkPolicySpec) - if err := unversioned.DeepCopy_unversioned_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { + if err := DeepCopy_v1beta1_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { return err } if in.Ingress != nil { @@ -1143,8 +1190,8 @@ func DeepCopy_v1beta1_ReplicaSetSpec(in interface{}, out interface{}, c *convers out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(unversioned.LabelSelector) - if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { + *out = new(LabelSelector) + if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { return err } } else { diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 3d1fce991cb..bd9bbe2e317 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -8727,7 +8727,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1.LabelSelector"), }, }, "manualSelector": { @@ -8748,7 +8748,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "unversioned.LabelSelector", "v1.PodTemplateSpec"}, + "v1.LabelSelector", "v1.PodTemplateSpec"}, }, "v1.JobStatus": { Schema: spec.Schema{ @@ -8839,6 +8839,83 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, Dependencies: []string{}, }, + "v1.LabelSelector": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + Properties: map[string]spec.Schema{ + "matchLabels": { + SchemaProps: spec.SchemaProps{ + Description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "matchExpressions": { + SchemaProps: spec.SchemaProps{ + Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: spec.MustCreateRef("#/definitions/v1.LabelSelectorRequirement"), + }, + }, + }, + }, + }, + }, + }, + }, + Dependencies: []string{ + "v1.LabelSelectorRequirement"}, + }, + "v1.LabelSelectorRequirement": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + Properties: map[string]spec.Schema{ + "key": { + SchemaProps: spec.SchemaProps{ + Description: "key is the label key that the selector applies to.", + Type: []string{"string"}, + Format: "", + }, + }, + "operator": { + SchemaProps: spec.SchemaProps{ + Description: "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + Type: []string{"string"}, + Format: "", + }, + }, + "values": { + SchemaProps: spec.SchemaProps{ + Description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + Required: []string{"key", "operator"}, + }, + }, + Dependencies: []string{}, + }, "v1.Lifecycle": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -15667,7 +15744,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelector"), }, }, "template": { @@ -15681,7 +15758,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "unversioned.LabelSelector", "v1.PodTemplateSpec"}, + "v1.PodTemplateSpec", "v1beta1.LabelSelector"}, }, "v1beta1.DaemonSetStatus": { Schema: spec.Schema{ @@ -15836,7 +15913,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelector"), }, }, "template": { @@ -15883,7 +15960,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "unversioned.LabelSelector", "v1.PodTemplateSpec", "v1beta1.DeploymentStrategy", "v1beta1.RollbackConfig"}, + "v1.PodTemplateSpec", "v1beta1.DeploymentStrategy", "v1beta1.LabelSelector", "v1beta1.RollbackConfig"}, }, "v1beta1.DeploymentStatus": { Schema: spec.Schema{ @@ -16604,7 +16681,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelector"), }, }, "autoSelector": { @@ -16625,7 +16702,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "unversioned.LabelSelector", "v1.PodTemplateSpec"}, + "v1.PodTemplateSpec", "v1beta1.LabelSelector"}, }, "v1beta1.JobStatus": { Schema: spec.Schema{ @@ -16684,6 +16761,83 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Dependencies: []string{ "unversioned.Time", "v1beta1.JobCondition"}, }, + "v1beta1.LabelSelector": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + Properties: map[string]spec.Schema{ + "matchLabels": { + SchemaProps: spec.SchemaProps{ + Description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "matchExpressions": { + SchemaProps: spec.SchemaProps{ + Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelectorRequirement"), + }, + }, + }, + }, + }, + }, + }, + }, + Dependencies: []string{ + "v1beta1.LabelSelectorRequirement"}, + }, + "v1beta1.LabelSelectorRequirement": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + Properties: map[string]spec.Schema{ + "key": { + SchemaProps: spec.SchemaProps{ + Description: "key is the label key that the selector applies to.", + Type: []string{"string"}, + Format: "", + }, + }, + "operator": { + SchemaProps: spec.SchemaProps{ + Description: "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + Type: []string{"string"}, + Format: "", + }, + }, + "values": { + SchemaProps: spec.SchemaProps{ + Description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + Required: []string{"key", "operator"}, + }, + }, + Dependencies: []string{}, + }, "v1beta1.LocalSubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -16810,20 +16964,20 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "podSelector": { SchemaProps: spec.SchemaProps{ Description: "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelector"), }, }, "namespaceSelector": { SchemaProps: spec.SchemaProps{ Description: "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelector"), }, }, }, }, }, Dependencies: []string{ - "unversioned.LabelSelector"}, + "v1beta1.LabelSelector"}, }, "v1beta1.NetworkPolicyPort": { Schema: spec.Schema{ @@ -16855,7 +17009,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "podSelector": { SchemaProps: spec.SchemaProps{ Description: "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelector"), }, }, "ingress": { @@ -16876,7 +17030,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "unversioned.LabelSelector", "v1beta1.NetworkPolicyIngressRule"}, + "v1beta1.LabelSelector", "v1beta1.NetworkPolicyIngressRule"}, }, "v1beta1.NonResourceAttributes": { Schema: spec.Schema{ @@ -17224,7 +17378,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v1beta1.LabelSelector"), }, }, "template": { @@ -17237,7 +17391,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "unversioned.LabelSelector", "v1.PodTemplateSpec"}, + "v1.PodTemplateSpec", "v1beta1.LabelSelector"}, }, "v1beta1.ReplicaSetStatus": { Schema: spec.Schema{ @@ -18290,7 +18444,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/v2alpha1.LabelSelector"), }, }, "manualSelector": { @@ -18311,7 +18465,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "unversioned.LabelSelector", "v1.PodTemplateSpec"}, + "v1.PodTemplateSpec", "v2alpha1.LabelSelector"}, }, "v2alpha1.JobStatus": { Schema: spec.Schema{ @@ -18416,6 +18570,83 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Dependencies: []string{ "v1.ObjectMeta", "v2alpha1.JobSpec"}, }, + "v2alpha1.LabelSelector": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + Properties: map[string]spec.Schema{ + "matchLabels": { + SchemaProps: spec.SchemaProps{ + Description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "matchExpressions": { + SchemaProps: spec.SchemaProps{ + Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: spec.MustCreateRef("#/definitions/v2alpha1.LabelSelectorRequirement"), + }, + }, + }, + }, + }, + }, + }, + }, + Dependencies: []string{ + "v2alpha1.LabelSelectorRequirement"}, + }, + "v2alpha1.LabelSelectorRequirement": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + Properties: map[string]spec.Schema{ + "key": { + SchemaProps: spec.SchemaProps{ + Description: "key is the label key that the selector applies to.", + Type: []string{"string"}, + Format: "", + }, + }, + "operator": { + SchemaProps: spec.SchemaProps{ + Description: "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + Type: []string{"string"}, + Format: "", + }, + }, + "values": { + SchemaProps: spec.SchemaProps{ + Description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + Required: []string{"key", "operator"}, + }, + }, + Dependencies: []string{}, + }, "v2alpha1.ScheduledJob": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ diff --git a/test/e2e/federation-replicaset.go b/test/e2e/federation-replicaset.go index afeae884e9a..daf90c6e321 100644 --- a/test/e2e/federation-replicaset.go +++ b/test/e2e/federation-replicaset.go @@ -23,7 +23,6 @@ import ( "k8s.io/kubernetes/federation/client/clientset_generated/federation_release_1_5" fedutil "k8s.io/kubernetes/federation/pkg/federation-controller/util" - "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/apis/extensions/v1beta1" "k8s.io/kubernetes/pkg/util/wait" @@ -195,7 +194,7 @@ func newReplicaSet(namespace string, name string, replicas int32) *v1beta1.Repli }, Spec: v1beta1.ReplicaSetSpec{ Replicas: &replicas, - Selector: &unversioned.LabelSelector{ + Selector: &v1beta1.LabelSelector{ MatchLabels: map[string]string{"name": "myrs"}, }, Template: v1.PodTemplateSpec{ diff --git a/test/e2e/generated/BUILD b/test/e2e/generated/BUILD index 2139eb1437a..a82f3efa2c1 100644 --- a/test/e2e/generated/BUILD +++ b/test/e2e/generated/BUILD @@ -12,6 +12,29 @@ load( go_library( name = "go_default_library", - srcs = ["main.go"], - tags = ["automanaged"], + srcs = [ + "main.go", + ":bindata", + ], +) + +genrule( + name = "bindata", + srcs = [ + "//examples:sources", + "//test/images:sources", + "//test/fixtures:sources", + "//test/e2e/testing-manifests:sources", + ], + outs = ["bindata.go"], + cmd = """ +$(location //vendor:github.com/jteeuwen/go-bindata/go-bindata) \ + -nometadata -o "$(OUTS)" -pkg generated \ + -prefix $$(pwd) \ + -ignore .jpg -ignore .png -ignore .md \ + $(SRCS) +""", + tools = [ + "//vendor:github.com/jteeuwen/go-bindata/go-bindata", + ], ) diff --git a/test/integration/replicaset/replicaset_test.go b/test/integration/replicaset/replicaset_test.go index 4461c5ea772..404017e47b3 100644 --- a/test/integration/replicaset/replicaset_test.go +++ b/test/integration/replicaset/replicaset_test.go @@ -55,7 +55,7 @@ func newRS(name, namespace string, replicas int) *v1beta1.ReplicaSet { Name: name, }, Spec: v1beta1.ReplicaSetSpec{ - Selector: &unversioned.LabelSelector{ + Selector: &v1beta1.LabelSelector{ MatchLabels: testLabels(), }, Replicas: &replicasCopy,