From 1ace8fa9cef84d509dce01d17b7b1698438a152c Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Thu, 20 Oct 2016 15:28:39 -0700 Subject: [PATCH] remove versioned LabelSelector definitions --- api/openapi-spec/swagger.json | 102 +- api/swagger-spec/batch_v1.json | 12 +- api/swagger-spec/extensions_v1beta1.json | 24 +- docs/api-reference/batch/v1/definitions.html | 182 +- .../extensions/v1beta1/definitions.html | 194 +- .../pkg/federation-controller/daemonset/BUILD | 1 + .../daemonset/daemonset_controller_test.go | 3 +- .../util/podanalyzer/BUILD | 2 - .../util/podanalyzer/pod_helper.go | 14 +- .../util/podanalyzer/pod_helper_test.go | 2 +- pkg/apis/batch/v1/BUILD | 1 - pkg/apis/batch/v1/conversion.go | 21 +- pkg/apis/batch/v1/generated.pb.go | 627 +- pkg/apis/batch/v1/generated.proto | 35 +- pkg/apis/batch/v1/types.generated.go | 1928 +- pkg/apis/batch/v1/types.go | 42 +- .../batch/v1/types_swagger_doc_generated.go | 21 - pkg/apis/batch/v1/zz_generated.conversion.go | 70 +- pkg/apis/batch/v1/zz_generated.deepcopy.go | 51 +- pkg/apis/batch/v2alpha1/BUILD | 1 - pkg/apis/batch/v2alpha1/conversion.go | 21 +- pkg/apis/batch/v2alpha1/generated.pb.go | 670 +- pkg/apis/batch/v2alpha1/generated.proto | 35 +- pkg/apis/batch/v2alpha1/types.generated.go | 3218 ++-- pkg/apis/batch/v2alpha1/types.go | 42 +- .../v2alpha1/types_swagger_doc_generated.go | 21 - .../batch/v2alpha1/zz_generated.conversion.go | 70 +- .../batch/v2alpha1/zz_generated.deepcopy.go | 51 +- pkg/apis/extensions/v1beta1/BUILD | 1 + pkg/apis/extensions/v1beta1/conversion.go | 60 +- pkg/apis/extensions/v1beta1/defaults.go | 9 +- pkg/apis/extensions/v1beta1/defaults_test.go | 27 +- pkg/apis/extensions/v1beta1/generated.pb.go | 1071 +- pkg/apis/extensions/v1beta1/generated.proto | 47 +- .../extensions/v1beta1/types.generated.go | 14966 ++++++++-------- pkg/apis/extensions/v1beta1/types.go | 54 +- .../v1beta1/types_swagger_doc_generated.go | 21 - .../v1beta1/zz_generated.conversion.go | 88 +- .../v1beta1/zz_generated.deepcopy.go | 73 +- pkg/generated/openapi/zz_generated.openapi.go | 265 +- test/e2e/federation-replicaset.go | 3 +- test/e2e/generated/BUILD | 27 +- .../integration/replicaset/replicaset_test.go | 2 +- 43 files changed, 9908 insertions(+), 14267 deletions(-) diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index b14d768b78c..bfe4305d2fe 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/v1.LabelSelector" + "$ref": "#/definitions/unversioned.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,49 +30315,6 @@ } } }, - "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": { @@ -32652,7 +32609,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/v1beta1.LabelSelector" + "$ref": "#/definitions/unversioned.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", @@ -32782,7 +32739,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/v1beta1.LabelSelector" + "$ref": "#/definitions/unversioned.LabelSelector" }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", @@ -33139,7 +33096,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/v1beta1.LabelSelector" + "$ref": "#/definitions/unversioned.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", @@ -33182,49 +33139,6 @@ } } }, - "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": [ @@ -33298,11 +33212,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/v1beta1.LabelSelector" + "$ref": "#/definitions/unversioned.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/v1beta1.LabelSelector" + "$ref": "#/definitions/unversioned.LabelSelector" } } }, @@ -33332,7 +33246,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/v1beta1.LabelSelector" + "$ref": "#/definitions/unversioned.LabelSelector" } } }, @@ -33429,7 +33343,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/v1beta1.LabelSelector" + "$ref": "#/definitions/unversioned.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 21c43cf5e7c..b0ac51aee55 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": "v1.LabelSelector", + "$ref": "unversioned.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 @@ } } }, - "v1.LabelSelector": { - "id": "v1.LabelSelector", + "unversioned.LabelSelector": { + "id": "unversioned.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": "v1.LabelSelectorRequirement" + "$ref": "unversioned.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "v1.LabelSelectorRequirement": { - "id": "v1.LabelSelectorRequirement", + "unversioned.LabelSelectorRequirement": { + "id": "unversioned.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 93b7270cd45..721ab0d26c9 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -7792,7 +7792,7 @@ ], "properties": { "selector": { - "$ref": "v1beta1.LabelSelector", + "$ref": "unversioned.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 @@ } } }, - "v1beta1.LabelSelector": { - "id": "v1beta1.LabelSelector", + "unversioned.LabelSelector": { + "id": "unversioned.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": "v1beta1.LabelSelectorRequirement" + "$ref": "unversioned.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "v1beta1.LabelSelectorRequirement": { - "id": "v1beta1.LabelSelectorRequirement", + "unversioned.LabelSelectorRequirement": { + "id": "unversioned.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": "v1beta1.LabelSelector", + "$ref": "unversioned.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": "v1beta1.LabelSelector", + "$ref": "unversioned.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": "v1beta1.LabelSelector", + "$ref": "unversioned.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": "v1beta1.LabelSelector", + "$ref": "unversioned.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": "v1beta1.LabelSelector", + "$ref": "unversioned.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": "v1beta1.LabelSelector", + "$ref": "unversioned.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 d4f2e13c369..21f807c199a 100755 --- a/docs/api-reference/batch/v1/definitions.html +++ b/docs/api-reference/batch/v1/definitions.html @@ -652,47 +652,6 @@ 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

@@ -2486,6 +2445,47 @@ 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,54 +2661,6 @@ 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

@@ -3156,7 +3108,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

-

v1.LabelSelector

+

unversioned.LabelSelector

@@ -3557,6 +3509,54 @@ 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 5a104622f6e..821bf9478db 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

-

v1beta1.LabelSelector

+

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

-

v1beta1.LabelSelector

+

unversioned.LabelSelector

@@ -2399,6 +2399,47 @@ 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

@@ -3364,7 +3405,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

-

v1beta1.LabelSelector

+

unversioned.LabelSelector

@@ -4364,7 +4405,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

-

v1beta1.LabelSelector

+

unversioned.LabelSelector

@@ -4963,14 +5004,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

-

v1beta1.LabelSelector

+

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

-

v1beta1.LabelSelector

+

unversioned.LabelSelector

@@ -5554,47 +5595,6 @@ 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,54 +6049,6 @@ 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

@@ -6314,7 +6266,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

-

v1beta1.LabelSelector

+

unversioned.LabelSelector

@@ -6334,6 +6286,54 @@ 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 115fa4bc084..d8e392152d5 100644 --- a/federation/pkg/federation-controller/daemonset/BUILD +++ b/federation/pkg/federation-controller/daemonset/BUILD @@ -44,6 +44,7 @@ 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 63d7457b18c..90587d0f738 100644 --- a/federation/pkg/federation-controller/daemonset/daemonset_controller_test.go +++ b/federation/pkg/federation-controller/daemonset/daemonset_controller_test.go @@ -26,6 +26,7 @@ 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" @@ -85,7 +86,7 @@ func TestDaemonSetController(t *testing.T) { SelfLink: "/api/v1/namespaces/ns/daemonsets/test-daemonset", }, Spec: extensionsv1.DaemonSetSpec{ - Selector: &extensionsv1.LabelSelector{ + Selector: &unversioned.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 6afc9910453..41f85428ab3 100644 --- a/federation/pkg/federation-controller/util/podanalyzer/BUILD +++ b/federation/pkg/federation-controller/util/podanalyzer/BUILD @@ -16,10 +16,8 @@ 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 773d3d207cd..493d9172bdc 100644 --- a/federation/pkg/federation-controller/util/podanalyzer/pod_helper.go +++ b/federation/pkg/federation-controller/util/podanalyzer/pod_helper.go @@ -21,10 +21,8 @@ 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" ) @@ -47,8 +45,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 *v1beta1.LabelSelector, allPods []util.FederatedObject, currentTime time.Time) (map[string]PodAnalysisResult, error) { - selector, err := labelSelectorAsSelector(selectorv1) +func AnalysePods(selectorv1 *unversioned.LabelSelector, allPods []util.FederatedObject, currentTime time.Time) (map[string]PodAnalysisResult, error) { + selector, err := unversioned.LabelSelectorAsSelector(selectorv1) if err != nil { return nil, fmt.Errorf("invalid selector: %v", err) } @@ -82,11 +80,3 @@ func AnalysePods(selectorv1 *v1beta1.LabelSelector, allPods []util.FederatedObje } 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 86e41a28df7..fea46fc5163 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: &v1beta1.LabelSelector{MatchLabels: selectorMap}, + Selector: &unversioned.LabelSelector{MatchLabels: selectorMap}, }, } return rs diff --git a/pkg/apis/batch/v1/BUILD b/pkg/apis/batch/v1/BUILD index 9d7f293ce97..2011e9176f1 100644 --- a/pkg/apis/batch/v1/BUILD +++ b/pkg/apis/batch/v1/BUILD @@ -38,7 +38,6 @@ 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 01dfe02970b..e996bad27a7 100644 --- a/pkg/apis/batch/v1/conversion.go +++ b/pkg/apis/batch/v1/conversion.go @@ -20,7 +20,6 @@ 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" @@ -53,15 +52,7 @@ 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 - // 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 - } + out.Selector = in.Selector if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector @@ -79,15 +70,7 @@ 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 - // 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 - } + out.Selector = in.Selector 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 648a0487234..f5d0adcbc1d 100644 --- a/pkg/apis/batch/v1/generated.pb.go +++ b/pkg/apis/batch/v1/generated.pb.go @@ -30,8 +30,6 @@ limitations under the License. JobList JobSpec JobStatus - LabelSelector - LabelSelectorRequirement */ package v1 @@ -44,7 +42,6 @@ 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" @@ -77,24 +74,12 @@ 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() @@ -346,94 +331,6 @@ 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) @@ -552,42 +449,6 @@ 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++ @@ -647,7 +508,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", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -669,39 +530,6 @@ 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() { @@ -1303,7 +1131,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1585,335 +1413,6 @@ 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 @@ -2020,71 +1519,59 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 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,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 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, + // 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, 0x1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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, } diff --git a/pkg/apis/batch/v1/generated.proto b/pkg/apis/batch/v1/generated.proto index c119f3ce7a8..17a6add05ac 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 LabelSelector selector = 4; + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -165,36 +165,3 @@ 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 09ac15efc8d..0b6d641da2f 100644 --- a/pkg/apis/batch/v1/types.generated.go +++ b/pkg/apis/batch/v1/types.generated.go @@ -908,7 +908,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym82 := z.EncBinary() + _ = yym82 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() @@ -921,7 +927,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym83 := z.EncBinary() + _ = yym83 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } @@ -931,12 +943,12 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy83 := *x.ManualSelector - yym84 := z.EncBinary() - _ = yym84 + yy85 := *x.ManualSelector + yym86 := z.EncBinary() + _ = yym86 if false { } else { - r.EncodeBool(bool(yy83)) + r.EncodeBool(bool(yy85)) } } } else { @@ -950,26 +962,26 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy85 := *x.ManualSelector - yym86 := z.EncBinary() - _ = yym86 + yy87 := *x.ManualSelector + yym88 := z.EncBinary() + _ = yym88 if false { } else { - r.EncodeBool(bool(yy85)) + r.EncodeBool(bool(yy87)) } } } } if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy88 := &x.Template - yy88.CodecEncodeSelf(e) + yy90 := &x.Template + yy90.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy89 := &x.Template - yy89.CodecEncodeSelf(e) + yy91 := &x.Template + yy91.CodecEncodeSelf(e) } if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -984,25 +996,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym90 := z.DecBinary() - _ = yym90 + yym92 := z.DecBinary() + _ = yym92 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct91 := r.ContainerType() - if yyct91 == codecSelferValueTypeMap1234 { - yyl91 := r.ReadMapStart() - if yyl91 == 0 { + yyct93 := r.ContainerType() + if yyct93 == codecSelferValueTypeMap1234 { + yyl93 := r.ReadMapStart() + if yyl93 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl91, d) + x.codecDecodeSelfFromMap(yyl93, d) } - } else if yyct91 == codecSelferValueTypeArray1234 { - yyl91 := r.ReadArrayStart() - if yyl91 == 0 { + } else if yyct93 == codecSelferValueTypeArray1234 { + yyl93 := r.ReadArrayStart() + if yyl93 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl91, d) + x.codecDecodeSelfFromArray(yyl93, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1014,12 +1026,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys92Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys92Slc - var yyhl92 bool = l >= 0 - for yyj92 := 0; ; yyj92++ { - if yyhl92 { - if yyj92 >= l { + var yys94Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys94Slc + var yyhl94 bool = l >= 0 + for yyj94 := 0; ; yyj94++ { + if yyhl94 { + if yyj94 >= l { break } } else { @@ -1028,10 +1040,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys92Slc = r.DecodeBytes(yys92Slc, true, true) - yys92 := string(yys92Slc) + yys94Slc = r.DecodeBytes(yys94Slc, true, true) + yys94 := string(yys94Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys92 { + switch yys94 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1041,8 +1053,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym94 := z.DecBinary() - _ = yym94 + yym96 := z.DecBinary() + _ = yym96 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1057,8 +1069,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym96 := z.DecBinary() - _ = yym96 + yym98 := z.DecBinary() + _ = yym98 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1073,8 +1085,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym98 := z.DecBinary() - _ = yym98 + yym100 := z.DecBinary() + _ = yym100 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1087,9 +1099,15 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } case "manualSelector": if r.TryDecodeAsNil() { @@ -1100,8 +1118,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym101 := z.DecBinary() - _ = yym101 + yym104 := z.DecBinary() + _ = yym104 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1111,13 +1129,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv102 := &x.Template - yyv102.CodecDecodeSelf(d) + yyv105 := &x.Template + yyv105.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys92) - } // end switch yys92 - } // end for yyj92 + z.DecStructFieldNotFound(-1, yys94) + } // end switch yys94 + } // end for yyj94 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1125,16 +1143,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj103 int - var yyb103 bool - var yyhl103 bool = l >= 0 - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + var yyj106 int + var yyb106 bool + var yyhl106 bool = l >= 0 + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1147,20 +1165,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym105 := z.DecBinary() - _ = yym105 + yym108 := z.DecBinary() + _ = yym108 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1173,20 +1191,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym107 := z.DecBinary() - _ = yym107 + yym110 := z.DecBinary() + _ = yym110 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1199,20 +1217,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym109 := z.DecBinary() - _ = yym109 + yym112 := z.DecBinary() + _ = yym112 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1223,17 +1241,23 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1246,20 +1270,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym112 := z.DecBinary() - _ = yym112 + yym116 := z.DecBinary() + _ = yym116 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1267,21 +1291,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv113 := &x.Template - yyv113.CodecDecodeSelf(d) + yyv117 := &x.Template + yyv117.CodecDecodeSelf(d) } for { - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb103 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb103 { + if yyb106 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj103-1, "") + z.DecStructFieldNotFound(yyj106-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1293,43 +1317,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym114 := z.EncBinary() - _ = yym114 + yym118 := z.EncBinary() + _ = yym118 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn115 = 0 - for _, b := range yyq115 { + yynn119 = 0 + for _, b := range yyq119 { if b { - yynn115++ + yynn119++ } } - r.EncodeMapStart(yynn115) - yynn115 = 0 + r.EncodeMapStart(yynn119) + yynn119 = 0 } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[0] { + if yyq119[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym117 := z.EncBinary() - _ = yym117 + yym121 := z.EncBinary() + _ = yym121 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1339,15 +1363,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[0] { + if yyq119[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym118 := z.EncBinary() - _ = yym118 + yym122 := z.EncBinary() + _ = yym122 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1355,19 +1379,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[1] { + if yyq119[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym120 := z.EncBinary() - _ = yym120 + yym124 := z.EncBinary() + _ = yym124 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym120 { + } else if yym124 { z.EncBinaryMarshal(x.StartTime) - } else if !yym120 && z.IsJSONHandle() { + } else if !yym124 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1377,20 +1401,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[1] { + if yyq119[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym121 := z.EncBinary() - _ = yym121 + yym125 := z.EncBinary() + _ = yym125 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym121 { + } else if yym125 { z.EncBinaryMarshal(x.StartTime) - } else if !yym121 && z.IsJSONHandle() { + } else if !yym125 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1398,19 +1422,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[2] { + if yyq119[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym123 := z.EncBinary() - _ = yym123 + yym127 := z.EncBinary() + _ = yym127 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym123 { + } else if yym127 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym123 && z.IsJSONHandle() { + } else if !yym127 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1420,20 +1444,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[2] { + if yyq119[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym124 := z.EncBinary() - _ = yym124 + yym128 := z.EncBinary() + _ = yym128 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym124 { + } else if yym128 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym124 && z.IsJSONHandle() { + } else if !yym128 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1441,61 +1465,61 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq119[3] { yym130 := z.EncBinary() _ = yym130 if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq119[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("active")) + 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 yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[5] { - yym132 := z.EncBinary() - _ = yym132 + if yyq119[5] { + yym136 := z.EncBinary() + _ = yym136 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -1504,19 +1528,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq115[5] { + if yyq119[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym133 := z.EncBinary() - _ = yym133 + yym137 := z.EncBinary() + _ = yym137 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1529,25 +1553,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym134 := z.DecBinary() - _ = yym134 + yym138 := z.DecBinary() + _ = yym138 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct135 := r.ContainerType() - if yyct135 == codecSelferValueTypeMap1234 { - yyl135 := r.ReadMapStart() - if yyl135 == 0 { + yyct139 := r.ContainerType() + if yyct139 == codecSelferValueTypeMap1234 { + yyl139 := r.ReadMapStart() + if yyl139 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl135, d) + x.codecDecodeSelfFromMap(yyl139, d) } - } else if yyct135 == codecSelferValueTypeArray1234 { - yyl135 := r.ReadArrayStart() - if yyl135 == 0 { + } else if yyct139 == codecSelferValueTypeArray1234 { + yyl139 := r.ReadArrayStart() + if yyl139 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl135, d) + x.codecDecodeSelfFromArray(yyl139, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1559,12 +1583,12 @@ func (x *JobStatus) 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 yys140Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys140Slc + var yyhl140 bool = l >= 0 + for yyj140 := 0; ; yyj140++ { + if yyhl140 { + if yyj140 >= l { break } } else { @@ -1573,20 +1597,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys136Slc = r.DecodeBytes(yys136Slc, true, true) - yys136 := string(yys136Slc) + yys140Slc = r.DecodeBytes(yys140Slc, true, true) + yys140 := string(yys140Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys136 { + switch yys140 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv137 := &x.Conditions - yym138 := z.DecBinary() - _ = yym138 + yyv141 := &x.Conditions + yym142 := z.DecBinary() + _ = yym142 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv137), d) + h.decSliceJobCondition((*[]JobCondition)(yyv141), d) } } case "startTime": @@ -1598,13 +1622,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym140 := z.DecBinary() - _ = yym140 + yym144 := z.DecBinary() + _ = yym144 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym140 { + } else if yym144 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym140 && z.IsJSONHandle() { + } else if !yym144 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -1619,13 +1643,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym142 := z.DecBinary() - _ = yym142 + yym146 := z.DecBinary() + _ = yym146 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym142 { + } else if yym146 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym142 && z.IsJSONHandle() { + } else if !yym146 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -1650,9 +1674,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys136) - } // end switch yys136 - } // end for yyj136 + z.DecStructFieldNotFound(-1, yys140) + } // end switch yys140 + } // end for yyj140 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1660,16 +1684,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj146 int - var yyb146 bool - var yyhl146 bool = l >= 0 - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + var yyj150 int + var yyb150 bool + var yyhl150 bool = l >= 0 + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1677,21 +1701,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv147 := &x.Conditions - yym148 := z.DecBinary() - _ = yym148 + yyv151 := &x.Conditions + yym152 := z.DecBinary() + _ = yym152 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv147), d) + h.decSliceJobCondition((*[]JobCondition)(yyv151), d) } } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1704,25 +1728,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym150 := z.DecBinary() - _ = yym150 + yym154 := z.DecBinary() + _ = yym154 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym150 { + } else if yym154 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym150 && z.IsJSONHandle() { + } else if !yym154 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1735,25 +1759,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym152 := z.DecBinary() - _ = yym152 + yym156 := z.DecBinary() + _ = yym156 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym152 { + } else if yym156 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym152 && z.IsJSONHandle() { + } else if !yym156 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1763,13 +1787,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1779,13 +1803,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1796,17 +1820,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj146++ - if yyhl146 { - yyb146 = yyj146 > l + yyj150++ + if yyhl150 { + yyb150 = yyj150 > l } else { - yyb146 = r.CheckBreak() + yyb150 = r.CheckBreak() } - if yyb146 { + if yyb150 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj146-1, "") + z.DecStructFieldNotFound(yyj150-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1815,8 +1839,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym156 := z.EncBinary() - _ = yym156 + yym160 := z.EncBinary() + _ = yym160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1828,8 +1852,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym157 := z.DecBinary() - _ = yym157 + yym161 := z.DecBinary() + _ = yym161 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1844,34 +1868,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym158 := z.EncBinary() - _ = yym158 + yym162 := z.EncBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn159 = 2 - for _, b := range yyq159 { + yynn163 = 2 + for _, b := range yyq163 { if b { - yynn159++ + yynn163++ } } - r.EncodeMapStart(yynn159) - yynn159 = 0 + r.EncodeMapStart(yynn163) + yynn163 = 0 } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1880,10 +1904,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym162 := z.EncBinary() - _ = yym162 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -1893,139 +1917,139 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym163 := z.EncBinary() - _ = yym163 + yym167 := z.EncBinary() + _ = yym167 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq159[2] { - yy165 := &x.LastProbeTime - yym166 := z.EncBinary() - _ = yym166 + if yyq163[2] { + yy169 := &x.LastProbeTime + yym170 := z.EncBinary() + _ = yym170 if false { - } else if z.HasExtensions() && z.EncExt(yy165) { - } else if yym166 { - z.EncBinaryMarshal(yy165) - } else if !yym166 && z.IsJSONHandle() { - z.EncJSONMarshal(yy165) + } else if z.HasExtensions() && z.EncExt(yy169) { + } else if yym170 { + z.EncBinaryMarshal(yy169) + } else if !yym170 && z.IsJSONHandle() { + z.EncJSONMarshal(yy169) } else { - z.EncFallback(yy165) + z.EncFallback(yy169) } } else { r.EncodeNil() } } else { - if yyq159[2] { + if yyq163[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy167 := &x.LastProbeTime - yym168 := z.EncBinary() - _ = yym168 + yy171 := &x.LastProbeTime + yym172 := z.EncBinary() + _ = yym172 if false { - } else if z.HasExtensions() && z.EncExt(yy167) { - } else if yym168 { - z.EncBinaryMarshal(yy167) - } else if !yym168 && z.IsJSONHandle() { - z.EncJSONMarshal(yy167) + } else if z.HasExtensions() && z.EncExt(yy171) { + } else if yym172 { + z.EncBinaryMarshal(yy171) + } else if !yym172 && z.IsJSONHandle() { + z.EncJSONMarshal(yy171) } else { - z.EncFallback(yy167) + z.EncFallback(yy171) } } } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq159[3] { - yy170 := &x.LastTransitionTime - yym171 := z.EncBinary() - _ = yym171 + if yyq163[3] { + yy174 := &x.LastTransitionTime + yym175 := z.EncBinary() + _ = yym175 if false { - } else if z.HasExtensions() && z.EncExt(yy170) { - } else if yym171 { - z.EncBinaryMarshal(yy170) - } else if !yym171 && z.IsJSONHandle() { - z.EncJSONMarshal(yy170) + } else if z.HasExtensions() && z.EncExt(yy174) { + } else if yym175 { + z.EncBinaryMarshal(yy174) + } else if !yym175 && z.IsJSONHandle() { + z.EncJSONMarshal(yy174) } else { - z.EncFallback(yy170) + z.EncFallback(yy174) } } else { r.EncodeNil() } } else { - if yyq159[3] { + if yyq163[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy172 := &x.LastTransitionTime - yym173 := z.EncBinary() - _ = yym173 + yy176 := &x.LastTransitionTime + yym177 := z.EncBinary() + _ = yym177 if false { - } else if z.HasExtensions() && z.EncExt(yy172) { - } else if yym173 { - z.EncBinaryMarshal(yy172) - } else if !yym173 && z.IsJSONHandle() { - z.EncJSONMarshal(yy172) + } else if z.HasExtensions() && z.EncExt(yy176) { + } else if yym177 { + z.EncBinaryMarshal(yy176) + } else if !yym177 && z.IsJSONHandle() { + z.EncJSONMarshal(yy176) } else { - z.EncFallback(yy172) + z.EncFallback(yy176) } } } - if yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq163[4] { 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 yyr159 || yy2arr159 { + if yyr163 || yy2arr163 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2038,25 +2062,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym180 := z.DecBinary() - _ = yym180 + yym184 := z.DecBinary() + _ = yym184 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct181 := r.ContainerType() - if yyct181 == codecSelferValueTypeMap1234 { - yyl181 := r.ReadMapStart() - if yyl181 == 0 { + yyct185 := r.ContainerType() + if yyct185 == codecSelferValueTypeMap1234 { + yyl185 := r.ReadMapStart() + if yyl185 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl181, d) + x.codecDecodeSelfFromMap(yyl185, d) } - } else if yyct181 == codecSelferValueTypeArray1234 { - yyl181 := r.ReadArrayStart() - if yyl181 == 0 { + } else if yyct185 == codecSelferValueTypeArray1234 { + yyl185 := r.ReadArrayStart() + if yyl185 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl181, d) + x.codecDecodeSelfFromArray(yyl185, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2068,12 +2092,12 @@ func (x *JobCondition) 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 yys186Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys186Slc + var yyhl186 bool = l >= 0 + for yyj186 := 0; ; yyj186++ { + if yyhl186 { + if yyj186 >= l { break } } else { @@ -2082,10 +2106,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys182Slc = r.DecodeBytes(yys182Slc, true, true) - yys182 := string(yys182Slc) + yys186Slc = r.DecodeBytes(yys186Slc, true, true) + yys186 := string(yys186Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys182 { + switch yys186 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2102,34 +2126,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv185 := &x.LastProbeTime - yym186 := z.DecBinary() - _ = yym186 + yyv189 := &x.LastProbeTime + yym190 := z.DecBinary() + _ = yym190 if false { - } else if z.HasExtensions() && z.DecExt(yyv185) { - } else if yym186 { - z.DecBinaryUnmarshal(yyv185) - } else if !yym186 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv185) + } else if z.HasExtensions() && z.DecExt(yyv189) { + } else if yym190 { + z.DecBinaryUnmarshal(yyv189) + } else if !yym190 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv189) } else { - z.DecFallback(yyv185, false) + z.DecFallback(yyv189, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv187 := &x.LastTransitionTime - yym188 := z.DecBinary() - _ = yym188 + yyv191 := &x.LastTransitionTime + yym192 := z.DecBinary() + _ = yym192 if false { - } else if z.HasExtensions() && z.DecExt(yyv187) { - } else if yym188 { - z.DecBinaryUnmarshal(yyv187) - } else if !yym188 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv187) + } else if z.HasExtensions() && z.DecExt(yyv191) { + } else if yym192 { + z.DecBinaryUnmarshal(yyv191) + } else if !yym192 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv191) } else { - z.DecFallback(yyv187, false) + z.DecFallback(yyv191, false) } } case "reason": @@ -2145,9 +2169,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys182) - } // end switch yys182 - } // end for yyj182 + z.DecStructFieldNotFound(-1, yys186) + } // end switch yys186 + } // end for yyj186 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2155,16 +2179,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj191 int - var yyb191 bool - var yyhl191 bool = l >= 0 - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + var yyj195 int + var yyb195 bool + var yyhl195 bool = l >= 0 + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2174,13 +2198,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2190,13 +2214,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2204,26 +2228,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv194 := &x.LastProbeTime - yym195 := z.DecBinary() - _ = yym195 + yyv198 := &x.LastProbeTime + yym199 := z.DecBinary() + _ = yym199 if false { - } else if z.HasExtensions() && z.DecExt(yyv194) { - } else if yym195 { - z.DecBinaryUnmarshal(yyv194) - } else if !yym195 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv194) + } else if z.HasExtensions() && z.DecExt(yyv198) { + } else if yym199 { + z.DecBinaryUnmarshal(yyv198) + } else if !yym199 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv198) } else { - z.DecFallback(yyv194, false) + z.DecFallback(yyv198, false) } } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2231,26 +2255,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv196 := &x.LastTransitionTime - yym197 := z.DecBinary() - _ = yym197 + yyv200 := &x.LastTransitionTime + yym201 := z.DecBinary() + _ = yym201 if false { - } else if z.HasExtensions() && z.DecExt(yyv196) { - } else if yym197 { - z.DecBinaryUnmarshal(yyv196) - } else if !yym197 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv196) + } else if z.HasExtensions() && z.DecExt(yyv200) { + } else if yym201 { + z.DecBinaryUnmarshal(yyv200) + } else if !yym201 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv200) } else { - z.DecFallback(yyv196, false) + z.DecFallback(yyv200, false) } } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2260,13 +2284,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2277,574 +2301,30 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj191++ - if yyhl191 { - yyb191 = yyj191 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb191 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb191 { + if yyb195 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj191-1, "") + z.DecStructFieldNotFound(yyj195-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 _, yyv243 := range v { + for _, yyv204 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy244 := &yyv243 - yy244.CodecEncodeSelf(e) + yy205 := &yyv204 + yy205.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2854,83 +2334,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl245 > 0 { - var yyrr245, yyrl245 int - var yyrt245 bool - if yyl245 > cap(yyv245) { + } else if yyl206 > 0 { + var yyrr206, yyrl206 int + var yyrt206 bool + if yyl206 > cap(yyv206) { - yyrg245 := len(yyv245) > 0 - yyv2245 := yyv245 - yyrl245, yyrt245 = z.DecInferLen(yyl245, z.DecBasicHandle().MaxInitLen, 824) - if yyrt245 { - if yyrl245 <= cap(yyv245) { - yyv245 = yyv245[:yyrl245] + yyrg206 := len(yyv206) > 0 + yyv2206 := yyv206 + yyrl206, yyrt206 = z.DecInferLen(yyl206, z.DecBasicHandle().MaxInitLen, 824) + if yyrt206 { + if yyrl206 <= cap(yyv206) { + yyv206 = yyv206[:yyrl206] } else { - yyv245 = make([]Job, yyrl245) + yyv206 = make([]Job, yyrl206) } } else { - yyv245 = make([]Job, yyrl245) + yyv206 = make([]Job, yyrl206) } - yyc245 = true - yyrr245 = len(yyv245) - if yyrg245 { - copy(yyv245, yyv2245) + yyc206 = true + yyrr206 = len(yyv206) + if yyrg206 { + copy(yyv206, yyv2206) } - } else if yyl245 != len(yyv245) { - yyv245 = yyv245[:yyl245] - yyc245 = true + } else if yyl206 != len(yyv206) { + yyv206 = yyv206[:yyl206] + yyc206 = true } - yyj245 := 0 - for ; yyj245 < yyrr245; yyj245++ { - yyh245.ElemContainerState(yyj245) + yyj206 := 0 + for ; yyj206 < yyrr206; yyj206++ { + yyh206.ElemContainerState(yyj206) if r.TryDecodeAsNil() { - yyv245[yyj245] = Job{} + yyv206[yyj206] = Job{} } else { - yyv246 := &yyv245[yyj245] - yyv246.CodecDecodeSelf(d) + yyv207 := &yyv206[yyj206] + yyv207.CodecDecodeSelf(d) } } - if yyrt245 { - for ; yyj245 < yyl245; yyj245++ { - yyv245 = append(yyv245, Job{}) - yyh245.ElemContainerState(yyj245) + if yyrt206 { + for ; yyj206 < yyl206; yyj206++ { + yyv206 = append(yyv206, Job{}) + yyh206.ElemContainerState(yyj206) if r.TryDecodeAsNil() { - yyv245[yyj245] = Job{} + yyv206[yyj206] = Job{} } else { - yyv247 := &yyv245[yyj245] - yyv247.CodecDecodeSelf(d) + yyv208 := &yyv206[yyj206] + yyv208.CodecDecodeSelf(d) } } } } else { - yyj245 := 0 - for ; !r.CheckBreak(); yyj245++ { + yyj206 := 0 + for ; !r.CheckBreak(); yyj206++ { - if yyj245 >= len(yyv245) { - yyv245 = append(yyv245, Job{}) // var yyz245 Job - yyc245 = true + if yyj206 >= len(yyv206) { + yyv206 = append(yyv206, Job{}) // var yyz206 Job + yyc206 = true } - yyh245.ElemContainerState(yyj245) - if yyj245 < len(yyv245) { + yyh206.ElemContainerState(yyj206) + if yyj206 < len(yyv206) { if r.TryDecodeAsNil() { - yyv245[yyj245] = Job{} + yyv206[yyj206] = Job{} } else { - yyv248 := &yyv245[yyj245] - yyv248.CodecDecodeSelf(d) + yyv209 := &yyv206[yyj206] + yyv209.CodecDecodeSelf(d) } } else { @@ -2938,17 +2418,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj245 < len(yyv245) { - yyv245 = yyv245[:yyj245] - yyc245 = true - } else if yyj245 == 0 && yyv245 == nil { - yyv245 = []Job{} - yyc245 = true + if yyj206 < len(yyv206) { + yyv206 = yyv206[:yyj206] + yyc206 = true + } else if yyj206 == 0 && yyv206 == nil { + yyv206 = []Job{} + yyc206 = true } } - yyh245.End() - if yyc245 { - *v = yyv245 + yyh206.End() + if yyc206 { + *v = yyv206 } } @@ -2957,10 +2437,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv249 := range v { + for _, yyv210 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy250 := &yyv249 - yy250.CodecEncodeSelf(e) + yy211 := &yyv210 + yy211.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2970,83 +2450,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl251 > 0 { - var yyrr251, yyrl251 int - var yyrt251 bool - if yyl251 > cap(yyv251) { + } else if yyl212 > 0 { + var yyrr212, yyrl212 int + var yyrt212 bool + if yyl212 > cap(yyv212) { - yyrg251 := len(yyv251) > 0 - yyv2251 := yyv251 - yyrl251, yyrt251 = z.DecInferLen(yyl251, z.DecBasicHandle().MaxInitLen, 112) - if yyrt251 { - if yyrl251 <= cap(yyv251) { - yyv251 = yyv251[:yyrl251] + yyrg212 := len(yyv212) > 0 + yyv2212 := yyv212 + yyrl212, yyrt212 = z.DecInferLen(yyl212, z.DecBasicHandle().MaxInitLen, 112) + if yyrt212 { + if yyrl212 <= cap(yyv212) { + yyv212 = yyv212[:yyrl212] } else { - yyv251 = make([]JobCondition, yyrl251) + yyv212 = make([]JobCondition, yyrl212) } } else { - yyv251 = make([]JobCondition, yyrl251) + yyv212 = make([]JobCondition, yyrl212) } - yyc251 = true - yyrr251 = len(yyv251) - if yyrg251 { - copy(yyv251, yyv2251) + yyc212 = true + yyrr212 = len(yyv212) + if yyrg212 { + copy(yyv212, yyv2212) } - } else if yyl251 != len(yyv251) { - yyv251 = yyv251[:yyl251] - yyc251 = true + } else if yyl212 != len(yyv212) { + yyv212 = yyv212[:yyl212] + yyc212 = true } - yyj251 := 0 - for ; yyj251 < yyrr251; yyj251++ { - yyh251.ElemContainerState(yyj251) + yyj212 := 0 + for ; yyj212 < yyrr212; yyj212++ { + yyh212.ElemContainerState(yyj212) if r.TryDecodeAsNil() { - yyv251[yyj251] = JobCondition{} + yyv212[yyj212] = JobCondition{} } else { - yyv252 := &yyv251[yyj251] - yyv252.CodecDecodeSelf(d) + yyv213 := &yyv212[yyj212] + yyv213.CodecDecodeSelf(d) } } - if yyrt251 { - for ; yyj251 < yyl251; yyj251++ { - yyv251 = append(yyv251, JobCondition{}) - yyh251.ElemContainerState(yyj251) + if yyrt212 { + for ; yyj212 < yyl212; yyj212++ { + yyv212 = append(yyv212, JobCondition{}) + yyh212.ElemContainerState(yyj212) if r.TryDecodeAsNil() { - yyv251[yyj251] = JobCondition{} + yyv212[yyj212] = JobCondition{} } else { - yyv253 := &yyv251[yyj251] - yyv253.CodecDecodeSelf(d) + yyv214 := &yyv212[yyj212] + yyv214.CodecDecodeSelf(d) } } } } else { - yyj251 := 0 - for ; !r.CheckBreak(); yyj251++ { + yyj212 := 0 + for ; !r.CheckBreak(); yyj212++ { - if yyj251 >= len(yyv251) { - yyv251 = append(yyv251, JobCondition{}) // var yyz251 JobCondition - yyc251 = true + if yyj212 >= len(yyv212) { + yyv212 = append(yyv212, JobCondition{}) // var yyz212 JobCondition + yyc212 = true } - yyh251.ElemContainerState(yyj251) - if yyj251 < len(yyv251) { + yyh212.ElemContainerState(yyj212) + if yyj212 < len(yyv212) { if r.TryDecodeAsNil() { - yyv251[yyj251] = JobCondition{} + yyv212[yyj212] = JobCondition{} } else { - yyv254 := &yyv251[yyj251] - yyv254.CodecDecodeSelf(d) + yyv215 := &yyv212[yyj212] + yyv215.CodecDecodeSelf(d) } } else { @@ -3054,132 +2534,16 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj251 < len(yyv251) { - yyv251 = yyv251[:yyj251] - yyc251 = true - } else if yyj251 == 0 && yyv251 == nil { - yyv251 = []JobCondition{} - yyc251 = true + if yyj212 < len(yyv212) { + yyv212 = yyv212[:yyj212] + yyc212 = true + } else if yyj212 == 0 && yyv212 == nil { + yyv212 = []JobCondition{} + yyc212 = true } } - 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 + yyh212.End() + if yyc212 { + *v = yyv212 } } diff --git a/pkg/apis/batch/v1/types.go b/pkg/apis/batch/v1/types.go index 9049c7ffd2e..af179bcce64 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 *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + Selector *unversioned.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,43 +166,3 @@ 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 10d76e29586..3d224e703aa 100644 --- a/pkg/apis/batch/v1/types_swagger_doc_generated.go +++ b/pkg/apis/batch/v1/types_swagger_doc_generated.go @@ -90,25 +90,4 @@ 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 ab27e42ae02..3d286361f08 100644 --- a/pkg/apis/batch/v1/zz_generated.conversion.go +++ b/pkg/apis/batch/v1/zz_generated.conversion.go @@ -49,10 +49,6 @@ 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, ) } @@ -176,7 +172,7 @@ func autoConvert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s out.Parallelism = (*int32)(unsafe.Pointer(in.Parallelism)) out.Completions = (*int32)(unsafe.Pointer(in.Completions)) out.ActiveDeadlineSeconds = (*int64)(unsafe.Pointer(in.ActiveDeadlineSeconds)) - out.Selector = (*LabelSelector)(unsafe.Pointer(in.Selector)) + out.Selector = (*unversioned.LabelSelector)(unsafe.Pointer(in.Selector)) out.ManualSelector = (*bool)(unsafe.Pointer(in.ManualSelector)) if err := api_v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -219,67 +215,3 @@ 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 { - { - m := (*map[string]string)(unsafe.Pointer(&in.MatchLabels)) - out.MatchLabels = *m - } - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.MatchExpressions)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.MatchExpressions)) - *outHdr = *inHdr - } - 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 { - { - m := (*map[string]string)(unsafe.Pointer(&in.MatchLabels)) - out.MatchLabels = *m - } - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.MatchExpressions)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.MatchExpressions)) - *outHdr = *inHdr - } - 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) - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Values)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Values)) - *outHdr = *inHdr - } - 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) - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Values)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Values)) - *outHdr = *inHdr - } - 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 9163e830bcb..162373788dc 100644 --- a/pkg/apis/batch/v1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v1/zz_generated.deepcopy.go @@ -41,8 +41,6 @@ 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{})}, ) } @@ -126,8 +124,8 @@ func DeepCopy_v1_JobSpec(in interface{}, out interface{}, c *conversion.Cloner) } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -182,48 +180,3 @@ 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 595ce75dea1..ab909339938 100644 --- a/pkg/apis/batch/v2alpha1/BUILD +++ b/pkg/apis/batch/v2alpha1/BUILD @@ -38,7 +38,6 @@ 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 4884d9334be..080292a00c7 100644 --- a/pkg/apis/batch/v2alpha1/conversion.go +++ b/pkg/apis/batch/v2alpha1/conversion.go @@ -20,7 +20,6 @@ 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" @@ -59,15 +58,7 @@ func Convert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSpec, out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // 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 - } + out.Selector = in.Selector if in.ManualSelector != nil { out.ManualSelector = new(bool) *out.ManualSelector = *in.ManualSelector @@ -85,15 +76,7 @@ func Convert_v2alpha1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, out.Parallelism = in.Parallelism out.Completions = in.Completions out.ActiveDeadlineSeconds = in.ActiveDeadlineSeconds - // 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 - } + out.Selector = in.Selector 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 7a8a7082b11..91a512f1bc5 100644 --- a/pkg/apis/batch/v2alpha1/generated.pb.go +++ b/pkg/apis/batch/v2alpha1/generated.pb.go @@ -32,8 +32,6 @@ limitations under the License. JobStatus JobTemplate JobTemplateSpec - LabelSelector - LabelSelectorRequirement ScheduledJob ScheduledJobList ScheduledJobSpec @@ -50,7 +48,6 @@ 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" @@ -91,31 +88,21 @@ 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{9} } +func (*ScheduledJob) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } func (m *ScheduledJobList) Reset() { *m = ScheduledJobList{} } func (*ScheduledJobList) ProtoMessage() {} -func (*ScheduledJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } +func (*ScheduledJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } func (m *ScheduledJobSpec) Reset() { *m = ScheduledJobSpec{} } func (*ScheduledJobSpec) ProtoMessage() {} -func (*ScheduledJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } +func (*ScheduledJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } func (m *ScheduledJobStatus) Reset() { *m = ScheduledJobStatus{} } func (*ScheduledJobStatus) ProtoMessage() {} -func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } +func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } func init() { proto.RegisterType((*Job)(nil), "k8s.io.kubernetes.pkg.apis.batch.v2alpha1.Job") @@ -125,8 +112,6 @@ 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") @@ -450,94 +435,6 @@ 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) @@ -845,42 +742,6 @@ 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 @@ -1000,7 +861,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", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -1044,39 +905,6 @@ 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" @@ -1726,7 +1554,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -2228,335 +2056,6 @@ 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 @@ -3207,88 +2706,77 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 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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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, 0xb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x8b, 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, + // 1139 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x56, 0xcf, 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5, 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, } diff --git a/pkg/apis/batch/v2alpha1/generated.proto b/pkg/apis/batch/v2alpha1/generated.proto index fe8172f8a75..ebc58b082eb 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 LabelSelector selector = 4; + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -191,39 +191,6 @@ 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 b2d4e8f28e6..b6aa0a5ff01 100644 --- a/pkg/apis/batch/v2alpha1/types.generated.go +++ b/pkg/apis/batch/v2alpha1/types.generated.go @@ -1414,7 +1414,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym124 := z.EncBinary() + _ = yym124 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() @@ -1427,7 +1433,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym125 := z.EncBinary() + _ = yym125 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } @@ -1437,12 +1449,12 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy125 := *x.ManualSelector - yym126 := z.EncBinary() - _ = yym126 + yy127 := *x.ManualSelector + yym128 := z.EncBinary() + _ = yym128 if false { } else { - r.EncodeBool(bool(yy125)) + r.EncodeBool(bool(yy127)) } } } else { @@ -1456,26 +1468,26 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ManualSelector == nil { r.EncodeNil() } else { - yy127 := *x.ManualSelector - yym128 := z.EncBinary() - _ = yym128 + yy129 := *x.ManualSelector + yym130 := z.EncBinary() + _ = yym130 if false { } else { - r.EncodeBool(bool(yy127)) + r.EncodeBool(bool(yy129)) } } } } if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy130 := &x.Template - yy130.CodecEncodeSelf(e) + yy132 := &x.Template + yy132.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy131 := &x.Template - yy131.CodecEncodeSelf(e) + yy133 := &x.Template + yy133.CodecEncodeSelf(e) } if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -1490,25 +1502,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym132 := z.DecBinary() - _ = yym132 + yym134 := z.DecBinary() + _ = yym134 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct133 := r.ContainerType() - if yyct133 == codecSelferValueTypeMap1234 { - yyl133 := r.ReadMapStart() - if yyl133 == 0 { + yyct135 := r.ContainerType() + if yyct135 == codecSelferValueTypeMap1234 { + yyl135 := r.ReadMapStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl133, d) + x.codecDecodeSelfFromMap(yyl135, d) } - } else if yyct133 == codecSelferValueTypeArray1234 { - yyl133 := r.ReadArrayStart() - if yyl133 == 0 { + } else if yyct135 == codecSelferValueTypeArray1234 { + yyl135 := r.ReadArrayStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl133, d) + x.codecDecodeSelfFromArray(yyl135, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1520,12 +1532,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys134Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys134Slc - var yyhl134 bool = l >= 0 - for yyj134 := 0; ; yyj134++ { - if yyhl134 { - if yyj134 >= 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 { @@ -1534,10 +1546,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys134Slc = r.DecodeBytes(yys134Slc, true, true) - yys134 := string(yys134Slc) + yys136Slc = r.DecodeBytes(yys136Slc, true, true) + yys136 := string(yys136Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys134 { + switch yys136 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1547,8 +1559,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym136 := z.DecBinary() - _ = yym136 + yym138 := z.DecBinary() + _ = yym138 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1563,8 +1575,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym138 := z.DecBinary() - _ = yym138 + yym140 := z.DecBinary() + _ = yym140 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1579,8 +1591,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym140 := z.DecBinary() - _ = yym140 + yym142 := z.DecBinary() + _ = yym142 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1593,9 +1605,15 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } case "manualSelector": if r.TryDecodeAsNil() { @@ -1606,8 +1624,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym143 := z.DecBinary() - _ = yym143 + yym146 := z.DecBinary() + _ = yym146 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1617,13 +1635,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv144 := &x.Template - yyv144.CodecDecodeSelf(d) + yyv147 := &x.Template + yyv147.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys134) - } // end switch yys134 - } // end for yyj134 + z.DecStructFieldNotFound(-1, yys136) + } // end switch yys136 + } // end for yyj136 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1631,16 +1649,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj145 int - var yyb145 bool - var yyhl145 bool = l >= 0 - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + var yyj148 int + var yyb148 bool + var yyhl148 bool = l >= 0 + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1653,20 +1671,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym147 := z.DecBinary() - _ = yym147 + yym150 := z.DecBinary() + _ = yym150 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1679,20 +1697,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym149 := z.DecBinary() - _ = yym149 + yym152 := z.DecBinary() + _ = yym152 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1705,20 +1723,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym151 := z.DecBinary() - _ = yym151 + yym154 := z.DecBinary() + _ = yym154 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1729,17 +1747,23 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1752,20 +1776,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym154 := z.DecBinary() - _ = yym154 + yym158 := z.DecBinary() + _ = yym158 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1773,21 +1797,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv155 := &x.Template - yyv155.CodecDecodeSelf(d) + yyv159 := &x.Template + yyv159.CodecDecodeSelf(d) } for { - yyj145++ - if yyhl145 { - yyb145 = yyj145 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb145 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb145 { + if yyb148 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj145-1, "") + z.DecStructFieldNotFound(yyj148-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1799,43 +1823,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym156 := z.EncBinary() - _ = yym156 + yym160 := z.EncBinary() + _ = yym160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn157 = 0 - for _, b := range yyq157 { + yynn161 = 0 + for _, b := range yyq161 { if b { - yynn157++ + yynn161++ } } - r.EncodeMapStart(yynn157) - yynn157 = 0 + r.EncodeMapStart(yynn161) + yynn161 = 0 } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[0] { + if yyq161[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym159 := z.EncBinary() - _ = yym159 + yym163 := z.EncBinary() + _ = yym163 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1845,15 +1869,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq157[0] { + if yyq161[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym160 := z.EncBinary() - _ = yym160 + yym164 := z.EncBinary() + _ = yym164 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1861,19 +1885,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[1] { + if yyq161[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym162 := z.EncBinary() - _ = yym162 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym162 { + } else if yym166 { z.EncBinaryMarshal(x.StartTime) - } else if !yym162 && z.IsJSONHandle() { + } else if !yym166 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1883,20 +1907,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq157[1] { + if yyq161[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym163 := z.EncBinary() - _ = yym163 + yym167 := z.EncBinary() + _ = yym167 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym163 { + } else if yym167 { z.EncBinaryMarshal(x.StartTime) - } else if !yym163 && z.IsJSONHandle() { + } else if !yym167 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1904,19 +1928,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[2] { + if yyq161[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym165 := z.EncBinary() - _ = yym165 + yym169 := z.EncBinary() + _ = yym169 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym165 { + } else if yym169 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym165 && z.IsJSONHandle() { + } else if !yym169 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1926,20 +1950,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq157[2] { + if yyq161[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym166 := z.EncBinary() - _ = yym166 + yym170 := z.EncBinary() + _ = yym170 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym166 { + } else if yym170 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym166 && z.IsJSONHandle() { + } else if !yym170 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1947,61 +1971,61 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq161[3] { yym172 := z.EncBinary() _ = yym172 if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq161[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("active")) + 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 yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq157[5] { - yym174 := z.EncBinary() - _ = yym174 + if yyq161[5] { + yym178 := z.EncBinary() + _ = yym178 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -2010,19 +2034,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq157[5] { + if yyq161[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym175 := z.EncBinary() - _ = yym175 + yym179 := z.EncBinary() + _ = yym179 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr157 || yy2arr157 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2035,25 +2059,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym176 := z.DecBinary() - _ = yym176 + yym180 := z.DecBinary() + _ = yym180 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct177 := r.ContainerType() - if yyct177 == codecSelferValueTypeMap1234 { - yyl177 := r.ReadMapStart() - if yyl177 == 0 { + yyct181 := r.ContainerType() + if yyct181 == codecSelferValueTypeMap1234 { + yyl181 := r.ReadMapStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl177, d) + x.codecDecodeSelfFromMap(yyl181, d) } - } else if yyct177 == codecSelferValueTypeArray1234 { - yyl177 := r.ReadArrayStart() - if yyl177 == 0 { + } else if yyct181 == codecSelferValueTypeArray1234 { + yyl181 := r.ReadArrayStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl177, d) + x.codecDecodeSelfFromArray(yyl181, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2065,12 +2089,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys178Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys178Slc - var yyhl178 bool = l >= 0 - for yyj178 := 0; ; yyj178++ { - if yyhl178 { - if yyj178 >= 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 { @@ -2079,20 +2103,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys178Slc = r.DecodeBytes(yys178Slc, true, true) - yys178 := string(yys178Slc) + yys182Slc = r.DecodeBytes(yys182Slc, true, true) + yys182 := string(yys182Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys178 { + switch yys182 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv179 := &x.Conditions - yym180 := z.DecBinary() - _ = yym180 + yyv183 := &x.Conditions + yym184 := z.DecBinary() + _ = yym184 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv179), d) + h.decSliceJobCondition((*[]JobCondition)(yyv183), d) } } case "startTime": @@ -2104,13 +2128,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym182 := z.DecBinary() - _ = yym182 + yym186 := z.DecBinary() + _ = yym186 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym182 { + } else if yym186 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym182 && z.IsJSONHandle() { + } else if !yym186 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -2125,13 +2149,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym184 := z.DecBinary() - _ = yym184 + yym188 := z.DecBinary() + _ = yym188 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym184 { + } else if yym188 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym184 && z.IsJSONHandle() { + } else if !yym188 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -2156,9 +2180,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys178) - } // end switch yys178 - } // end for yyj178 + z.DecStructFieldNotFound(-1, yys182) + } // end switch yys182 + } // end for yyj182 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2166,16 +2190,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj188 int - var yyb188 bool - var yyhl188 bool = l >= 0 - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + var yyj192 int + var yyb192 bool + var yyhl192 bool = l >= 0 + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2183,21 +2207,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv189 := &x.Conditions - yym190 := z.DecBinary() - _ = yym190 + yyv193 := &x.Conditions + yym194 := z.DecBinary() + _ = yym194 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv189), d) + h.decSliceJobCondition((*[]JobCondition)(yyv193), d) } } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2210,25 +2234,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym192 := z.DecBinary() - _ = yym192 + yym196 := z.DecBinary() + _ = yym196 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym192 { + } else if yym196 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym192 && z.IsJSONHandle() { + } else if !yym196 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2241,25 +2265,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym194 := z.DecBinary() - _ = yym194 + yym198 := z.DecBinary() + _ = yym198 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym194 { + } else if yym198 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym194 && z.IsJSONHandle() { + } else if !yym198 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2269,13 +2293,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2285,13 +2309,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2302,17 +2326,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj188++ - if yyhl188 { - yyb188 = yyj188 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb188 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb188 { + if yyb192 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj188-1, "") + z.DecStructFieldNotFound(yyj192-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2321,8 +2345,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym198 := z.EncBinary() - _ = yym198 + yym202 := z.EncBinary() + _ = yym202 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2334,8 +2358,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym199 := z.DecBinary() - _ = yym199 + yym203 := z.DecBinary() + _ = yym203 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2350,34 +2374,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym200 := z.EncBinary() - _ = yym200 + yym204 := z.EncBinary() + _ = yym204 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn201 = 2 - for _, b := range yyq201 { + yynn205 = 2 + for _, b := range yyq205 { if b { - yynn201++ + yynn205++ } } - r.EncodeMapStart(yynn201) - yynn201 = 0 + r.EncodeMapStart(yynn205) + yynn205 = 0 } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -2386,10 +2410,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym204 := z.EncBinary() - _ = yym204 + yym208 := z.EncBinary() + _ = yym208 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -2399,139 +2423,139 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym205 := z.EncBinary() - _ = yym205 + yym209 := z.EncBinary() + _ = yym209 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[2] { - yy207 := &x.LastProbeTime - yym208 := z.EncBinary() - _ = yym208 + if yyq205[2] { + yy211 := &x.LastProbeTime + yym212 := z.EncBinary() + _ = yym212 if false { - } else if z.HasExtensions() && z.EncExt(yy207) { - } else if yym208 { - z.EncBinaryMarshal(yy207) - } else if !yym208 && z.IsJSONHandle() { - z.EncJSONMarshal(yy207) + } else if z.HasExtensions() && z.EncExt(yy211) { + } else if yym212 { + z.EncBinaryMarshal(yy211) + } else if !yym212 && z.IsJSONHandle() { + z.EncJSONMarshal(yy211) } else { - z.EncFallback(yy207) + z.EncFallback(yy211) } } else { r.EncodeNil() } } else { - if yyq201[2] { + if yyq205[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy209 := &x.LastProbeTime - yym210 := z.EncBinary() - _ = yym210 + yy213 := &x.LastProbeTime + yym214 := z.EncBinary() + _ = yym214 if false { - } else if z.HasExtensions() && z.EncExt(yy209) { - } else if yym210 { - z.EncBinaryMarshal(yy209) - } else if !yym210 && z.IsJSONHandle() { - z.EncJSONMarshal(yy209) + } else if z.HasExtensions() && z.EncExt(yy213) { + } else if yym214 { + z.EncBinaryMarshal(yy213) + } else if !yym214 && z.IsJSONHandle() { + z.EncJSONMarshal(yy213) } else { - z.EncFallback(yy209) + z.EncFallback(yy213) } } } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[3] { - yy212 := &x.LastTransitionTime - yym213 := z.EncBinary() - _ = yym213 + if yyq205[3] { + yy216 := &x.LastTransitionTime + yym217 := z.EncBinary() + _ = yym217 if false { - } else if z.HasExtensions() && z.EncExt(yy212) { - } else if yym213 { - z.EncBinaryMarshal(yy212) - } else if !yym213 && z.IsJSONHandle() { - z.EncJSONMarshal(yy212) + } else if z.HasExtensions() && z.EncExt(yy216) { + } else if yym217 { + z.EncBinaryMarshal(yy216) + } else if !yym217 && z.IsJSONHandle() { + z.EncJSONMarshal(yy216) } else { - z.EncFallback(yy212) + z.EncFallback(yy216) } } else { r.EncodeNil() } } else { - if yyq201[3] { + if yyq205[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy214 := &x.LastTransitionTime - yym215 := z.EncBinary() - _ = yym215 + yy218 := &x.LastTransitionTime + yym219 := z.EncBinary() + _ = yym219 if false { - } else if z.HasExtensions() && z.EncExt(yy214) { - } else if yym215 { - z.EncBinaryMarshal(yy214) - } else if !yym215 && z.IsJSONHandle() { - z.EncJSONMarshal(yy214) + } else if z.HasExtensions() && z.EncExt(yy218) { + } else if yym219 { + z.EncBinaryMarshal(yy218) + } else if !yym219 && z.IsJSONHandle() { + z.EncJSONMarshal(yy218) } else { - z.EncFallback(yy214) + z.EncFallback(yy218) } } } - if yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq205[4] { 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 yyr201 || yy2arr201 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2544,25 +2568,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym222 := z.DecBinary() - _ = yym222 + yym226 := z.DecBinary() + _ = yym226 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct223 := r.ContainerType() - if yyct223 == codecSelferValueTypeMap1234 { - yyl223 := r.ReadMapStart() - if yyl223 == 0 { + yyct227 := r.ContainerType() + if yyct227 == codecSelferValueTypeMap1234 { + yyl227 := r.ReadMapStart() + if yyl227 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl223, d) + x.codecDecodeSelfFromMap(yyl227, d) } - } else if yyct223 == codecSelferValueTypeArray1234 { - yyl223 := r.ReadArrayStart() - if yyl223 == 0 { + } else if yyct227 == codecSelferValueTypeArray1234 { + yyl227 := r.ReadArrayStart() + if yyl227 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl223, d) + x.codecDecodeSelfFromArray(yyl227, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2574,12 +2598,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys224Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys224Slc - var yyhl224 bool = l >= 0 - for yyj224 := 0; ; yyj224++ { - if yyhl224 { - if yyj224 >= l { + var yys228Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys228Slc + var yyhl228 bool = l >= 0 + for yyj228 := 0; ; yyj228++ { + if yyhl228 { + if yyj228 >= l { break } } else { @@ -2588,10 +2612,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys224Slc = r.DecodeBytes(yys224Slc, true, true) - yys224 := string(yys224Slc) + yys228Slc = r.DecodeBytes(yys228Slc, true, true) + yys228 := string(yys228Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys224 { + switch yys228 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2608,34 +2632,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv227 := &x.LastProbeTime - yym228 := z.DecBinary() - _ = yym228 + yyv231 := &x.LastProbeTime + yym232 := z.DecBinary() + _ = yym232 if false { - } else if z.HasExtensions() && z.DecExt(yyv227) { - } else if yym228 { - z.DecBinaryUnmarshal(yyv227) - } else if !yym228 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv227) + } else if z.HasExtensions() && z.DecExt(yyv231) { + } else if yym232 { + z.DecBinaryUnmarshal(yyv231) + } else if !yym232 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv231) } else { - z.DecFallback(yyv227, false) + z.DecFallback(yyv231, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv229 := &x.LastTransitionTime - yym230 := z.DecBinary() - _ = yym230 + yyv233 := &x.LastTransitionTime + yym234 := z.DecBinary() + _ = yym234 if false { - } else if z.HasExtensions() && z.DecExt(yyv229) { - } else if yym230 { - z.DecBinaryUnmarshal(yyv229) - } else if !yym230 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv229) + } else if z.HasExtensions() && z.DecExt(yyv233) { + } else if yym234 { + z.DecBinaryUnmarshal(yyv233) + } else if !yym234 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv233) } else { - z.DecFallback(yyv229, false) + z.DecFallback(yyv233, false) } } case "reason": @@ -2651,9 +2675,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys224) - } // end switch yys224 - } // end for yyj224 + z.DecStructFieldNotFound(-1, yys228) + } // end switch yys228 + } // end for yyj228 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2661,16 +2685,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj233 int - var yyb233 bool - var yyhl233 bool = l >= 0 - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + var yyj237 int + var yyb237 bool + var yyhl237 bool = l >= 0 + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2680,13 +2704,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2696,13 +2720,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2710,26 +2734,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv236 := &x.LastProbeTime - yym237 := z.DecBinary() - _ = yym237 + yyv240 := &x.LastProbeTime + yym241 := z.DecBinary() + _ = yym241 if false { - } else if z.HasExtensions() && z.DecExt(yyv236) { - } else if yym237 { - z.DecBinaryUnmarshal(yyv236) - } else if !yym237 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv236) + } else if z.HasExtensions() && z.DecExt(yyv240) { + } else if yym241 { + z.DecBinaryUnmarshal(yyv240) + } else if !yym241 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv240) } else { - z.DecFallback(yyv236, false) + z.DecFallback(yyv240, false) } } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2737,26 +2761,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv238 := &x.LastTransitionTime - yym239 := z.DecBinary() - _ = yym239 + yyv242 := &x.LastTransitionTime + yym243 := z.DecBinary() + _ = yym243 if false { - } else if z.HasExtensions() && z.DecExt(yyv238) { - } else if yym239 { - z.DecBinaryUnmarshal(yyv238) - } else if !yym239 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv238) + } else if z.HasExtensions() && z.DecExt(yyv242) { + } else if yym243 { + z.DecBinaryUnmarshal(yyv242) + } else if !yym243 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv242) } else { - z.DecFallback(yyv238, false) + z.DecFallback(yyv242, false) } } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2766,13 +2790,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2783,17 +2807,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj233++ - if yyhl233 { - yyb233 = yyj233 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb233 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb233 { + if yyb237 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj233-1, "") + z.DecStructFieldNotFound(yyj237-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2805,136 +2829,136 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym242 := z.EncBinary() - _ = yym242 + yym246 := z.EncBinary() + _ = yym246 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn243 = 0 - for _, b := range yyq243 { + yynn247 = 0 + for _, b := range yyq247 { if b { - yynn243++ + yynn247++ } } - r.EncodeMapStart(yynn243) - yynn243 = 0 + r.EncodeMapStart(yynn247) + yynn247 = 0 } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq247[0] { 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 yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[2] { - yy251 := &x.ObjectMeta - yy251.CodecEncodeSelf(e) + if yyq247[2] { + yy255 := &x.ObjectMeta + yy255.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq243[2] { + if yyq247[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy252 := &x.ObjectMeta - yy252.CodecEncodeSelf(e) + yy256 := &x.ObjectMeta + yy256.CodecEncodeSelf(e) } } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[3] { - yy254 := &x.Spec - yy254.CodecEncodeSelf(e) + if yyq247[3] { + yy258 := &x.Spec + yy258.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq243[3] { + if yyq247[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy255 := &x.Spec - yy255.CodecEncodeSelf(e) + yy259 := &x.Spec + yy259.CodecEncodeSelf(e) } } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[4] { - yy257 := &x.Status - yy257.CodecEncodeSelf(e) + if yyq247[4] { + yy261 := &x.Status + yy261.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq243[4] { + if yyq247[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy258 := &x.Status - yy258.CodecEncodeSelf(e) + yy262 := &x.Status + yy262.CodecEncodeSelf(e) } } - if yyr243 || yy2arr243 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2947,25 +2971,25 @@ func (x *ScheduledJob) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym259 := z.DecBinary() - _ = yym259 + yym263 := z.DecBinary() + _ = yym263 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct260 := r.ContainerType() - if yyct260 == codecSelferValueTypeMap1234 { - yyl260 := r.ReadMapStart() - if yyl260 == 0 { + yyct264 := r.ContainerType() + if yyct264 == codecSelferValueTypeMap1234 { + yyl264 := r.ReadMapStart() + if yyl264 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl260, d) + x.codecDecodeSelfFromMap(yyl264, d) } - } else if yyct260 == codecSelferValueTypeArray1234 { - yyl260 := r.ReadArrayStart() - if yyl260 == 0 { + } else if yyct264 == codecSelferValueTypeArray1234 { + yyl264 := r.ReadArrayStart() + if yyl264 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl260, d) + x.codecDecodeSelfFromArray(yyl264, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2977,12 +3001,12 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys261Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys261Slc - var yyhl261 bool = l >= 0 - for yyj261 := 0; ; yyj261++ { - if yyhl261 { - if yyj261 >= l { + var yys265Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys265Slc + var yyhl265 bool = l >= 0 + for yyj265 := 0; ; yyj265++ { + if yyhl265 { + if yyj265 >= l { break } } else { @@ -2991,10 +3015,10 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys261Slc = r.DecodeBytes(yys261Slc, true, true) - yys261 := string(yys261Slc) + yys265Slc = r.DecodeBytes(yys265Slc, true, true) + yys265 := string(yys265Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys261 { + switch yys265 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3011,27 +3035,27 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv264 := &x.ObjectMeta - yyv264.CodecDecodeSelf(d) + yyv268 := &x.ObjectMeta + yyv268.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ScheduledJobSpec{} } else { - yyv265 := &x.Spec - yyv265.CodecDecodeSelf(d) + yyv269 := &x.Spec + yyv269.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ScheduledJobStatus{} } else { - yyv266 := &x.Status - yyv266.CodecDecodeSelf(d) + yyv270 := &x.Status + yyv270.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys261) - } // end switch yys261 - } // end for yyj261 + z.DecStructFieldNotFound(-1, yys265) + } // end switch yys265 + } // end for yyj265 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3039,16 +3063,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj267 int - var yyb267 bool - var yyhl267 bool = l >= 0 - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + var yyj271 int + var yyb271 bool + var yyhl271 bool = l >= 0 + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3058,13 +3082,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3074,13 +3098,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3088,16 +3112,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv270 := &x.ObjectMeta - yyv270.CodecDecodeSelf(d) + yyv274 := &x.ObjectMeta + yyv274.CodecDecodeSelf(d) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3105,16 +3129,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ScheduledJobSpec{} } else { - yyv271 := &x.Spec - yyv271.CodecDecodeSelf(d) + yyv275 := &x.Spec + yyv275.CodecDecodeSelf(d) } - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3122,21 +3146,21 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ScheduledJobStatus{} } else { - yyv272 := &x.Status - yyv272.CodecDecodeSelf(d) + yyv276 := &x.Status + yyv276.CodecDecodeSelf(d) } for { - yyj267++ - if yyhl267 { - yyb267 = yyj267 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb267 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb267 { + if yyb271 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj267-1, "") + z.DecStructFieldNotFound(yyj271-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3148,118 +3172,118 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym273 := z.EncBinary() - _ = yym273 + yym277 := z.EncBinary() + _ = yym277 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn274 = 1 - for _, b := range yyq274 { + yynn278 = 1 + for _, b := range yyq278 { if b { - yynn274++ + yynn278++ } } - r.EncodeMapStart(yynn274) - yynn274 = 0 + r.EncodeMapStart(yynn278) + yynn278 = 0 } - if yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq278[0] { 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)) + } + } + } + if yyr278 || yy2arr278 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq278[1] { + yym283 := z.EncBinary() + _ = yym283 + if false { + } 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 yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq274[2] { - yy282 := &x.ListMeta - yym283 := z.EncBinary() - _ = yym283 + if yyq278[2] { + yy286 := &x.ListMeta + yym287 := z.EncBinary() + _ = yym287 if false { - } else if z.HasExtensions() && z.EncExt(yy282) { + } else if z.HasExtensions() && z.EncExt(yy286) { } else { - z.EncFallback(yy282) + z.EncFallback(yy286) } } else { r.EncodeNil() } } else { - if yyq274[2] { + if yyq278[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy284 := &x.ListMeta - yym285 := z.EncBinary() - _ = yym285 + yy288 := &x.ListMeta + yym289 := z.EncBinary() + _ = yym289 if false { - } else if z.HasExtensions() && z.EncExt(yy284) { + } else if z.HasExtensions() && z.EncExt(yy288) { } else { - z.EncFallback(yy284) + z.EncFallback(yy288) } } } - if yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym287 := z.EncBinary() - _ = yym287 + yym291 := z.EncBinary() + _ = yym291 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) @@ -3272,15 +3296,15 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym288 := z.EncBinary() - _ = yym288 + yym292 := z.EncBinary() + _ = yym292 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) } } } - if yyr274 || yy2arr274 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3293,25 +3317,25 @@ func (x *ScheduledJobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym289 := z.DecBinary() - _ = yym289 + yym293 := z.DecBinary() + _ = yym293 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct290 := r.ContainerType() - if yyct290 == codecSelferValueTypeMap1234 { - yyl290 := r.ReadMapStart() - if yyl290 == 0 { + yyct294 := r.ContainerType() + if yyct294 == codecSelferValueTypeMap1234 { + yyl294 := r.ReadMapStart() + if yyl294 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl290, d) + x.codecDecodeSelfFromMap(yyl294, d) } - } else if yyct290 == codecSelferValueTypeArray1234 { - yyl290 := r.ReadArrayStart() - if yyl290 == 0 { + } else if yyct294 == codecSelferValueTypeArray1234 { + yyl294 := r.ReadArrayStart() + if yyl294 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl290, d) + x.codecDecodeSelfFromArray(yyl294, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3323,12 +3347,12 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys291Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys291Slc - var yyhl291 bool = l >= 0 - for yyj291 := 0; ; yyj291++ { - if yyhl291 { - if yyj291 >= l { + var yys295Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys295Slc + var yyhl295 bool = l >= 0 + for yyj295 := 0; ; yyj295++ { + if yyhl295 { + if yyj295 >= l { break } } else { @@ -3337,10 +3361,10 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys291Slc = r.DecodeBytes(yys291Slc, true, true) - yys291 := string(yys291Slc) + yys295Slc = r.DecodeBytes(yys295Slc, true, true) + yys295 := string(yys295Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys291 { + switch yys295 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3357,31 +3381,31 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv294 := &x.ListMeta - yym295 := z.DecBinary() - _ = yym295 + yyv298 := &x.ListMeta + yym299 := z.DecBinary() + _ = yym299 if false { - } else if z.HasExtensions() && z.DecExt(yyv294) { + } else if z.HasExtensions() && z.DecExt(yyv298) { } else { - z.DecFallback(yyv294, false) + z.DecFallback(yyv298, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv296 := &x.Items - yym297 := z.DecBinary() - _ = yym297 + yyv300 := &x.Items + yym301 := z.DecBinary() + _ = yym301 if false { } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv296), d) + h.decSliceScheduledJob((*[]ScheduledJob)(yyv300), d) } } default: - z.DecStructFieldNotFound(-1, yys291) - } // end switch yys291 - } // end for yyj291 + z.DecStructFieldNotFound(-1, yys295) + } // end switch yys295 + } // end for yyj295 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3389,16 +3413,16 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj298 int - var yyb298 bool - var yyhl298 bool = l >= 0 - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + var yyj302 int + var yyb302 bool + var yyhl302 bool = l >= 0 + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3408,13 +3432,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3424,13 +3448,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3438,22 +3462,22 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv301 := &x.ListMeta - yym302 := z.DecBinary() - _ = yym302 + yyv305 := &x.ListMeta + yym306 := z.DecBinary() + _ = yym306 if false { - } else if z.HasExtensions() && z.DecExt(yyv301) { + } else if z.HasExtensions() && z.DecExt(yyv305) { } else { - z.DecFallback(yyv301, false) + z.DecFallback(yyv305, false) } } - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3461,26 +3485,26 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv303 := &x.Items - yym304 := z.DecBinary() - _ = yym304 + yyv307 := &x.Items + yym308 := z.DecBinary() + _ = yym308 if false { } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv303), d) + h.decSliceScheduledJob((*[]ScheduledJob)(yyv307), d) } } for { - yyj298++ - if yyhl298 { - yyb298 = yyj298 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb298 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb298 { + if yyb302 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj298-1, "") + z.DecStructFieldNotFound(yyj302-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3492,36 +3516,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym305 := z.EncBinary() - _ = yym305 + yym309 := z.EncBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn306 = 2 - for _, b := range yyq306 { + yynn310 = 2 + for _, b := range yyq310 { if b { - yynn306++ + yynn310++ } } - r.EncodeMapStart(yynn306) - yynn306 = 0 + r.EncodeMapStart(yynn310) + yynn310 = 0 } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym308 := z.EncBinary() - _ = yym308 + yym312 := z.EncBinary() + _ = yym312 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) @@ -3530,110 +3554,110 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym309 := z.EncBinary() - _ = yym309 + yym313 := z.EncBinary() + _ = yym313 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq306[1] { + if yyq310[1] { if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy311 := *x.StartingDeadlineSeconds - yym312 := z.EncBinary() - _ = yym312 + yy315 := *x.StartingDeadlineSeconds + yym316 := z.EncBinary() + _ = yym316 if false { } else { - r.EncodeInt(int64(yy311)) + r.EncodeInt(int64(yy315)) } } } else { r.EncodeNil() } } else { - if yyq306[1] { + if yyq310[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startingDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy313 := *x.StartingDeadlineSeconds - yym314 := z.EncBinary() - _ = yym314 + yy317 := *x.StartingDeadlineSeconds + yym318 := z.EncBinary() + _ = yym318 if false { } else { - r.EncodeInt(int64(yy313)) + r.EncodeInt(int64(yy317)) } } } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq306[2] { + if yyq310[2] { x.ConcurrencyPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq306[2] { + if yyq310[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrencyPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ConcurrencyPolicy.CodecEncodeSelf(e) } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq306[3] { + if yyq310[3] { if x.Suspend == nil { r.EncodeNil() } else { - yy317 := *x.Suspend - yym318 := z.EncBinary() - _ = yym318 + yy321 := *x.Suspend + yym322 := z.EncBinary() + _ = yym322 if false { } else { - r.EncodeBool(bool(yy317)) + r.EncodeBool(bool(yy321)) } } } else { r.EncodeNil() } } else { - if yyq306[3] { + if yyq310[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Suspend == nil { r.EncodeNil() } else { - yy319 := *x.Suspend - yym320 := z.EncBinary() - _ = yym320 + yy323 := *x.Suspend + yym324 := z.EncBinary() + _ = yym324 if false { } else { - r.EncodeBool(bool(yy319)) + r.EncodeBool(bool(yy323)) } } } } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy322 := &x.JobTemplate - yy322.CodecEncodeSelf(e) + yy326 := &x.JobTemplate + yy326.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("jobTemplate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy323 := &x.JobTemplate - yy323.CodecEncodeSelf(e) + yy327 := &x.JobTemplate + yy327.CodecEncodeSelf(e) } - if yyr306 || yy2arr306 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3646,25 +3670,25 @@ func (x *ScheduledJobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym324 := z.DecBinary() - _ = yym324 + yym328 := z.DecBinary() + _ = yym328 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct325 := r.ContainerType() - if yyct325 == codecSelferValueTypeMap1234 { - yyl325 := r.ReadMapStart() - if yyl325 == 0 { + yyct329 := r.ContainerType() + if yyct329 == codecSelferValueTypeMap1234 { + yyl329 := r.ReadMapStart() + if yyl329 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl325, d) + x.codecDecodeSelfFromMap(yyl329, d) } - } else if yyct325 == codecSelferValueTypeArray1234 { - yyl325 := r.ReadArrayStart() - if yyl325 == 0 { + } else if yyct329 == codecSelferValueTypeArray1234 { + yyl329 := r.ReadArrayStart() + if yyl329 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl325, d) + x.codecDecodeSelfFromArray(yyl329, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3676,12 +3700,12 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys326Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys326Slc - var yyhl326 bool = l >= 0 - for yyj326 := 0; ; yyj326++ { - if yyhl326 { - if yyj326 >= l { + var yys330Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys330Slc + var yyhl330 bool = l >= 0 + for yyj330 := 0; ; yyj330++ { + if yyhl330 { + if yyj330 >= l { break } } else { @@ -3690,10 +3714,10 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys326Slc = r.DecodeBytes(yys326Slc, true, true) - yys326 := string(yys326Slc) + yys330Slc = r.DecodeBytes(yys330Slc, true, true) + yys330 := string(yys330Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys326 { + switch yys330 { case "schedule": if r.TryDecodeAsNil() { x.Schedule = "" @@ -3709,8 +3733,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym329 := z.DecBinary() - _ = yym329 + yym333 := z.DecBinary() + _ = yym333 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -3731,8 +3755,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Suspend == nil { x.Suspend = new(bool) } - yym332 := z.DecBinary() - _ = yym332 + yym336 := z.DecBinary() + _ = yym336 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() @@ -3742,13 +3766,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv333 := &x.JobTemplate - yyv333.CodecDecodeSelf(d) + yyv337 := &x.JobTemplate + yyv337.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys326) - } // end switch yys326 - } // end for yyj326 + z.DecStructFieldNotFound(-1, yys330) + } // end switch yys330 + } // end for yyj330 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3756,16 +3780,16 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj334 int - var yyb334 bool - var yyhl334 bool = l >= 0 - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + var yyj338 int + var yyb338 bool + var yyhl338 bool = l >= 0 + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3775,13 +3799,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Schedule = string(r.DecodeString()) } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3794,20 +3818,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym337 := z.DecBinary() - _ = yym337 + yym341 := z.DecBinary() + _ = yym341 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3817,13 +3841,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ConcurrencyPolicy = ConcurrencyPolicy(r.DecodeString()) } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3836,20 +3860,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Suspend == nil { x.Suspend = new(bool) } - yym340 := z.DecBinary() - _ = yym340 + yym344 := z.DecBinary() + _ = yym344 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() } } - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3857,21 +3881,21 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv341 := &x.JobTemplate - yyv341.CodecDecodeSelf(d) + yyv345 := &x.JobTemplate + yyv345.CodecDecodeSelf(d) } for { - yyj334++ - if yyhl334 { - yyb334 = yyj334 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb334 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb334 { + if yyb338 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj334-1, "") + z.DecStructFieldNotFound(yyj338-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3880,8 +3904,8 @@ func (x ConcurrencyPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym342 := z.EncBinary() - _ = yym342 + yym346 := z.EncBinary() + _ = yym346 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -3893,8 +3917,8 @@ func (x *ConcurrencyPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym343 := z.DecBinary() - _ = yym343 + yym347 := z.DecBinary() + _ = yym347 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -3909,39 +3933,39 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym344 := z.EncBinary() - _ = yym344 + yym348 := z.EncBinary() + _ = yym348 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn345 = 0 - for _, b := range yyq345 { + yynn349 = 0 + for _, b := range yyq349 { if b { - yynn345++ + yynn349++ } } - r.EncodeMapStart(yynn345) - yynn345 = 0 + r.EncodeMapStart(yynn349) + yynn349 = 0 } - if yyr345 || yy2arr345 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq345[0] { + if yyq349[0] { if x.Active == nil { r.EncodeNil() } else { - yym347 := z.EncBinary() - _ = yym347 + yym351 := z.EncBinary() + _ = yym351 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3951,15 +3975,15 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq345[0] { + if yyq349[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Active == nil { r.EncodeNil() } else { - yym348 := z.EncBinary() - _ = yym348 + yym352 := z.EncBinary() + _ = yym352 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3967,19 +3991,19 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr345 || yy2arr345 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq345[1] { + if yyq349[1] { if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym350 := z.EncBinary() - _ = yym350 + yym354 := z.EncBinary() + _ = yym354 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym350 { + } else if yym354 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym350 && z.IsJSONHandle() { + } else if !yym354 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -3989,20 +4013,20 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq345[1] { + if yyq349[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScheduleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym351 := z.EncBinary() - _ = yym351 + yym355 := z.EncBinary() + _ = yym355 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym351 { + } else if yym355 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym351 && z.IsJSONHandle() { + } else if !yym355 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4010,7 +4034,7 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr345 || yy2arr345 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4023,25 +4047,25 @@ func (x *ScheduledJobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym352 := z.DecBinary() - _ = yym352 + yym356 := z.DecBinary() + _ = yym356 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct353 := r.ContainerType() - if yyct353 == codecSelferValueTypeMap1234 { - yyl353 := r.ReadMapStart() - if yyl353 == 0 { + yyct357 := r.ContainerType() + if yyct357 == codecSelferValueTypeMap1234 { + yyl357 := r.ReadMapStart() + if yyl357 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl353, d) + x.codecDecodeSelfFromMap(yyl357, d) } - } else if yyct353 == codecSelferValueTypeArray1234 { - yyl353 := r.ReadArrayStart() - if yyl353 == 0 { + } else if yyct357 == codecSelferValueTypeArray1234 { + yyl357 := r.ReadArrayStart() + if yyl357 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl353, d) + x.codecDecodeSelfFromArray(yyl357, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4053,12 +4077,12 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys354Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys354Slc - var yyhl354 bool = l >= 0 - for yyj354 := 0; ; yyj354++ { - if yyhl354 { - if yyj354 >= l { + var yys358Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys358Slc + var yyhl358 bool = l >= 0 + for yyj358 := 0; ; yyj358++ { + if yyhl358 { + if yyj358 >= l { break } } else { @@ -4067,20 +4091,20 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys354Slc = r.DecodeBytes(yys354Slc, true, true) - yys354 := string(yys354Slc) + yys358Slc = r.DecodeBytes(yys358Slc, true, true) + yys358 := string(yys358Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys354 { + switch yys358 { case "active": if r.TryDecodeAsNil() { x.Active = nil } else { - yyv355 := &x.Active - yym356 := z.DecBinary() - _ = yym356 + yyv359 := &x.Active + yym360 := z.DecBinary() + _ = yym360 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv355), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv359), d) } } case "lastScheduleTime": @@ -4092,22 +4116,22 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym358 := z.DecBinary() - _ = yym358 + yym362 := z.DecBinary() + _ = yym362 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym358 { + } else if yym362 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym358 && z.IsJSONHandle() { + } else if !yym362 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } default: - z.DecStructFieldNotFound(-1, yys354) - } // end switch yys354 - } // end for yyj354 + z.DecStructFieldNotFound(-1, yys358) + } // end switch yys358 + } // end for yyj358 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4115,16 +4139,16 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj359 int - var yyb359 bool - var yyhl359 bool = l >= 0 - yyj359++ - if yyhl359 { - yyb359 = yyj359 > l + var yyj363 int + var yyb363 bool + var yyhl363 bool = l >= 0 + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb359 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb359 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4132,21 +4156,21 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Active = nil } else { - yyv360 := &x.Active - yym361 := z.DecBinary() - _ = yym361 + yyv364 := &x.Active + yym365 := z.DecBinary() + _ = yym365 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv360), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv364), d) } } - yyj359++ - if yyhl359 { - yyb359 = yyj359 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb359 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb359 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4159,587 +4183,43 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym363 := z.DecBinary() - _ = yym363 + yym367 := z.DecBinary() + _ = yym367 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym363 { + } else if yym367 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym363 && z.IsJSONHandle() { + } else if !yym367 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } for { - yyj359++ - if yyhl359 { - yyb359 = yyj359 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb359 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb359 { + if yyb363 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj359-1, "") + z.DecStructFieldNotFound(yyj363-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 _, yyv407 := range v { + for _, yyv368 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy408 := &yyv407 - yy408.CodecEncodeSelf(e) + yy369 := &yyv368 + yy369.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4749,83 +4229,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl409 > 0 { - var yyrr409, yyrl409 int - var yyrt409 bool - if yyl409 > cap(yyv409) { + } else if yyl370 > 0 { + var yyrr370, yyrl370 int + var yyrt370 bool + if yyl370 > cap(yyv370) { - yyrg409 := len(yyv409) > 0 - yyv2409 := yyv409 - yyrl409, yyrt409 = z.DecInferLen(yyl409, z.DecBasicHandle().MaxInitLen, 824) - if yyrt409 { - if yyrl409 <= cap(yyv409) { - yyv409 = yyv409[:yyrl409] + yyrg370 := len(yyv370) > 0 + yyv2370 := yyv370 + yyrl370, yyrt370 = z.DecInferLen(yyl370, z.DecBasicHandle().MaxInitLen, 824) + if yyrt370 { + if yyrl370 <= cap(yyv370) { + yyv370 = yyv370[:yyrl370] } else { - yyv409 = make([]Job, yyrl409) + yyv370 = make([]Job, yyrl370) } } else { - yyv409 = make([]Job, yyrl409) + yyv370 = make([]Job, yyrl370) } - yyc409 = true - yyrr409 = len(yyv409) - if yyrg409 { - copy(yyv409, yyv2409) + yyc370 = true + yyrr370 = len(yyv370) + if yyrg370 { + copy(yyv370, yyv2370) } - } else if yyl409 != len(yyv409) { - yyv409 = yyv409[:yyl409] - yyc409 = true + } else if yyl370 != len(yyv370) { + yyv370 = yyv370[:yyl370] + yyc370 = true } - yyj409 := 0 - for ; yyj409 < yyrr409; yyj409++ { - yyh409.ElemContainerState(yyj409) + yyj370 := 0 + for ; yyj370 < yyrr370; yyj370++ { + yyh370.ElemContainerState(yyj370) if r.TryDecodeAsNil() { - yyv409[yyj409] = Job{} + yyv370[yyj370] = Job{} } else { - yyv410 := &yyv409[yyj409] - yyv410.CodecDecodeSelf(d) + yyv371 := &yyv370[yyj370] + yyv371.CodecDecodeSelf(d) } } - if yyrt409 { - for ; yyj409 < yyl409; yyj409++ { - yyv409 = append(yyv409, Job{}) - yyh409.ElemContainerState(yyj409) + if yyrt370 { + for ; yyj370 < yyl370; yyj370++ { + yyv370 = append(yyv370, Job{}) + yyh370.ElemContainerState(yyj370) if r.TryDecodeAsNil() { - yyv409[yyj409] = Job{} + yyv370[yyj370] = Job{} } else { - yyv411 := &yyv409[yyj409] - yyv411.CodecDecodeSelf(d) + yyv372 := &yyv370[yyj370] + yyv372.CodecDecodeSelf(d) } } } } else { - yyj409 := 0 - for ; !r.CheckBreak(); yyj409++ { + yyj370 := 0 + for ; !r.CheckBreak(); yyj370++ { - if yyj409 >= len(yyv409) { - yyv409 = append(yyv409, Job{}) // var yyz409 Job - yyc409 = true + if yyj370 >= len(yyv370) { + yyv370 = append(yyv370, Job{}) // var yyz370 Job + yyc370 = true } - yyh409.ElemContainerState(yyj409) - if yyj409 < len(yyv409) { + yyh370.ElemContainerState(yyj370) + if yyj370 < len(yyv370) { if r.TryDecodeAsNil() { - yyv409[yyj409] = Job{} + yyv370[yyj370] = Job{} } else { - yyv412 := &yyv409[yyj409] - yyv412.CodecDecodeSelf(d) + yyv373 := &yyv370[yyj370] + yyv373.CodecDecodeSelf(d) } } else { @@ -4833,17 +4313,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj409 < len(yyv409) { - yyv409 = yyv409[:yyj409] - yyc409 = true - } else if yyj409 == 0 && yyv409 == nil { - yyv409 = []Job{} - yyc409 = true + if yyj370 < len(yyv370) { + yyv370 = yyv370[:yyj370] + yyc370 = true + } else if yyj370 == 0 && yyv370 == nil { + yyv370 = []Job{} + yyc370 = true } } - yyh409.End() - if yyc409 { - *v = yyv409 + yyh370.End() + if yyc370 { + *v = yyv370 } } @@ -4852,10 +4332,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv413 := range v { + for _, yyv374 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy414 := &yyv413 - yy414.CodecEncodeSelf(e) + yy375 := &yyv374 + yy375.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4865,83 +4345,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl415 > 0 { - var yyrr415, yyrl415 int - var yyrt415 bool - if yyl415 > cap(yyv415) { + } else if yyl376 > 0 { + var yyrr376, yyrl376 int + var yyrt376 bool + if yyl376 > cap(yyv376) { - yyrg415 := len(yyv415) > 0 - yyv2415 := yyv415 - yyrl415, yyrt415 = z.DecInferLen(yyl415, z.DecBasicHandle().MaxInitLen, 112) - if yyrt415 { - if yyrl415 <= cap(yyv415) { - yyv415 = yyv415[:yyrl415] + yyrg376 := len(yyv376) > 0 + yyv2376 := yyv376 + yyrl376, yyrt376 = z.DecInferLen(yyl376, z.DecBasicHandle().MaxInitLen, 112) + if yyrt376 { + if yyrl376 <= cap(yyv376) { + yyv376 = yyv376[:yyrl376] } else { - yyv415 = make([]JobCondition, yyrl415) + yyv376 = make([]JobCondition, yyrl376) } } else { - yyv415 = make([]JobCondition, yyrl415) + yyv376 = make([]JobCondition, yyrl376) } - yyc415 = true - yyrr415 = len(yyv415) - if yyrg415 { - copy(yyv415, yyv2415) + yyc376 = true + yyrr376 = len(yyv376) + if yyrg376 { + copy(yyv376, yyv2376) } - } else if yyl415 != len(yyv415) { - yyv415 = yyv415[:yyl415] - yyc415 = true + } else if yyl376 != len(yyv376) { + yyv376 = yyv376[:yyl376] + yyc376 = true } - yyj415 := 0 - for ; yyj415 < yyrr415; yyj415++ { - yyh415.ElemContainerState(yyj415) + yyj376 := 0 + for ; yyj376 < yyrr376; yyj376++ { + yyh376.ElemContainerState(yyj376) if r.TryDecodeAsNil() { - yyv415[yyj415] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv416 := &yyv415[yyj415] - yyv416.CodecDecodeSelf(d) + yyv377 := &yyv376[yyj376] + yyv377.CodecDecodeSelf(d) } } - if yyrt415 { - for ; yyj415 < yyl415; yyj415++ { - yyv415 = append(yyv415, JobCondition{}) - yyh415.ElemContainerState(yyj415) + if yyrt376 { + for ; yyj376 < yyl376; yyj376++ { + yyv376 = append(yyv376, JobCondition{}) + yyh376.ElemContainerState(yyj376) if r.TryDecodeAsNil() { - yyv415[yyj415] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv417 := &yyv415[yyj415] - yyv417.CodecDecodeSelf(d) + yyv378 := &yyv376[yyj376] + yyv378.CodecDecodeSelf(d) } } } } else { - yyj415 := 0 - for ; !r.CheckBreak(); yyj415++ { + yyj376 := 0 + for ; !r.CheckBreak(); yyj376++ { - if yyj415 >= len(yyv415) { - yyv415 = append(yyv415, JobCondition{}) // var yyz415 JobCondition - yyc415 = true + if yyj376 >= len(yyv376) { + yyv376 = append(yyv376, JobCondition{}) // var yyz376 JobCondition + yyc376 = true } - yyh415.ElemContainerState(yyj415) - if yyj415 < len(yyv415) { + yyh376.ElemContainerState(yyj376) + if yyj376 < len(yyv376) { if r.TryDecodeAsNil() { - yyv415[yyj415] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv418 := &yyv415[yyj415] - yyv418.CodecDecodeSelf(d) + yyv379 := &yyv376[yyj376] + yyv379.CodecDecodeSelf(d) } } else { @@ -4949,17 +4429,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj415 < len(yyv415) { - yyv415 = yyv415[:yyj415] - yyc415 = true - } else if yyj415 == 0 && yyv415 == nil { - yyv415 = []JobCondition{} - yyc415 = true + if yyj376 < len(yyv376) { + yyv376 = yyv376[:yyj376] + yyc376 = true + } else if yyj376 == 0 && yyv376 == nil { + yyv376 = []JobCondition{} + yyc376 = true } } - yyh415.End() - if yyc415 { - *v = yyv415 + yyh376.End() + if yyc376 { + *v = yyv376 } } @@ -4968,10 +4448,10 @@ func (x codecSelfer1234) encSliceScheduledJob(v []ScheduledJob, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv419 := range v { + for _, yyv380 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy420 := &yyv419 - yy420.CodecEncodeSelf(e) + yy381 := &yyv380 + yy381.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4981,83 +4461,83 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl421 > 0 { - var yyrr421, yyrl421 int - var yyrt421 bool - if yyl421 > cap(yyv421) { + } else if yyl382 > 0 { + var yyrr382, yyrl382 int + var yyrt382 bool + if yyl382 > cap(yyv382) { - yyrg421 := len(yyv421) > 0 - yyv2421 := yyv421 - yyrl421, yyrt421 = z.DecInferLen(yyl421, z.DecBasicHandle().MaxInitLen, 1072) - if yyrt421 { - if yyrl421 <= cap(yyv421) { - yyv421 = yyv421[:yyrl421] + yyrg382 := len(yyv382) > 0 + yyv2382 := yyv382 + yyrl382, yyrt382 = z.DecInferLen(yyl382, z.DecBasicHandle().MaxInitLen, 1072) + if yyrt382 { + if yyrl382 <= cap(yyv382) { + yyv382 = yyv382[:yyrl382] } else { - yyv421 = make([]ScheduledJob, yyrl421) + yyv382 = make([]ScheduledJob, yyrl382) } } else { - yyv421 = make([]ScheduledJob, yyrl421) + yyv382 = make([]ScheduledJob, yyrl382) } - yyc421 = true - yyrr421 = len(yyv421) - if yyrg421 { - copy(yyv421, yyv2421) + yyc382 = true + yyrr382 = len(yyv382) + if yyrg382 { + copy(yyv382, yyv2382) } - } else if yyl421 != len(yyv421) { - yyv421 = yyv421[:yyl421] - yyc421 = true + } else if yyl382 != len(yyv382) { + yyv382 = yyv382[:yyl382] + yyc382 = true } - yyj421 := 0 - for ; yyj421 < yyrr421; yyj421++ { - yyh421.ElemContainerState(yyj421) + yyj382 := 0 + for ; yyj382 < yyrr382; yyj382++ { + yyh382.ElemContainerState(yyj382) if r.TryDecodeAsNil() { - yyv421[yyj421] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv422 := &yyv421[yyj421] - yyv422.CodecDecodeSelf(d) + yyv383 := &yyv382[yyj382] + yyv383.CodecDecodeSelf(d) } } - if yyrt421 { - for ; yyj421 < yyl421; yyj421++ { - yyv421 = append(yyv421, ScheduledJob{}) - yyh421.ElemContainerState(yyj421) + if yyrt382 { + for ; yyj382 < yyl382; yyj382++ { + yyv382 = append(yyv382, ScheduledJob{}) + yyh382.ElemContainerState(yyj382) if r.TryDecodeAsNil() { - yyv421[yyj421] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv423 := &yyv421[yyj421] - yyv423.CodecDecodeSelf(d) + yyv384 := &yyv382[yyj382] + yyv384.CodecDecodeSelf(d) } } } } else { - yyj421 := 0 - for ; !r.CheckBreak(); yyj421++ { + yyj382 := 0 + for ; !r.CheckBreak(); yyj382++ { - if yyj421 >= len(yyv421) { - yyv421 = append(yyv421, ScheduledJob{}) // var yyz421 ScheduledJob - yyc421 = true + if yyj382 >= len(yyv382) { + yyv382 = append(yyv382, ScheduledJob{}) // var yyz382 ScheduledJob + yyc382 = true } - yyh421.ElemContainerState(yyj421) - if yyj421 < len(yyv421) { + yyh382.ElemContainerState(yyj382) + if yyj382 < len(yyv382) { if r.TryDecodeAsNil() { - yyv421[yyj421] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv424 := &yyv421[yyj421] - yyv424.CodecDecodeSelf(d) + yyv385 := &yyv382[yyj382] + yyv385.CodecDecodeSelf(d) } } else { @@ -5065,17 +4545,17 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De } } - if yyj421 < len(yyv421) { - yyv421 = yyv421[:yyj421] - yyc421 = true - } else if yyj421 == 0 && yyv421 == nil { - yyv421 = []ScheduledJob{} - yyc421 = true + if yyj382 < len(yyv382) { + yyv382 = yyv382[:yyj382] + yyc382 = true + } else if yyj382 == 0 && yyv382 == nil { + yyv382 = []ScheduledJob{} + yyc382 = true } } - yyh421.End() - if yyc421 { - *v = yyv421 + yyh382.End() + if yyc382 { + *v = yyv382 } } @@ -5084,10 +4564,10 @@ func (x codecSelfer1234) encSlicev1_ObjectReference(v []pkg2_v1.ObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv425 := range v { + for _, yyv386 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy426 := &yyv425 - yy426.CodecEncodeSelf(e) + yy387 := &yyv386 + yy387.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5097,83 +4577,83 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl427 > 0 { - var yyrr427, yyrl427 int - var yyrt427 bool - if yyl427 > cap(yyv427) { + } else if yyl388 > 0 { + var yyrr388, yyrl388 int + var yyrt388 bool + if yyl388 > cap(yyv388) { - yyrg427 := len(yyv427) > 0 - yyv2427 := yyv427 - yyrl427, yyrt427 = z.DecInferLen(yyl427, z.DecBasicHandle().MaxInitLen, 112) - if yyrt427 { - if yyrl427 <= cap(yyv427) { - yyv427 = yyv427[:yyrl427] + yyrg388 := len(yyv388) > 0 + yyv2388 := yyv388 + yyrl388, yyrt388 = z.DecInferLen(yyl388, z.DecBasicHandle().MaxInitLen, 112) + if yyrt388 { + if yyrl388 <= cap(yyv388) { + yyv388 = yyv388[:yyrl388] } else { - yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) + yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) } } else { - yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) + yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) } - yyc427 = true - yyrr427 = len(yyv427) - if yyrg427 { - copy(yyv427, yyv2427) + yyc388 = true + yyrr388 = len(yyv388) + if yyrg388 { + copy(yyv388, yyv2388) } - } else if yyl427 != len(yyv427) { - yyv427 = yyv427[:yyl427] - yyc427 = true + } else if yyl388 != len(yyv388) { + yyv388 = yyv388[:yyl388] + yyc388 = true } - yyj427 := 0 - for ; yyj427 < yyrr427; yyj427++ { - yyh427.ElemContainerState(yyj427) + yyj388 := 0 + for ; yyj388 < yyrr388; yyj388++ { + yyh388.ElemContainerState(yyj388) if r.TryDecodeAsNil() { - yyv427[yyj427] = pkg2_v1.ObjectReference{} + yyv388[yyj388] = pkg2_v1.ObjectReference{} } else { - yyv428 := &yyv427[yyj427] - yyv428.CodecDecodeSelf(d) + yyv389 := &yyv388[yyj388] + yyv389.CodecDecodeSelf(d) } } - if yyrt427 { - for ; yyj427 < yyl427; yyj427++ { - yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) - yyh427.ElemContainerState(yyj427) + if yyrt388 { + for ; yyj388 < yyl388; yyj388++ { + yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) + yyh388.ElemContainerState(yyj388) if r.TryDecodeAsNil() { - yyv427[yyj427] = pkg2_v1.ObjectReference{} + yyv388[yyj388] = pkg2_v1.ObjectReference{} } else { - yyv429 := &yyv427[yyj427] - yyv429.CodecDecodeSelf(d) + yyv390 := &yyv388[yyj388] + yyv390.CodecDecodeSelf(d) } } } } else { - yyj427 := 0 - for ; !r.CheckBreak(); yyj427++ { + yyj388 := 0 + for ; !r.CheckBreak(); yyj388++ { - if yyj427 >= len(yyv427) { - yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) // var yyz427 pkg2_v1.ObjectReference - yyc427 = true + if yyj388 >= len(yyv388) { + yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) // var yyz388 pkg2_v1.ObjectReference + yyc388 = true } - yyh427.ElemContainerState(yyj427) - if yyj427 < len(yyv427) { + yyh388.ElemContainerState(yyj388) + if yyj388 < len(yyv388) { if r.TryDecodeAsNil() { - yyv427[yyj427] = pkg2_v1.ObjectReference{} + yyv388[yyj388] = pkg2_v1.ObjectReference{} } else { - yyv430 := &yyv427[yyj427] - yyv430.CodecDecodeSelf(d) + yyv391 := &yyv388[yyj388] + yyv391.CodecDecodeSelf(d) } } else { @@ -5181,132 +4661,16 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference } } - if yyj427 < len(yyv427) { - yyv427 = yyv427[:yyj427] - yyc427 = true - } else if yyj427 == 0 && yyv427 == nil { - yyv427 = []pkg2_v1.ObjectReference{} - yyc427 = true + if yyj388 < len(yyv388) { + yyv388 = yyv388[:yyj388] + yyc388 = true + } else if yyj388 == 0 && yyv388 == nil { + yyv388 = []pkg2_v1.ObjectReference{} + yyc388 = true } } - 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 + yyh388.End() + if yyc388 { + *v = yyv388 } } diff --git a/pkg/apis/batch/v2alpha1/types.go b/pkg/apis/batch/v2alpha1/types.go index 83032deb3c6..6b471e8ed46 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 *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + Selector *unversioned.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,43 +276,3 @@ 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 5d965f4fa61..4eb60928d85 100644 --- a/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go @@ -110,27 +110,6 @@ 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 0b752572a0e..88ddb0b4e0c 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go @@ -53,10 +53,6 @@ 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, @@ -188,7 +184,7 @@ func autoConvert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSp out.Parallelism = (*int32)(unsafe.Pointer(in.Parallelism)) out.Completions = (*int32)(unsafe.Pointer(in.Completions)) out.ActiveDeadlineSeconds = (*int64)(unsafe.Pointer(in.ActiveDeadlineSeconds)) - out.Selector = (*LabelSelector)(unsafe.Pointer(in.Selector)) + out.Selector = (*unversioned.LabelSelector)(unsafe.Pointer(in.Selector)) out.ManualSelector = (*bool)(unsafe.Pointer(in.ManualSelector)) if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -292,70 +288,6 @@ 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 { - { - m := (*map[string]string)(unsafe.Pointer(&in.MatchLabels)) - out.MatchLabels = *m - } - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.MatchExpressions)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.MatchExpressions)) - *outHdr = *inHdr - } - 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 { - { - m := (*map[string]string)(unsafe.Pointer(&in.MatchLabels)) - out.MatchLabels = *m - } - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.MatchExpressions)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.MatchExpressions)) - *outHdr = *inHdr - } - 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) - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Values)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Values)) - *outHdr = *inHdr - } - 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) - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Values)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Values)) - *outHdr = *inHdr - } - 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 { // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { diff --git a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go index 2980bac9d3d..b7a896dca93 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go @@ -43,8 +43,6 @@ 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{})}, @@ -132,8 +130,8 @@ func DeepCopy_v2alpha1_JobSpec(in interface{}, out interface{}, c *conversion.Cl } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v2alpha1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -218,51 +216,6 @@ 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 6866aecb095..95f62d1389e 100644 --- a/pkg/apis/extensions/v1beta1/BUILD +++ b/pkg/apis/extensions/v1beta1/BUILD @@ -56,6 +56,7 @@ 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 dddd7cf7392..5501f40369d 100644 --- a/pkg/apis/extensions/v1beta1/conversion.go +++ b/pkg/apis/extensions/v1beta1/conversion.go @@ -134,14 +134,7 @@ 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 - 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 - } + out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -167,15 +160,7 @@ func Convert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *DeploymentS if in.Replicas != nil { out.Replicas = *in.Replicas } - - 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 - } + out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -250,15 +235,7 @@ func Convert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensions. out.Replicas = new(int32) *out.Replicas = int32(in.Replicas) out.MinReadySeconds = in.MinReadySeconds - 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 - } - + out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -270,14 +247,7 @@ func Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *ReplicaSetS out.Replicas = *in.Replicas } out.MinReadySeconds = in.MinReadySeconds - 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 - } + out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -288,16 +258,7 @@ 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 - // 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 - } - + out.Selector = in.Selector // BEGIN non-standard conversion // autoSelector has opposite meaning as manualSelector. // in both cases, unset means false, and unset is always preferred to false. @@ -322,16 +283,7 @@ 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 - // 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 - } - + out.Selector = in.Selector // 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 256c748dae3..5b17d7ea118 100644 --- a/pkg/apis/extensions/v1beta1/defaults.go +++ b/pkg/apis/extensions/v1beta1/defaults.go @@ -17,6 +17,7 @@ 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" @@ -40,7 +41,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 = &LabelSelector{ + obj.Spec.Selector = &unversioned.LabelSelector{ MatchLabels: labels, } } @@ -56,7 +57,7 @@ func SetDefaults_Deployment(obj *Deployment) { if labels != nil { if obj.Spec.Selector == nil { - obj.Spec.Selector = &LabelSelector{MatchLabels: labels} + obj.Spec.Selector = &unversioned.LabelSelector{MatchLabels: labels} } if len(obj.Labels) == 0 { obj.Labels = labels @@ -102,7 +103,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 = &LabelSelector{ + obj.Spec.Selector = &unversioned.LabelSelector{ MatchLabels: labels, } } @@ -140,7 +141,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 = &LabelSelector{ + obj.Spec.Selector = &unversioned.LabelSelector{ MatchLabels: labels, } } diff --git a/pkg/apis/extensions/v1beta1/defaults_test.go b/pkg/apis/extensions/v1beta1/defaults_test.go index 8df4d5b3283..e6741f1efbf 100644 --- a/pkg/apis/extensions/v1beta1/defaults_test.go +++ b/pkg/apis/extensions/v1beta1/defaults_test.go @@ -23,6 +23,7 @@ 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" @@ -67,7 +68,7 @@ func TestSetDefaultDaemonSet(t *testing.T) { Labels: defaultLabels, }, Spec: DaemonSetSpec{ - Selector: &LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: defaultLabels, }, Template: defaultTemplate, @@ -92,7 +93,7 @@ func TestSetDefaultDaemonSet(t *testing.T) { }, }, Spec: DaemonSetSpec{ - Selector: &LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: defaultLabels, }, Template: defaultTemplate, @@ -449,18 +450,18 @@ func TestSetDefaultJob(t *testing.T) { func TestSetDefaultJobSelector(t *testing.T) { tests := []struct { original *Job - expectedSelector *LabelSelector + expectedSelector *unversioned.LabelSelector }{ // selector set explicitly, nil autoSelector { original: &Job{ Spec: JobSpec{ - Selector: &LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, }, - expectedSelector: &LabelSelector{ + expectedSelector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -468,13 +469,13 @@ func TestSetDefaultJobSelector(t *testing.T) { { original: &Job{ Spec: JobSpec{ - Selector: &LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, AutoSelector: newBool(true), }, }, - expectedSelector: &LabelSelector{ + expectedSelector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -482,13 +483,13 @@ func TestSetDefaultJobSelector(t *testing.T) { { original: &Job{ Spec: JobSpec{ - Selector: &LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, AutoSelector: newBool(false), }, }, - expectedSelector: &LabelSelector{ + expectedSelector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -503,7 +504,7 @@ func TestSetDefaultJobSelector(t *testing.T) { }, }, }, - expectedSelector: &LabelSelector{ + expectedSelector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -519,7 +520,7 @@ func TestSetDefaultJobSelector(t *testing.T) { AutoSelector: newBool(false), }, }, - expectedSelector: &LabelSelector{ + expectedSelector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"job": "selector"}, }, }, @@ -601,7 +602,7 @@ func TestSetDefaultReplicaSet(t *testing.T) { }, }, Spec: ReplicaSetSpec{ - Selector: &LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: map[string]string{ "some": "other", }, @@ -621,7 +622,7 @@ func TestSetDefaultReplicaSet(t *testing.T) { { rs: &ReplicaSet{ Spec: ReplicaSetSpec{ - Selector: &LabelSelector{ + Selector: &unversioned.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 704432cace6..a622cabb3d7 100644 --- a/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/pkg/apis/extensions/v1beta1/generated.pb.go @@ -64,8 +64,6 @@ limitations under the License. JobList JobSpec JobStatus - LabelSelector - LabelSelectorRequirement NetworkPolicy NetworkPolicyIngressRule NetworkPolicyList @@ -289,139 +287,129 @@ 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{41} } +func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } func (*NetworkPolicyIngressRule) ProtoMessage() {} func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{42} + return fileDescriptorGenerated, []int{40} } func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } func (*NetworkPolicyList) ProtoMessage() {} -func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } +func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } func (*NetworkPolicyPeer) ProtoMessage() {} -func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } func (*NetworkPolicyPort) ProtoMessage() {} -func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } func (*NetworkPolicySpec) ProtoMessage() {} -func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } func (*PodSecurityPolicy) ProtoMessage() {} -func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } +func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } func (*PodSecurityPolicyList) ProtoMessage() {} -func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } +func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } func (*PodSecurityPolicySpec) ProtoMessage() {} -func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } +func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } func (*ReplicaSet) ProtoMessage() {} -func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } +func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } func (*ReplicaSetCondition) ProtoMessage() {} -func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } +func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } func (*ReplicaSetList) ProtoMessage() {} -func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } +func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } func (*ReplicaSetSpec) ProtoMessage() {} -func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } +func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } func (*ReplicaSetStatus) ProtoMessage() {} -func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } +func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} } func (*ReplicationControllerDummy) ProtoMessage() {} func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{55} + return fileDescriptorGenerated, []int{53} } func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } func (*RollbackConfig) ProtoMessage() {} -func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } +func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } func (*RollingUpdateDeployment) ProtoMessage() {} func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{57} + return fileDescriptorGenerated, []int{55} } func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} } func (*RunAsUserStrategyOptions) ProtoMessage() {} func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{58} + return fileDescriptorGenerated, []int{56} } func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} } func (*SELinuxStrategyOptions) ProtoMessage() {} -func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } +func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} } func (m *Scale) Reset() { *m = Scale{} } func (*Scale) ProtoMessage() {} -func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } +func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } func (*ScaleSpec) ProtoMessage() {} -func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } +func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } func (*ScaleStatus) ProtoMessage() {} -func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } +func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } func (m *SubresourceReference) Reset() { *m = SubresourceReference{} } func (*SubresourceReference) ProtoMessage() {} -func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } +func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} } func (*SupplementalGroupsStrategyOptions) ProtoMessage() {} func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{64} + return fileDescriptorGenerated, []int{62} } func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} } func (*ThirdPartyResource) ProtoMessage() {} -func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } +func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} } func (*ThirdPartyResourceData) ProtoMessage() {} -func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } +func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} } func (*ThirdPartyResourceDataList) ProtoMessage() {} func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{67} + return fileDescriptorGenerated, []int{65} } func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} } func (*ThirdPartyResourceList) ProtoMessage() {} -func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } +func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } func init() { proto.RegisterType((*APIVersion)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.APIVersion") @@ -463,8 +451,6 @@ 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") @@ -1947,94 +1933,6 @@ 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) @@ -3708,42 +3606,6 @@ 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 @@ -4252,7 +4114,7 @@ func (this *DaemonSetSpec) String() string { return "nil" } s := strings.Join([]string{`&DaemonSetSpec{`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -4322,7 +4184,7 @@ func (this *DeploymentSpec) String() string { } s := strings.Join([]string{`&DeploymentSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.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) + `,`, @@ -4607,7 +4469,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", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1) + `,`, `AutoSelector:` + valueToStringGenerated(this.AutoSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -4629,39 +4491,6 @@ 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" @@ -4700,8 +4529,8 @@ func (this *NetworkPolicyPeer) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicyPeer{`, - `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "LabelSelector", 1) + `,`, - `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "LabelSelector", 1) + `,`, + `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) + `,`, `}`, }, "") return s @@ -4722,7 +4551,7 @@ func (this *NetworkPolicySpec) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicySpec{`, - `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "LabelSelector", 1), `&`, ``, 1) + `,`, + `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.LabelSelector", 1), `&`, ``, 1) + `,`, `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -4816,7 +4645,7 @@ func (this *ReplicaSetSpec) String() string { } s := strings.Join([]string{`&ReplicaSetSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_api_unversioned.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) + `,`, `}`, @@ -5846,7 +5675,7 @@ func (m *DaemonSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -6576,7 +6405,7 @@ func (m *DeploymentSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -9620,7 +9449,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -9902,335 +9731,6 @@ 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 @@ -10620,7 +10120,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.PodSelector == nil { - m.PodSelector = &LabelSelector{} + m.PodSelector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.PodSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -10653,7 +10153,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.NamespaceSelector == nil { - m.NamespaceSelector = &LabelSelector{} + m.NamespaceSelector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.NamespaceSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -12065,7 +11565,7 @@ func (m *ReplicaSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &LabelSelector{} + m.Selector = &k8s_io_kubernetes_pkg_api_unversioned.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -14047,253 +13547,244 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 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, 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71, 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, + // 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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bd, 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, 0x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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, } diff --git a/pkg/apis/extensions/v1beta1/generated.proto b/pkg/apis/extensions/v1beta1/generated.proto index b195bf40ee1..09e2275c5d9 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 LabelSelector selector = 1; + optional k8s.io.kubernetes.pkg.api.unversioned.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 LabelSelector selector = 2; + optional k8s.io.kubernetes.pkg.api.unversioned.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 LabelSelector selector = 4; + optional k8s.io.kubernetes.pkg.api.unversioned.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,39 +646,6 @@ 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 @@ -730,7 +697,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 LabelSelector podSelector = 1; + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector podSelector = 1; // Selects Namespaces using cluster scoped-labels. This // matches all pods in all namespaces selected by this label selector. @@ -738,7 +705,7 @@ message NetworkPolicyPeer { // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. // +optional - optional LabelSelector namespaceSelector = 2; + optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector namespaceSelector = 2; } message NetworkPolicyPort { @@ -762,7 +729,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 LabelSelector podSelector = 1; + optional k8s.io.kubernetes.pkg.api.unversioned.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, @@ -940,7 +907,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 LabelSelector selector = 2; + optional k8s.io.kubernetes.pkg.api.unversioned.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 9c6fdef78e1..01318d35c59 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -5488,7 +5488,13 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym460 := z.EncBinary() + _ = yym460 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() @@ -5501,26 +5507,32 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym461 := z.EncBinary() + _ = yym461 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy461 := &x.Template - yy461.CodecEncodeSelf(e) + yy463 := &x.Template + yy463.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy462 := &x.Template - yy462.CodecEncodeSelf(e) + yy464 := &x.Template + yy464.CodecEncodeSelf(e) } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[3] { - yy464 := &x.Strategy - yy464.CodecEncodeSelf(e) + yy466 := &x.Strategy + yy466.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -5529,15 +5541,15 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy465 := &x.Strategy - yy465.CodecEncodeSelf(e) + yy467 := &x.Strategy + yy467.CodecEncodeSelf(e) } } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[4] { - yym467 := z.EncBinary() - _ = yym467 + yym469 := z.EncBinary() + _ = yym469 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5550,8 +5562,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym468 := z.EncBinary() - _ = yym468 + yym470 := z.EncBinary() + _ = yym470 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5564,12 +5576,12 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy470 := *x.RevisionHistoryLimit - yym471 := z.EncBinary() - _ = yym471 + yy472 := *x.RevisionHistoryLimit + yym473 := z.EncBinary() + _ = yym473 if false { } else { - r.EncodeInt(int64(yy470)) + r.EncodeInt(int64(yy472)) } } } else { @@ -5583,12 +5595,12 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy472 := *x.RevisionHistoryLimit - yym473 := z.EncBinary() - _ = yym473 + yy474 := *x.RevisionHistoryLimit + yym475 := z.EncBinary() + _ = yym475 if false { } else { - r.EncodeInt(int64(yy472)) + r.EncodeInt(int64(yy474)) } } } @@ -5596,8 +5608,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq453[6] { - yym475 := z.EncBinary() - _ = yym475 + yym477 := z.EncBinary() + _ = yym477 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5610,8 +5622,8 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("paused")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym476 := z.EncBinary() - _ = yym476 + yym478 := z.EncBinary() + _ = yym478 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5654,25 +5666,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym478 := z.DecBinary() - _ = yym478 + yym480 := z.DecBinary() + _ = yym480 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct479 := r.ContainerType() - if yyct479 == codecSelferValueTypeMap1234 { - yyl479 := r.ReadMapStart() - if yyl479 == 0 { + yyct481 := r.ContainerType() + if yyct481 == codecSelferValueTypeMap1234 { + yyl481 := r.ReadMapStart() + if yyl481 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl479, d) + x.codecDecodeSelfFromMap(yyl481, d) } - } else if yyct479 == codecSelferValueTypeArray1234 { - yyl479 := r.ReadArrayStart() - if yyl479 == 0 { + } else if yyct481 == codecSelferValueTypeArray1234 { + yyl481 := r.ReadArrayStart() + if yyl481 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl479, d) + x.codecDecodeSelfFromArray(yyl481, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5684,12 +5696,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys480Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys480Slc - var yyhl480 bool = l >= 0 - for yyj480 := 0; ; yyj480++ { - if yyhl480 { - if yyj480 >= l { + var yys482Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys482Slc + var yyhl482 bool = l >= 0 + for yyj482 := 0; ; yyj482++ { + if yyhl482 { + if yyj482 >= l { break } } else { @@ -5698,10 +5710,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys480Slc = r.DecodeBytes(yys480Slc, true, true) - yys480 := string(yys480Slc) + yys482Slc = r.DecodeBytes(yys482Slc, true, true) + yys482 := string(yys482Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys480 { + switch yys482 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -5711,8 +5723,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym482 := z.DecBinary() - _ = yym482 + yym484 := z.DecBinary() + _ = yym484 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -5725,23 +5737,29 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv484 := &x.Template - yyv484.CodecDecodeSelf(d) + yyv487 := &x.Template + yyv487.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv485 := &x.Strategy - yyv485.CodecDecodeSelf(d) + yyv488 := &x.Strategy + yyv488.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -5758,8 +5776,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym488 := z.DecBinary() - _ = yym488 + yym491 := z.DecBinary() + _ = yym491 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -5783,9 +5801,9 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys480) - } // end switch yys480 - } // end for yyj480 + z.DecStructFieldNotFound(-1, yys482) + } // end switch yys482 + } // end for yyj482 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5793,16 +5811,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj491 int - var yyb491 bool - var yyhl491 bool = l >= 0 - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + var yyj494 int + var yyb494 bool + var yyhl494 bool = l >= 0 + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5815,20 +5833,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym493 := z.DecBinary() - _ = yym493 + yym496 := z.DecBinary() + _ = yym496 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5839,17 +5857,23 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5857,16 +5881,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv495 := &x.Template - yyv495.CodecDecodeSelf(d) + yyv499 := &x.Template + yyv499.CodecDecodeSelf(d) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5874,16 +5898,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv496 := &x.Strategy - yyv496.CodecDecodeSelf(d) + yyv500 := &x.Strategy + yyv500.CodecDecodeSelf(d) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5893,13 +5917,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5912,20 +5936,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym499 := z.DecBinary() - _ = yym499 + yym503 := z.DecBinary() + _ = yym503 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5935,13 +5959,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5957,17 +5981,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } for { - yyj491++ - if yyhl491 { - yyb491 = yyj491 > l + yyj494++ + if yyhl494 { + yyb494 = yyj494 > l } else { - yyb491 = r.CheckBreak() + yyb494 = r.CheckBreak() } - if yyb491 { + if yyb494 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj491-1, "") + z.DecStructFieldNotFound(yyj494-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5979,86 +6003,86 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym502 := z.EncBinary() - _ = yym502 + yym506 := z.EncBinary() + _ = yym506 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn503 = 2 - for _, b := range yyq503 { + yynn507 = 2 + for _, b := range yyq507 { if b { - yynn503++ + yynn507++ } } - r.EncodeMapStart(yynn503) - yynn503 = 0 + r.EncodeMapStart(yynn507) + yynn507 = 0 } - if yyr503 || yy2arr503 { + if yyr507 || yy2arr507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq507[0] { 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 yyr503 || yy2arr503 { + if yyr507 || yy2arr507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym511 := z.EncBinary() - _ = yym511 + yym515 := z.EncBinary() + _ = yym515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -6067,21 +6091,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym512 := z.EncBinary() - _ = yym512 + yym516 := z.EncBinary() + _ = yym516 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr503 || yy2arr503 { + if yyr507 || yy2arr507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq503[3] { + if yyq507[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym514 := z.EncBinary() - _ = yym514 + yym518 := z.EncBinary() + _ = yym518 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6091,15 +6115,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq503[3] { + if yyq507[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym515 := z.EncBinary() - _ = yym515 + yym519 := z.EncBinary() + _ = yym519 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6107,18 +6131,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr503 || yy2arr503 { + if yyr507 || yy2arr507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy517 := &x.RollbackTo - yy517.CodecEncodeSelf(e) + yy521 := &x.RollbackTo + yy521.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy518 := &x.RollbackTo - yy518.CodecEncodeSelf(e) + yy522 := &x.RollbackTo + yy522.CodecEncodeSelf(e) } - if yyr503 || yy2arr503 { + if yyr507 || yy2arr507 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6131,25 +6155,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym519 := z.DecBinary() - _ = yym519 + yym523 := z.DecBinary() + _ = yym523 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct520 := r.ContainerType() - if yyct520 == codecSelferValueTypeMap1234 { - yyl520 := r.ReadMapStart() - if yyl520 == 0 { + yyct524 := r.ContainerType() + if yyct524 == codecSelferValueTypeMap1234 { + yyl524 := r.ReadMapStart() + if yyl524 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl520, d) + x.codecDecodeSelfFromMap(yyl524, d) } - } else if yyct520 == codecSelferValueTypeArray1234 { - yyl520 := r.ReadArrayStart() - if yyl520 == 0 { + } else if yyct524 == codecSelferValueTypeArray1234 { + yyl524 := r.ReadArrayStart() + if yyl524 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl520, d) + x.codecDecodeSelfFromArray(yyl524, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6161,12 +6185,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys521Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys521Slc - var yyhl521 bool = l >= 0 - for yyj521 := 0; ; yyj521++ { - if yyhl521 { - if yyj521 >= l { + var yys525Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys525Slc + var yyhl525 bool = l >= 0 + for yyj525 := 0; ; yyj525++ { + if yyhl525 { + if yyj525 >= l { break } } else { @@ -6175,10 +6199,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys521Slc = r.DecodeBytes(yys521Slc, true, true) - yys521 := string(yys521Slc) + yys525Slc = r.DecodeBytes(yys525Slc, true, true) + yys525 := string(yys525Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys521 { + switch yys525 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6201,25 +6225,25 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv525 := &x.UpdatedAnnotations - yym526 := z.DecBinary() - _ = yym526 + yyv529 := &x.UpdatedAnnotations + yym530 := z.DecBinary() + _ = yym530 if false { } else { - z.F.DecMapStringStringX(yyv525, false, d) + z.F.DecMapStringStringX(yyv529, false, d) } } case "rollbackTo": if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv527 := &x.RollbackTo - yyv527.CodecDecodeSelf(d) + yyv531 := &x.RollbackTo + yyv531.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys521) - } // end switch yys521 - } // end for yyj521 + z.DecStructFieldNotFound(-1, yys525) + } // end switch yys525 + } // end for yyj525 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6227,16 +6251,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj528 int - var yyb528 bool - var yyhl528 bool = l >= 0 - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + var yyj532 int + var yyb532 bool + var yyhl532 bool = l >= 0 + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb528 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb528 { + if yyb532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6246,13 +6270,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb528 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb528 { + if yyb532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6262,13 +6286,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb528 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb528 { + if yyb532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6278,13 +6302,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb528 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb528 { + if yyb532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6292,21 +6316,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv532 := &x.UpdatedAnnotations - yym533 := z.DecBinary() - _ = yym533 + yyv536 := &x.UpdatedAnnotations + yym537 := z.DecBinary() + _ = yym537 if false { } else { - z.F.DecMapStringStringX(yyv532, false, d) + z.F.DecMapStringStringX(yyv536, false, d) } } - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb528 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb528 { + if yyb532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6314,21 +6338,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv534 := &x.RollbackTo - yyv534.CodecDecodeSelf(d) + yyv538 := &x.RollbackTo + yyv538.CodecDecodeSelf(d) } for { - yyj528++ - if yyhl528 { - yyb528 = yyj528 > l + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb528 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb528 { + if yyb532 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj528-1, "") + z.DecStructFieldNotFound(yyj532-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6340,35 +6364,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym535 := z.EncBinary() - _ = yym535 + yym539 := z.EncBinary() + _ = yym539 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(1) } else { - yynn536 = 0 - for _, b := range yyq536 { + yynn540 = 0 + for _, b := range yyq540 { if b { - yynn536++ + yynn540++ } } - r.EncodeMapStart(yynn536) - yynn536 = 0 + r.EncodeMapStart(yynn540) + yynn540 = 0 } - if yyr536 || yy2arr536 { + if yyr540 || yy2arr540 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq536[0] { - yym538 := z.EncBinary() - _ = yym538 + if yyq540[0] { + yym542 := z.EncBinary() + _ = yym542 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -6377,19 +6401,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq536[0] { + if yyq540[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym539 := z.EncBinary() - _ = yym539 + yym543 := z.EncBinary() + _ = yym543 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr536 || yy2arr536 { + if yyr540 || yy2arr540 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6402,25 +6426,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym540 := z.DecBinary() - _ = yym540 + yym544 := z.DecBinary() + _ = yym544 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct541 := r.ContainerType() - if yyct541 == codecSelferValueTypeMap1234 { - yyl541 := r.ReadMapStart() - if yyl541 == 0 { + yyct545 := r.ContainerType() + if yyct545 == codecSelferValueTypeMap1234 { + yyl545 := r.ReadMapStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl541, d) + x.codecDecodeSelfFromMap(yyl545, d) } - } else if yyct541 == codecSelferValueTypeArray1234 { - yyl541 := r.ReadArrayStart() - if yyl541 == 0 { + } else if yyct545 == codecSelferValueTypeArray1234 { + yyl545 := r.ReadArrayStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl541, d) + x.codecDecodeSelfFromArray(yyl545, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6432,12 +6456,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys542Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys542Slc - var yyhl542 bool = l >= 0 - for yyj542 := 0; ; yyj542++ { - if yyhl542 { - if yyj542 >= l { + var yys546Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys546Slc + var yyhl546 bool = l >= 0 + for yyj546 := 0; ; yyj546++ { + if yyhl546 { + if yyj546 >= l { break } } else { @@ -6446,10 +6470,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys542Slc = r.DecodeBytes(yys542Slc, true, true) - yys542 := string(yys542Slc) + yys546Slc = r.DecodeBytes(yys546Slc, true, true) + yys546 := string(yys546Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys542 { + switch yys546 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -6457,9 +6481,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys542) - } // end switch yys542 - } // end for yyj542 + z.DecStructFieldNotFound(-1, yys546) + } // end switch yys546 + } // end for yyj546 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6467,16 +6491,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj544 int - var yyb544 bool - var yyhl544 bool = l >= 0 - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + var yyj548 int + var yyb548 bool + var yyhl548 bool = l >= 0 + yyj548++ + if yyhl548 { + yyb548 = yyj548 > l } else { - yyb544 = r.CheckBreak() + yyb548 = r.CheckBreak() } - if yyb544 { + if yyb548 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6487,17 +6511,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + yyj548++ + if yyhl548 { + yyb548 = yyj548 > l } else { - yyb544 = r.CheckBreak() + yyb548 = r.CheckBreak() } - if yyb544 { + if yyb548 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj544-1, "") + z.DecStructFieldNotFound(yyj548-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6509,49 +6533,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym546 := z.EncBinary() - _ = yym546 + yym550 := z.EncBinary() + _ = yym550 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn547 = 0 - for _, b := range yyq547 { + yynn551 = 0 + for _, b := range yyq551 { if b { - yynn547++ + yynn551++ } } - r.EncodeMapStart(yynn547) - yynn547 = 0 + r.EncodeMapStart(yynn551) + yynn551 = 0 } - if yyr547 || yy2arr547 { + if yyr551 || yy2arr551 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq547[0] { + if yyq551[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq547[0] { + if yyq551[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr547 || yy2arr547 { + if yyr551 || yy2arr551 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq547[1] { + if yyq551[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -6561,7 +6585,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq547[1] { + if yyq551[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6572,7 +6596,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr547 || yy2arr547 { + if yyr551 || yy2arr551 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6585,25 +6609,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym550 := z.DecBinary() - _ = yym550 + yym554 := z.DecBinary() + _ = yym554 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct551 := r.ContainerType() - if yyct551 == codecSelferValueTypeMap1234 { - yyl551 := r.ReadMapStart() - if yyl551 == 0 { + yyct555 := r.ContainerType() + if yyct555 == codecSelferValueTypeMap1234 { + yyl555 := r.ReadMapStart() + if yyl555 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl551, d) + x.codecDecodeSelfFromMap(yyl555, d) } - } else if yyct551 == codecSelferValueTypeArray1234 { - yyl551 := r.ReadArrayStart() - if yyl551 == 0 { + } else if yyct555 == codecSelferValueTypeArray1234 { + yyl555 := r.ReadArrayStart() + if yyl555 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl551, d) + x.codecDecodeSelfFromArray(yyl555, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6615,12 +6639,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys552Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys552Slc - var yyhl552 bool = l >= 0 - for yyj552 := 0; ; yyj552++ { - if yyhl552 { - if yyj552 >= l { + var yys556Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys556Slc + var yyhl556 bool = l >= 0 + for yyj556 := 0; ; yyj556++ { + if yyhl556 { + if yyj556 >= l { break } } else { @@ -6629,10 +6653,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys552Slc = r.DecodeBytes(yys552Slc, true, true) - yys552 := string(yys552Slc) + yys556Slc = r.DecodeBytes(yys556Slc, true, true) + yys556 := string(yys556Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys552 { + switch yys556 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -6651,9 +6675,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys552) - } // end switch yys552 - } // end for yyj552 + z.DecStructFieldNotFound(-1, yys556) + } // end switch yys556 + } // end for yyj556 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6661,16 +6685,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj555 int - var yyb555 bool - var yyhl555 bool = l >= 0 - yyj555++ - if yyhl555 { - yyb555 = yyj555 > l + var yyj559 int + var yyb559 bool + var yyhl559 bool = l >= 0 + yyj559++ + if yyhl559 { + yyb559 = yyj559 > l } else { - yyb555 = r.CheckBreak() + yyb559 = r.CheckBreak() } - if yyb555 { + if yyb559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6680,13 +6704,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj555++ - if yyhl555 { - yyb555 = yyj555 > l + yyj559++ + if yyhl559 { + yyb559 = yyj559 > l } else { - yyb555 = r.CheckBreak() + yyb559 = r.CheckBreak() } - if yyb555 { + if yyb559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6702,17 +6726,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj555++ - if yyhl555 { - yyb555 = yyj555 > l + yyj559++ + if yyhl559 { + yyb559 = yyj559 > l } else { - yyb555 = r.CheckBreak() + yyb559 = r.CheckBreak() } - if yyb555 { + if yyb559 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj555-1, "") + z.DecStructFieldNotFound(yyj559-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6721,8 +6745,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym558 := z.EncBinary() - _ = yym558 + yym562 := z.EncBinary() + _ = yym562 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6734,8 +6758,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym559 := z.DecBinary() - _ = yym559 + yym563 := z.DecBinary() + _ = yym563 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6750,42 +6774,42 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym560 := z.EncBinary() - _ = yym560 + yym564 := z.EncBinary() + _ = yym564 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn561 = 0 - for _, b := range yyq561 { + yynn565 = 0 + for _, b := range yyq565 { if b { - yynn561++ + yynn565++ } } - r.EncodeMapStart(yynn561) - yynn561 = 0 + r.EncodeMapStart(yynn565) + yynn565 = 0 } - if yyr561 || yy2arr561 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq561[0] { + if yyq565[0] { if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym563 := z.EncBinary() - _ = yym563 + yym567 := z.EncBinary() + _ = yym567 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym563 && z.IsJSONHandle() { + } else if !yym567 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6795,18 +6819,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq561[0] { + if yyq565[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym564 := z.EncBinary() - _ = yym564 + yym568 := z.EncBinary() + _ = yym568 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym564 && z.IsJSONHandle() { + } else if !yym568 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6814,17 +6838,17 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr561 || yy2arr561 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq561[1] { + if yyq565[1] { if x.MaxSurge == nil { r.EncodeNil() } else { - yym566 := z.EncBinary() - _ = yym566 + yym570 := z.EncBinary() + _ = yym570 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym566 && z.IsJSONHandle() { + } else if !yym570 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6834,18 +6858,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq561[1] { + if yyq565[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxSurge == nil { r.EncodeNil() } else { - yym567 := z.EncBinary() - _ = yym567 + yym571 := z.EncBinary() + _ = yym571 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym567 && z.IsJSONHandle() { + } else if !yym571 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6853,7 +6877,7 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr561 || yy2arr561 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6866,25 +6890,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym568 := z.DecBinary() - _ = yym568 + yym572 := z.DecBinary() + _ = yym572 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct569 := r.ContainerType() - if yyct569 == codecSelferValueTypeMap1234 { - yyl569 := r.ReadMapStart() - if yyl569 == 0 { + yyct573 := r.ContainerType() + if yyct573 == codecSelferValueTypeMap1234 { + yyl573 := r.ReadMapStart() + if yyl573 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl569, d) + x.codecDecodeSelfFromMap(yyl573, d) } - } else if yyct569 == codecSelferValueTypeArray1234 { - yyl569 := r.ReadArrayStart() - if yyl569 == 0 { + } else if yyct573 == codecSelferValueTypeArray1234 { + yyl573 := r.ReadArrayStart() + if yyl573 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl569, d) + x.codecDecodeSelfFromArray(yyl573, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6896,12 +6920,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys570Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys570Slc - var yyhl570 bool = l >= 0 - for yyj570 := 0; ; yyj570++ { - if yyhl570 { - if yyj570 >= l { + var yys574Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys574Slc + var yyhl574 bool = l >= 0 + for yyj574 := 0; ; yyj574++ { + if yyhl574 { + if yyj574 >= l { break } } else { @@ -6910,10 +6934,10 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys570Slc = r.DecodeBytes(yys570Slc, true, true) - yys570 := string(yys570Slc) + yys574Slc = r.DecodeBytes(yys574Slc, true, true) + yys574 := string(yys574Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys570 { + switch yys574 { case "maxUnavailable": if r.TryDecodeAsNil() { if x.MaxUnavailable != nil { @@ -6923,11 +6947,11 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym572 := z.DecBinary() - _ = yym572 + yym576 := z.DecBinary() + _ = yym576 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym572 && z.IsJSONHandle() { + } else if !yym576 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) @@ -6942,20 +6966,20 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym574 := z.DecBinary() - _ = yym574 + yym578 := z.DecBinary() + _ = yym578 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym574 && z.IsJSONHandle() { + } else if !yym578 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } default: - z.DecStructFieldNotFound(-1, yys570) - } // end switch yys570 - } // end for yyj570 + z.DecStructFieldNotFound(-1, yys574) + } // end switch yys574 + } // end for yyj574 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6963,16 +6987,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj575 int - var yyb575 bool - var yyhl575 bool = l >= 0 - yyj575++ - if yyhl575 { - yyb575 = yyj575 > l + var yyj579 int + var yyb579 bool + var yyhl579 bool = l >= 0 + yyj579++ + if yyhl579 { + yyb579 = yyj579 > l } else { - yyb575 = r.CheckBreak() + yyb579 = r.CheckBreak() } - if yyb575 { + if yyb579 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6985,23 +7009,23 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym577 := z.DecBinary() - _ = yym577 + yym581 := z.DecBinary() + _ = yym581 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym577 && z.IsJSONHandle() { + } else if !yym581 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) } } - yyj575++ - if yyhl575 { - yyb575 = yyj575 > l + yyj579++ + if yyhl579 { + yyb579 = yyj579 > l } else { - yyb575 = r.CheckBreak() + yyb579 = r.CheckBreak() } - if yyb575 { + if yyb579 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7014,28 +7038,28 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym579 := z.DecBinary() - _ = yym579 + yym583 := z.DecBinary() + _ = yym583 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym579 && z.IsJSONHandle() { + } else if !yym583 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } for { - yyj575++ - if yyhl575 { - yyb575 = yyj575 > l + yyj579++ + if yyhl579 { + yyb579 = yyj579 > l } else { - yyb575 = r.CheckBreak() + yyb579 = r.CheckBreak() } - if yyb575 { + if yyb579 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj575-1, "") + z.DecStructFieldNotFound(yyj579-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7047,139 +7071,139 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym580 := z.EncBinary() - _ = yym580 + yym584 := z.EncBinary() + _ = yym584 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn581 = 0 - for _, b := range yyq581 { + yynn585 = 0 + for _, b := range yyq585 { if b { - yynn581++ + yynn585++ } } - r.EncodeMapStart(yynn581) - yynn581 = 0 + r.EncodeMapStart(yynn585) + yynn585 = 0 } - if yyr581 || yy2arr581 { + if yyr585 || yy2arr585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq585[0] { yym587 := z.EncBinary() _ = yym587 if false { } else { - 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)) + r.EncodeInt(int64(x.ObservedGeneration)) } } else { r.EncodeInt(0) } } else { - if yyq581[2] { + if yyq585[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) 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.UpdatedReplicas)) - } - } - } - if yyr581 || yy2arr581 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[3] { - yym592 := z.EncBinary() - _ = yym592 - if false { - } else { - r.EncodeInt(int64(x.AvailableReplicas)) + r.EncodeInt(int64(x.Replicas)) } } else { r.EncodeInt(0) } } else { - if yyq581[3] { + if yyq585[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) 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)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq585[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) + 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 yyr581 || yy2arr581 { + if yyr585 || yy2arr585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[4] { - yym595 := z.EncBinary() - _ = yym595 + if yyq585[4] { + yym599 := z.EncBinary() + _ = yym599 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) @@ -7188,19 +7212,19 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq581[4] { + if yyq585[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym596 := z.EncBinary() - _ = yym596 + yym600 := z.EncBinary() + _ = yym600 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr581 || yy2arr581 { + if yyr585 || yy2arr585 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7213,25 +7237,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym597 := z.DecBinary() - _ = yym597 + yym601 := z.DecBinary() + _ = yym601 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct598 := r.ContainerType() - if yyct598 == codecSelferValueTypeMap1234 { - yyl598 := r.ReadMapStart() - if yyl598 == 0 { + yyct602 := r.ContainerType() + if yyct602 == codecSelferValueTypeMap1234 { + yyl602 := r.ReadMapStart() + if yyl602 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl598, d) + x.codecDecodeSelfFromMap(yyl602, d) } - } else if yyct598 == codecSelferValueTypeArray1234 { - yyl598 := r.ReadArrayStart() - if yyl598 == 0 { + } else if yyct602 == codecSelferValueTypeArray1234 { + yyl602 := r.ReadArrayStart() + if yyl602 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl598, d) + x.codecDecodeSelfFromArray(yyl602, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7243,12 +7267,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys599Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys599Slc - var yyhl599 bool = l >= 0 - for yyj599 := 0; ; yyj599++ { - if yyhl599 { - if yyj599 >= l { + var yys603Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys603Slc + var yyhl603 bool = l >= 0 + for yyj603 := 0; ; yyj603++ { + if yyhl603 { + if yyj603 >= l { break } } else { @@ -7257,10 +7281,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys599Slc = r.DecodeBytes(yys599Slc, true, true) - yys599 := string(yys599Slc) + yys603Slc = r.DecodeBytes(yys603Slc, true, true) + yys603 := string(yys603Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys599 { + switch yys603 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -7292,9 +7316,9 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.UnavailableReplicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys599) - } // end switch yys599 - } // end for yyj599 + z.DecStructFieldNotFound(-1, yys603) + } // end switch yys603 + } // end for yyj603 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7302,16 +7326,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj605 int - var yyb605 bool - var yyhl605 bool = l >= 0 - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + var yyj609 int + var yyb609 bool + var yyhl609 bool = l >= 0 + yyj609++ + if yyhl609 { + yyb609 = yyj609 > l } else { - yyb605 = r.CheckBreak() + yyb609 = r.CheckBreak() } - if yyb605 { + if yyb609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7321,13 +7345,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj609++ + if yyhl609 { + yyb609 = yyj609 > l } else { - yyb605 = r.CheckBreak() + yyb609 = r.CheckBreak() } - if yyb605 { + if yyb609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7337,13 +7361,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj609++ + if yyhl609 { + yyb609 = yyj609 > l } else { - yyb605 = r.CheckBreak() + yyb609 = r.CheckBreak() } - if yyb605 { + if yyb609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7353,13 +7377,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj609++ + if yyhl609 { + yyb609 = yyj609 > l } else { - yyb605 = r.CheckBreak() + yyb609 = r.CheckBreak() } - if yyb605 { + if yyb609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7369,13 +7393,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj609++ + if yyhl609 { + yyb609 = yyj609 > l } else { - yyb605 = r.CheckBreak() + yyb609 = r.CheckBreak() } - if yyb605 { + if yyb609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7386,17 +7410,17 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.UnavailableReplicas = int32(r.DecodeInt(32)) } for { - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj609++ + if yyhl609 { + yyb609 = yyj609 > l } else { - yyb605 = r.CheckBreak() + yyb609 = r.CheckBreak() } - if yyb605 { + if yyb609 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj605-1, "") + z.DecStructFieldNotFound(yyj609-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7408,118 +7432,118 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym611 := z.EncBinary() - _ = yym611 + yym615 := z.EncBinary() + _ = yym615 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn612 = 1 - for _, b := range yyq612 { + yynn616 = 1 + for _, b := range yyq616 { if b { - yynn612++ + yynn616++ } } - r.EncodeMapStart(yynn612) - yynn612 = 0 + r.EncodeMapStart(yynn616) + yynn616 = 0 } - if yyr612 || yy2arr612 { + if yyr616 || yy2arr616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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) + if yyq616[0] { 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)) + } + } + } + if yyr616 || yy2arr616 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq616[1] { + yym621 := z.EncBinary() + _ = yym621 + if false { + } 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 yyr612 || yy2arr612 { + if yyr616 || yy2arr616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq612[2] { - yy620 := &x.ListMeta - yym621 := z.EncBinary() - _ = yym621 + if yyq616[2] { + yy624 := &x.ListMeta + yym625 := z.EncBinary() + _ = yym625 if false { - } else if z.HasExtensions() && z.EncExt(yy620) { + } else if z.HasExtensions() && z.EncExt(yy624) { } else { - z.EncFallback(yy620) + z.EncFallback(yy624) } } else { r.EncodeNil() } } else { - if yyq612[2] { + if yyq616[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy622 := &x.ListMeta - yym623 := z.EncBinary() - _ = yym623 + yy626 := &x.ListMeta + yym627 := z.EncBinary() + _ = yym627 if false { - } else if z.HasExtensions() && z.EncExt(yy622) { + } else if z.HasExtensions() && z.EncExt(yy626) { } else { - z.EncFallback(yy622) + z.EncFallback(yy626) } } } - if yyr612 || yy2arr612 { + if yyr616 || yy2arr616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym625 := z.EncBinary() - _ = yym625 + yym629 := z.EncBinary() + _ = yym629 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) @@ -7532,15 +7556,15 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym626 := z.EncBinary() - _ = yym626 + yym630 := z.EncBinary() + _ = yym630 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) } } } - if yyr612 || yy2arr612 { + if yyr616 || yy2arr616 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7553,25 +7577,25 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym627 := z.DecBinary() - _ = yym627 + yym631 := z.DecBinary() + _ = yym631 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct628 := r.ContainerType() - if yyct628 == codecSelferValueTypeMap1234 { - yyl628 := r.ReadMapStart() - if yyl628 == 0 { + yyct632 := r.ContainerType() + if yyct632 == codecSelferValueTypeMap1234 { + yyl632 := r.ReadMapStart() + if yyl632 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl628, d) + x.codecDecodeSelfFromMap(yyl632, d) } - } else if yyct628 == codecSelferValueTypeArray1234 { - yyl628 := r.ReadArrayStart() - if yyl628 == 0 { + } else if yyct632 == codecSelferValueTypeArray1234 { + yyl632 := r.ReadArrayStart() + if yyl632 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl628, d) + x.codecDecodeSelfFromArray(yyl632, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7583,12 +7607,12 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys629Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys629Slc - var yyhl629 bool = l >= 0 - for yyj629 := 0; ; yyj629++ { - if yyhl629 { - if yyj629 >= l { + var yys633Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys633Slc + var yyhl633 bool = l >= 0 + for yyj633 := 0; ; yyj633++ { + if yyhl633 { + if yyj633 >= l { break } } else { @@ -7597,10 +7621,10 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys629Slc = r.DecodeBytes(yys629Slc, true, true) - yys629 := string(yys629Slc) + yys633Slc = r.DecodeBytes(yys633Slc, true, true) + yys633 := string(yys633Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys629 { + switch yys633 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7617,31 +7641,31 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv632 := &x.ListMeta - yym633 := z.DecBinary() - _ = yym633 + yyv636 := &x.ListMeta + yym637 := z.DecBinary() + _ = yym637 if false { - } else if z.HasExtensions() && z.DecExt(yyv632) { + } else if z.HasExtensions() && z.DecExt(yyv636) { } else { - z.DecFallback(yyv632, false) + z.DecFallback(yyv636, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv634 := &x.Items - yym635 := z.DecBinary() - _ = yym635 + yyv638 := &x.Items + yym639 := z.DecBinary() + _ = yym639 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv634), d) + h.decSliceDeployment((*[]Deployment)(yyv638), d) } } default: - z.DecStructFieldNotFound(-1, yys629) - } // end switch yys629 - } // end for yyj629 + z.DecStructFieldNotFound(-1, yys633) + } // end switch yys633 + } // end for yyj633 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7649,16 +7673,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj636 int - var yyb636 bool - var yyhl636 bool = l >= 0 - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + var yyj640 int + var yyb640 bool + var yyhl640 bool = l >= 0 + yyj640++ + if yyhl640 { + yyb640 = yyj640 > l } else { - yyb636 = r.CheckBreak() + yyb640 = r.CheckBreak() } - if yyb636 { + if yyb640 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7668,13 +7692,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj640++ + if yyhl640 { + yyb640 = yyj640 > l } else { - yyb636 = r.CheckBreak() + yyb640 = r.CheckBreak() } - if yyb636 { + if yyb640 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7684,13 +7708,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj640++ + if yyhl640 { + yyb640 = yyj640 > l } else { - yyb636 = r.CheckBreak() + yyb640 = r.CheckBreak() } - if yyb636 { + if yyb640 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7698,22 +7722,22 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv639 := &x.ListMeta - yym640 := z.DecBinary() - _ = yym640 + yyv643 := &x.ListMeta + yym644 := z.DecBinary() + _ = yym644 if false { - } else if z.HasExtensions() && z.DecExt(yyv639) { + } else if z.HasExtensions() && z.DecExt(yyv643) { } else { - z.DecFallback(yyv639, false) + z.DecFallback(yyv643, false) } } - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj640++ + if yyhl640 { + yyb640 = yyj640 > l } else { - yyb636 = r.CheckBreak() + yyb640 = r.CheckBreak() } - if yyb636 { + if yyb640 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7721,26 +7745,26 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv641 := &x.Items - yym642 := z.DecBinary() - _ = yym642 + yyv645 := &x.Items + yym646 := z.DecBinary() + _ = yym646 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv641), d) + h.decSliceDeployment((*[]Deployment)(yyv645), d) } } for { - yyj636++ - if yyhl636 { - yyb636 = yyj636 > l + yyj640++ + if yyhl640 { + yyb640 = yyj640 > l } else { - yyb636 = r.CheckBreak() + yyb640 = r.CheckBreak() } - if yyb636 { + if yyb640 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj636-1, "") + z.DecStructFieldNotFound(yyj640-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7752,65 +7776,77 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym643 := z.EncBinary() - _ = yym643 + yym647 := z.EncBinary() + _ = yym647 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn644 = 1 - for _, b := range yyq644 { + yynn648 = 1 + for _, b := range yyq648 { if b { - yynn644++ + yynn648++ } } - r.EncodeMapStart(yynn644) - yynn644 = 0 + r.EncodeMapStart(yynn648) + yynn648 = 0 } - if yyr644 || yy2arr644 { + if yyr648 || yy2arr648 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[0] { + if yyq648[0] { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym650 := z.EncBinary() + _ = yym650 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() } } else { - if yyq644[0] { + if yyq648[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym651 := z.EncBinary() + _ = yym651 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } - if yyr644 || yy2arr644 { + if yyr648 || yy2arr648 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy647 := &x.Template - yy647.CodecEncodeSelf(e) + yy653 := &x.Template + yy653.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy648 := &x.Template - yy648.CodecEncodeSelf(e) + yy654 := &x.Template + yy654.CodecEncodeSelf(e) } - if yyr644 || yy2arr644 { + if yyr648 || yy2arr648 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7823,25 +7859,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym649 := z.DecBinary() - _ = yym649 + yym655 := z.DecBinary() + _ = yym655 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct650 := r.ContainerType() - if yyct650 == codecSelferValueTypeMap1234 { - yyl650 := r.ReadMapStart() - if yyl650 == 0 { + yyct656 := r.ContainerType() + if yyct656 == codecSelferValueTypeMap1234 { + yyl656 := r.ReadMapStart() + if yyl656 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl650, d) + x.codecDecodeSelfFromMap(yyl656, d) } - } else if yyct650 == codecSelferValueTypeArray1234 { - yyl650 := r.ReadArrayStart() - if yyl650 == 0 { + } else if yyct656 == codecSelferValueTypeArray1234 { + yyl656 := r.ReadArrayStart() + if yyl656 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl650, d) + x.codecDecodeSelfFromArray(yyl656, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7853,12 +7889,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys651Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys651Slc - var yyhl651 bool = l >= 0 - for yyj651 := 0; ; yyj651++ { - if yyhl651 { - if yyj651 >= l { + var yys657Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys657Slc + var yyhl657 bool = l >= 0 + for yyj657 := 0; ; yyj657++ { + if yyhl657 { + if yyj657 >= l { break } } else { @@ -7867,10 +7903,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys651Slc = r.DecodeBytes(yys651Slc, true, true) - yys651 := string(yys651Slc) + yys657Slc = r.DecodeBytes(yys657Slc, true, true) + yys657 := string(yys657Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys651 { + switch yys657 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -7878,21 +7914,27 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv653 := &x.Template - yyv653.CodecDecodeSelf(d) + yyv660 := &x.Template + yyv660.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys651) - } // end switch yys651 - } // end for yyj651 + z.DecStructFieldNotFound(-1, yys657) + } // end switch yys657 + } // end for yyj657 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7900,16 +7942,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj654 int - var yyb654 bool - var yyhl654 bool = l >= 0 - yyj654++ - if yyhl654 { - yyb654 = yyj654 > l + var yyj661 int + var yyb661 bool + var yyhl661 bool = l >= 0 + yyj661++ + if yyhl661 { + yyb661 = yyj661 > l } else { - yyb654 = r.CheckBreak() + yyb661 = r.CheckBreak() } - if yyb654 { + if yyb661 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7920,17 +7962,23 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } - yyj654++ - if yyhl654 { - yyb654 = yyj654 > l + yyj661++ + if yyhl661 { + yyb661 = yyj661 > l } else { - yyb654 = r.CheckBreak() + yyb661 = r.CheckBreak() } - if yyb654 { + if yyb661 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7938,21 +7986,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv656 := &x.Template - yyv656.CodecDecodeSelf(d) + yyv664 := &x.Template + yyv664.CodecDecodeSelf(d) } for { - yyj654++ - if yyhl654 { - yyb654 = yyj654 > l + yyj661++ + if yyhl661 { + yyb661 = yyj661 > l } else { - yyb654 = r.CheckBreak() + yyb661 = r.CheckBreak() } - if yyb654 { + if yyb661 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj654-1, "") + z.DecStructFieldNotFound(yyj661-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7964,33 +8012,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym657 := z.EncBinary() - _ = yym657 + yym665 := z.EncBinary() + _ = yym665 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep658 := !z.EncBinary() - yy2arr658 := z.EncBasicHandle().StructToArray - var yyq658 [4]bool - _, _, _ = yysep658, yyq658, yy2arr658 - const yyr658 bool = false - var yynn658 int - if yyr658 || yy2arr658 { + yysep666 := !z.EncBinary() + yy2arr666 := z.EncBasicHandle().StructToArray + var yyq666 [4]bool + _, _, _ = yysep666, yyq666, yy2arr666 + const yyr666 bool = false + var yynn666 int + if yyr666 || yy2arr666 { r.EncodeArrayStart(4) } else { - yynn658 = 4 - for _, b := range yyq658 { + yynn666 = 4 + for _, b := range yyq666 { if b { - yynn658++ + yynn666++ } } - r.EncodeMapStart(yynn658) - yynn658 = 0 + r.EncodeMapStart(yynn666) + yynn666 = 0 } - if yyr658 || yy2arr658 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym660 := z.EncBinary() - _ = yym660 + yym668 := z.EncBinary() + _ = yym668 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -7999,17 +8047,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym661 := z.EncBinary() - _ = yym661 + yym669 := z.EncBinary() + _ = yym669 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr658 || yy2arr658 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym663 := z.EncBinary() - _ = yym663 + yym671 := z.EncBinary() + _ = yym671 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -8018,17 +8066,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym664 := z.EncBinary() - _ = yym664 + yym672 := z.EncBinary() + _ = yym672 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr658 || yy2arr658 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym666 := z.EncBinary() - _ = yym666 + yym674 := z.EncBinary() + _ = yym674 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -8037,17 +8085,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym667 := z.EncBinary() - _ = yym667 + yym675 := z.EncBinary() + _ = yym675 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr658 || yy2arr658 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym669 := z.EncBinary() - _ = yym669 + yym677 := z.EncBinary() + _ = yym677 if false { } else { r.EncodeInt(int64(x.NumberReady)) @@ -8056,14 +8104,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberReady")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym670 := z.EncBinary() - _ = yym670 + yym678 := z.EncBinary() + _ = yym678 if false { } else { r.EncodeInt(int64(x.NumberReady)) } } - if yyr658 || yy2arr658 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8076,25 +8124,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym671 := z.DecBinary() - _ = yym671 + yym679 := z.DecBinary() + _ = yym679 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct672 := r.ContainerType() - if yyct672 == codecSelferValueTypeMap1234 { - yyl672 := r.ReadMapStart() - if yyl672 == 0 { + yyct680 := r.ContainerType() + if yyct680 == codecSelferValueTypeMap1234 { + yyl680 := r.ReadMapStart() + if yyl680 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl672, d) + x.codecDecodeSelfFromMap(yyl680, d) } - } else if yyct672 == codecSelferValueTypeArray1234 { - yyl672 := r.ReadArrayStart() - if yyl672 == 0 { + } else if yyct680 == codecSelferValueTypeArray1234 { + yyl680 := r.ReadArrayStart() + if yyl680 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl672, d) + x.codecDecodeSelfFromArray(yyl680, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8106,12 +8154,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys673Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys673Slc - var yyhl673 bool = l >= 0 - for yyj673 := 0; ; yyj673++ { - if yyhl673 { - if yyj673 >= l { + var yys681Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys681Slc + var yyhl681 bool = l >= 0 + for yyj681 := 0; ; yyj681++ { + if yyhl681 { + if yyj681 >= l { break } } else { @@ -8120,10 +8168,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys673Slc = r.DecodeBytes(yys673Slc, true, true) - yys673 := string(yys673Slc) + yys681Slc = r.DecodeBytes(yys681Slc, true, true) + yys681 := string(yys681Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys673 { + switch yys681 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -8149,9 +8197,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NumberReady = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys673) - } // end switch yys673 - } // end for yyj673 + z.DecStructFieldNotFound(-1, yys681) + } // end switch yys681 + } // end for yyj681 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8159,16 +8207,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj678 int - var yyb678 bool - var yyhl678 bool = l >= 0 - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + var yyj686 int + var yyb686 bool + var yyhl686 bool = l >= 0 + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb678 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb678 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8178,13 +8226,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb678 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb678 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8194,13 +8242,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb678 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb678 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8210,13 +8258,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb678 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb678 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8227,17 +8275,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.NumberReady = int32(r.DecodeInt(32)) } for { - yyj678++ - if yyhl678 { - yyb678 = yyj678 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb678 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb678 { + if yyb686 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj678-1, "") + z.DecStructFieldNotFound(yyj686-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8249,39 +8297,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym683 := z.EncBinary() - _ = yym683 + yym691 := z.EncBinary() + _ = yym691 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn684 = 0 - for _, b := range yyq684 { + yynn692 = 0 + for _, b := range yyq692 { if b { - yynn684++ + yynn692++ } } - r.EncodeMapStart(yynn684) - yynn684 = 0 + r.EncodeMapStart(yynn692) + yynn692 = 0 } - if yyr684 || yy2arr684 { + if yyr692 || yy2arr692 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[0] { - yym686 := z.EncBinary() - _ = yym686 + if yyq692[0] { + yym694 := z.EncBinary() + _ = yym694 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8290,23 +8338,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq684[0] { + if yyq692[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym687 := z.EncBinary() - _ = yym687 + yym695 := z.EncBinary() + _ = yym695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr684 || yy2arr684 { + if yyr692 || yy2arr692 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[1] { - yym689 := z.EncBinary() - _ = yym689 + if yyq692[1] { + yym697 := z.EncBinary() + _ = yym697 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8315,70 +8363,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq684[1] { + if yyq692[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym690 := z.EncBinary() - _ = yym690 + yym698 := z.EncBinary() + _ = yym698 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr684 || yy2arr684 { + if yyr692 || yy2arr692 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[2] { - yy692 := &x.ObjectMeta - yy692.CodecEncodeSelf(e) + if yyq692[2] { + yy700 := &x.ObjectMeta + yy700.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq684[2] { + if yyq692[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy693 := &x.ObjectMeta - yy693.CodecEncodeSelf(e) + yy701 := &x.ObjectMeta + yy701.CodecEncodeSelf(e) } } - if yyr684 || yy2arr684 { + if yyr692 || yy2arr692 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[3] { - yy695 := &x.Spec - yy695.CodecEncodeSelf(e) + if yyq692[3] { + yy703 := &x.Spec + yy703.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq684[3] { + if yyq692[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy696 := &x.Spec - yy696.CodecEncodeSelf(e) + yy704 := &x.Spec + yy704.CodecEncodeSelf(e) } } - if yyr684 || yy2arr684 { + if yyr692 || yy2arr692 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq684[4] { - yy698 := &x.Status - yy698.CodecEncodeSelf(e) + if yyq692[4] { + yy706 := &x.Status + yy706.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq684[4] { + if yyq692[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy699 := &x.Status - yy699.CodecEncodeSelf(e) + yy707 := &x.Status + yy707.CodecEncodeSelf(e) } } - if yyr684 || yy2arr684 { + if yyr692 || yy2arr692 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8391,25 +8439,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym700 := z.DecBinary() - _ = yym700 + yym708 := z.DecBinary() + _ = yym708 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct701 := r.ContainerType() - if yyct701 == codecSelferValueTypeMap1234 { - yyl701 := r.ReadMapStart() - if yyl701 == 0 { + yyct709 := r.ContainerType() + if yyct709 == codecSelferValueTypeMap1234 { + yyl709 := r.ReadMapStart() + if yyl709 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl701, d) + x.codecDecodeSelfFromMap(yyl709, d) } - } else if yyct701 == codecSelferValueTypeArray1234 { - yyl701 := r.ReadArrayStart() - if yyl701 == 0 { + } else if yyct709 == codecSelferValueTypeArray1234 { + yyl709 := r.ReadArrayStart() + if yyl709 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl701, d) + x.codecDecodeSelfFromArray(yyl709, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8421,12 +8469,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys702Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys702Slc - var yyhl702 bool = l >= 0 - for yyj702 := 0; ; yyj702++ { - if yyhl702 { - if yyj702 >= l { + var yys710Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys710Slc + var yyhl710 bool = l >= 0 + for yyj710 := 0; ; yyj710++ { + if yyhl710 { + if yyj710 >= l { break } } else { @@ -8435,10 +8483,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys702Slc = r.DecodeBytes(yys702Slc, true, true) - yys702 := string(yys702Slc) + yys710Slc = r.DecodeBytes(yys710Slc, true, true) + yys710 := string(yys710Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys702 { + switch yys710 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8455,27 +8503,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv705 := &x.ObjectMeta - yyv705.CodecDecodeSelf(d) + yyv713 := &x.ObjectMeta + yyv713.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv706 := &x.Spec - yyv706.CodecDecodeSelf(d) + yyv714 := &x.Spec + yyv714.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv707 := &x.Status - yyv707.CodecDecodeSelf(d) + yyv715 := &x.Status + yyv715.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys702) - } // end switch yys702 - } // end for yyj702 + z.DecStructFieldNotFound(-1, yys710) + } // end switch yys710 + } // end for yyj710 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8483,16 +8531,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj708 int - var yyb708 bool - var yyhl708 bool = l >= 0 - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + var yyj716 int + var yyb716 bool + var yyhl716 bool = l >= 0 + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb708 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb708 { + if yyb716 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8502,13 +8550,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb708 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb708 { + if yyb716 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8518,13 +8566,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb708 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb708 { + if yyb716 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8532,16 +8580,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv711 := &x.ObjectMeta - yyv711.CodecDecodeSelf(d) + yyv719 := &x.ObjectMeta + yyv719.CodecDecodeSelf(d) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb708 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb708 { + if yyb716 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8549,16 +8597,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv712 := &x.Spec - yyv712.CodecDecodeSelf(d) + yyv720 := &x.Spec + yyv720.CodecDecodeSelf(d) } - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb708 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb708 { + if yyb716 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8566,21 +8614,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv713 := &x.Status - yyv713.CodecDecodeSelf(d) + yyv721 := &x.Status + yyv721.CodecDecodeSelf(d) } for { - yyj708++ - if yyhl708 { - yyb708 = yyj708 > l + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb708 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb708 { + if yyb716 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj708-1, "") + z.DecStructFieldNotFound(yyj716-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8592,37 +8640,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym714 := z.EncBinary() - _ = yym714 + yym722 := z.EncBinary() + _ = yym722 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn715 = 1 - for _, b := range yyq715 { + yynn723 = 1 + for _, b := range yyq723 { if b { - yynn715++ + yynn723++ } } - r.EncodeMapStart(yynn715) - yynn715 = 0 + r.EncodeMapStart(yynn723) + yynn723 = 0 } - if yyr715 || yy2arr715 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq715[0] { - yym717 := z.EncBinary() - _ = yym717 + if yyq723[0] { + yym725 := z.EncBinary() + _ = yym725 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8631,23 +8679,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq715[0] { + if yyq723[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym718 := z.EncBinary() - _ = yym718 + yym726 := z.EncBinary() + _ = yym726 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr715 || yy2arr715 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq715[1] { - yym720 := z.EncBinary() - _ = yym720 + if yyq723[1] { + yym728 := z.EncBinary() + _ = yym728 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8656,54 +8704,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq715[1] { + if yyq723[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym721 := z.EncBinary() - _ = yym721 + yym729 := z.EncBinary() + _ = yym729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr715 || yy2arr715 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq715[2] { - yy723 := &x.ListMeta - yym724 := z.EncBinary() - _ = yym724 + if yyq723[2] { + yy731 := &x.ListMeta + yym732 := z.EncBinary() + _ = yym732 if false { - } else if z.HasExtensions() && z.EncExt(yy723) { + } else if z.HasExtensions() && z.EncExt(yy731) { } else { - z.EncFallback(yy723) + z.EncFallback(yy731) } } else { r.EncodeNil() } } else { - if yyq715[2] { + if yyq723[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy725 := &x.ListMeta - yym726 := z.EncBinary() - _ = yym726 + yy733 := &x.ListMeta + yym734 := z.EncBinary() + _ = yym734 if false { - } else if z.HasExtensions() && z.EncExt(yy725) { + } else if z.HasExtensions() && z.EncExt(yy733) { } else { - z.EncFallback(yy725) + z.EncFallback(yy733) } } } - if yyr715 || yy2arr715 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym728 := z.EncBinary() - _ = yym728 + yym736 := z.EncBinary() + _ = yym736 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -8716,15 +8764,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym729 := z.EncBinary() - _ = yym729 + yym737 := z.EncBinary() + _ = yym737 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr715 || yy2arr715 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8737,25 +8785,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym730 := z.DecBinary() - _ = yym730 + yym738 := z.DecBinary() + _ = yym738 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct731 := r.ContainerType() - if yyct731 == codecSelferValueTypeMap1234 { - yyl731 := r.ReadMapStart() - if yyl731 == 0 { + yyct739 := r.ContainerType() + if yyct739 == codecSelferValueTypeMap1234 { + yyl739 := r.ReadMapStart() + if yyl739 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl731, d) + x.codecDecodeSelfFromMap(yyl739, d) } - } else if yyct731 == codecSelferValueTypeArray1234 { - yyl731 := r.ReadArrayStart() - if yyl731 == 0 { + } else if yyct739 == codecSelferValueTypeArray1234 { + yyl739 := r.ReadArrayStart() + if yyl739 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl731, d) + x.codecDecodeSelfFromArray(yyl739, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8767,12 +8815,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys732Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys732Slc - var yyhl732 bool = l >= 0 - for yyj732 := 0; ; yyj732++ { - if yyhl732 { - if yyj732 >= l { + var yys740Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys740Slc + var yyhl740 bool = l >= 0 + for yyj740 := 0; ; yyj740++ { + if yyhl740 { + if yyj740 >= l { break } } else { @@ -8781,10 +8829,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys732Slc = r.DecodeBytes(yys732Slc, true, true) - yys732 := string(yys732Slc) + yys740Slc = r.DecodeBytes(yys740Slc, true, true) + yys740 := string(yys740Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys732 { + switch yys740 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8801,31 +8849,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv735 := &x.ListMeta - yym736 := z.DecBinary() - _ = yym736 + yyv743 := &x.ListMeta + yym744 := z.DecBinary() + _ = yym744 if false { - } else if z.HasExtensions() && z.DecExt(yyv735) { + } else if z.HasExtensions() && z.DecExt(yyv743) { } else { - z.DecFallback(yyv735, false) + z.DecFallback(yyv743, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv737 := &x.Items - yym738 := z.DecBinary() - _ = yym738 + yyv745 := &x.Items + yym746 := z.DecBinary() + _ = yym746 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv737), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv745), d) } } default: - z.DecStructFieldNotFound(-1, yys732) - } // end switch yys732 - } // end for yyj732 + z.DecStructFieldNotFound(-1, yys740) + } // end switch yys740 + } // end for yyj740 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8833,16 +8881,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj739 int - var yyb739 bool - var yyhl739 bool = l >= 0 - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + var yyj747 int + var yyb747 bool + var yyhl747 bool = l >= 0 + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb739 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb739 { + if yyb747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8852,13 +8900,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb739 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb739 { + if yyb747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8868,13 +8916,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb739 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb739 { + if yyb747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8882,22 +8930,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv742 := &x.ListMeta - yym743 := z.DecBinary() - _ = yym743 + yyv750 := &x.ListMeta + yym751 := z.DecBinary() + _ = yym751 if false { - } else if z.HasExtensions() && z.DecExt(yyv742) { + } else if z.HasExtensions() && z.DecExt(yyv750) { } else { - z.DecFallback(yyv742, false) + z.DecFallback(yyv750, false) } } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb739 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb739 { + if yyb747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8905,26 +8953,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv744 := &x.Items - yym745 := z.DecBinary() - _ = yym745 + yyv752 := &x.Items + yym753 := z.DecBinary() + _ = yym753 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv744), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv752), d) } } for { - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb739 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb739 { + if yyb747 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj739-1, "") + z.DecStructFieldNotFound(yyj747-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8936,37 +8984,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym746 := z.EncBinary() - _ = yym746 + yym754 := z.EncBinary() + _ = yym754 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn747 = 1 - for _, b := range yyq747 { + yynn755 = 1 + for _, b := range yyq755 { if b { - yynn747++ + yynn755++ } } - r.EncodeMapStart(yynn747) - yynn747 = 0 + r.EncodeMapStart(yynn755) + yynn755 = 0 } - if yyr747 || yy2arr747 { + if yyr755 || yy2arr755 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq747[0] { - yym749 := z.EncBinary() - _ = yym749 + if yyq755[0] { + yym757 := z.EncBinary() + _ = yym757 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8975,23 +9023,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq747[0] { + if yyq755[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym750 := z.EncBinary() - _ = yym750 + yym758 := z.EncBinary() + _ = yym758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr747 || yy2arr747 { + if yyr755 || yy2arr755 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq747[1] { - yym752 := z.EncBinary() - _ = yym752 + if yyq755[1] { + yym760 := z.EncBinary() + _ = yym760 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9000,54 +9048,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq747[1] { + if yyq755[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym753 := z.EncBinary() - _ = yym753 + yym761 := z.EncBinary() + _ = yym761 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr747 || yy2arr747 { + if yyr755 || yy2arr755 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq747[2] { - yy755 := &x.ListMeta - yym756 := z.EncBinary() - _ = yym756 + if yyq755[2] { + yy763 := &x.ListMeta + yym764 := z.EncBinary() + _ = yym764 if false { - } else if z.HasExtensions() && z.EncExt(yy755) { + } else if z.HasExtensions() && z.EncExt(yy763) { } else { - z.EncFallback(yy755) + z.EncFallback(yy763) } } else { r.EncodeNil() } } else { - if yyq747[2] { + if yyq755[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy757 := &x.ListMeta - yym758 := z.EncBinary() - _ = yym758 + yy765 := &x.ListMeta + yym766 := z.EncBinary() + _ = yym766 if false { - } else if z.HasExtensions() && z.EncExt(yy757) { + } else if z.HasExtensions() && z.EncExt(yy765) { } else { - z.EncFallback(yy757) + z.EncFallback(yy765) } } } - if yyr747 || yy2arr747 { + if yyr755 || yy2arr755 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym760 := z.EncBinary() - _ = yym760 + yym768 := z.EncBinary() + _ = yym768 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -9060,15 +9108,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym761 := z.EncBinary() - _ = yym761 + yym769 := z.EncBinary() + _ = yym769 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr747 || yy2arr747 { + if yyr755 || yy2arr755 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9081,25 +9129,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym762 := z.DecBinary() - _ = yym762 + yym770 := z.DecBinary() + _ = yym770 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct763 := r.ContainerType() - if yyct763 == codecSelferValueTypeMap1234 { - yyl763 := r.ReadMapStart() - if yyl763 == 0 { + yyct771 := r.ContainerType() + if yyct771 == codecSelferValueTypeMap1234 { + yyl771 := r.ReadMapStart() + if yyl771 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl763, d) + x.codecDecodeSelfFromMap(yyl771, d) } - } else if yyct763 == codecSelferValueTypeArray1234 { - yyl763 := r.ReadArrayStart() - if yyl763 == 0 { + } else if yyct771 == codecSelferValueTypeArray1234 { + yyl771 := r.ReadArrayStart() + if yyl771 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl763, d) + x.codecDecodeSelfFromArray(yyl771, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9111,12 +9159,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys764Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys764Slc - var yyhl764 bool = l >= 0 - for yyj764 := 0; ; yyj764++ { - if yyhl764 { - if yyj764 >= l { + var yys772Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys772Slc + var yyhl772 bool = l >= 0 + for yyj772 := 0; ; yyj772++ { + if yyhl772 { + if yyj772 >= l { break } } else { @@ -9125,10 +9173,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys764Slc = r.DecodeBytes(yys764Slc, true, true) - yys764 := string(yys764Slc) + yys772Slc = r.DecodeBytes(yys772Slc, true, true) + yys772 := string(yys772Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys764 { + switch yys772 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9145,31 +9193,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv767 := &x.ListMeta - yym768 := z.DecBinary() - _ = yym768 + yyv775 := &x.ListMeta + yym776 := z.DecBinary() + _ = yym776 if false { - } else if z.HasExtensions() && z.DecExt(yyv767) { + } else if z.HasExtensions() && z.DecExt(yyv775) { } else { - z.DecFallback(yyv767, false) + z.DecFallback(yyv775, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv769 := &x.Items - yym770 := z.DecBinary() - _ = yym770 + yyv777 := &x.Items + yym778 := z.DecBinary() + _ = yym778 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv769), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv777), d) } } default: - z.DecStructFieldNotFound(-1, yys764) - } // end switch yys764 - } // end for yyj764 + z.DecStructFieldNotFound(-1, yys772) + } // end switch yys772 + } // end for yyj772 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9177,16 +9225,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj771 int - var yyb771 bool - var yyhl771 bool = l >= 0 - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + var yyj779 int + var yyb779 bool + var yyhl779 bool = l >= 0 + yyj779++ + if yyhl779 { + yyb779 = yyj779 > l } else { - yyb771 = r.CheckBreak() + yyb779 = r.CheckBreak() } - if yyb771 { + if yyb779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9196,13 +9244,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj779++ + if yyhl779 { + yyb779 = yyj779 > l } else { - yyb771 = r.CheckBreak() + yyb779 = r.CheckBreak() } - if yyb771 { + if yyb779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9212,13 +9260,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj779++ + if yyhl779 { + yyb779 = yyj779 > l } else { - yyb771 = r.CheckBreak() + yyb779 = r.CheckBreak() } - if yyb771 { + if yyb779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9226,22 +9274,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv774 := &x.ListMeta - yym775 := z.DecBinary() - _ = yym775 + yyv782 := &x.ListMeta + yym783 := z.DecBinary() + _ = yym783 if false { - } else if z.HasExtensions() && z.DecExt(yyv774) { + } else if z.HasExtensions() && z.DecExt(yyv782) { } else { - z.DecFallback(yyv774, false) + z.DecFallback(yyv782, false) } } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj779++ + if yyhl779 { + yyb779 = yyj779 > l } else { - yyb771 = r.CheckBreak() + yyb779 = r.CheckBreak() } - if yyb771 { + if yyb779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9249,26 +9297,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv776 := &x.Items - yym777 := z.DecBinary() - _ = yym777 + yyv784 := &x.Items + yym785 := z.DecBinary() + _ = yym785 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv776), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv784), d) } } for { - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj779++ + if yyhl779 { + yyb779 = yyj779 > l } else { - yyb771 = r.CheckBreak() + yyb779 = r.CheckBreak() } - if yyb771 { + if yyb779 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj771-1, "") + z.DecStructFieldNotFound(yyj779-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9280,39 +9328,39 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym778 := z.EncBinary() - _ = yym778 + yym786 := z.EncBinary() + _ = yym786 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn779 = 0 - for _, b := range yyq779 { + yynn787 = 0 + for _, b := range yyq787 { if b { - yynn779++ + yynn787++ } } - r.EncodeMapStart(yynn779) - yynn779 = 0 + r.EncodeMapStart(yynn787) + yynn787 = 0 } - if yyr779 || yy2arr779 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[0] { - yym781 := z.EncBinary() - _ = yym781 + if yyq787[0] { + yym789 := z.EncBinary() + _ = yym789 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9321,23 +9369,23 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq779[0] { + if yyq787[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym782 := z.EncBinary() - _ = yym782 + yym790 := z.EncBinary() + _ = yym790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr779 || yy2arr779 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[1] { - yym784 := z.EncBinary() - _ = yym784 + if yyq787[1] { + yym792 := z.EncBinary() + _ = yym792 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9346,70 +9394,70 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq779[1] { + if yyq787[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym785 := z.EncBinary() - _ = yym785 + yym793 := z.EncBinary() + _ = yym793 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr779 || yy2arr779 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[2] { - yy787 := &x.ObjectMeta - yy787.CodecEncodeSelf(e) + if yyq787[2] { + yy795 := &x.ObjectMeta + yy795.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq779[2] { + if yyq787[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy788 := &x.ObjectMeta - yy788.CodecEncodeSelf(e) + yy796 := &x.ObjectMeta + yy796.CodecEncodeSelf(e) } } - if yyr779 || yy2arr779 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[3] { - yy790 := &x.Spec - yy790.CodecEncodeSelf(e) + if yyq787[3] { + yy798 := &x.Spec + yy798.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq779[3] { + if yyq787[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy791 := &x.Spec - yy791.CodecEncodeSelf(e) + yy799 := &x.Spec + yy799.CodecEncodeSelf(e) } } - if yyr779 || yy2arr779 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq779[4] { - yy793 := &x.Status - yy793.CodecEncodeSelf(e) + if yyq787[4] { + yy801 := &x.Status + yy801.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq779[4] { + if yyq787[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy794 := &x.Status - yy794.CodecEncodeSelf(e) + yy802 := &x.Status + yy802.CodecEncodeSelf(e) } } - if yyr779 || yy2arr779 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9422,25 +9470,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym795 := z.DecBinary() - _ = yym795 + yym803 := z.DecBinary() + _ = yym803 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct796 := r.ContainerType() - if yyct796 == codecSelferValueTypeMap1234 { - yyl796 := r.ReadMapStart() - if yyl796 == 0 { + yyct804 := r.ContainerType() + if yyct804 == codecSelferValueTypeMap1234 { + yyl804 := r.ReadMapStart() + if yyl804 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl796, d) + x.codecDecodeSelfFromMap(yyl804, d) } - } else if yyct796 == codecSelferValueTypeArray1234 { - yyl796 := r.ReadArrayStart() - if yyl796 == 0 { + } else if yyct804 == codecSelferValueTypeArray1234 { + yyl804 := r.ReadArrayStart() + if yyl804 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl796, d) + x.codecDecodeSelfFromArray(yyl804, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9452,12 +9500,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys797Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys797Slc - var yyhl797 bool = l >= 0 - for yyj797 := 0; ; yyj797++ { - if yyhl797 { - if yyj797 >= l { + var yys805Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys805Slc + var yyhl805 bool = l >= 0 + for yyj805 := 0; ; yyj805++ { + if yyhl805 { + if yyj805 >= l { break } } else { @@ -9466,10 +9514,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys797Slc = r.DecodeBytes(yys797Slc, true, true) - yys797 := string(yys797Slc) + yys805Slc = r.DecodeBytes(yys805Slc, true, true) + yys805 := string(yys805Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys797 { + switch yys805 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9486,27 +9534,27 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv800 := &x.ObjectMeta - yyv800.CodecDecodeSelf(d) + yyv808 := &x.ObjectMeta + yyv808.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv801 := &x.Spec - yyv801.CodecDecodeSelf(d) + yyv809 := &x.Spec + yyv809.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv802 := &x.Status - yyv802.CodecDecodeSelf(d) + yyv810 := &x.Status + yyv810.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys797) - } // end switch yys797 - } // end for yyj797 + z.DecStructFieldNotFound(-1, yys805) + } // end switch yys805 + } // end for yyj805 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9514,16 +9562,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj803 int - var yyb803 bool - var yyhl803 bool = l >= 0 - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + var yyj811 int + var yyb811 bool + var yyhl811 bool = l >= 0 + yyj811++ + if yyhl811 { + yyb811 = yyj811 > l } else { - yyb803 = r.CheckBreak() + yyb811 = r.CheckBreak() } - if yyb803 { + if yyb811 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9533,13 +9581,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj811++ + if yyhl811 { + yyb811 = yyj811 > l } else { - yyb803 = r.CheckBreak() + yyb811 = r.CheckBreak() } - if yyb803 { + if yyb811 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9549,13 +9597,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj811++ + if yyhl811 { + yyb811 = yyj811 > l } else { - yyb803 = r.CheckBreak() + yyb811 = r.CheckBreak() } - if yyb803 { + if yyb811 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9563,16 +9611,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv806 := &x.ObjectMeta - yyv806.CodecDecodeSelf(d) + yyv814 := &x.ObjectMeta + yyv814.CodecDecodeSelf(d) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj811++ + if yyhl811 { + yyb811 = yyj811 > l } else { - yyb803 = r.CheckBreak() + yyb811 = r.CheckBreak() } - if yyb803 { + if yyb811 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9580,16 +9628,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv807 := &x.Spec - yyv807.CodecDecodeSelf(d) + yyv815 := &x.Spec + yyv815.CodecDecodeSelf(d) } - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj811++ + if yyhl811 { + yyb811 = yyj811 > l } else { - yyb803 = r.CheckBreak() + yyb811 = r.CheckBreak() } - if yyb803 { + if yyb811 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9597,21 +9645,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv808 := &x.Status - yyv808.CodecDecodeSelf(d) + yyv816 := &x.Status + yyv816.CodecDecodeSelf(d) } for { - yyj803++ - if yyhl803 { - yyb803 = yyj803 > l + yyj811++ + if yyhl811 { + yyb811 = yyj811 > l } else { - yyb803 = r.CheckBreak() + yyb811 = r.CheckBreak() } - if yyb803 { + if yyb811 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj803-1, "") + z.DecStructFieldNotFound(yyj811-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9623,37 +9671,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym809 := z.EncBinary() - _ = yym809 + yym817 := z.EncBinary() + _ = yym817 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn810 = 1 - for _, b := range yyq810 { + yynn818 = 1 + for _, b := range yyq818 { if b { - yynn810++ + yynn818++ } } - r.EncodeMapStart(yynn810) - yynn810 = 0 + r.EncodeMapStart(yynn818) + yynn818 = 0 } - if yyr810 || yy2arr810 { + if yyr818 || yy2arr818 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq810[0] { - yym812 := z.EncBinary() - _ = yym812 + if yyq818[0] { + yym820 := z.EncBinary() + _ = yym820 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9662,23 +9710,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq810[0] { + if yyq818[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym813 := z.EncBinary() - _ = yym813 + yym821 := z.EncBinary() + _ = yym821 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr810 || yy2arr810 { + if yyr818 || yy2arr818 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq810[1] { - yym815 := z.EncBinary() - _ = yym815 + if yyq818[1] { + yym823 := z.EncBinary() + _ = yym823 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9687,54 +9735,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq810[1] { + if yyq818[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym816 := z.EncBinary() - _ = yym816 + yym824 := z.EncBinary() + _ = yym824 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr810 || yy2arr810 { + if yyr818 || yy2arr818 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq810[2] { - yy818 := &x.ListMeta - yym819 := z.EncBinary() - _ = yym819 + if yyq818[2] { + yy826 := &x.ListMeta + yym827 := z.EncBinary() + _ = yym827 if false { - } else if z.HasExtensions() && z.EncExt(yy818) { + } else if z.HasExtensions() && z.EncExt(yy826) { } else { - z.EncFallback(yy818) + z.EncFallback(yy826) } } else { r.EncodeNil() } } else { - if yyq810[2] { + if yyq818[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy820 := &x.ListMeta - yym821 := z.EncBinary() - _ = yym821 + yy828 := &x.ListMeta + yym829 := z.EncBinary() + _ = yym829 if false { - } else if z.HasExtensions() && z.EncExt(yy820) { + } else if z.HasExtensions() && z.EncExt(yy828) { } else { - z.EncFallback(yy820) + z.EncFallback(yy828) } } } - if yyr810 || yy2arr810 { + if yyr818 || yy2arr818 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym823 := z.EncBinary() - _ = yym823 + yym831 := z.EncBinary() + _ = yym831 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -9747,15 +9795,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym824 := z.EncBinary() - _ = yym824 + yym832 := z.EncBinary() + _ = yym832 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr810 || yy2arr810 { + if yyr818 || yy2arr818 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9768,25 +9816,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym825 := z.DecBinary() - _ = yym825 + yym833 := z.DecBinary() + _ = yym833 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct826 := r.ContainerType() - if yyct826 == codecSelferValueTypeMap1234 { - yyl826 := r.ReadMapStart() - if yyl826 == 0 { + yyct834 := r.ContainerType() + if yyct834 == codecSelferValueTypeMap1234 { + yyl834 := r.ReadMapStart() + if yyl834 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl826, d) + x.codecDecodeSelfFromMap(yyl834, d) } - } else if yyct826 == codecSelferValueTypeArray1234 { - yyl826 := r.ReadArrayStart() - if yyl826 == 0 { + } else if yyct834 == codecSelferValueTypeArray1234 { + yyl834 := r.ReadArrayStart() + if yyl834 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl826, d) + x.codecDecodeSelfFromArray(yyl834, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9798,12 +9846,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys827Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys827Slc - var yyhl827 bool = l >= 0 - for yyj827 := 0; ; yyj827++ { - if yyhl827 { - if yyj827 >= l { + var yys835Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys835Slc + var yyhl835 bool = l >= 0 + for yyj835 := 0; ; yyj835++ { + if yyhl835 { + if yyj835 >= l { break } } else { @@ -9812,10 +9860,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys827Slc = r.DecodeBytes(yys827Slc, true, true) - yys827 := string(yys827Slc) + yys835Slc = r.DecodeBytes(yys835Slc, true, true) + yys835 := string(yys835Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys827 { + switch yys835 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9832,31 +9880,31 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv830 := &x.ListMeta - yym831 := z.DecBinary() - _ = yym831 + yyv838 := &x.ListMeta + yym839 := z.DecBinary() + _ = yym839 if false { - } else if z.HasExtensions() && z.DecExt(yyv830) { + } else if z.HasExtensions() && z.DecExt(yyv838) { } else { - z.DecFallback(yyv830, false) + z.DecFallback(yyv838, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv832 := &x.Items - yym833 := z.DecBinary() - _ = yym833 + yyv840 := &x.Items + yym841 := z.DecBinary() + _ = yym841 if false { } else { - h.decSliceJob((*[]Job)(yyv832), d) + h.decSliceJob((*[]Job)(yyv840), d) } } default: - z.DecStructFieldNotFound(-1, yys827) - } // end switch yys827 - } // end for yyj827 + z.DecStructFieldNotFound(-1, yys835) + } // end switch yys835 + } // end for yyj835 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9864,16 +9912,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj834 int - var yyb834 bool - var yyhl834 bool = l >= 0 - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + var yyj842 int + var yyb842 bool + var yyhl842 bool = l >= 0 + yyj842++ + if yyhl842 { + yyb842 = yyj842 > l } else { - yyb834 = r.CheckBreak() + yyb842 = r.CheckBreak() } - if yyb834 { + if yyb842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9883,13 +9931,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj842++ + if yyhl842 { + yyb842 = yyj842 > l } else { - yyb834 = r.CheckBreak() + yyb842 = r.CheckBreak() } - if yyb834 { + if yyb842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9899,13 +9947,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj842++ + if yyhl842 { + yyb842 = yyj842 > l } else { - yyb834 = r.CheckBreak() + yyb842 = r.CheckBreak() } - if yyb834 { + if yyb842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9913,22 +9961,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv837 := &x.ListMeta - yym838 := z.DecBinary() - _ = yym838 + yyv845 := &x.ListMeta + yym846 := z.DecBinary() + _ = yym846 if false { - } else if z.HasExtensions() && z.DecExt(yyv837) { + } else if z.HasExtensions() && z.DecExt(yyv845) { } else { - z.DecFallback(yyv837, false) + z.DecFallback(yyv845, false) } } - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj842++ + if yyhl842 { + yyb842 = yyj842 > l } else { - yyb834 = r.CheckBreak() + yyb842 = r.CheckBreak() } - if yyb834 { + if yyb842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9936,26 +9984,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv839 := &x.Items - yym840 := z.DecBinary() - _ = yym840 + yyv847 := &x.Items + yym848 := z.DecBinary() + _ = yym848 if false { } else { - h.decSliceJob((*[]Job)(yyv839), d) + h.decSliceJob((*[]Job)(yyv847), d) } } for { - yyj834++ - if yyhl834 { - yyb834 = yyj834 > l + yyj842++ + if yyhl842 { + yyb842 = yyj842 > l } else { - yyb834 = r.CheckBreak() + yyb842 = r.CheckBreak() } - if yyb834 { + if yyb842 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj834-1, "") + z.DecStructFieldNotFound(yyj842-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9967,111 +10015,60 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym841 := z.EncBinary() - _ = yym841 + yym849 := z.EncBinary() + _ = yym849 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn842 = 1 - for _, b := range yyq842 { + yynn850 = 1 + for _, b := range yyq850 { if b { - yynn842++ + yynn850++ } } - r.EncodeMapStart(yynn842) - yynn842 = 0 + r.EncodeMapStart(yynn850) + yynn850 = 0 } - if yyr842 || yy2arr842 { + if yyr850 || yy2arr850 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[0] { + if yyq850[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy844 := *x.Parallelism - yym845 := z.EncBinary() - _ = yym845 + yy852 := *x.Parallelism + yym853 := z.EncBinary() + _ = yym853 if false { } else { - r.EncodeInt(int64(yy844)) + r.EncodeInt(int64(yy852)) } } } else { r.EncodeNil() } } else { - if yyq842[0] { + if yyq850[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - 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 + yy854 := *x.Parallelism yym855 := z.EncBinary() _ = yym855 if false { @@ -10079,97 +10076,160 @@ 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 yyq842[2] { + 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] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy856 := *x.ActiveDeadlineSeconds - yym857 := z.EncBinary() - _ = yym857 + yy864 := *x.ActiveDeadlineSeconds + yym865 := z.EncBinary() + _ = yym865 if false { } else { - r.EncodeInt(int64(yy856)) + r.EncodeInt(int64(yy864)) } } } } - if yyr842 || yy2arr842 { + if yyr850 || yy2arr850 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[3] { + if yyq850[3] { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym867 := z.EncBinary() + _ = yym867 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() } } else { - if yyq842[3] { + if yyq850[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym868 := z.EncBinary() + _ = yym868 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } - if yyr842 || yy2arr842 { + if yyr850 || yy2arr850 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq842[4] { + if yyq850[4] { if x.AutoSelector == nil { r.EncodeNil() } else { - yy860 := *x.AutoSelector - yym861 := z.EncBinary() - _ = yym861 + yy870 := *x.AutoSelector + yym871 := z.EncBinary() + _ = yym871 if false { } else { - r.EncodeBool(bool(yy860)) + r.EncodeBool(bool(yy870)) } } } else { r.EncodeNil() } } else { - if yyq842[4] { + if yyq850[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("autoSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AutoSelector == nil { r.EncodeNil() } else { - yy862 := *x.AutoSelector - yym863 := z.EncBinary() - _ = yym863 + yy872 := *x.AutoSelector + yym873 := z.EncBinary() + _ = yym873 if false { } else { - r.EncodeBool(bool(yy862)) + r.EncodeBool(bool(yy872)) } } } } - if yyr842 || yy2arr842 { + if yyr850 || yy2arr850 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy865 := &x.Template - yy865.CodecEncodeSelf(e) + yy875 := &x.Template + yy875.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy866 := &x.Template - yy866.CodecEncodeSelf(e) + yy876 := &x.Template + yy876.CodecEncodeSelf(e) } - if yyr842 || yy2arr842 { + if yyr850 || yy2arr850 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10182,25 +10242,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym867 := z.DecBinary() - _ = yym867 + yym877 := z.DecBinary() + _ = yym877 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct868 := r.ContainerType() - if yyct868 == codecSelferValueTypeMap1234 { - yyl868 := r.ReadMapStart() - if yyl868 == 0 { + yyct878 := r.ContainerType() + if yyct878 == codecSelferValueTypeMap1234 { + yyl878 := r.ReadMapStart() + if yyl878 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl868, d) + x.codecDecodeSelfFromMap(yyl878, d) } - } else if yyct868 == codecSelferValueTypeArray1234 { - yyl868 := r.ReadArrayStart() - if yyl868 == 0 { + } else if yyct878 == codecSelferValueTypeArray1234 { + yyl878 := r.ReadArrayStart() + if yyl878 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl868, d) + x.codecDecodeSelfFromArray(yyl878, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10212,12 +10272,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys869Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys869Slc - var yyhl869 bool = l >= 0 - for yyj869 := 0; ; yyj869++ { - if yyhl869 { - if yyj869 >= l { + var yys879Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys879Slc + var yyhl879 bool = l >= 0 + for yyj879 := 0; ; yyj879++ { + if yyhl879 { + if yyj879 >= l { break } } else { @@ -10226,10 +10286,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys869Slc = r.DecodeBytes(yys869Slc, true, true) - yys869 := string(yys869Slc) + yys879Slc = r.DecodeBytes(yys879Slc, true, true) + yys879 := string(yys879Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys869 { + switch yys879 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -10239,8 +10299,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym871 := z.DecBinary() - _ = yym871 + yym881 := z.DecBinary() + _ = yym881 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -10255,8 +10315,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym873 := z.DecBinary() - _ = yym873 + yym883 := z.DecBinary() + _ = yym883 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -10271,8 +10331,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym875 := z.DecBinary() - _ = yym875 + yym885 := z.DecBinary() + _ = yym885 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -10285,9 +10345,15 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } case "autoSelector": if r.TryDecodeAsNil() { @@ -10298,8 +10364,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym878 := z.DecBinary() - _ = yym878 + yym889 := z.DecBinary() + _ = yym889 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() @@ -10309,13 +10375,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv879 := &x.Template - yyv879.CodecDecodeSelf(d) + yyv890 := &x.Template + yyv890.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys869) - } // end switch yys869 - } // end for yyj869 + z.DecStructFieldNotFound(-1, yys879) + } // end switch yys879 + } // end for yyj879 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10323,16 +10389,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj880 int - var yyb880 bool - var yyhl880 bool = l >= 0 - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + var yyj891 int + var yyb891 bool + var yyhl891 bool = l >= 0 + yyj891++ + if yyhl891 { + yyb891 = yyj891 > l } else { - yyb880 = r.CheckBreak() + yyb891 = r.CheckBreak() } - if yyb880 { + if yyb891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10345,20 +10411,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym882 := z.DecBinary() - _ = yym882 + yym893 := z.DecBinary() + _ = yym893 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj891++ + if yyhl891 { + yyb891 = yyj891 > l } else { - yyb880 = r.CheckBreak() + yyb891 = r.CheckBreak() } - if yyb880 { + if yyb891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10371,20 +10437,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym884 := z.DecBinary() - _ = yym884 + yym895 := z.DecBinary() + _ = yym895 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj891++ + if yyhl891 { + yyb891 = yyj891 > l } else { - yyb880 = r.CheckBreak() + yyb891 = r.CheckBreak() } - if yyb880 { + if yyb891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10397,20 +10463,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym886 := z.DecBinary() - _ = yym886 + yym897 := z.DecBinary() + _ = yym897 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj891++ + if yyhl891 { + yyb891 = yyj891 > l } else { - yyb880 = r.CheckBreak() + yyb891 = r.CheckBreak() } - if yyb880 { + if yyb891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10421,17 +10487,23 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj891++ + if yyhl891 { + yyb891 = yyj891 > l } else { - yyb880 = r.CheckBreak() + yyb891 = r.CheckBreak() } - if yyb880 { + if yyb891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10444,20 +10516,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym889 := z.DecBinary() - _ = yym889 + yym901 := z.DecBinary() + _ = yym901 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() } } - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj891++ + if yyhl891 { + yyb891 = yyj891 > l } else { - yyb880 = r.CheckBreak() + yyb891 = r.CheckBreak() } - if yyb880 { + if yyb891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10465,21 +10537,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv890 := &x.Template - yyv890.CodecDecodeSelf(d) + yyv902 := &x.Template + yyv902.CodecDecodeSelf(d) } for { - yyj880++ - if yyhl880 { - yyb880 = yyj880 > l + yyj891++ + if yyhl891 { + yyb891 = yyj891 > l } else { - yyb880 = r.CheckBreak() + yyb891 = r.CheckBreak() } - if yyb880 { + if yyb891 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj880-1, "") + z.DecStructFieldNotFound(yyj891-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10491,43 +10563,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym891 := z.EncBinary() - _ = yym891 + yym903 := z.EncBinary() + _ = yym903 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn892 = 0 - for _, b := range yyq892 { + yynn904 = 0 + for _, b := range yyq904 { if b { - yynn892++ + yynn904++ } } - r.EncodeMapStart(yynn892) - yynn892 = 0 + r.EncodeMapStart(yynn904) + yynn904 = 0 } - if yyr892 || yy2arr892 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[0] { + if yyq904[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym894 := z.EncBinary() - _ = yym894 + yym906 := z.EncBinary() + _ = yym906 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10537,15 +10609,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq892[0] { + if yyq904[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym895 := z.EncBinary() - _ = yym895 + yym907 := z.EncBinary() + _ = yym907 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10553,19 +10625,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr892 || yy2arr892 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[1] { + if yyq904[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym897 := z.EncBinary() - _ = yym897 + yym909 := z.EncBinary() + _ = yym909 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym897 { + } else if yym909 { z.EncBinaryMarshal(x.StartTime) - } else if !yym897 && z.IsJSONHandle() { + } else if !yym909 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10575,20 +10647,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq892[1] { + if yyq904[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym898 := z.EncBinary() - _ = yym898 + yym910 := z.EncBinary() + _ = yym910 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym898 { + } else if yym910 { z.EncBinaryMarshal(x.StartTime) - } else if !yym898 && z.IsJSONHandle() { + } else if !yym910 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10596,19 +10668,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr892 || yy2arr892 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[2] { + if yyq904[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym900 := z.EncBinary() - _ = yym900 + yym912 := z.EncBinary() + _ = yym912 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym900 { + } else if yym912 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym900 && z.IsJSONHandle() { + } else if !yym912 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10618,20 +10690,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq892[2] { + if yyq904[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym901 := z.EncBinary() - _ = yym901 + yym913 := z.EncBinary() + _ = yym913 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym901 { + } else if yym913 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym901 && z.IsJSONHandle() { + } else if !yym913 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10639,11 +10711,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr892 || yy2arr892 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[3] { - yym903 := z.EncBinary() - _ = yym903 + if yyq904[3] { + yym915 := z.EncBinary() + _ = yym915 if false { } else { r.EncodeInt(int64(x.Active)) @@ -10652,23 +10724,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq892[3] { + if yyq904[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym904 := z.EncBinary() - _ = yym904 + yym916 := z.EncBinary() + _ = yym916 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr892 || yy2arr892 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[4] { - yym906 := z.EncBinary() - _ = yym906 + if yyq904[4] { + yym918 := z.EncBinary() + _ = yym918 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -10677,23 +10749,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq892[4] { + if yyq904[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym907 := z.EncBinary() - _ = yym907 + yym919 := z.EncBinary() + _ = yym919 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr892 || yy2arr892 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq892[5] { - yym909 := z.EncBinary() - _ = yym909 + if yyq904[5] { + yym921 := z.EncBinary() + _ = yym921 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -10702,19 +10774,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq892[5] { + if yyq904[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym910 := z.EncBinary() - _ = yym910 + yym922 := z.EncBinary() + _ = yym922 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr892 || yy2arr892 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10727,25 +10799,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym911 := z.DecBinary() - _ = yym911 + yym923 := z.DecBinary() + _ = yym923 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct912 := r.ContainerType() - if yyct912 == codecSelferValueTypeMap1234 { - yyl912 := r.ReadMapStart() - if yyl912 == 0 { + yyct924 := r.ContainerType() + if yyct924 == codecSelferValueTypeMap1234 { + yyl924 := r.ReadMapStart() + if yyl924 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl912, d) + x.codecDecodeSelfFromMap(yyl924, d) } - } else if yyct912 == codecSelferValueTypeArray1234 { - yyl912 := r.ReadArrayStart() - if yyl912 == 0 { + } else if yyct924 == codecSelferValueTypeArray1234 { + yyl924 := r.ReadArrayStart() + if yyl924 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl912, d) + x.codecDecodeSelfFromArray(yyl924, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10757,12 +10829,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys913Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys913Slc - var yyhl913 bool = l >= 0 - for yyj913 := 0; ; yyj913++ { - if yyhl913 { - if yyj913 >= l { + var yys925Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys925Slc + var yyhl925 bool = l >= 0 + for yyj925 := 0; ; yyj925++ { + if yyhl925 { + if yyj925 >= l { break } } else { @@ -10771,20 +10843,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys913Slc = r.DecodeBytes(yys913Slc, true, true) - yys913 := string(yys913Slc) + yys925Slc = r.DecodeBytes(yys925Slc, true, true) + yys925 := string(yys925Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys913 { + switch yys925 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv914 := &x.Conditions - yym915 := z.DecBinary() - _ = yym915 + yyv926 := &x.Conditions + yym927 := z.DecBinary() + _ = yym927 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv914), d) + h.decSliceJobCondition((*[]JobCondition)(yyv926), d) } } case "startTime": @@ -10796,13 +10868,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym917 := z.DecBinary() - _ = yym917 + yym929 := z.DecBinary() + _ = yym929 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym917 { + } else if yym929 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym917 && z.IsJSONHandle() { + } else if !yym929 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -10817,13 +10889,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym919 := z.DecBinary() - _ = yym919 + yym931 := z.DecBinary() + _ = yym931 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym919 { + } else if yym931 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym919 && z.IsJSONHandle() { + } else if !yym931 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -10848,9 +10920,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys913) - } // end switch yys913 - } // end for yyj913 + z.DecStructFieldNotFound(-1, yys925) + } // end switch yys925 + } // end for yyj925 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10858,16 +10930,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj923 int - var yyb923 bool - var yyhl923 bool = l >= 0 - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + var yyj935 int + var yyb935 bool + var yyhl935 bool = l >= 0 + yyj935++ + if yyhl935 { + yyb935 = yyj935 > l } else { - yyb923 = r.CheckBreak() + yyb935 = r.CheckBreak() } - if yyb923 { + if yyb935 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10875,21 +10947,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv924 := &x.Conditions - yym925 := z.DecBinary() - _ = yym925 + yyv936 := &x.Conditions + yym937 := z.DecBinary() + _ = yym937 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv924), d) + h.decSliceJobCondition((*[]JobCondition)(yyv936), d) } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj935++ + if yyhl935 { + yyb935 = yyj935 > l } else { - yyb923 = r.CheckBreak() + yyb935 = r.CheckBreak() } - if yyb923 { + if yyb935 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10902,25 +10974,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym927 := z.DecBinary() - _ = yym927 + yym939 := z.DecBinary() + _ = yym939 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym927 { + } else if yym939 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym927 && z.IsJSONHandle() { + } else if !yym939 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj935++ + if yyhl935 { + yyb935 = yyj935 > l } else { - yyb923 = r.CheckBreak() + yyb935 = r.CheckBreak() } - if yyb923 { + if yyb935 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10933,25 +11005,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym929 := z.DecBinary() - _ = yym929 + yym941 := z.DecBinary() + _ = yym941 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym929 { + } else if yym941 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym929 && z.IsJSONHandle() { + } else if !yym941 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj935++ + if yyhl935 { + yyb935 = yyj935 > l } else { - yyb923 = r.CheckBreak() + yyb935 = r.CheckBreak() } - if yyb923 { + if yyb935 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10961,13 +11033,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj935++ + if yyhl935 { + yyb935 = yyj935 > l } else { - yyb923 = r.CheckBreak() + yyb935 = r.CheckBreak() } - if yyb923 { + if yyb935 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10977,13 +11049,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj935++ + if yyhl935 { + yyb935 = yyj935 > l } else { - yyb923 = r.CheckBreak() + yyb935 = r.CheckBreak() } - if yyb923 { + if yyb935 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10994,17 +11066,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj935++ + if yyhl935 { + yyb935 = yyj935 > l } else { - yyb923 = r.CheckBreak() + yyb935 = r.CheckBreak() } - if yyb923 { + if yyb935 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj923-1, "") + z.DecStructFieldNotFound(yyj935-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11013,8 +11085,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym933 := z.EncBinary() - _ = yym933 + yym945 := z.EncBinary() + _ = yym945 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11026,8 +11098,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym934 := z.DecBinary() - _ = yym934 + yym946 := z.DecBinary() + _ = yym946 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11042,34 +11114,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym935 := z.EncBinary() - _ = yym935 + yym947 := z.EncBinary() + _ = yym947 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn936 = 2 - for _, b := range yyq936 { + yynn948 = 2 + for _, b := range yyq948 { if b { - yynn936++ + yynn948++ } } - r.EncodeMapStart(yynn936) - yynn936 = 0 + r.EncodeMapStart(yynn948) + yynn948 = 0 } - if yyr936 || yy2arr936 { + if yyr948 || yy2arr948 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11078,10 +11150,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr936 || yy2arr936 { + if yyr948 || yy2arr948 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym939 := z.EncBinary() - _ = yym939 + yym951 := z.EncBinary() + _ = yym951 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -11091,119 +11163,119 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym940 := z.EncBinary() - _ = yym940 + yym952 := z.EncBinary() + _ = yym952 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr936 || yy2arr936 { + if yyr948 || yy2arr948 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[2] { - yy942 := &x.LastProbeTime - yym943 := z.EncBinary() - _ = yym943 - if false { - } else if z.HasExtensions() && z.EncExt(yy942) { - } else if yym943 { - z.EncBinaryMarshal(yy942) - } else if !yym943 && z.IsJSONHandle() { - z.EncJSONMarshal(yy942) - } else { - z.EncFallback(yy942) - } - } else { - r.EncodeNil() - } - } else { - if yyq936[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy944 := &x.LastProbeTime - yym945 := z.EncBinary() - _ = yym945 - if false { - } else if z.HasExtensions() && z.EncExt(yy944) { - } else if yym945 { - z.EncBinaryMarshal(yy944) - } else if !yym945 && z.IsJSONHandle() { - z.EncJSONMarshal(yy944) - } else { - z.EncFallback(yy944) - } - } - } - if yyr936 || yy2arr936 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[3] { - yy947 := &x.LastTransitionTime - yym948 := z.EncBinary() - _ = yym948 - if false { - } else if z.HasExtensions() && z.EncExt(yy947) { - } else if yym948 { - z.EncBinaryMarshal(yy947) - } else if !yym948 && z.IsJSONHandle() { - z.EncJSONMarshal(yy947) - } else { - z.EncFallback(yy947) - } - } else { - r.EncodeNil() - } - } else { - if yyq936[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy949 := &x.LastTransitionTime - yym950 := z.EncBinary() - _ = yym950 - if false { - } else if z.HasExtensions() && z.EncExt(yy949) { - } else if yym950 { - z.EncBinaryMarshal(yy949) - } else if !yym950 && z.IsJSONHandle() { - z.EncJSONMarshal(yy949) - } else { - z.EncFallback(yy949) - } - } - } - if yyr936 || yy2arr936 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[4] { - yym952 := z.EncBinary() - _ = yym952 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq936[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym953 := z.EncBinary() - _ = yym953 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr936 || yy2arr936 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq936[5] { + if yyq948[2] { + yy954 := &x.LastProbeTime yym955 := z.EncBinary() _ = yym955 if false { + } else if z.HasExtensions() && z.EncExt(yy954) { + } else if yym955 { + z.EncBinaryMarshal(yy954) + } else if !yym955 && z.IsJSONHandle() { + z.EncJSONMarshal(yy954) + } else { + z.EncFallback(yy954) + } + } else { + r.EncodeNil() + } + } else { + if yyq948[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy956 := &x.LastProbeTime + yym957 := z.EncBinary() + _ = yym957 + if false { + } else if z.HasExtensions() && z.EncExt(yy956) { + } else if yym957 { + z.EncBinaryMarshal(yy956) + } else if !yym957 && z.IsJSONHandle() { + z.EncJSONMarshal(yy956) + } else { + z.EncFallback(yy956) + } + } + } + if yyr948 || yy2arr948 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq948[3] { + yy959 := &x.LastTransitionTime + yym960 := z.EncBinary() + _ = yym960 + if false { + } else if z.HasExtensions() && z.EncExt(yy959) { + } else if yym960 { + z.EncBinaryMarshal(yy959) + } else if !yym960 && z.IsJSONHandle() { + z.EncJSONMarshal(yy959) + } else { + z.EncFallback(yy959) + } + } else { + r.EncodeNil() + } + } else { + if yyq948[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy961 := &x.LastTransitionTime + yym962 := z.EncBinary() + _ = yym962 + if false { + } else if z.HasExtensions() && z.EncExt(yy961) { + } else if yym962 { + z.EncBinaryMarshal(yy961) + } else if !yym962 && z.IsJSONHandle() { + z.EncJSONMarshal(yy961) + } else { + z.EncFallback(yy961) + } + } + } + if yyr948 || yy2arr948 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq948[4] { + yym964 := z.EncBinary() + _ = yym964 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq948[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym965 := z.EncBinary() + _ = yym965 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr948 || yy2arr948 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq948[5] { + yym967 := z.EncBinary() + _ = yym967 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } @@ -11211,19 +11283,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq936[5] { + if yyq948[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym956 := z.EncBinary() - _ = yym956 + yym968 := z.EncBinary() + _ = yym968 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr936 || yy2arr936 { + if yyr948 || yy2arr948 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11236,25 +11308,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym957 := z.DecBinary() - _ = yym957 + yym969 := z.DecBinary() + _ = yym969 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct958 := r.ContainerType() - if yyct958 == codecSelferValueTypeMap1234 { - yyl958 := r.ReadMapStart() - if yyl958 == 0 { + yyct970 := r.ContainerType() + if yyct970 == codecSelferValueTypeMap1234 { + yyl970 := r.ReadMapStart() + if yyl970 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl958, d) + x.codecDecodeSelfFromMap(yyl970, d) } - } else if yyct958 == codecSelferValueTypeArray1234 { - yyl958 := r.ReadArrayStart() - if yyl958 == 0 { + } else if yyct970 == codecSelferValueTypeArray1234 { + yyl970 := r.ReadArrayStart() + if yyl970 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl958, d) + x.codecDecodeSelfFromArray(yyl970, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11266,12 +11338,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys959Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys959Slc - var yyhl959 bool = l >= 0 - for yyj959 := 0; ; yyj959++ { - if yyhl959 { - if yyj959 >= l { + var yys971Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys971Slc + var yyhl971 bool = l >= 0 + for yyj971 := 0; ; yyj971++ { + if yyhl971 { + if yyj971 >= l { break } } else { @@ -11280,10 +11352,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys959Slc = r.DecodeBytes(yys959Slc, true, true) - yys959 := string(yys959Slc) + yys971Slc = r.DecodeBytes(yys971Slc, true, true) + yys971 := string(yys971Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys959 { + switch yys971 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11300,34 +11372,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv962 := &x.LastProbeTime - yym963 := z.DecBinary() - _ = yym963 + yyv974 := &x.LastProbeTime + yym975 := z.DecBinary() + _ = yym975 if false { - } else if z.HasExtensions() && z.DecExt(yyv962) { - } else if yym963 { - z.DecBinaryUnmarshal(yyv962) - } else if !yym963 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv962) + } else if z.HasExtensions() && z.DecExt(yyv974) { + } else if yym975 { + z.DecBinaryUnmarshal(yyv974) + } else if !yym975 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv974) } else { - z.DecFallback(yyv962, false) + z.DecFallback(yyv974, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv964 := &x.LastTransitionTime - yym965 := z.DecBinary() - _ = yym965 + yyv976 := &x.LastTransitionTime + yym977 := z.DecBinary() + _ = yym977 if false { - } else if z.HasExtensions() && z.DecExt(yyv964) { - } else if yym965 { - z.DecBinaryUnmarshal(yyv964) - } else if !yym965 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv964) + } else if z.HasExtensions() && z.DecExt(yyv976) { + } else if yym977 { + z.DecBinaryUnmarshal(yyv976) + } else if !yym977 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv976) } else { - z.DecFallback(yyv964, false) + z.DecFallback(yyv976, false) } } case "reason": @@ -11343,9 +11415,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys959) - } // end switch yys959 - } // end for yyj959 + z.DecStructFieldNotFound(-1, yys971) + } // end switch yys971 + } // end for yyj971 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11353,16 +11425,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj968 int - var yyb968 bool - var yyhl968 bool = l >= 0 - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + var yyj980 int + var yyb980 bool + var yyhl980 bool = l >= 0 + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb968 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb968 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11372,13 +11444,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb968 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb968 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11388,13 +11460,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb968 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb968 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11402,26 +11474,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv971 := &x.LastProbeTime - yym972 := z.DecBinary() - _ = yym972 + yyv983 := &x.LastProbeTime + yym984 := z.DecBinary() + _ = yym984 if false { - } else if z.HasExtensions() && z.DecExt(yyv971) { - } else if yym972 { - z.DecBinaryUnmarshal(yyv971) - } else if !yym972 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv971) + } else if z.HasExtensions() && z.DecExt(yyv983) { + } else if yym984 { + z.DecBinaryUnmarshal(yyv983) + } else if !yym984 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv983) } else { - z.DecFallback(yyv971, false) + z.DecFallback(yyv983, false) } } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb968 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb968 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11429,26 +11501,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv973 := &x.LastTransitionTime - yym974 := z.DecBinary() - _ = yym974 + yyv985 := &x.LastTransitionTime + yym986 := z.DecBinary() + _ = yym986 if false { - } else if z.HasExtensions() && z.DecExt(yyv973) { - } else if yym974 { - z.DecBinaryUnmarshal(yyv973) - } else if !yym974 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv973) + } else if z.HasExtensions() && z.DecExt(yyv985) { + } else if yym986 { + z.DecBinaryUnmarshal(yyv985) + } else if !yym986 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv985) } else { - z.DecFallback(yyv973, false) + z.DecFallback(yyv985, false) } } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb968 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb968 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11458,13 +11530,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb968 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb968 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11475,17 +11547,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb968 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb968 { + if yyb980 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj968-1, "") + z.DecStructFieldNotFound(yyj980-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11497,39 +11569,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym977 := z.EncBinary() - _ = yym977 + yym989 := z.EncBinary() + _ = yym989 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn978 = 0 - for _, b := range yyq978 { + yynn990 = 0 + for _, b := range yyq990 { if b { - yynn978++ + yynn990++ } } - r.EncodeMapStart(yynn978) - yynn978 = 0 + r.EncodeMapStart(yynn990) + yynn990 = 0 } - if yyr978 || yy2arr978 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[0] { - yym980 := z.EncBinary() - _ = yym980 + if yyq990[0] { + yym992 := z.EncBinary() + _ = yym992 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11538,23 +11610,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq978[0] { + if yyq990[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym981 := z.EncBinary() - _ = yym981 + yym993 := z.EncBinary() + _ = yym993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr978 || yy2arr978 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[1] { - yym983 := z.EncBinary() - _ = yym983 + if yyq990[1] { + yym995 := z.EncBinary() + _ = yym995 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11563,70 +11635,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq978[1] { + if yyq990[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym984 := z.EncBinary() - _ = yym984 + yym996 := z.EncBinary() + _ = yym996 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr978 || yy2arr978 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[2] { - yy986 := &x.ObjectMeta - yy986.CodecEncodeSelf(e) + if yyq990[2] { + yy998 := &x.ObjectMeta + yy998.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq978[2] { + if yyq990[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy987 := &x.ObjectMeta - yy987.CodecEncodeSelf(e) + yy999 := &x.ObjectMeta + yy999.CodecEncodeSelf(e) } } - if yyr978 || yy2arr978 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[3] { - yy989 := &x.Spec - yy989.CodecEncodeSelf(e) + if yyq990[3] { + yy1001 := &x.Spec + yy1001.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq978[3] { + if yyq990[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy990 := &x.Spec - yy990.CodecEncodeSelf(e) + yy1002 := &x.Spec + yy1002.CodecEncodeSelf(e) } } - if yyr978 || yy2arr978 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq978[4] { - yy992 := &x.Status - yy992.CodecEncodeSelf(e) + if yyq990[4] { + yy1004 := &x.Status + yy1004.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq978[4] { + if yyq990[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy993 := &x.Status - yy993.CodecEncodeSelf(e) + yy1005 := &x.Status + yy1005.CodecEncodeSelf(e) } } - if yyr978 || yy2arr978 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11639,25 +11711,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym994 := z.DecBinary() - _ = yym994 + yym1006 := z.DecBinary() + _ = yym1006 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct995 := r.ContainerType() - if yyct995 == codecSelferValueTypeMap1234 { - yyl995 := r.ReadMapStart() - if yyl995 == 0 { + yyct1007 := r.ContainerType() + if yyct1007 == codecSelferValueTypeMap1234 { + yyl1007 := r.ReadMapStart() + if yyl1007 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl995, d) + x.codecDecodeSelfFromMap(yyl1007, d) } - } else if yyct995 == codecSelferValueTypeArray1234 { - yyl995 := r.ReadArrayStart() - if yyl995 == 0 { + } else if yyct1007 == codecSelferValueTypeArray1234 { + yyl1007 := r.ReadArrayStart() + if yyl1007 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl995, d) + x.codecDecodeSelfFromArray(yyl1007, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11669,12 +11741,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys996Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys996Slc - var yyhl996 bool = l >= 0 - for yyj996 := 0; ; yyj996++ { - if yyhl996 { - if yyj996 >= l { + var yys1008Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1008Slc + var yyhl1008 bool = l >= 0 + for yyj1008 := 0; ; yyj1008++ { + if yyhl1008 { + if yyj1008 >= l { break } } else { @@ -11683,10 +11755,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys996Slc = r.DecodeBytes(yys996Slc, true, true) - yys996 := string(yys996Slc) + yys1008Slc = r.DecodeBytes(yys1008Slc, true, true) + yys1008 := string(yys1008Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys996 { + switch yys1008 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11703,27 +11775,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv999 := &x.ObjectMeta - yyv999.CodecDecodeSelf(d) + yyv1011 := &x.ObjectMeta + yyv1011.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1000 := &x.Spec - yyv1000.CodecDecodeSelf(d) + yyv1012 := &x.Spec + yyv1012.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1001 := &x.Status - yyv1001.CodecDecodeSelf(d) + yyv1013 := &x.Status + yyv1013.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys996) - } // end switch yys996 - } // end for yyj996 + z.DecStructFieldNotFound(-1, yys1008) + } // end switch yys1008 + } // end for yyj1008 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11731,16 +11803,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1002 int - var yyb1002 bool - var yyhl1002 bool = l >= 0 - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + var yyj1014 int + var yyb1014 bool + var yyhl1014 bool = l >= 0 + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb1002 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb1002 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11750,13 +11822,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb1002 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb1002 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11766,13 +11838,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb1002 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb1002 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11780,16 +11852,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1005 := &x.ObjectMeta - yyv1005.CodecDecodeSelf(d) + yyv1017 := &x.ObjectMeta + yyv1017.CodecDecodeSelf(d) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb1002 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb1002 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11797,16 +11869,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1006 := &x.Spec - yyv1006.CodecDecodeSelf(d) + yyv1018 := &x.Spec + yyv1018.CodecDecodeSelf(d) } - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb1002 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb1002 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11814,21 +11886,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1007 := &x.Status - yyv1007.CodecDecodeSelf(d) + yyv1019 := &x.Status + yyv1019.CodecDecodeSelf(d) } for { - yyj1002++ - if yyhl1002 { - yyb1002 = yyj1002 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb1002 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb1002 { + if yyb1014 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1002-1, "") + z.DecStructFieldNotFound(yyj1014-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11840,37 +11912,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1008 := z.EncBinary() - _ = yym1008 + yym1020 := z.EncBinary() + _ = yym1020 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn1009 = 1 - for _, b := range yyq1009 { + yynn1021 = 1 + for _, b := range yyq1021 { if b { - yynn1009++ + yynn1021++ } } - r.EncodeMapStart(yynn1009) - yynn1009 = 0 + r.EncodeMapStart(yynn1021) + yynn1021 = 0 } - if yyr1009 || yy2arr1009 { + if yyr1021 || yy2arr1021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1009[0] { - yym1011 := z.EncBinary() - _ = yym1011 + if yyq1021[0] { + yym1023 := z.EncBinary() + _ = yym1023 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11879,23 +11951,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1009[0] { + if yyq1021[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1012 := z.EncBinary() - _ = yym1012 + yym1024 := z.EncBinary() + _ = yym1024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1009 || yy2arr1009 { + if yyr1021 || yy2arr1021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1009[1] { - yym1014 := z.EncBinary() - _ = yym1014 + if yyq1021[1] { + yym1026 := z.EncBinary() + _ = yym1026 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11904,54 +11976,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1009[1] { + if yyq1021[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1015 := z.EncBinary() - _ = yym1015 + yym1027 := z.EncBinary() + _ = yym1027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1009 || yy2arr1009 { + if yyr1021 || yy2arr1021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1009[2] { - yy1017 := &x.ListMeta - yym1018 := z.EncBinary() - _ = yym1018 + if yyq1021[2] { + yy1029 := &x.ListMeta + yym1030 := z.EncBinary() + _ = yym1030 if false { - } else if z.HasExtensions() && z.EncExt(yy1017) { + } else if z.HasExtensions() && z.EncExt(yy1029) { } else { - z.EncFallback(yy1017) + z.EncFallback(yy1029) } } else { r.EncodeNil() } } else { - if yyq1009[2] { + if yyq1021[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1019 := &x.ListMeta - yym1020 := z.EncBinary() - _ = yym1020 + yy1031 := &x.ListMeta + yym1032 := z.EncBinary() + _ = yym1032 if false { - } else if z.HasExtensions() && z.EncExt(yy1019) { + } else if z.HasExtensions() && z.EncExt(yy1031) { } else { - z.EncFallback(yy1019) + z.EncFallback(yy1031) } } } - if yyr1009 || yy2arr1009 { + if yyr1021 || yy2arr1021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1022 := z.EncBinary() - _ = yym1022 + yym1034 := z.EncBinary() + _ = yym1034 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -11964,15 +12036,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1023 := z.EncBinary() - _ = yym1023 + yym1035 := z.EncBinary() + _ = yym1035 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr1009 || yy2arr1009 { + if yyr1021 || yy2arr1021 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11985,25 +12057,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1024 := z.DecBinary() - _ = yym1024 + yym1036 := z.DecBinary() + _ = yym1036 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1025 := r.ContainerType() - if yyct1025 == codecSelferValueTypeMap1234 { - yyl1025 := r.ReadMapStart() - if yyl1025 == 0 { + yyct1037 := r.ContainerType() + if yyct1037 == codecSelferValueTypeMap1234 { + yyl1037 := r.ReadMapStart() + if yyl1037 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1025, d) + x.codecDecodeSelfFromMap(yyl1037, d) } - } else if yyct1025 == codecSelferValueTypeArray1234 { - yyl1025 := r.ReadArrayStart() - if yyl1025 == 0 { + } else if yyct1037 == codecSelferValueTypeArray1234 { + yyl1037 := r.ReadArrayStart() + if yyl1037 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1025, d) + x.codecDecodeSelfFromArray(yyl1037, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12015,12 +12087,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1026Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1026Slc - var yyhl1026 bool = l >= 0 - for yyj1026 := 0; ; yyj1026++ { - if yyhl1026 { - if yyj1026 >= l { + var yys1038Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1038Slc + var yyhl1038 bool = l >= 0 + for yyj1038 := 0; ; yyj1038++ { + if yyhl1038 { + if yyj1038 >= l { break } } else { @@ -12029,10 +12101,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1026Slc = r.DecodeBytes(yys1026Slc, true, true) - yys1026 := string(yys1026Slc) + yys1038Slc = r.DecodeBytes(yys1038Slc, true, true) + yys1038 := string(yys1038Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1026 { + switch yys1038 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12049,31 +12121,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1029 := &x.ListMeta - yym1030 := z.DecBinary() - _ = yym1030 + yyv1041 := &x.ListMeta + yym1042 := z.DecBinary() + _ = yym1042 if false { - } else if z.HasExtensions() && z.DecExt(yyv1029) { + } else if z.HasExtensions() && z.DecExt(yyv1041) { } else { - z.DecFallback(yyv1029, false) + z.DecFallback(yyv1041, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1031 := &x.Items - yym1032 := z.DecBinary() - _ = yym1032 + yyv1043 := &x.Items + yym1044 := z.DecBinary() + _ = yym1044 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1031), d) + h.decSliceIngress((*[]Ingress)(yyv1043), d) } } default: - z.DecStructFieldNotFound(-1, yys1026) - } // end switch yys1026 - } // end for yyj1026 + z.DecStructFieldNotFound(-1, yys1038) + } // end switch yys1038 + } // end for yyj1038 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12081,16 +12153,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1033 int - var yyb1033 bool - var yyhl1033 bool = l >= 0 - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + var yyj1045 int + var yyb1045 bool + var yyhl1045 bool = l >= 0 + yyj1045++ + if yyhl1045 { + yyb1045 = yyj1045 > l } else { - yyb1033 = r.CheckBreak() + yyb1045 = r.CheckBreak() } - if yyb1033 { + if yyb1045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12100,13 +12172,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1045++ + if yyhl1045 { + yyb1045 = yyj1045 > l } else { - yyb1033 = r.CheckBreak() + yyb1045 = r.CheckBreak() } - if yyb1033 { + if yyb1045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12116,13 +12188,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1045++ + if yyhl1045 { + yyb1045 = yyj1045 > l } else { - yyb1033 = r.CheckBreak() + yyb1045 = r.CheckBreak() } - if yyb1033 { + if yyb1045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12130,22 +12202,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1036 := &x.ListMeta - yym1037 := z.DecBinary() - _ = yym1037 + yyv1048 := &x.ListMeta + yym1049 := z.DecBinary() + _ = yym1049 if false { - } else if z.HasExtensions() && z.DecExt(yyv1036) { + } else if z.HasExtensions() && z.DecExt(yyv1048) { } else { - z.DecFallback(yyv1036, false) + z.DecFallback(yyv1048, false) } } - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1045++ + if yyhl1045 { + yyb1045 = yyj1045 > l } else { - yyb1033 = r.CheckBreak() + yyb1045 = r.CheckBreak() } - if yyb1033 { + if yyb1045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12153,26 +12225,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1038 := &x.Items - yym1039 := z.DecBinary() - _ = yym1039 + yyv1050 := &x.Items + yym1051 := z.DecBinary() + _ = yym1051 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1038), d) + h.decSliceIngress((*[]Ingress)(yyv1050), d) } } for { - yyj1033++ - if yyhl1033 { - yyb1033 = yyj1033 > l + yyj1045++ + if yyhl1045 { + yyb1045 = yyj1045 > l } else { - yyb1033 = r.CheckBreak() + yyb1045 = r.CheckBreak() } - if yyb1033 { + if yyb1045 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1033-1, "") + z.DecStructFieldNotFound(yyj1045-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12184,35 +12256,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1040 := z.EncBinary() - _ = yym1040 + yym1052 := z.EncBinary() + _ = yym1052 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(3) } else { - yynn1041 = 0 - for _, b := range yyq1041 { + yynn1053 = 0 + for _, b := range yyq1053 { if b { - yynn1041++ + yynn1053++ } } - r.EncodeMapStart(yynn1041) - yynn1041 = 0 + r.EncodeMapStart(yynn1053) + yynn1053 = 0 } - if yyr1041 || yy2arr1041 { + if yyr1053 || yy2arr1053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[0] { + if yyq1053[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -12222,7 +12294,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1041[0] { + if yyq1053[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12233,14 +12305,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1041 || yy2arr1041 { + if yyr1053 || yy2arr1053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[1] { + if yyq1053[1] { if x.TLS == nil { r.EncodeNil() } else { - yym1044 := z.EncBinary() - _ = yym1044 + yym1056 := z.EncBinary() + _ = yym1056 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12250,15 +12322,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1041[1] { + if yyq1053[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym1045 := z.EncBinary() - _ = yym1045 + yym1057 := z.EncBinary() + _ = yym1057 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12266,14 +12338,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1041 || yy2arr1041 { + if yyr1053 || yy2arr1053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[2] { + if yyq1053[2] { if x.Rules == nil { r.EncodeNil() } else { - yym1047 := z.EncBinary() - _ = yym1047 + yym1059 := z.EncBinary() + _ = yym1059 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12283,15 +12355,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1041[2] { + if yyq1053[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym1048 := z.EncBinary() - _ = yym1048 + yym1060 := z.EncBinary() + _ = yym1060 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12299,7 +12371,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1041 || yy2arr1041 { + if yyr1053 || yy2arr1053 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12312,25 +12384,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1049 := z.DecBinary() - _ = yym1049 + yym1061 := z.DecBinary() + _ = yym1061 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1050 := r.ContainerType() - if yyct1050 == codecSelferValueTypeMap1234 { - yyl1050 := r.ReadMapStart() - if yyl1050 == 0 { + yyct1062 := r.ContainerType() + if yyct1062 == codecSelferValueTypeMap1234 { + yyl1062 := r.ReadMapStart() + if yyl1062 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1050, d) + x.codecDecodeSelfFromMap(yyl1062, d) } - } else if yyct1050 == codecSelferValueTypeArray1234 { - yyl1050 := r.ReadArrayStart() - if yyl1050 == 0 { + } else if yyct1062 == codecSelferValueTypeArray1234 { + yyl1062 := r.ReadArrayStart() + if yyl1062 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1050, d) + x.codecDecodeSelfFromArray(yyl1062, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12342,12 +12414,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1051Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1051Slc - var yyhl1051 bool = l >= 0 - for yyj1051 := 0; ; yyj1051++ { - if yyhl1051 { - if yyj1051 >= l { + var yys1063Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1063Slc + var yyhl1063 bool = l >= 0 + for yyj1063 := 0; ; yyj1063++ { + if yyhl1063 { + if yyj1063 >= l { break } } else { @@ -12356,10 +12428,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1051Slc = r.DecodeBytes(yys1051Slc, true, true) - yys1051 := string(yys1051Slc) + yys1063Slc = r.DecodeBytes(yys1063Slc, true, true) + yys1063 := string(yys1063Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1051 { + switch yys1063 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -12375,30 +12447,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1053 := &x.TLS - yym1054 := z.DecBinary() - _ = yym1054 + yyv1065 := &x.TLS + yym1066 := z.DecBinary() + _ = yym1066 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1053), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1065), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1055 := &x.Rules - yym1056 := z.DecBinary() - _ = yym1056 + yyv1067 := &x.Rules + yym1068 := z.DecBinary() + _ = yym1068 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1055), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1067), d) } } default: - z.DecStructFieldNotFound(-1, yys1051) - } // end switch yys1051 - } // end for yyj1051 + z.DecStructFieldNotFound(-1, yys1063) + } // end switch yys1063 + } // end for yyj1063 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12406,16 +12478,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1057 int - var yyb1057 bool - var yyhl1057 bool = l >= 0 - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + var yyj1069 int + var yyb1069 bool + var yyhl1069 bool = l >= 0 + yyj1069++ + if yyhl1069 { + yyb1069 = yyj1069 > l } else { - yyb1057 = r.CheckBreak() + yyb1069 = r.CheckBreak() } - if yyb1057 { + if yyb1069 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12430,13 +12502,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + yyj1069++ + if yyhl1069 { + yyb1069 = yyj1069 > l } else { - yyb1057 = r.CheckBreak() + yyb1069 = r.CheckBreak() } - if yyb1057 { + if yyb1069 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12444,21 +12516,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1059 := &x.TLS - yym1060 := z.DecBinary() - _ = yym1060 + yyv1071 := &x.TLS + yym1072 := z.DecBinary() + _ = yym1072 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1059), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1071), d) } } - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + yyj1069++ + if yyhl1069 { + yyb1069 = yyj1069 > l } else { - yyb1057 = r.CheckBreak() + yyb1069 = r.CheckBreak() } - if yyb1057 { + if yyb1069 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12466,26 +12538,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1061 := &x.Rules - yym1062 := z.DecBinary() - _ = yym1062 + yyv1073 := &x.Rules + yym1074 := z.DecBinary() + _ = yym1074 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1061), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1073), d) } } for { - yyj1057++ - if yyhl1057 { - yyb1057 = yyj1057 > l + yyj1069++ + if yyhl1069 { + yyb1069 = yyj1069 > l } else { - yyb1057 = r.CheckBreak() + yyb1069 = r.CheckBreak() } - if yyb1057 { + if yyb1069 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1057-1, "") + z.DecStructFieldNotFound(yyj1069-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12497,39 +12569,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1063 := z.EncBinary() - _ = yym1063 + yym1075 := z.EncBinary() + _ = yym1075 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1064 = 0 - for _, b := range yyq1064 { + yynn1076 = 0 + for _, b := range yyq1076 { if b { - yynn1064++ + yynn1076++ } } - r.EncodeMapStart(yynn1064) - yynn1064 = 0 + r.EncodeMapStart(yynn1076) + yynn1076 = 0 } - if yyr1064 || yy2arr1064 { + if yyr1076 || yy2arr1076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1064[0] { + if yyq1076[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym1066 := z.EncBinary() - _ = yym1066 + yym1078 := z.EncBinary() + _ = yym1078 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12539,15 +12611,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1064[0] { + if yyq1076[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym1067 := z.EncBinary() - _ = yym1067 + yym1079 := z.EncBinary() + _ = yym1079 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12555,11 +12627,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1064 || yy2arr1064 { + if yyr1076 || yy2arr1076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1064[1] { - yym1069 := z.EncBinary() - _ = yym1069 + if yyq1076[1] { + yym1081 := z.EncBinary() + _ = yym1081 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -12568,19 +12640,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1064[1] { + if yyq1076[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1070 := z.EncBinary() - _ = yym1070 + yym1082 := z.EncBinary() + _ = yym1082 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr1064 || yy2arr1064 { + if yyr1076 || yy2arr1076 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12593,25 +12665,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1071 := z.DecBinary() - _ = yym1071 + yym1083 := z.DecBinary() + _ = yym1083 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1072 := r.ContainerType() - if yyct1072 == codecSelferValueTypeMap1234 { - yyl1072 := r.ReadMapStart() - if yyl1072 == 0 { + yyct1084 := r.ContainerType() + if yyct1084 == codecSelferValueTypeMap1234 { + yyl1084 := r.ReadMapStart() + if yyl1084 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1072, d) + x.codecDecodeSelfFromMap(yyl1084, d) } - } else if yyct1072 == codecSelferValueTypeArray1234 { - yyl1072 := r.ReadArrayStart() - if yyl1072 == 0 { + } else if yyct1084 == codecSelferValueTypeArray1234 { + yyl1084 := r.ReadArrayStart() + if yyl1084 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1072, d) + x.codecDecodeSelfFromArray(yyl1084, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12623,12 +12695,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1073Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1073Slc - var yyhl1073 bool = l >= 0 - for yyj1073 := 0; ; yyj1073++ { - if yyhl1073 { - if yyj1073 >= l { + var yys1085Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1085Slc + var yyhl1085 bool = l >= 0 + for yyj1085 := 0; ; yyj1085++ { + if yyhl1085 { + if yyj1085 >= l { break } } else { @@ -12637,20 +12709,20 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1073Slc = r.DecodeBytes(yys1073Slc, true, true) - yys1073 := string(yys1073Slc) + yys1085Slc = r.DecodeBytes(yys1085Slc, true, true) + yys1085 := string(yys1085Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1073 { + switch yys1085 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1074 := &x.Hosts - yym1075 := z.DecBinary() - _ = yym1075 + yyv1086 := &x.Hosts + yym1087 := z.DecBinary() + _ = yym1087 if false { } else { - z.F.DecSliceStringX(yyv1074, false, d) + z.F.DecSliceStringX(yyv1086, false, d) } } case "secretName": @@ -12660,9 +12732,9 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1073) - } // end switch yys1073 - } // end for yyj1073 + z.DecStructFieldNotFound(-1, yys1085) + } // end switch yys1085 + } // end for yyj1085 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12670,16 +12742,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1077 int - var yyb1077 bool - var yyhl1077 bool = l >= 0 - yyj1077++ - if yyhl1077 { - yyb1077 = yyj1077 > l + var yyj1089 int + var yyb1089 bool + var yyhl1089 bool = l >= 0 + yyj1089++ + if yyhl1089 { + yyb1089 = yyj1089 > l } else { - yyb1077 = r.CheckBreak() + yyb1089 = r.CheckBreak() } - if yyb1077 { + if yyb1089 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12687,21 +12759,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1078 := &x.Hosts - yym1079 := z.DecBinary() - _ = yym1079 + yyv1090 := &x.Hosts + yym1091 := z.DecBinary() + _ = yym1091 if false { } else { - z.F.DecSliceStringX(yyv1078, false, d) + z.F.DecSliceStringX(yyv1090, false, d) } } - yyj1077++ - if yyhl1077 { - yyb1077 = yyj1077 > l + yyj1089++ + if yyhl1089 { + yyb1089 = yyj1089 > l } else { - yyb1077 = r.CheckBreak() + yyb1089 = r.CheckBreak() } - if yyb1077 { + if yyb1089 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12712,17 +12784,17 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } for { - yyj1077++ - if yyhl1077 { - yyb1077 = yyj1077 > l + yyj1089++ + if yyhl1089 { + yyb1089 = yyj1089 > l } else { - yyb1077 = r.CheckBreak() + yyb1089 = r.CheckBreak() } - if yyb1077 { + if yyb1089 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1077-1, "") + z.DecStructFieldNotFound(yyj1089-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12734,48 +12806,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1081 := z.EncBinary() - _ = yym1081 + yym1093 := z.EncBinary() + _ = yym1093 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(1) } else { - yynn1082 = 0 - for _, b := range yyq1082 { + yynn1094 = 0 + for _, b := range yyq1094 { if b { - yynn1082++ + yynn1094++ } } - r.EncodeMapStart(yynn1082) - yynn1082 = 0 + r.EncodeMapStart(yynn1094) + yynn1094 = 0 } - if yyr1082 || yy2arr1082 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1082[0] { - yy1084 := &x.LoadBalancer - yy1084.CodecEncodeSelf(e) + if yyq1094[0] { + yy1096 := &x.LoadBalancer + yy1096.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1082[0] { + if yyq1094[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1085 := &x.LoadBalancer - yy1085.CodecEncodeSelf(e) + yy1097 := &x.LoadBalancer + yy1097.CodecEncodeSelf(e) } } - if yyr1082 || yy2arr1082 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12785,215 +12857,6 @@ 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 @@ -13023,7 +12886,7 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -13045,6 +12908,215 @@ func (x *IngressRule) 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 = "" @@ -13066,9 +13138,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1100) - } // end switch yys1100 - } // end for yyj1100 + z.DecStructFieldNotFound(-1, yys1112) + } // end switch yys1112 + } // end for yyj1112 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13076,16 +13148,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1103 int - var yyb1103 bool - var yyhl1103 bool = l >= 0 - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + var yyj1115 int + var yyb1115 bool + var yyhl1115 bool = l >= 0 + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1103 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1103 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13098,13 +13170,13 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1103 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1103 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13120,17 +13192,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1103 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1103 { + if yyb1115 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1103-1, "") + z.DecStructFieldNotFound(yyj1115-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13142,33 +13214,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1106 := z.EncBinary() - _ = yym1106 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(1) } else { - yynn1107 = 0 - for _, b := range yyq1107 { + yynn1119 = 0 + for _, b := range yyq1119 { if b { - yynn1107++ + yynn1119++ } } - r.EncodeMapStart(yynn1107) - yynn1107 = 0 + r.EncodeMapStart(yynn1119) + yynn1119 = 0 } - if yyr1107 || yy2arr1107 { + if yyr1119 || yy2arr1119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1107[0] { + if yyq1119[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -13178,7 +13250,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1107[0] { + if yyq1119[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13189,7 +13261,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1107 || yy2arr1107 { + if yyr1119 || yy2arr1119 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13202,25 +13274,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1109 := z.DecBinary() - _ = yym1109 + yym1121 := z.DecBinary() + _ = yym1121 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1110 := r.ContainerType() - if yyct1110 == codecSelferValueTypeMap1234 { - yyl1110 := r.ReadMapStart() - if yyl1110 == 0 { + yyct1122 := r.ContainerType() + if yyct1122 == codecSelferValueTypeMap1234 { + yyl1122 := r.ReadMapStart() + if yyl1122 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1110, d) + x.codecDecodeSelfFromMap(yyl1122, d) } - } else if yyct1110 == codecSelferValueTypeArray1234 { - yyl1110 := r.ReadArrayStart() - if yyl1110 == 0 { + } else if yyct1122 == codecSelferValueTypeArray1234 { + yyl1122 := r.ReadArrayStart() + if yyl1122 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1110, d) + x.codecDecodeSelfFromArray(yyl1122, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13232,12 +13304,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1111Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1111Slc - var yyhl1111 bool = l >= 0 - for yyj1111 := 0; ; yyj1111++ { - if yyhl1111 { - if yyj1111 >= l { + var yys1123Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1123Slc + var yyhl1123 bool = l >= 0 + for yyj1123 := 0; ; yyj1123++ { + if yyhl1123 { + if yyj1123 >= l { break } } else { @@ -13246,10 +13318,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1111Slc = r.DecodeBytes(yys1111Slc, true, true) - yys1111 := string(yys1111Slc) + yys1123Slc = r.DecodeBytes(yys1123Slc, true, true) + yys1123 := string(yys1123Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1111 { + switch yys1123 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -13262,194 +13334,13 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1111) - } // end switch yys1111 - } // end for yyj1111 + z.DecStructFieldNotFound(-1, yys1123) + } // end switch yys1123 + } // end for yyj1123 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 @@ -13468,15 +13359,14 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv1126 := &x.Paths - yym1127 := z.DecBinary() - _ = yym1127 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1126), d) + if x.HTTP != nil { + x.HTTP = nil } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } for { yyj1125++ @@ -13494,6 +13384,188 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco 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) @@ -13501,35 +13573,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1128 := z.EncBinary() - _ = yym1128 + yym1140 := z.EncBinary() + _ = yym1140 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1129 = 1 - for _, b := range yyq1129 { + yynn1141 = 1 + for _, b := range yyq1141 { if b { - yynn1129++ + yynn1141++ } } - r.EncodeMapStart(yynn1129) - yynn1129 = 0 + r.EncodeMapStart(yynn1141) + yynn1141 = 0 } - if yyr1129 || yy2arr1129 { + if yyr1141 || yy2arr1141 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1129[0] { - yym1131 := z.EncBinary() - _ = yym1131 + if yyq1141[0] { + yym1143 := z.EncBinary() + _ = yym1143 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13538,30 +13610,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1129[0] { + if yyq1141[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1132 := z.EncBinary() - _ = yym1132 + yym1144 := z.EncBinary() + _ = yym1144 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1129 || yy2arr1129 { + if yyr1141 || yy2arr1141 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1134 := &x.Backend - yy1134.CodecEncodeSelf(e) + yy1146 := &x.Backend + yy1146.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1135 := &x.Backend - yy1135.CodecEncodeSelf(e) + yy1147 := &x.Backend + yy1147.CodecEncodeSelf(e) } - if yyr1129 || yy2arr1129 { + if yyr1141 || yy2arr1141 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13574,25 +13646,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1136 := z.DecBinary() - _ = yym1136 + yym1148 := z.DecBinary() + _ = yym1148 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1137 := r.ContainerType() - if yyct1137 == codecSelferValueTypeMap1234 { - yyl1137 := r.ReadMapStart() - if yyl1137 == 0 { + yyct1149 := r.ContainerType() + if yyct1149 == codecSelferValueTypeMap1234 { + yyl1149 := r.ReadMapStart() + if yyl1149 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1137, d) + x.codecDecodeSelfFromMap(yyl1149, d) } - } else if yyct1137 == codecSelferValueTypeArray1234 { - yyl1137 := r.ReadArrayStart() - if yyl1137 == 0 { + } else if yyct1149 == codecSelferValueTypeArray1234 { + yyl1149 := r.ReadArrayStart() + if yyl1149 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1137, d) + x.codecDecodeSelfFromArray(yyl1149, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13604,12 +13676,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1138Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1138Slc - var yyhl1138 bool = l >= 0 - for yyj1138 := 0; ; yyj1138++ { - if yyhl1138 { - if yyj1138 >= l { + var yys1150Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1150Slc + var yyhl1150 bool = l >= 0 + for yyj1150 := 0; ; yyj1150++ { + if yyhl1150 { + if yyj1150 >= l { break } } else { @@ -13618,10 +13690,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1138Slc = r.DecodeBytes(yys1138Slc, true, true) - yys1138 := string(yys1138Slc) + yys1150Slc = r.DecodeBytes(yys1150Slc, true, true) + yys1150 := string(yys1150Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1138 { + switch yys1150 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13632,13 +13704,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1140 := &x.Backend - yyv1140.CodecDecodeSelf(d) + yyv1152 := &x.Backend + yyv1152.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1138) - } // end switch yys1138 - } // end for yyj1138 + z.DecStructFieldNotFound(-1, yys1150) + } // end switch yys1150 + } // end for yyj1150 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13646,16 +13718,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1141 int - var yyb1141 bool - var yyhl1141 bool = l >= 0 - yyj1141++ - if yyhl1141 { - yyb1141 = yyj1141 > l + var yyj1153 int + var yyb1153 bool + var yyhl1153 bool = l >= 0 + yyj1153++ + if yyhl1153 { + yyb1153 = yyj1153 > l } else { - yyb1141 = r.CheckBreak() + yyb1153 = r.CheckBreak() } - if yyb1141 { + if yyb1153 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13665,13 +13737,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj1141++ - if yyhl1141 { - yyb1141 = yyj1141 > l + yyj1153++ + if yyhl1153 { + yyb1153 = yyj1153 > l } else { - yyb1141 = r.CheckBreak() + yyb1153 = r.CheckBreak() } - if yyb1141 { + if yyb1153 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13679,21 +13751,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1143 := &x.Backend - yyv1143.CodecDecodeSelf(d) + yyv1155 := &x.Backend + yyv1155.CodecDecodeSelf(d) } for { - yyj1141++ - if yyhl1141 { - yyb1141 = yyj1141 > l + yyj1153++ + if yyhl1153 { + yyb1153 = yyj1153 > l } else { - yyb1141 = r.CheckBreak() + yyb1153 = r.CheckBreak() } - if yyb1141 { + if yyb1153 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1141-1, "") + z.DecStructFieldNotFound(yyj1153-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13705,33 +13777,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1144 := z.EncBinary() - _ = yym1144 + yym1156 := z.EncBinary() + _ = yym1156 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1145 := !z.EncBinary() - yy2arr1145 := z.EncBasicHandle().StructToArray - var yyq1145 [2]bool - _, _, _ = yysep1145, yyq1145, yy2arr1145 - const yyr1145 bool = false - var yynn1145 int - if yyr1145 || yy2arr1145 { + yysep1157 := !z.EncBinary() + yy2arr1157 := z.EncBasicHandle().StructToArray + var yyq1157 [2]bool + _, _, _ = yysep1157, yyq1157, yy2arr1157 + const yyr1157 bool = false + var yynn1157 int + if yyr1157 || yy2arr1157 { r.EncodeArrayStart(2) } else { - yynn1145 = 2 - for _, b := range yyq1145 { + yynn1157 = 2 + for _, b := range yyq1157 { if b { - yynn1145++ + yynn1157++ } } - r.EncodeMapStart(yynn1145) - yynn1145 = 0 + r.EncodeMapStart(yynn1157) + yynn1157 = 0 } - if yyr1145 || yy2arr1145 { + if yyr1157 || yy2arr1157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1147 := z.EncBinary() - _ = yym1147 + yym1159 := z.EncBinary() + _ = yym1159 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -13740,41 +13812,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1148 := z.EncBinary() - _ = yym1148 + yym1160 := z.EncBinary() + _ = yym1160 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr1145 || yy2arr1145 { + if yyr1157 || yy2arr1157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1150 := &x.ServicePort - yym1151 := z.EncBinary() - _ = yym1151 + yy1162 := &x.ServicePort + yym1163 := z.EncBinary() + _ = yym1163 if false { - } else if z.HasExtensions() && z.EncExt(yy1150) { - } else if !yym1151 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1150) + } else if z.HasExtensions() && z.EncExt(yy1162) { + } else if !yym1163 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1162) } else { - z.EncFallback(yy1150) + z.EncFallback(yy1162) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1152 := &x.ServicePort - yym1153 := z.EncBinary() - _ = yym1153 + yy1164 := &x.ServicePort + yym1165 := z.EncBinary() + _ = yym1165 if false { - } else if z.HasExtensions() && z.EncExt(yy1152) { - } else if !yym1153 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1152) + } else if z.HasExtensions() && z.EncExt(yy1164) { + } else if !yym1165 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1164) } else { - z.EncFallback(yy1152) + z.EncFallback(yy1164) } } - if yyr1145 || yy2arr1145 { + if yyr1157 || yy2arr1157 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13787,25 +13859,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1154 := z.DecBinary() - _ = yym1154 + yym1166 := z.DecBinary() + _ = yym1166 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1155 := r.ContainerType() - if yyct1155 == codecSelferValueTypeMap1234 { - yyl1155 := r.ReadMapStart() - if yyl1155 == 0 { + yyct1167 := r.ContainerType() + if yyct1167 == codecSelferValueTypeMap1234 { + yyl1167 := r.ReadMapStart() + if yyl1167 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1155, d) + x.codecDecodeSelfFromMap(yyl1167, d) } - } else if yyct1155 == codecSelferValueTypeArray1234 { - yyl1155 := r.ReadArrayStart() - if yyl1155 == 0 { + } else if yyct1167 == codecSelferValueTypeArray1234 { + yyl1167 := r.ReadArrayStart() + if yyl1167 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1155, d) + x.codecDecodeSelfFromArray(yyl1167, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13817,12 +13889,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1156Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1156Slc - var yyhl1156 bool = l >= 0 - for yyj1156 := 0; ; yyj1156++ { - if yyhl1156 { - if yyj1156 >= l { + var yys1168Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1168Slc + var yyhl1168 bool = l >= 0 + for yyj1168 := 0; ; yyj1168++ { + if yyhl1168 { + if yyj1168 >= l { break } } else { @@ -13831,10 +13903,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1156Slc = r.DecodeBytes(yys1156Slc, true, true) - yys1156 := string(yys1156Slc) + yys1168Slc = r.DecodeBytes(yys1168Slc, true, true) + yys1168 := string(yys1168Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1156 { + switch yys1168 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -13845,21 +13917,21 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1158 := &x.ServicePort - yym1159 := z.DecBinary() - _ = yym1159 + yyv1170 := &x.ServicePort + yym1171 := z.DecBinary() + _ = yym1171 if false { - } else if z.HasExtensions() && z.DecExt(yyv1158) { - } else if !yym1159 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1158) + } else if z.HasExtensions() && z.DecExt(yyv1170) { + } else if !yym1171 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1170) } else { - z.DecFallback(yyv1158, false) + z.DecFallback(yyv1170, false) } } default: - z.DecStructFieldNotFound(-1, yys1156) - } // end switch yys1156 - } // end for yyj1156 + z.DecStructFieldNotFound(-1, yys1168) + } // end switch yys1168 + } // end for yyj1168 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13867,16 +13939,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1160 int - var yyb1160 bool - var yyhl1160 bool = l >= 0 - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l + var yyj1172 int + var yyb1172 bool + var yyhl1172 bool = l >= 0 + yyj1172++ + if yyhl1172 { + yyb1172 = yyj1172 > l } else { - yyb1160 = r.CheckBreak() + yyb1172 = r.CheckBreak() } - if yyb1160 { + if yyb1172 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13886,13 +13958,13 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceName = string(r.DecodeString()) } - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l + yyj1172++ + if yyhl1172 { + yyb1172 = yyj1172 > l } else { - yyb1160 = r.CheckBreak() + yyb1172 = r.CheckBreak() } - if yyb1160 { + if yyb1172 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13900,29 +13972,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1162 := &x.ServicePort - yym1163 := z.DecBinary() - _ = yym1163 + yyv1174 := &x.ServicePort + yym1175 := z.DecBinary() + _ = yym1175 if false { - } else if z.HasExtensions() && z.DecExt(yyv1162) { - } else if !yym1163 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1162) + } else if z.HasExtensions() && z.DecExt(yyv1174) { + } else if !yym1175 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1174) } else { - z.DecFallback(yyv1162, false) + z.DecFallback(yyv1174, false) } } for { - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l + yyj1172++ + if yyhl1172 { + yyb1172 = yyj1172 > l } else { - yyb1160 = r.CheckBreak() + yyb1172 = r.CheckBreak() } - if yyb1160 { + if yyb1172 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1160-1, "") + z.DecStructFieldNotFound(yyj1172-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13934,36 +14006,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1164 := z.EncBinary() - _ = yym1164 + yym1176 := z.EncBinary() + _ = yym1176 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn1165 = 2 - for _, b := range yyq1165 { + yynn1177 = 2 + for _, b := range yyq1177 { if b { - yynn1165++ + yynn1177++ } } - r.EncodeMapStart(yynn1165) - yynn1165 = 0 + r.EncodeMapStart(yynn1177) + yynn1177 = 0 } - if yyr1165 || yy2arr1165 { + if yyr1177 || yy2arr1177 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[0] { - yym1167 := z.EncBinary() - _ = yym1167 + if yyq1177[0] { + yym1179 := z.EncBinary() + _ = yym1179 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13972,23 +14044,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1165[0] { + if yyq1177[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1168 := z.EncBinary() - _ = yym1168 + yym1180 := z.EncBinary() + _ = yym1180 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1165 || yy2arr1165 { + if yyr1177 || yy2arr1177 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[1] { - yym1170 := z.EncBinary() - _ = yym1170 + if yyq1177[1] { + yym1182 := z.EncBinary() + _ = yym1182 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13997,22 +14069,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1165[1] { + if yyq1177[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1171 := z.EncBinary() - _ = yym1171 + yym1183 := z.EncBinary() + _ = yym1183 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1165 || yy2arr1165 { + if yyr1177 || yy2arr1177 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1173 := z.EncBinary() - _ = yym1173 + yym1185 := z.EncBinary() + _ = yym1185 if false { } else { r.EncodeBool(bool(x.Export)) @@ -14021,17 +14093,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1174 := z.EncBinary() - _ = yym1174 + yym1186 := z.EncBinary() + _ = yym1186 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr1165 || yy2arr1165 { + if yyr1177 || yy2arr1177 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1176 := z.EncBinary() - _ = yym1176 + yym1188 := z.EncBinary() + _ = yym1188 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -14040,14 +14112,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1177 := z.EncBinary() - _ = yym1177 + yym1189 := z.EncBinary() + _ = yym1189 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr1165 || yy2arr1165 { + if yyr1177 || yy2arr1177 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14060,25 +14132,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1178 := z.DecBinary() - _ = yym1178 + yym1190 := z.DecBinary() + _ = yym1190 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1179 := r.ContainerType() - if yyct1179 == codecSelferValueTypeMap1234 { - yyl1179 := r.ReadMapStart() - if yyl1179 == 0 { + yyct1191 := r.ContainerType() + if yyct1191 == codecSelferValueTypeMap1234 { + yyl1191 := r.ReadMapStart() + if yyl1191 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1179, d) + x.codecDecodeSelfFromMap(yyl1191, d) } - } else if yyct1179 == codecSelferValueTypeArray1234 { - yyl1179 := r.ReadArrayStart() - if yyl1179 == 0 { + } else if yyct1191 == codecSelferValueTypeArray1234 { + yyl1191 := r.ReadArrayStart() + if yyl1191 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1179, d) + x.codecDecodeSelfFromArray(yyl1191, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14090,12 +14162,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1180Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1180Slc - var yyhl1180 bool = l >= 0 - for yyj1180 := 0; ; yyj1180++ { - if yyhl1180 { - if yyj1180 >= l { + var yys1192Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1192Slc + var yyhl1192 bool = l >= 0 + for yyj1192 := 0; ; yyj1192++ { + if yyhl1192 { + if yyj1192 >= l { break } } else { @@ -14104,10 +14176,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1180Slc = r.DecodeBytes(yys1180Slc, true, true) - yys1180 := string(yys1180Slc) + yys1192Slc = r.DecodeBytes(yys1192Slc, true, true) + yys1192 := string(yys1192Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1180 { + switch yys1192 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14133,9 +14205,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1180) - } // end switch yys1180 - } // end for yyj1180 + z.DecStructFieldNotFound(-1, yys1192) + } // end switch yys1192 + } // end for yyj1192 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14143,16 +14215,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1185 int - var yyb1185 bool - var yyhl1185 bool = l >= 0 - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l + var yyj1197 int + var yyb1197 bool + var yyhl1197 bool = l >= 0 + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1185 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1185 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14162,13 +14234,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1185 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1185 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14178,13 +14250,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1185 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1185 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14194,13 +14266,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1185 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1185 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14211,120 +14283,158 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj1185++ - if yyhl1185 { - yyb1185 = yyj1185 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1185 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1185 { + if yyb1197 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1185-1, "") + z.DecStructFieldNotFound(yyj1197-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1190 := z.EncBinary() - _ = yym1190 + yym1202 := z.EncBinary() + _ = yym1202 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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) + 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) } else { - yynn1191 = 0 - for _, b := range yyq1191 { + yynn1203 = 0 + for _, b := range yyq1203 { if b { - yynn1191++ + yynn1203++ } } - r.EncodeMapStart(yynn1191) - yynn1191 = 0 + r.EncodeMapStart(yynn1203) + yynn1203 = 0 } - if yyr1191 || yy2arr1191 { + if yyr1203 || yy2arr1203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1191[0] { - if x.MatchLabels == nil { - r.EncodeNil() + if yyq1203[0] { + yym1205 := z.EncBinary() + _ = yym1205 + if false { } else { - yym1193 := z.EncBinary() - _ = yym1193 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } + } 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 yyq1191[0] { + if yyq1203[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchLabels == nil { - r.EncodeNil() - } else { - yym1194 := z.EncBinary() - _ = yym1194 - if false { - } else { - z.F.EncMapStringStringV(x.MatchLabels, false, e) - } - } + yy1212 := &x.ObjectMeta + yy1212.CodecEncodeSelf(e) } } - if yyr1191 || yy2arr1191 { + if yyr1203 || yy2arr1203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1191[1] { - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym1196 := z.EncBinary() - _ = yym1196 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } + if yyq1203[3] { + yy1214 := &x.Spec + yy1214.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1191[1] { + if yyq1203[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) + r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MatchExpressions == nil { - r.EncodeNil() - } else { - yym1197 := z.EncBinary() - _ = yym1197 - if false { - } else { - h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) - } - } + yy1215 := &x.Spec + yy1215.CodecEncodeSelf(e) } } - if yyr1191 || yy2arr1191 { + 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 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14333,258 +14443,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } -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) { +func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14614,7 +14473,7 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *LabelSelectorRequirement) 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 @@ -14636,29 +14495,38 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De yys1221 := string(yys1221Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1221 { - case "key": + case "kind": if r.TryDecodeAsNil() { - x.Key = "" + x.Kind = "" } else { - x.Key = string(r.DecodeString()) + x.Kind = string(r.DecodeString()) } - case "operator": + case "apiVersion": if r.TryDecodeAsNil() { - x.Operator = "" + x.APIVersion = "" } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) + x.APIVersion = string(r.DecodeString()) } - case "values": + case "metadata": if r.TryDecodeAsNil() { - x.Values = nil + x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1224 := &x.Values - yym1225 := z.DecBinary() - _ = yym1225 - if false { - } else { - z.F.DecSliceStringX(yyv1224, false, d) - } + 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) } default: z.DecStructFieldNotFound(-1, yys1221) @@ -14667,110 +14535,113 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *LabelSelectorRequirement) 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 - var yyj1226 int - var yyb1226 bool - var yyhl1226 bool = l >= 0 - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l + var yyj1227 int + var yyb1227 bool + var yyhl1227 bool = l >= 0 + yyj1227++ + if yyhl1227 { + yyb1227 = yyj1227 > l } else { - yyb1226 = r.CheckBreak() + yyb1227 = r.CheckBreak() } - if yyb1226 { + if yyb1227 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Key = "" + x.Kind = "" } else { - x.Key = string(r.DecodeString()) + x.Kind = string(r.DecodeString()) } - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l + yyj1227++ + if yyhl1227 { + yyb1227 = yyj1227 > l } else { - yyb1226 = r.CheckBreak() + yyb1227 = r.CheckBreak() } - if yyb1226 { + if yyb1227 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Operator = "" + x.APIVersion = "" } else { - x.Operator = LabelSelectorOperator(r.DecodeString()) + x.APIVersion = string(r.DecodeString()) } - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l + yyj1227++ + if yyhl1227 { + yyb1227 = yyj1227 > l } else { - yyb1226 = r.CheckBreak() + yyb1227 = r.CheckBreak() } - if yyb1226 { + if yyb1227 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Values = nil + x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1229 := &x.Values - yym1230 := z.DecBinary() - _ = yym1230 - if false { - } else { - z.F.DecSliceStringX(yyv1229, false, d) - } + 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) } for { - yyj1226++ - if yyhl1226 { - yyb1226 = yyj1226 > l + yyj1227++ + if yyhl1227 { + yyb1227 = yyj1227 > l } else { - yyb1226 = r.CheckBreak() + yyb1227 = r.CheckBreak() } - if yyb1226 { + if yyb1227 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1226-1, "") + z.DecStructFieldNotFound(yyj1227-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -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) { +func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -14784,19 +14655,17 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep1234 := !z.EncBinary() yy2arr1234 := z.EncBasicHandle().StructToArray - var yyq1234 [5]bool + var yyq1234 [4]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(5) + r.EncodeArrayStart(4) } else { - yynn1234 = 0 + yynn1234 = 1 for _, b := range yyq1234 { if b { yynn1234++ @@ -14858,8 +14727,14 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1234[2] { - yy1242 := &x.ObjectMeta - yy1242.CodecEncodeSelf(e) + yy1242 := &x.ListMeta + yym1243 := z.EncBinary() + _ = yym1243 + if false { + } else if z.HasExtensions() && z.EncExt(yy1242) { + } else { + z.EncFallback(yy1242) + } } else { r.EncodeNil() } @@ -14868,42 +14743,41 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1243 := &x.ObjectMeta - yy1243.CodecEncodeSelf(e) + yy1244 := &x.ListMeta + yym1245 := z.EncBinary() + _ = yym1245 + if false { + } else if z.HasExtensions() && z.EncExt(yy1244) { + } else { + z.EncFallback(yy1244) + } } } if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[3] { - yy1245 := &x.Spec - yy1245.CodecEncodeSelf(e) - } else { + if x.Items == nil { r.EncodeNil() + } else { + yym1247 := z.EncBinary() + _ = yym1247 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } } } else { - 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 { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { 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) + } else { + yym1248 := z.EncBinary() + _ = yym1248 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } } } if yyr1234 || yy2arr1234 { @@ -14915,29 +14789,29 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1250 := z.DecBinary() - _ = yym1250 + yym1249 := z.DecBinary() + _ = yym1249 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1251 := r.ContainerType() - if yyct1251 == codecSelferValueTypeMap1234 { - yyl1251 := r.ReadMapStart() - if yyl1251 == 0 { + yyct1250 := r.ContainerType() + if yyct1250 == codecSelferValueTypeMap1234 { + yyl1250 := r.ReadMapStart() + if yyl1250 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1251, d) + x.codecDecodeSelfFromMap(yyl1250, d) } - } else if yyct1251 == codecSelferValueTypeArray1234 { - yyl1251 := r.ReadArrayStart() - if yyl1251 == 0 { + } else if yyct1250 == codecSelferValueTypeArray1234 { + yyl1250 := r.ReadArrayStart() + if yyl1250 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1251, d) + x.codecDecodeSelfFromArray(yyl1250, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14945,16 +14819,16 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1252Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1252Slc - var yyhl1252 bool = l >= 0 - for yyj1252 := 0; ; yyj1252++ { - if yyhl1252 { - if yyj1252 >= l { + var yys1251Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1251Slc + var yyhl1251 bool = l >= 0 + for yyj1251 := 0; ; yyj1251++ { + if yyhl1251 { + if yyj1251 >= l { break } } else { @@ -14963,10 +14837,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1252Slc = r.DecodeBytes(yys1252Slc, true, true) - yys1252 := string(yys1252Slc) + yys1251Slc = r.DecodeBytes(yys1251Slc, true, true) + yys1251 := string(yys1251Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1252 { + switch yys1251 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14981,33 +14855,37 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} + x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1255 := &x.ObjectMeta - yyv1255.CodecDecodeSelf(d) + yyv1254 := &x.ListMeta + yym1255 := z.DecBinary() + _ = yym1255 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1254) { + } else { + z.DecFallback(yyv1254, false) + } } - case "spec": + case "items": if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} + x.Items = nil } else { - yyv1256 := &x.Spec - yyv1256.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv1257 := &x.Status - yyv1257.CodecDecodeSelf(d) + yyv1256 := &x.Items + yym1257 := z.DecBinary() + _ = yym1257 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1256), d) + } } default: - z.DecStructFieldNotFound(-1, yys1252) - } // end switch yys1252 - } // end for yyj1252 + z.DecStructFieldNotFound(-1, yys1251) + } // end switch yys1251 + } // end for yyj1251 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -15058,10 +14936,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} + x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1261 := &x.ObjectMeta - yyv1261.CodecDecodeSelf(d) + yyv1261 := &x.ListMeta + yym1262 := z.DecBinary() + _ = yym1262 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1261) { + } else { + z.DecFallback(yyv1261, false) + } } yyj1258++ if yyhl1258 { @@ -15075,27 +14959,15 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} + x.Items = nil } else { - 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) + yyv1263 := &x.Items + yym1264 := z.DecBinary() + _ = yym1264 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1263), d) + } } for { yyj1258++ @@ -15113,350 +14985,6 @@ func (x *ReplicaSet) 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) @@ -15464,73 +14992,73 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1296 := z.EncBinary() - _ = yym1296 + yym1265 := z.EncBinary() + _ = yym1265 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn1297 = 0 - for _, b := range yyq1297 { + yynn1266 = 0 + for _, b := range yyq1266 { if b { - yynn1297++ + yynn1266++ } } - r.EncodeMapStart(yynn1297) - yynn1297 = 0 + r.EncodeMapStart(yynn1266) + yynn1266 = 0 } - if yyr1297 || yy2arr1297 { + if yyr1266 || yy2arr1266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[0] { + if yyq1266[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1299 := *x.Replicas - yym1300 := z.EncBinary() - _ = yym1300 + yy1268 := *x.Replicas + yym1269 := z.EncBinary() + _ = yym1269 if false { } else { - r.EncodeInt(int64(yy1299)) + r.EncodeInt(int64(yy1268)) } } } else { r.EncodeNil() } } else { - if yyq1297[0] { + if yyq1266[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1301 := *x.Replicas - yym1302 := z.EncBinary() - _ = yym1302 + yy1270 := *x.Replicas + yym1271 := z.EncBinary() + _ = yym1271 if false { } else { - r.EncodeInt(int64(yy1301)) + r.EncodeInt(int64(yy1270)) } } } } - if yyr1297 || yy2arr1297 { + if yyr1266 || yy2arr1266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[1] { - yym1304 := z.EncBinary() - _ = yym1304 + if yyq1266[1] { + yym1273 := z.EncBinary() + _ = yym1273 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -15539,59 +15067,71 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1297[1] { + if yyq1266[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1305 := z.EncBinary() - _ = yym1305 + yym1274 := z.EncBinary() + _ = yym1274 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr1297 || yy2arr1297 { + if yyr1266 || yy2arr1266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[2] { + if yyq1266[2] { if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym1276 := z.EncBinary() + _ = yym1276 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } else { r.EncodeNil() } } else { - if yyq1297[2] { + if yyq1266[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - x.Selector.CodecEncodeSelf(e) + yym1277 := z.EncBinary() + _ = yym1277 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } } } } - if yyr1297 || yy2arr1297 { + if yyr1266 || yy2arr1266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1297[3] { - yy1308 := &x.Template - yy1308.CodecEncodeSelf(e) + if yyq1266[3] { + yy1279 := &x.Template + yy1279.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1297[3] { + if yyq1266[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1309 := &x.Template - yy1309.CodecEncodeSelf(e) + yy1280 := &x.Template + yy1280.CodecEncodeSelf(e) } } - if yyr1297 || yy2arr1297 { + if yyr1266 || yy2arr1266 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15604,25 +15144,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1310 := z.DecBinary() - _ = yym1310 + yym1281 := z.DecBinary() + _ = yym1281 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1311 := r.ContainerType() - if yyct1311 == codecSelferValueTypeMap1234 { - yyl1311 := r.ReadMapStart() - if yyl1311 == 0 { + yyct1282 := r.ContainerType() + if yyct1282 == codecSelferValueTypeMap1234 { + yyl1282 := r.ReadMapStart() + if yyl1282 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1311, d) + x.codecDecodeSelfFromMap(yyl1282, d) } - } else if yyct1311 == codecSelferValueTypeArray1234 { - yyl1311 := r.ReadArrayStart() - if yyl1311 == 0 { + } else if yyct1282 == codecSelferValueTypeArray1234 { + yyl1282 := r.ReadArrayStart() + if yyl1282 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1311, d) + x.codecDecodeSelfFromArray(yyl1282, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15634,12 +15174,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1312Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1312Slc - var yyhl1312 bool = l >= 0 - for yyj1312 := 0; ; yyj1312++ { - if yyhl1312 { - if yyj1312 >= l { + var yys1283Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1283Slc + var yyhl1283 bool = l >= 0 + for yyj1283 := 0; ; yyj1283++ { + if yyhl1283 { + if yyj1283 >= l { break } } else { @@ -15648,10 +15188,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1312Slc = r.DecodeBytes(yys1312Slc, true, true) - yys1312 := string(yys1312Slc) + yys1283Slc = r.DecodeBytes(yys1283Slc, true, true) + yys1283 := string(yys1283Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1312 { + switch yys1283 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -15661,8 +15201,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1314 := z.DecBinary() - _ = yym1314 + yym1285 := z.DecBinary() + _ = yym1285 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -15681,21 +15221,27 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1317 := &x.Template - yyv1317.CodecDecodeSelf(d) + yyv1289 := &x.Template + yyv1289.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1312) - } // end switch yys1312 - } // end for yyj1312 + z.DecStructFieldNotFound(-1, yys1283) + } // end switch yys1283 + } // end for yyj1283 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15703,16 +15249,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1318 int - var yyb1318 bool - var yyhl1318 bool = l >= 0 - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l + var yyj1290 int + var yyb1290 bool + var yyhl1290 bool = l >= 0 + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1318 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1318 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15725,20 +15271,20 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1320 := z.DecBinary() - _ = yym1320 + yym1292 := z.DecBinary() + _ = yym1292 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1318 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1318 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15748,13 +15294,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1318 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1318 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15765,17 +15311,23 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } else { if x.Selector == nil { - x.Selector = new(LabelSelector) + 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.CodecDecodeSelf(d) } - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1318 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1318 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15783,21 +15335,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1323 := &x.Template - yyv1323.CodecDecodeSelf(d) + yyv1296 := &x.Template + yyv1296.CodecDecodeSelf(d) } for { - yyj1318++ - if yyhl1318 { - yyb1318 = yyj1318 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1318 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1318 { + if yyb1290 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1318-1, "") + z.DecStructFieldNotFound(yyj1290-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15809,38 +15361,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1324 := z.EncBinary() - _ = yym1324 + yym1297 := z.EncBinary() + _ = yym1297 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn1325 = 1 - for _, b := range yyq1325 { + yynn1298 = 1 + for _, b := range yyq1298 { if b { - yynn1325++ + yynn1298++ } } - r.EncodeMapStart(yynn1325) - yynn1325 = 0 + r.EncodeMapStart(yynn1298) + yynn1298 = 0 } - if yyr1325 || yy2arr1325 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1327 := z.EncBinary() - _ = yym1327 + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -15849,18 +15401,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1328 := z.EncBinary() - _ = yym1328 + yym1301 := z.EncBinary() + _ = yym1301 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1325 || yy2arr1325 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[1] { - yym1330 := z.EncBinary() - _ = yym1330 + if yyq1298[1] { + yym1303 := z.EncBinary() + _ = yym1303 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -15869,23 +15421,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[1] { + if yyq1298[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1331 := z.EncBinary() - _ = yym1331 + yym1304 := z.EncBinary() + _ = yym1304 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr1325 || yy2arr1325 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[2] { - yym1333 := z.EncBinary() - _ = yym1333 + if yyq1298[2] { + yym1306 := z.EncBinary() + _ = yym1306 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -15894,23 +15446,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[2] { + if yyq1298[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1334 := z.EncBinary() - _ = yym1334 + yym1307 := z.EncBinary() + _ = yym1307 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr1325 || yy2arr1325 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[3] { - yym1336 := z.EncBinary() - _ = yym1336 + if yyq1298[3] { + yym1309 := z.EncBinary() + _ = yym1309 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -15919,23 +15471,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[3] { + if yyq1298[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1337 := z.EncBinary() - _ = yym1337 + yym1310 := z.EncBinary() + _ = yym1310 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr1325 || yy2arr1325 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[4] { - yym1339 := z.EncBinary() - _ = yym1339 + if yyq1298[4] { + yym1312 := z.EncBinary() + _ = yym1312 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -15944,26 +15496,26 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1325[4] { + if yyq1298[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1340 := z.EncBinary() - _ = yym1340 + yym1313 := z.EncBinary() + _ = yym1313 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1325 || yy2arr1325 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[5] { + if yyq1298[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym1342 := z.EncBinary() - _ = yym1342 + yym1315 := z.EncBinary() + _ = yym1315 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15973,15 +15525,15 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1325[5] { + if yyq1298[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1343 := z.EncBinary() - _ = yym1343 + yym1316 := z.EncBinary() + _ = yym1316 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15989,7 +15541,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1325 || yy2arr1325 { + if yyr1298 || yy2arr1298 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16002,25 +15554,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1344 := z.DecBinary() - _ = yym1344 + yym1317 := z.DecBinary() + _ = yym1317 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1345 := r.ContainerType() - if yyct1345 == codecSelferValueTypeMap1234 { - yyl1345 := r.ReadMapStart() - if yyl1345 == 0 { + yyct1318 := r.ContainerType() + if yyct1318 == codecSelferValueTypeMap1234 { + yyl1318 := r.ReadMapStart() + if yyl1318 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1345, d) + x.codecDecodeSelfFromMap(yyl1318, d) } - } else if yyct1345 == codecSelferValueTypeArray1234 { - yyl1345 := r.ReadArrayStart() - if yyl1345 == 0 { + } else if yyct1318 == codecSelferValueTypeArray1234 { + yyl1318 := r.ReadArrayStart() + if yyl1318 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1345, d) + x.codecDecodeSelfFromArray(yyl1318, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16032,12 +15584,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1346Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1346Slc - var yyhl1346 bool = l >= 0 - for yyj1346 := 0; ; yyj1346++ { - if yyhl1346 { - if yyj1346 >= l { + var yys1319Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1319Slc + var yyhl1319 bool = l >= 0 + for yyj1319 := 0; ; yyj1319++ { + if yyhl1319 { + if yyj1319 >= l { break } } else { @@ -16046,10 +15598,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1346Slc = r.DecodeBytes(yys1346Slc, true, true) - yys1346 := string(yys1346Slc) + yys1319Slc = r.DecodeBytes(yys1319Slc, true, true) + yys1319 := string(yys1319Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1346 { + switch yys1319 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -16084,18 +15636,18 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1352 := &x.Conditions - yym1353 := z.DecBinary() - _ = yym1353 + yyv1325 := &x.Conditions + yym1326 := z.DecBinary() + _ = yym1326 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1352), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1325), d) } } default: - z.DecStructFieldNotFound(-1, yys1346) - } // end switch yys1346 - } // end for yyj1346 + z.DecStructFieldNotFound(-1, yys1319) + } // end switch yys1319 + } // end for yyj1319 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16103,16 +15655,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1354 int - var yyb1354 bool - var yyhl1354 bool = l >= 0 - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + var yyj1327 int + var yyb1327 bool + var yyhl1327 bool = l >= 0 + yyj1327++ + if yyhl1327 { + yyb1327 = yyj1327 > l } else { - yyb1354 = r.CheckBreak() + yyb1327 = r.CheckBreak() } - if yyb1354 { + if yyb1327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16122,13 +15674,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1327++ + if yyhl1327 { + yyb1327 = yyj1327 > l } else { - yyb1354 = r.CheckBreak() + yyb1327 = r.CheckBreak() } - if yyb1354 { + if yyb1327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16138,13 +15690,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1327++ + if yyhl1327 { + yyb1327 = yyj1327 > l } else { - yyb1354 = r.CheckBreak() + yyb1327 = r.CheckBreak() } - if yyb1354 { + if yyb1327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16154,13 +15706,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1327++ + if yyhl1327 { + yyb1327 = yyj1327 > l } else { - yyb1354 = r.CheckBreak() + yyb1327 = r.CheckBreak() } - if yyb1354 { + if yyb1327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16170,13 +15722,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1327++ + if yyhl1327 { + yyb1327 = yyj1327 > l } else { - yyb1354 = r.CheckBreak() + yyb1327 = r.CheckBreak() } - if yyb1354 { + if yyb1327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16186,13 +15738,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1327++ + if yyhl1327 { + yyb1327 = yyj1327 > l } else { - yyb1354 = r.CheckBreak() + yyb1327 = r.CheckBreak() } - if yyb1354 { + if yyb1327 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16200,26 +15752,26 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1360 := &x.Conditions - yym1361 := z.DecBinary() - _ = yym1361 + yyv1333 := &x.Conditions + yym1334 := z.DecBinary() + _ = yym1334 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1360), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1333), d) } } for { - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1327++ + if yyhl1327 { + yyb1327 = yyj1327 > l } else { - yyb1354 = r.CheckBreak() + yyb1327 = r.CheckBreak() } - if yyb1354 { + if yyb1327 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1354-1, "") + z.DecStructFieldNotFound(yyj1327-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16228,8 +15780,8 @@ func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1362 := z.EncBinary() - _ = yym1362 + yym1335 := z.EncBinary() + _ = yym1335 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16241,8 +15793,8 @@ func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1363 := z.DecBinary() - _ = yym1363 + yym1336 := z.DecBinary() + _ = yym1336 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16257,33 +15809,33 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1364 := z.EncBinary() - _ = yym1364 + yym1337 := z.EncBinary() + _ = yym1337 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn1365 = 2 - for _, b := range yyq1365 { + yynn1338 = 2 + for _, b := range yyq1338 { if b { - yynn1365++ + yynn1338++ } } - r.EncodeMapStart(yynn1365) - yynn1365 = 0 + r.EncodeMapStart(yynn1338) + yynn1338 = 0 } - if yyr1365 || yy2arr1365 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -16292,10 +15844,10 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1365 || yy2arr1365 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1368 := z.EncBinary() - _ = yym1368 + yym1341 := z.EncBinary() + _ = yym1341 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -16305,56 +15857,56 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1369 := z.EncBinary() - _ = yym1369 + yym1342 := z.EncBinary() + _ = yym1342 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr1365 || yy2arr1365 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[2] { - yy1371 := &x.LastTransitionTime - yym1372 := z.EncBinary() - _ = yym1372 + if yyq1338[2] { + yy1344 := &x.LastTransitionTime + yym1345 := z.EncBinary() + _ = yym1345 if false { - } else if z.HasExtensions() && z.EncExt(yy1371) { - } else if yym1372 { - z.EncBinaryMarshal(yy1371) - } else if !yym1372 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1371) + } else if z.HasExtensions() && z.EncExt(yy1344) { + } else if yym1345 { + z.EncBinaryMarshal(yy1344) + } else if !yym1345 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1344) } else { - z.EncFallback(yy1371) + z.EncFallback(yy1344) } } else { r.EncodeNil() } } else { - if yyq1365[2] { + if yyq1338[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1373 := &x.LastTransitionTime - yym1374 := z.EncBinary() - _ = yym1374 + yy1346 := &x.LastTransitionTime + yym1347 := z.EncBinary() + _ = yym1347 if false { - } else if z.HasExtensions() && z.EncExt(yy1373) { - } else if yym1374 { - z.EncBinaryMarshal(yy1373) - } else if !yym1374 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1373) + } else if z.HasExtensions() && z.EncExt(yy1346) { + } else if yym1347 { + z.EncBinaryMarshal(yy1346) + } else if !yym1347 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1346) } else { - z.EncFallback(yy1373) + z.EncFallback(yy1346) } } } - if yyr1365 || yy2arr1365 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[3] { - yym1376 := z.EncBinary() - _ = yym1376 + if yyq1338[3] { + yym1349 := z.EncBinary() + _ = yym1349 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -16363,23 +15915,23 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1365[3] { + if yyq1338[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1377 := z.EncBinary() - _ = yym1377 + yym1350 := z.EncBinary() + _ = yym1350 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1365 || yy2arr1365 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[4] { - yym1379 := z.EncBinary() - _ = yym1379 + if yyq1338[4] { + yym1352 := z.EncBinary() + _ = yym1352 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -16388,19 +15940,19 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1365[4] { + if yyq1338[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1380 := z.EncBinary() - _ = yym1380 + yym1353 := z.EncBinary() + _ = yym1353 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1365 || yy2arr1365 { + if yyr1338 || yy2arr1338 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16413,25 +15965,25 @@ func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1381 := z.DecBinary() - _ = yym1381 + yym1354 := z.DecBinary() + _ = yym1354 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1382 := r.ContainerType() - if yyct1382 == codecSelferValueTypeMap1234 { - yyl1382 := r.ReadMapStart() - if yyl1382 == 0 { + yyct1355 := r.ContainerType() + if yyct1355 == codecSelferValueTypeMap1234 { + yyl1355 := r.ReadMapStart() + if yyl1355 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1382, d) + x.codecDecodeSelfFromMap(yyl1355, d) } - } else if yyct1382 == codecSelferValueTypeArray1234 { - yyl1382 := r.ReadArrayStart() - if yyl1382 == 0 { + } else if yyct1355 == codecSelferValueTypeArray1234 { + yyl1355 := r.ReadArrayStart() + if yyl1355 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1382, d) + x.codecDecodeSelfFromArray(yyl1355, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16443,12 +15995,12 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1383Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1383Slc - var yyhl1383 bool = l >= 0 - for yyj1383 := 0; ; yyj1383++ { - if yyhl1383 { - if yyj1383 >= l { + var yys1356Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1356Slc + var yyhl1356 bool = l >= 0 + for yyj1356 := 0; ; yyj1356++ { + if yyhl1356 { + if yyj1356 >= l { break } } else { @@ -16457,10 +16009,10 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1383Slc = r.DecodeBytes(yys1383Slc, true, true) - yys1383 := string(yys1383Slc) + yys1356Slc = r.DecodeBytes(yys1356Slc, true, true) + yys1356 := string(yys1356Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1383 { + switch yys1356 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -16477,17 +16029,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1386 := &x.LastTransitionTime - yym1387 := z.DecBinary() - _ = yym1387 + yyv1359 := &x.LastTransitionTime + yym1360 := z.DecBinary() + _ = yym1360 if false { - } else if z.HasExtensions() && z.DecExt(yyv1386) { - } else if yym1387 { - z.DecBinaryUnmarshal(yyv1386) - } else if !yym1387 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1386) + } else if z.HasExtensions() && z.DecExt(yyv1359) { + } else if yym1360 { + z.DecBinaryUnmarshal(yyv1359) + } else if !yym1360 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1359) } else { - z.DecFallback(yyv1386, false) + z.DecFallback(yyv1359, false) } } case "reason": @@ -16503,9 +16055,9 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1383) - } // end switch yys1383 - } // end for yyj1383 + z.DecStructFieldNotFound(-1, yys1356) + } // end switch yys1356 + } // end for yyj1356 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16513,16 +16065,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1390 int - var yyb1390 bool - var yyhl1390 bool = l >= 0 - yyj1390++ - if yyhl1390 { - yyb1390 = yyj1390 > l + var yyj1363 int + var yyb1363 bool + var yyhl1363 bool = l >= 0 + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1390 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1390 { + if yyb1363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16532,13 +16084,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Type = ReplicaSetConditionType(r.DecodeString()) } - yyj1390++ - if yyhl1390 { - yyb1390 = yyj1390 > l + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1390 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1390 { + if yyb1363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16548,13 +16100,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj1390++ - if yyhl1390 { - yyb1390 = yyj1390 > l + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1390 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1390 { + if yyb1363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16562,26 +16114,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1393 := &x.LastTransitionTime - yym1394 := z.DecBinary() - _ = yym1394 + yyv1366 := &x.LastTransitionTime + yym1367 := z.DecBinary() + _ = yym1367 if false { - } else if z.HasExtensions() && z.DecExt(yyv1393) { - } else if yym1394 { - z.DecBinaryUnmarshal(yyv1393) - } else if !yym1394 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1393) + } else if z.HasExtensions() && z.DecExt(yyv1366) { + } else if yym1367 { + z.DecBinaryUnmarshal(yyv1366) + } else if !yym1367 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1366) } else { - z.DecFallback(yyv1393, false) + z.DecFallback(yyv1366, false) } } - yyj1390++ - if yyhl1390 { - yyb1390 = yyj1390 > l + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1390 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1390 { + if yyb1363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16591,13 +16143,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Reason = string(r.DecodeString()) } - yyj1390++ - if yyhl1390 { - yyb1390 = yyj1390 > l + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1390 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1390 { + if yyb1363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16608,17 +16160,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } for { - yyj1390++ - if yyhl1390 { - yyb1390 = yyj1390 > l + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l } else { - yyb1390 = r.CheckBreak() + yyb1363 = r.CheckBreak() } - if yyb1390 { + if yyb1363 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1390-1, "") + z.DecStructFieldNotFound(yyj1363-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16630,38 +16182,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1397 := z.EncBinary() - _ = yym1397 + yym1370 := z.EncBinary() + _ = yym1370 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn1398 = 0 - for _, b := range yyq1398 { + yynn1371 = 0 + for _, b := range yyq1371 { if b { - yynn1398++ + yynn1371++ } } - r.EncodeMapStart(yynn1398) - yynn1398 = 0 + r.EncodeMapStart(yynn1371) + yynn1371 = 0 } - if yyr1398 || yy2arr1398 { + if yyr1371 || yy2arr1371 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[0] { - yym1400 := z.EncBinary() - _ = yym1400 + if yyq1371[0] { + yym1373 := z.EncBinary() + _ = yym1373 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16670,23 +16222,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1398[0] { + if yyq1371[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1401 := z.EncBinary() - _ = yym1401 + yym1374 := z.EncBinary() + _ = yym1374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1398 || yy2arr1398 { + if yyr1371 || yy2arr1371 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[1] { - yym1403 := z.EncBinary() - _ = yym1403 + if yyq1371[1] { + yym1376 := z.EncBinary() + _ = yym1376 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16695,53 +16247,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1398[1] { + if yyq1371[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1404 := z.EncBinary() - _ = yym1404 + yym1377 := z.EncBinary() + _ = yym1377 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1398 || yy2arr1398 { + if yyr1371 || yy2arr1371 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[2] { - yy1406 := &x.ObjectMeta - yy1406.CodecEncodeSelf(e) + if yyq1371[2] { + yy1379 := &x.ObjectMeta + yy1379.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1398[2] { + if yyq1371[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1407 := &x.ObjectMeta - yy1407.CodecEncodeSelf(e) + yy1380 := &x.ObjectMeta + yy1380.CodecEncodeSelf(e) } } - if yyr1398 || yy2arr1398 { + if yyr1371 || yy2arr1371 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[3] { - yy1409 := &x.Spec - yy1409.CodecEncodeSelf(e) + if yyq1371[3] { + yy1382 := &x.Spec + yy1382.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1398[3] { + if yyq1371[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1410 := &x.Spec - yy1410.CodecEncodeSelf(e) + yy1383 := &x.Spec + yy1383.CodecEncodeSelf(e) } } - if yyr1398 || yy2arr1398 { + if yyr1371 || yy2arr1371 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16754,25 +16306,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1411 := z.DecBinary() - _ = yym1411 + yym1384 := z.DecBinary() + _ = yym1384 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1412 := r.ContainerType() - if yyct1412 == codecSelferValueTypeMap1234 { - yyl1412 := r.ReadMapStart() - if yyl1412 == 0 { + yyct1385 := r.ContainerType() + if yyct1385 == codecSelferValueTypeMap1234 { + yyl1385 := r.ReadMapStart() + if yyl1385 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1412, d) + x.codecDecodeSelfFromMap(yyl1385, d) } - } else if yyct1412 == codecSelferValueTypeArray1234 { - yyl1412 := r.ReadArrayStart() - if yyl1412 == 0 { + } else if yyct1385 == codecSelferValueTypeArray1234 { + yyl1385 := r.ReadArrayStart() + if yyl1385 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1412, d) + x.codecDecodeSelfFromArray(yyl1385, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16784,12 +16336,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1413Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1413Slc - var yyhl1413 bool = l >= 0 - for yyj1413 := 0; ; yyj1413++ { - if yyhl1413 { - if yyj1413 >= l { + var yys1386Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1386Slc + var yyhl1386 bool = l >= 0 + for yyj1386 := 0; ; yyj1386++ { + if yyhl1386 { + if yyj1386 >= l { break } } else { @@ -16798,10 +16350,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1413Slc = r.DecodeBytes(yys1413Slc, true, true) - yys1413 := string(yys1413Slc) + yys1386Slc = r.DecodeBytes(yys1386Slc, true, true) + yys1386 := string(yys1386Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1413 { + switch yys1386 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16818,20 +16370,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1416 := &x.ObjectMeta - yyv1416.CodecDecodeSelf(d) + yyv1389 := &x.ObjectMeta + yyv1389.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1417 := &x.Spec - yyv1417.CodecDecodeSelf(d) + yyv1390 := &x.Spec + yyv1390.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1413) - } // end switch yys1413 - } // end for yyj1413 + z.DecStructFieldNotFound(-1, yys1386) + } // end switch yys1386 + } // end for yyj1386 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16839,16 +16391,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1418 int - var yyb1418 bool - var yyhl1418 bool = l >= 0 - yyj1418++ - if yyhl1418 { - yyb1418 = yyj1418 > l + var yyj1391 int + var yyb1391 bool + var yyhl1391 bool = l >= 0 + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1418 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1418 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16858,13 +16410,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1418++ - if yyhl1418 { - yyb1418 = yyj1418 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1418 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1418 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16874,13 +16426,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1418++ - if yyhl1418 { - yyb1418 = yyj1418 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1418 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1418 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16888,16 +16440,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1421 := &x.ObjectMeta - yyv1421.CodecDecodeSelf(d) + yyv1394 := &x.ObjectMeta + yyv1394.CodecDecodeSelf(d) } - yyj1418++ - if yyhl1418 { - yyb1418 = yyj1418 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1418 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1418 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16905,21 +16457,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1422 := &x.Spec - yyv1422.CodecDecodeSelf(d) + yyv1395 := &x.Spec + yyv1395.CodecDecodeSelf(d) } for { - yyj1418++ - if yyhl1418 { - yyb1418 = yyj1418 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1418 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1418 { + if yyb1391 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1418-1, "") + z.DecStructFieldNotFound(yyj1391-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16931,44 +16483,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1423 := z.EncBinary() - _ = yym1423 + yym1396 := z.EncBinary() + _ = yym1396 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(14) } else { - yynn1424 = 4 - for _, b := range yyq1424 { + yynn1397 = 4 + for _, b := range yyq1397 { if b { - yynn1424++ + yynn1397++ } } - r.EncodeMapStart(yynn1424) - yynn1424 = 0 + r.EncodeMapStart(yynn1397) + yynn1397 = 0 } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[0] { - yym1426 := z.EncBinary() - _ = yym1426 + if yyq1397[0] { + yym1399 := z.EncBinary() + _ = yym1399 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -16977,26 +16529,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1424[0] { + if yyq1397[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1427 := z.EncBinary() - _ = yym1427 + yym1400 := z.EncBinary() + _ = yym1400 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[1] { + if yyq1397[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1429 := z.EncBinary() - _ = yym1429 + yym1402 := z.EncBinary() + _ = yym1402 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -17006,15 +16558,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1424[1] { + if yyq1397[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1430 := z.EncBinary() - _ = yym1430 + yym1403 := z.EncBinary() + _ = yym1403 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -17022,14 +16574,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[2] { + if yyq1397[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1432 := z.EncBinary() - _ = yym1432 + yym1405 := z.EncBinary() + _ = yym1405 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -17039,15 +16591,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1424[2] { + if yyq1397[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1433 := z.EncBinary() - _ = yym1433 + yym1406 := z.EncBinary() + _ = yym1406 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -17055,14 +16607,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[3] { + if yyq1397[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1435 := z.EncBinary() - _ = yym1435 + yym1408 := z.EncBinary() + _ = yym1408 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -17072,15 +16624,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1424[3] { + if yyq1397[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1436 := z.EncBinary() - _ = yym1436 + yym1409 := z.EncBinary() + _ = yym1409 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -17088,14 +16640,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[4] { + if yyq1397[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1438 := z.EncBinary() - _ = yym1438 + yym1411 := z.EncBinary() + _ = yym1411 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -17105,15 +16657,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1424[4] { + if yyq1397[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1439 := z.EncBinary() - _ = yym1439 + yym1412 := z.EncBinary() + _ = yym1412 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -17121,11 +16673,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[5] { - yym1441 := z.EncBinary() - _ = yym1441 + if yyq1397[5] { + yym1414 := z.EncBinary() + _ = yym1414 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -17134,26 +16686,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1424[5] { + if yyq1397[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1442 := z.EncBinary() - _ = yym1442 + yym1415 := z.EncBinary() + _ = yym1415 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[6] { + if yyq1397[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1444 := z.EncBinary() - _ = yym1444 + yym1417 := z.EncBinary() + _ = yym1417 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -17163,15 +16715,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1424[6] { + if yyq1397[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1445 := z.EncBinary() - _ = yym1445 + yym1418 := z.EncBinary() + _ = yym1418 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -17179,11 +16731,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[7] { - yym1447 := z.EncBinary() - _ = yym1447 + if yyq1397[7] { + yym1420 := z.EncBinary() + _ = yym1420 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -17192,23 +16744,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1424[7] { + if yyq1397[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1448 := z.EncBinary() - _ = yym1448 + yym1421 := z.EncBinary() + _ = yym1421 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[8] { - yym1450 := z.EncBinary() - _ = yym1450 + if yyq1397[8] { + yym1423 := z.EncBinary() + _ = yym1423 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -17217,67 +16769,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1424[8] { + if yyq1397[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1451 := z.EncBinary() - _ = yym1451 + yym1424 := z.EncBinary() + _ = yym1424 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1453 := &x.SELinux - yy1453.CodecEncodeSelf(e) + yy1426 := &x.SELinux + yy1426.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1454 := &x.SELinux - yy1454.CodecEncodeSelf(e) + yy1427 := &x.SELinux + yy1427.CodecEncodeSelf(e) } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1456 := &x.RunAsUser - yy1456.CodecEncodeSelf(e) + yy1429 := &x.RunAsUser + yy1429.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1457 := &x.RunAsUser - yy1457.CodecEncodeSelf(e) + yy1430 := &x.RunAsUser + yy1430.CodecEncodeSelf(e) } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1459 := &x.SupplementalGroups - yy1459.CodecEncodeSelf(e) + yy1432 := &x.SupplementalGroups + yy1432.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1460 := &x.SupplementalGroups - yy1460.CodecEncodeSelf(e) + yy1433 := &x.SupplementalGroups + yy1433.CodecEncodeSelf(e) } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1462 := &x.FSGroup - yy1462.CodecEncodeSelf(e) + yy1435 := &x.FSGroup + yy1435.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1463 := &x.FSGroup - yy1463.CodecEncodeSelf(e) + yy1436 := &x.FSGroup + yy1436.CodecEncodeSelf(e) } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1424[13] { - yym1465 := z.EncBinary() - _ = yym1465 + if yyq1397[13] { + yym1438 := z.EncBinary() + _ = yym1438 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -17286,19 +16838,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1424[13] { + if yyq1397[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1466 := z.EncBinary() - _ = yym1466 + yym1439 := z.EncBinary() + _ = yym1439 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr1424 || yy2arr1424 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17311,25 +16863,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1467 := z.DecBinary() - _ = yym1467 + yym1440 := z.DecBinary() + _ = yym1440 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1468 := r.ContainerType() - if yyct1468 == codecSelferValueTypeMap1234 { - yyl1468 := r.ReadMapStart() - if yyl1468 == 0 { + yyct1441 := r.ContainerType() + if yyct1441 == codecSelferValueTypeMap1234 { + yyl1441 := r.ReadMapStart() + if yyl1441 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1468, d) + x.codecDecodeSelfFromMap(yyl1441, d) } - } else if yyct1468 == codecSelferValueTypeArray1234 { - yyl1468 := r.ReadArrayStart() - if yyl1468 == 0 { + } else if yyct1441 == codecSelferValueTypeArray1234 { + yyl1441 := r.ReadArrayStart() + if yyl1441 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1468, d) + x.codecDecodeSelfFromArray(yyl1441, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17341,12 +16893,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1469Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1469Slc - var yyhl1469 bool = l >= 0 - for yyj1469 := 0; ; yyj1469++ { - if yyhl1469 { - if yyj1469 >= l { + var yys1442Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1442Slc + var yyhl1442 bool = l >= 0 + for yyj1442 := 0; ; yyj1442++ { + if yyhl1442 { + if yyj1442 >= l { break } } else { @@ -17355,10 +16907,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1469Slc = r.DecodeBytes(yys1469Slc, true, true) - yys1469 := string(yys1469Slc) + yys1442Slc = r.DecodeBytes(yys1442Slc, true, true) + yys1442 := string(yys1442Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1469 { + switch yys1442 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -17369,48 +16921,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1471 := &x.DefaultAddCapabilities - yym1472 := z.DecBinary() - _ = yym1472 + yyv1444 := &x.DefaultAddCapabilities + yym1445 := z.DecBinary() + _ = yym1445 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1471), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1444), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1473 := &x.RequiredDropCapabilities - yym1474 := z.DecBinary() - _ = yym1474 + yyv1446 := &x.RequiredDropCapabilities + yym1447 := z.DecBinary() + _ = yym1447 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1473), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1446), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1475 := &x.AllowedCapabilities - yym1476 := z.DecBinary() - _ = yym1476 + yyv1448 := &x.AllowedCapabilities + yym1449 := z.DecBinary() + _ = yym1449 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1475), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1448), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1477 := &x.Volumes - yym1478 := z.DecBinary() - _ = yym1478 + yyv1450 := &x.Volumes + yym1451 := z.DecBinary() + _ = yym1451 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1477), d) + h.decSliceFSType((*[]FSType)(yyv1450), d) } } case "hostNetwork": @@ -17423,12 +16975,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1480 := &x.HostPorts - yym1481 := z.DecBinary() - _ = yym1481 + yyv1453 := &x.HostPorts + yym1454 := z.DecBinary() + _ = yym1454 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1480), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1453), d) } } case "hostPID": @@ -17447,29 +16999,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1484 := &x.SELinux - yyv1484.CodecDecodeSelf(d) + yyv1457 := &x.SELinux + yyv1457.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1485 := &x.RunAsUser - yyv1485.CodecDecodeSelf(d) + yyv1458 := &x.RunAsUser + yyv1458.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1486 := &x.SupplementalGroups - yyv1486.CodecDecodeSelf(d) + yyv1459 := &x.SupplementalGroups + yyv1459.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1487 := &x.FSGroup - yyv1487.CodecDecodeSelf(d) + yyv1460 := &x.FSGroup + yyv1460.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -17478,9 +17030,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1469) - } // end switch yys1469 - } // end for yyj1469 + z.DecStructFieldNotFound(-1, yys1442) + } // end switch yys1442 + } // end for yyj1442 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17488,16 +17040,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1489 int - var yyb1489 bool - var yyhl1489 bool = l >= 0 - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + var yyj1462 int + var yyb1462 bool + var yyhl1462 bool = l >= 0 + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17507,13 +17059,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17521,21 +17073,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1491 := &x.DefaultAddCapabilities - yym1492 := z.DecBinary() - _ = yym1492 + yyv1464 := &x.DefaultAddCapabilities + yym1465 := z.DecBinary() + _ = yym1465 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1491), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1464), d) } } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17543,21 +17095,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1493 := &x.RequiredDropCapabilities - yym1494 := z.DecBinary() - _ = yym1494 + yyv1466 := &x.RequiredDropCapabilities + yym1467 := z.DecBinary() + _ = yym1467 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1493), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1466), d) } } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17565,21 +17117,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1495 := &x.AllowedCapabilities - yym1496 := z.DecBinary() - _ = yym1496 + yyv1468 := &x.AllowedCapabilities + yym1469 := z.DecBinary() + _ = yym1469 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1495), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1468), d) } } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17587,21 +17139,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1497 := &x.Volumes - yym1498 := z.DecBinary() - _ = yym1498 + yyv1470 := &x.Volumes + yym1471 := z.DecBinary() + _ = yym1471 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1497), d) + h.decSliceFSType((*[]FSType)(yyv1470), d) } } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17611,13 +17163,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17625,21 +17177,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1500 := &x.HostPorts - yym1501 := z.DecBinary() - _ = yym1501 + yyv1473 := &x.HostPorts + yym1474 := z.DecBinary() + _ = yym1474 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1500), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1473), d) } } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17649,13 +17201,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17665,13 +17217,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17679,16 +17231,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1504 := &x.SELinux - yyv1504.CodecDecodeSelf(d) + yyv1477 := &x.SELinux + yyv1477.CodecDecodeSelf(d) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17696,16 +17248,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1505 := &x.RunAsUser - yyv1505.CodecDecodeSelf(d) + yyv1478 := &x.RunAsUser + yyv1478.CodecDecodeSelf(d) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17713,16 +17265,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1506 := &x.SupplementalGroups - yyv1506.CodecDecodeSelf(d) + yyv1479 := &x.SupplementalGroups + yyv1479.CodecDecodeSelf(d) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17730,16 +17282,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1507 := &x.FSGroup - yyv1507.CodecDecodeSelf(d) + yyv1480 := &x.FSGroup + yyv1480.CodecDecodeSelf(d) } - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17750,17 +17302,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj1489++ - if yyhl1489 { - yyb1489 = yyj1489 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb1489 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb1489 { + if yyb1462 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1489-1, "") + z.DecStructFieldNotFound(yyj1462-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17769,8 +17321,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1509 := z.EncBinary() - _ = yym1509 + yym1482 := z.EncBinary() + _ = yym1482 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17782,8 +17334,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1510 := z.DecBinary() - _ = yym1510 + yym1483 := z.DecBinary() + _ = yym1483 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17798,33 +17350,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1511 := z.EncBinary() - _ = yym1511 + yym1484 := z.EncBinary() + _ = yym1484 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1512 := !z.EncBinary() - yy2arr1512 := z.EncBasicHandle().StructToArray - var yyq1512 [2]bool - _, _, _ = yysep1512, yyq1512, yy2arr1512 - const yyr1512 bool = false - var yynn1512 int - if yyr1512 || yy2arr1512 { + yysep1485 := !z.EncBinary() + yy2arr1485 := z.EncBasicHandle().StructToArray + var yyq1485 [2]bool + _, _, _ = yysep1485, yyq1485, yy2arr1485 + const yyr1485 bool = false + var yynn1485 int + if yyr1485 || yy2arr1485 { r.EncodeArrayStart(2) } else { - yynn1512 = 2 - for _, b := range yyq1512 { + yynn1485 = 2 + for _, b := range yyq1485 { if b { - yynn1512++ + yynn1485++ } } - r.EncodeMapStart(yynn1512) - yynn1512 = 0 + r.EncodeMapStart(yynn1485) + yynn1485 = 0 } - if yyr1512 || yy2arr1512 { + if yyr1485 || yy2arr1485 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1514 := z.EncBinary() - _ = yym1514 + yym1487 := z.EncBinary() + _ = yym1487 if false { } else { r.EncodeInt(int64(x.Min)) @@ -17833,17 +17385,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1515 := z.EncBinary() - _ = yym1515 + yym1488 := z.EncBinary() + _ = yym1488 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1512 || yy2arr1512 { + if yyr1485 || yy2arr1485 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1517 := z.EncBinary() - _ = yym1517 + yym1490 := z.EncBinary() + _ = yym1490 if false { } else { r.EncodeInt(int64(x.Max)) @@ -17852,14 +17404,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1518 := z.EncBinary() - _ = yym1518 + yym1491 := z.EncBinary() + _ = yym1491 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1512 || yy2arr1512 { + if yyr1485 || yy2arr1485 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17872,25 +17424,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1519 := z.DecBinary() - _ = yym1519 + yym1492 := z.DecBinary() + _ = yym1492 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1520 := r.ContainerType() - if yyct1520 == codecSelferValueTypeMap1234 { - yyl1520 := r.ReadMapStart() - if yyl1520 == 0 { + yyct1493 := r.ContainerType() + if yyct1493 == codecSelferValueTypeMap1234 { + yyl1493 := r.ReadMapStart() + if yyl1493 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1520, d) + x.codecDecodeSelfFromMap(yyl1493, d) } - } else if yyct1520 == codecSelferValueTypeArray1234 { - yyl1520 := r.ReadArrayStart() - if yyl1520 == 0 { + } else if yyct1493 == codecSelferValueTypeArray1234 { + yyl1493 := r.ReadArrayStart() + if yyl1493 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1520, d) + x.codecDecodeSelfFromArray(yyl1493, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17902,12 +17454,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1521Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1521Slc - var yyhl1521 bool = l >= 0 - for yyj1521 := 0; ; yyj1521++ { - if yyhl1521 { - if yyj1521 >= l { + var yys1494Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1494Slc + var yyhl1494 bool = l >= 0 + for yyj1494 := 0; ; yyj1494++ { + if yyhl1494 { + if yyj1494 >= l { break } } else { @@ -17916,10 +17468,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1521Slc = r.DecodeBytes(yys1521Slc, true, true) - yys1521 := string(yys1521Slc) + yys1494Slc = r.DecodeBytes(yys1494Slc, true, true) + yys1494 := string(yys1494Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1521 { + switch yys1494 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -17933,9 +17485,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1521) - } // end switch yys1521 - } // end for yyj1521 + z.DecStructFieldNotFound(-1, yys1494) + } // end switch yys1494 + } // end for yyj1494 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17943,16 +17495,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1524 int - var yyb1524 bool - var yyhl1524 bool = l >= 0 - yyj1524++ - if yyhl1524 { - yyb1524 = yyj1524 > l + var yyj1497 int + var yyb1497 bool + var yyhl1497 bool = l >= 0 + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1524 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1524 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17962,13 +17514,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int32(r.DecodeInt(32)) } - yyj1524++ - if yyhl1524 { - yyb1524 = yyj1524 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1524 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1524 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17979,17 +17531,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } for { - yyj1524++ - if yyhl1524 { - yyb1524 = yyj1524 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1524 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1524 { + if yyb1497 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1524-1, "") + z.DecStructFieldNotFound(yyj1497-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18001,31 +17553,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1527 := z.EncBinary() - _ = yym1527 + yym1500 := z.EncBinary() + _ = yym1500 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1528 = 1 - for _, b := range yyq1528 { + yynn1501 = 1 + for _, b := range yyq1501 { if b { - yynn1528++ + yynn1501++ } } - r.EncodeMapStart(yynn1528) - yynn1528 = 0 + r.EncodeMapStart(yynn1501) + yynn1501 = 0 } - if yyr1528 || yy2arr1528 { + if yyr1501 || yy2arr1501 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -18034,9 +17586,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1528 || yy2arr1528 { + if yyr1501 || yy2arr1501 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1528[1] { + if yyq1501[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -18046,7 +17598,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1528[1] { + if yyq1501[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18057,7 +17609,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1528 || yy2arr1528 { + if yyr1501 || yy2arr1501 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18070,25 +17622,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1531 := z.DecBinary() - _ = yym1531 + yym1504 := z.DecBinary() + _ = yym1504 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1532 := r.ContainerType() - if yyct1532 == codecSelferValueTypeMap1234 { - yyl1532 := r.ReadMapStart() - if yyl1532 == 0 { + yyct1505 := r.ContainerType() + if yyct1505 == codecSelferValueTypeMap1234 { + yyl1505 := r.ReadMapStart() + if yyl1505 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1532, d) + x.codecDecodeSelfFromMap(yyl1505, d) } - } else if yyct1532 == codecSelferValueTypeArray1234 { - yyl1532 := r.ReadArrayStart() - if yyl1532 == 0 { + } else if yyct1505 == codecSelferValueTypeArray1234 { + yyl1505 := r.ReadArrayStart() + if yyl1505 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1532, d) + x.codecDecodeSelfFromArray(yyl1505, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18100,12 +17652,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1533Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1533Slc - var yyhl1533 bool = l >= 0 - for yyj1533 := 0; ; yyj1533++ { - if yyhl1533 { - if yyj1533 >= l { + var yys1506Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1506Slc + var yyhl1506 bool = l >= 0 + for yyj1506 := 0; ; yyj1506++ { + if yyhl1506 { + if yyj1506 >= l { break } } else { @@ -18114,10 +17666,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1533Slc = r.DecodeBytes(yys1533Slc, true, true) - yys1533 := string(yys1533Slc) + yys1506Slc = r.DecodeBytes(yys1506Slc, true, true) + yys1506 := string(yys1506Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1533 { + switch yys1506 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18136,9 +17688,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1533) - } // end switch yys1533 - } // end for yyj1533 + z.DecStructFieldNotFound(-1, yys1506) + } // end switch yys1506 + } // end for yyj1506 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18146,16 +17698,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1536 int - var yyb1536 bool - var yyhl1536 bool = l >= 0 - yyj1536++ - if yyhl1536 { - yyb1536 = yyj1536 > l + var yyj1509 int + var yyb1509 bool + var yyhl1509 bool = l >= 0 + yyj1509++ + if yyhl1509 { + yyb1509 = yyj1509 > l } else { - yyb1536 = r.CheckBreak() + yyb1509 = r.CheckBreak() } - if yyb1536 { + if yyb1509 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18165,13 +17717,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj1536++ - if yyhl1536 { - yyb1536 = yyj1536 > l + yyj1509++ + if yyhl1509 { + yyb1509 = yyj1509 > l } else { - yyb1536 = r.CheckBreak() + yyb1509 = r.CheckBreak() } - if yyb1536 { + if yyb1509 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18187,17 +17739,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1536++ - if yyhl1536 { - yyb1536 = yyj1536 > l + yyj1509++ + if yyhl1509 { + yyb1509 = yyj1509 > l } else { - yyb1536 = r.CheckBreak() + yyb1509 = r.CheckBreak() } - if yyb1536 { + if yyb1509 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1536-1, "") + z.DecStructFieldNotFound(yyj1509-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18206,8 +17758,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1539 := z.EncBinary() - _ = yym1539 + yym1512 := z.EncBinary() + _ = yym1512 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18219,8 +17771,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1540 := z.DecBinary() - _ = yym1540 + yym1513 := z.DecBinary() + _ = yym1513 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18235,31 +17787,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1541 := z.EncBinary() - _ = yym1541 + yym1514 := z.EncBinary() + _ = yym1514 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1542 = 1 - for _, b := range yyq1542 { + yynn1515 = 1 + for _, b := range yyq1515 { if b { - yynn1542++ + yynn1515++ } } - r.EncodeMapStart(yynn1542) - yynn1542 = 0 + r.EncodeMapStart(yynn1515) + yynn1515 = 0 } - if yyr1542 || yy2arr1542 { + if yyr1515 || yy2arr1515 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -18268,14 +17820,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1542 || yy2arr1542 { + if yyr1515 || yy2arr1515 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1542[1] { + if yyq1515[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1545 := z.EncBinary() - _ = yym1545 + yym1518 := z.EncBinary() + _ = yym1518 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18285,15 +17837,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1542[1] { + if yyq1515[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1546 := z.EncBinary() - _ = yym1546 + yym1519 := z.EncBinary() + _ = yym1519 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18301,7 +17853,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1542 || yy2arr1542 { + if yyr1515 || yy2arr1515 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18314,25 +17866,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1547 := z.DecBinary() - _ = yym1547 + yym1520 := z.DecBinary() + _ = yym1520 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1548 := r.ContainerType() - if yyct1548 == codecSelferValueTypeMap1234 { - yyl1548 := r.ReadMapStart() - if yyl1548 == 0 { + yyct1521 := r.ContainerType() + if yyct1521 == codecSelferValueTypeMap1234 { + yyl1521 := r.ReadMapStart() + if yyl1521 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1548, d) + x.codecDecodeSelfFromMap(yyl1521, d) } - } else if yyct1548 == codecSelferValueTypeArray1234 { - yyl1548 := r.ReadArrayStart() - if yyl1548 == 0 { + } else if yyct1521 == codecSelferValueTypeArray1234 { + yyl1521 := r.ReadArrayStart() + if yyl1521 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1548, d) + x.codecDecodeSelfFromArray(yyl1521, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18344,12 +17896,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1549Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1549Slc - var yyhl1549 bool = l >= 0 - for yyj1549 := 0; ; yyj1549++ { - if yyhl1549 { - if yyj1549 >= l { + var yys1522Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1522Slc + var yyhl1522 bool = l >= 0 + for yyj1522 := 0; ; yyj1522++ { + if yyhl1522 { + if yyj1522 >= l { break } } else { @@ -18358,10 +17910,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1549Slc = r.DecodeBytes(yys1549Slc, true, true) - yys1549 := string(yys1549Slc) + yys1522Slc = r.DecodeBytes(yys1522Slc, true, true) + yys1522 := string(yys1522Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1549 { + switch yys1522 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18372,18 +17924,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1551 := &x.Ranges - yym1552 := z.DecBinary() - _ = yym1552 + yyv1524 := &x.Ranges + yym1525 := z.DecBinary() + _ = yym1525 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1551), d) + h.decSliceIDRange((*[]IDRange)(yyv1524), d) } } default: - z.DecStructFieldNotFound(-1, yys1549) - } // end switch yys1549 - } // end for yyj1549 + z.DecStructFieldNotFound(-1, yys1522) + } // end switch yys1522 + } // end for yyj1522 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18391,16 +17943,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1553 int - var yyb1553 bool - var yyhl1553 bool = l >= 0 - yyj1553++ - if yyhl1553 { - yyb1553 = yyj1553 > l + var yyj1526 int + var yyb1526 bool + var yyhl1526 bool = l >= 0 + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1553 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1553 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18410,13 +17962,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj1553++ - if yyhl1553 { - yyb1553 = yyj1553 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1553 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1553 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18424,26 +17976,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1555 := &x.Ranges - yym1556 := z.DecBinary() - _ = yym1556 + yyv1528 := &x.Ranges + yym1529 := z.DecBinary() + _ = yym1529 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1555), d) + h.decSliceIDRange((*[]IDRange)(yyv1528), d) } } for { - yyj1553++ - if yyhl1553 { - yyb1553 = yyj1553 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1553 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1553 { + if yyb1526 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1553-1, "") + z.DecStructFieldNotFound(yyj1526-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18455,33 +18007,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1557 := z.EncBinary() - _ = yym1557 + yym1530 := z.EncBinary() + _ = yym1530 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1558 := !z.EncBinary() - yy2arr1558 := z.EncBasicHandle().StructToArray - var yyq1558 [2]bool - _, _, _ = yysep1558, yyq1558, yy2arr1558 - const yyr1558 bool = false - var yynn1558 int - if yyr1558 || yy2arr1558 { + yysep1531 := !z.EncBinary() + yy2arr1531 := z.EncBasicHandle().StructToArray + var yyq1531 [2]bool + _, _, _ = yysep1531, yyq1531, yy2arr1531 + const yyr1531 bool = false + var yynn1531 int + if yyr1531 || yy2arr1531 { r.EncodeArrayStart(2) } else { - yynn1558 = 2 - for _, b := range yyq1558 { + yynn1531 = 2 + for _, b := range yyq1531 { if b { - yynn1558++ + yynn1531++ } } - r.EncodeMapStart(yynn1558) - yynn1558 = 0 + r.EncodeMapStart(yynn1531) + yynn1531 = 0 } - if yyr1558 || yy2arr1558 { + if yyr1531 || yy2arr1531 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1560 := z.EncBinary() - _ = yym1560 + yym1533 := z.EncBinary() + _ = yym1533 if false { } else { r.EncodeInt(int64(x.Min)) @@ -18490,17 +18042,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1561 := z.EncBinary() - _ = yym1561 + yym1534 := z.EncBinary() + _ = yym1534 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1558 || yy2arr1558 { + if yyr1531 || yy2arr1531 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1563 := z.EncBinary() - _ = yym1563 + yym1536 := z.EncBinary() + _ = yym1536 if false { } else { r.EncodeInt(int64(x.Max)) @@ -18509,14 +18061,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1564 := z.EncBinary() - _ = yym1564 + yym1537 := z.EncBinary() + _ = yym1537 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1558 || yy2arr1558 { + if yyr1531 || yy2arr1531 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18529,25 +18081,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1565 := z.DecBinary() - _ = yym1565 + yym1538 := z.DecBinary() + _ = yym1538 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1566 := r.ContainerType() - if yyct1566 == codecSelferValueTypeMap1234 { - yyl1566 := r.ReadMapStart() - if yyl1566 == 0 { + yyct1539 := r.ContainerType() + if yyct1539 == codecSelferValueTypeMap1234 { + yyl1539 := r.ReadMapStart() + if yyl1539 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1566, d) + x.codecDecodeSelfFromMap(yyl1539, d) } - } else if yyct1566 == codecSelferValueTypeArray1234 { - yyl1566 := r.ReadArrayStart() - if yyl1566 == 0 { + } else if yyct1539 == codecSelferValueTypeArray1234 { + yyl1539 := r.ReadArrayStart() + if yyl1539 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1566, d) + x.codecDecodeSelfFromArray(yyl1539, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18559,12 +18111,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1567Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1567Slc - var yyhl1567 bool = l >= 0 - for yyj1567 := 0; ; yyj1567++ { - if yyhl1567 { - if yyj1567 >= l { + var yys1540Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1540Slc + var yyhl1540 bool = l >= 0 + for yyj1540 := 0; ; yyj1540++ { + if yyhl1540 { + if yyj1540 >= l { break } } else { @@ -18573,10 +18125,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1567Slc = r.DecodeBytes(yys1567Slc, true, true) - yys1567 := string(yys1567Slc) + yys1540Slc = r.DecodeBytes(yys1540Slc, true, true) + yys1540 := string(yys1540Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1567 { + switch yys1540 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -18590,9 +18142,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1567) - } // end switch yys1567 - } // end for yyj1567 + z.DecStructFieldNotFound(-1, yys1540) + } // end switch yys1540 + } // end for yyj1540 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18600,16 +18152,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1570 int - var yyb1570 bool - var yyhl1570 bool = l >= 0 - yyj1570++ - if yyhl1570 { - yyb1570 = yyj1570 > l + var yyj1543 int + var yyb1543 bool + var yyhl1543 bool = l >= 0 + yyj1543++ + if yyhl1543 { + yyb1543 = yyj1543 > l } else { - yyb1570 = r.CheckBreak() + yyb1543 = r.CheckBreak() } - if yyb1570 { + if yyb1543 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18619,13 +18171,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj1570++ - if yyhl1570 { - yyb1570 = yyj1570 > l + yyj1543++ + if yyhl1543 { + yyb1543 = yyj1543 > l } else { - yyb1570 = r.CheckBreak() + yyb1543 = r.CheckBreak() } - if yyb1570 { + if yyb1543 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18636,17 +18188,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj1570++ - if yyhl1570 { - yyb1570 = yyj1570 > l + yyj1543++ + if yyhl1543 { + yyb1543 = yyj1543 > l } else { - yyb1570 = r.CheckBreak() + yyb1543 = r.CheckBreak() } - if yyb1570 { + if yyb1543 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1570-1, "") + z.DecStructFieldNotFound(yyj1543-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18655,8 +18207,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1573 := z.EncBinary() - _ = yym1573 + yym1546 := z.EncBinary() + _ = yym1546 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18668,8 +18220,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1574 := z.DecBinary() - _ = yym1574 + yym1547 := z.DecBinary() + _ = yym1547 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18684,54 +18236,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1575 := z.EncBinary() - _ = yym1575 + yym1548 := z.EncBinary() + _ = yym1548 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1576 = 0 - for _, b := range yyq1576 { + yynn1549 = 0 + for _, b := range yyq1549 { if b { - yynn1576++ + yynn1549++ } } - r.EncodeMapStart(yynn1576) - yynn1576 = 0 + r.EncodeMapStart(yynn1549) + yynn1549 = 0 } - if yyr1576 || yy2arr1576 { + if yyr1549 || yy2arr1549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1576[0] { + if yyq1549[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1576[0] { + if yyq1549[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1576 || yy2arr1576 { + if yyr1549 || yy2arr1549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1576[1] { + if yyq1549[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1579 := z.EncBinary() - _ = yym1579 + yym1552 := z.EncBinary() + _ = yym1552 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18741,15 +18293,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1576[1] { + if yyq1549[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1580 := z.EncBinary() - _ = yym1580 + yym1553 := z.EncBinary() + _ = yym1553 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18757,7 +18309,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1576 || yy2arr1576 { + if yyr1549 || yy2arr1549 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18770,25 +18322,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1581 := z.DecBinary() - _ = yym1581 + yym1554 := z.DecBinary() + _ = yym1554 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1582 := r.ContainerType() - if yyct1582 == codecSelferValueTypeMap1234 { - yyl1582 := r.ReadMapStart() - if yyl1582 == 0 { + yyct1555 := r.ContainerType() + if yyct1555 == codecSelferValueTypeMap1234 { + yyl1555 := r.ReadMapStart() + if yyl1555 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1582, d) + x.codecDecodeSelfFromMap(yyl1555, d) } - } else if yyct1582 == codecSelferValueTypeArray1234 { - yyl1582 := r.ReadArrayStart() - if yyl1582 == 0 { + } else if yyct1555 == codecSelferValueTypeArray1234 { + yyl1555 := r.ReadArrayStart() + if yyl1555 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1582, d) + x.codecDecodeSelfFromArray(yyl1555, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18800,12 +18352,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1583Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1583Slc - var yyhl1583 bool = l >= 0 - for yyj1583 := 0; ; yyj1583++ { - if yyhl1583 { - if yyj1583 >= l { + var yys1556Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1556Slc + var yyhl1556 bool = l >= 0 + for yyj1556 := 0; ; yyj1556++ { + if yyhl1556 { + if yyj1556 >= l { break } } else { @@ -18814,10 +18366,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1583Slc = r.DecodeBytes(yys1583Slc, true, true) - yys1583 := string(yys1583Slc) + yys1556Slc = r.DecodeBytes(yys1556Slc, true, true) + yys1556 := string(yys1556Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1583 { + switch yys1556 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18828,18 +18380,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1585 := &x.Ranges - yym1586 := z.DecBinary() - _ = yym1586 + yyv1558 := &x.Ranges + yym1559 := z.DecBinary() + _ = yym1559 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1585), d) + h.decSliceIDRange((*[]IDRange)(yyv1558), d) } } default: - z.DecStructFieldNotFound(-1, yys1583) - } // end switch yys1583 - } // end for yyj1583 + z.DecStructFieldNotFound(-1, yys1556) + } // end switch yys1556 + } // end for yyj1556 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18847,16 +18399,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1587 int - var yyb1587 bool - var yyhl1587 bool = l >= 0 - yyj1587++ - if yyhl1587 { - yyb1587 = yyj1587 > l + var yyj1560 int + var yyb1560 bool + var yyhl1560 bool = l >= 0 + yyj1560++ + if yyhl1560 { + yyb1560 = yyj1560 > l } else { - yyb1587 = r.CheckBreak() + yyb1560 = r.CheckBreak() } - if yyb1587 { + if yyb1560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18866,13 +18418,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj1587++ - if yyhl1587 { - yyb1587 = yyj1587 > l + yyj1560++ + if yyhl1560 { + yyb1560 = yyj1560 > l } else { - yyb1587 = r.CheckBreak() + yyb1560 = r.CheckBreak() } - if yyb1587 { + if yyb1560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18880,26 +18432,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1589 := &x.Ranges - yym1590 := z.DecBinary() - _ = yym1590 + yyv1562 := &x.Ranges + yym1563 := z.DecBinary() + _ = yym1563 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1589), d) + h.decSliceIDRange((*[]IDRange)(yyv1562), d) } } for { - yyj1587++ - if yyhl1587 { - yyb1587 = yyj1587 > l + yyj1560++ + if yyhl1560 { + yyb1560 = yyj1560 > l } else { - yyb1587 = r.CheckBreak() + yyb1560 = r.CheckBreak() } - if yyb1587 { + if yyb1560 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1587-1, "") + z.DecStructFieldNotFound(yyj1560-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18908,8 +18460,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1591 := z.EncBinary() - _ = yym1591 + yym1564 := z.EncBinary() + _ = yym1564 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18921,8 +18473,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1592 := z.DecBinary() - _ = yym1592 + yym1565 := z.DecBinary() + _ = yym1565 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18937,54 +18489,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1593 := z.EncBinary() - _ = yym1593 + yym1566 := z.EncBinary() + _ = yym1566 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1594 = 0 - for _, b := range yyq1594 { + yynn1567 = 0 + for _, b := range yyq1567 { if b { - yynn1594++ + yynn1567++ } } - r.EncodeMapStart(yynn1594) - yynn1594 = 0 + r.EncodeMapStart(yynn1567) + yynn1567 = 0 } - if yyr1594 || yy2arr1594 { + if yyr1567 || yy2arr1567 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1594[0] { + if yyq1567[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1594[0] { + if yyq1567[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1594 || yy2arr1594 { + if yyr1567 || yy2arr1567 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1594[1] { + if yyq1567[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1597 := z.EncBinary() - _ = yym1597 + yym1570 := z.EncBinary() + _ = yym1570 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18994,15 +18546,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1594[1] { + if yyq1567[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1598 := z.EncBinary() - _ = yym1598 + yym1571 := z.EncBinary() + _ = yym1571 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -19010,7 +18562,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1594 || yy2arr1594 { + if yyr1567 || yy2arr1567 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19023,25 +18575,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1599 := z.DecBinary() - _ = yym1599 + yym1572 := z.DecBinary() + _ = yym1572 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1600 := r.ContainerType() - if yyct1600 == codecSelferValueTypeMap1234 { - yyl1600 := r.ReadMapStart() - if yyl1600 == 0 { + yyct1573 := r.ContainerType() + if yyct1573 == codecSelferValueTypeMap1234 { + yyl1573 := r.ReadMapStart() + if yyl1573 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1600, d) + x.codecDecodeSelfFromMap(yyl1573, d) } - } else if yyct1600 == codecSelferValueTypeArray1234 { - yyl1600 := r.ReadArrayStart() - if yyl1600 == 0 { + } else if yyct1573 == codecSelferValueTypeArray1234 { + yyl1573 := r.ReadArrayStart() + if yyl1573 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1600, d) + x.codecDecodeSelfFromArray(yyl1573, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19053,12 +18605,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1601Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1601Slc - var yyhl1601 bool = l >= 0 - for yyj1601 := 0; ; yyj1601++ { - if yyhl1601 { - if yyj1601 >= l { + var yys1574Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1574Slc + var yyhl1574 bool = l >= 0 + for yyj1574 := 0; ; yyj1574++ { + if yyhl1574 { + if yyj1574 >= l { break } } else { @@ -19067,10 +18619,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1601Slc = r.DecodeBytes(yys1601Slc, true, true) - yys1601 := string(yys1601Slc) + yys1574Slc = r.DecodeBytes(yys1574Slc, true, true) + yys1574 := string(yys1574Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1601 { + switch yys1574 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -19081,18 +18633,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1603 := &x.Ranges - yym1604 := z.DecBinary() - _ = yym1604 + yyv1576 := &x.Ranges + yym1577 := z.DecBinary() + _ = yym1577 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1603), d) + h.decSliceIDRange((*[]IDRange)(yyv1576), d) } } default: - z.DecStructFieldNotFound(-1, yys1601) - } // end switch yys1601 - } // end for yyj1601 + z.DecStructFieldNotFound(-1, yys1574) + } // end switch yys1574 + } // end for yyj1574 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19100,16 +18652,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1605 int - var yyb1605 bool - var yyhl1605 bool = l >= 0 - yyj1605++ - if yyhl1605 { - yyb1605 = yyj1605 > l + var yyj1578 int + var yyb1578 bool + var yyhl1578 bool = l >= 0 + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1605 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1605 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19119,13 +18671,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj1605++ - if yyhl1605 { - yyb1605 = yyj1605 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1605 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1605 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19133,26 +18685,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1607 := &x.Ranges - yym1608 := z.DecBinary() - _ = yym1608 + yyv1580 := &x.Ranges + yym1581 := z.DecBinary() + _ = yym1581 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1607), d) + h.decSliceIDRange((*[]IDRange)(yyv1580), d) } } for { - yyj1605++ - if yyhl1605 { - yyb1605 = yyj1605 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1605 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1605 { + if yyb1578 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1605-1, "") + z.DecStructFieldNotFound(yyj1578-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19161,8 +18713,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1609 := z.EncBinary() - _ = yym1609 + yym1582 := z.EncBinary() + _ = yym1582 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19174,8 +18726,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1610 := z.DecBinary() - _ = yym1610 + yym1583 := z.DecBinary() + _ = yym1583 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19190,37 +18742,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1611 := z.EncBinary() - _ = yym1611 + yym1584 := z.EncBinary() + _ = yym1584 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn1612 = 1 - for _, b := range yyq1612 { + yynn1585 = 1 + for _, b := range yyq1585 { if b { - yynn1612++ + yynn1585++ } } - r.EncodeMapStart(yynn1612) - yynn1612 = 0 + r.EncodeMapStart(yynn1585) + yynn1585 = 0 } - if yyr1612 || yy2arr1612 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1612[0] { - yym1614 := z.EncBinary() - _ = yym1614 + if yyq1585[0] { + yym1587 := z.EncBinary() + _ = yym1587 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19229,23 +18781,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1612[0] { + if yyq1585[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1615 := z.EncBinary() - _ = yym1615 + yym1588 := z.EncBinary() + _ = yym1588 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1612 || yy2arr1612 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1612[1] { - yym1617 := z.EncBinary() - _ = yym1617 + if yyq1585[1] { + yym1590 := z.EncBinary() + _ = yym1590 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19254,54 +18806,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1612[1] { + if yyq1585[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1618 := z.EncBinary() - _ = yym1618 + yym1591 := z.EncBinary() + _ = yym1591 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1612 || yy2arr1612 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1612[2] { - yy1620 := &x.ListMeta - yym1621 := z.EncBinary() - _ = yym1621 + if yyq1585[2] { + yy1593 := &x.ListMeta + yym1594 := z.EncBinary() + _ = yym1594 if false { - } else if z.HasExtensions() && z.EncExt(yy1620) { + } else if z.HasExtensions() && z.EncExt(yy1593) { } else { - z.EncFallback(yy1620) + z.EncFallback(yy1593) } } else { r.EncodeNil() } } else { - if yyq1612[2] { + if yyq1585[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1622 := &x.ListMeta - yym1623 := z.EncBinary() - _ = yym1623 + yy1595 := &x.ListMeta + yym1596 := z.EncBinary() + _ = yym1596 if false { - } else if z.HasExtensions() && z.EncExt(yy1622) { + } else if z.HasExtensions() && z.EncExt(yy1595) { } else { - z.EncFallback(yy1622) + z.EncFallback(yy1595) } } } - if yyr1612 || yy2arr1612 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1625 := z.EncBinary() - _ = yym1625 + yym1598 := z.EncBinary() + _ = yym1598 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -19314,15 +18866,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1626 := z.EncBinary() - _ = yym1626 + yym1599 := z.EncBinary() + _ = yym1599 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1612 || yy2arr1612 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19335,25 +18887,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1627 := z.DecBinary() - _ = yym1627 + yym1600 := z.DecBinary() + _ = yym1600 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1628 := r.ContainerType() - if yyct1628 == codecSelferValueTypeMap1234 { - yyl1628 := r.ReadMapStart() - if yyl1628 == 0 { + yyct1601 := r.ContainerType() + if yyct1601 == codecSelferValueTypeMap1234 { + yyl1601 := r.ReadMapStart() + if yyl1601 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1628, d) + x.codecDecodeSelfFromMap(yyl1601, d) } - } else if yyct1628 == codecSelferValueTypeArray1234 { - yyl1628 := r.ReadArrayStart() - if yyl1628 == 0 { + } else if yyct1601 == codecSelferValueTypeArray1234 { + yyl1601 := r.ReadArrayStart() + if yyl1601 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1628, d) + x.codecDecodeSelfFromArray(yyl1601, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19365,12 +18917,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1629Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1629Slc - var yyhl1629 bool = l >= 0 - for yyj1629 := 0; ; yyj1629++ { - if yyhl1629 { - if yyj1629 >= l { + var yys1602Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1602Slc + var yyhl1602 bool = l >= 0 + for yyj1602 := 0; ; yyj1602++ { + if yyhl1602 { + if yyj1602 >= l { break } } else { @@ -19379,10 +18931,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1629Slc = r.DecodeBytes(yys1629Slc, true, true) - yys1629 := string(yys1629Slc) + yys1602Slc = r.DecodeBytes(yys1602Slc, true, true) + yys1602 := string(yys1602Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1629 { + switch yys1602 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19399,31 +18951,31 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1632 := &x.ListMeta - yym1633 := z.DecBinary() - _ = yym1633 + yyv1605 := &x.ListMeta + yym1606 := z.DecBinary() + _ = yym1606 if false { - } else if z.HasExtensions() && z.DecExt(yyv1632) { + } else if z.HasExtensions() && z.DecExt(yyv1605) { } else { - z.DecFallback(yyv1632, false) + z.DecFallback(yyv1605, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1634 := &x.Items - yym1635 := z.DecBinary() - _ = yym1635 + yyv1607 := &x.Items + yym1608 := z.DecBinary() + _ = yym1608 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1634), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1607), d) } } default: - z.DecStructFieldNotFound(-1, yys1629) - } // end switch yys1629 - } // end for yyj1629 + z.DecStructFieldNotFound(-1, yys1602) + } // end switch yys1602 + } // end for yyj1602 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19431,16 +18983,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1636 int - var yyb1636 bool - var yyhl1636 bool = l >= 0 - yyj1636++ - if yyhl1636 { - yyb1636 = yyj1636 > l + var yyj1609 int + var yyb1609 bool + var yyhl1609 bool = l >= 0 + yyj1609++ + if yyhl1609 { + yyb1609 = yyj1609 > l } else { - yyb1636 = r.CheckBreak() + yyb1609 = r.CheckBreak() } - if yyb1636 { + if yyb1609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19450,13 +19002,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1636++ - if yyhl1636 { - yyb1636 = yyj1636 > l + yyj1609++ + if yyhl1609 { + yyb1609 = yyj1609 > l } else { - yyb1636 = r.CheckBreak() + yyb1609 = r.CheckBreak() } - if yyb1636 { + if yyb1609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19466,13 +19018,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1636++ - if yyhl1636 { - yyb1636 = yyj1636 > l + yyj1609++ + if yyhl1609 { + yyb1609 = yyj1609 > l } else { - yyb1636 = r.CheckBreak() + yyb1609 = r.CheckBreak() } - if yyb1636 { + if yyb1609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19480,22 +19032,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1639 := &x.ListMeta - yym1640 := z.DecBinary() - _ = yym1640 + yyv1612 := &x.ListMeta + yym1613 := z.DecBinary() + _ = yym1613 if false { - } else if z.HasExtensions() && z.DecExt(yyv1639) { + } else if z.HasExtensions() && z.DecExt(yyv1612) { } else { - z.DecFallback(yyv1639, false) + z.DecFallback(yyv1612, false) } } - yyj1636++ - if yyhl1636 { - yyb1636 = yyj1636 > l + yyj1609++ + if yyhl1609 { + yyb1609 = yyj1609 > l } else { - yyb1636 = r.CheckBreak() + yyb1609 = r.CheckBreak() } - if yyb1636 { + if yyb1609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19503,26 +19055,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1641 := &x.Items - yym1642 := z.DecBinary() - _ = yym1642 + yyv1614 := &x.Items + yym1615 := z.DecBinary() + _ = yym1615 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1641), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1614), d) } } for { - yyj1636++ - if yyhl1636 { - yyb1636 = yyj1636 > l + yyj1609++ + if yyhl1609 { + yyb1609 = yyj1609 > l } else { - yyb1636 = r.CheckBreak() + yyb1609 = r.CheckBreak() } - if yyb1636 { + if yyb1609 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1636-1, "") + z.DecStructFieldNotFound(yyj1609-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19534,38 +19086,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1643 := z.EncBinary() - _ = yym1643 + yym1616 := z.EncBinary() + _ = yym1616 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn1644 = 0 - for _, b := range yyq1644 { + yynn1617 = 0 + for _, b := range yyq1617 { if b { - yynn1644++ + yynn1617++ } } - r.EncodeMapStart(yynn1644) - yynn1644 = 0 + r.EncodeMapStart(yynn1617) + yynn1617 = 0 } - if yyr1644 || yy2arr1644 { + if yyr1617 || yy2arr1617 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1644[0] { - yym1646 := z.EncBinary() - _ = yym1646 + if yyq1617[0] { + yym1619 := z.EncBinary() + _ = yym1619 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19574,23 +19126,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1644[0] { + if yyq1617[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1647 := z.EncBinary() - _ = yym1647 + yym1620 := z.EncBinary() + _ = yym1620 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1644 || yy2arr1644 { + if yyr1617 || yy2arr1617 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1644[1] { - yym1649 := z.EncBinary() - _ = yym1649 + if yyq1617[1] { + yym1622 := z.EncBinary() + _ = yym1622 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19599,53 +19151,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1644[1] { + if yyq1617[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1650 := z.EncBinary() - _ = yym1650 + yym1623 := z.EncBinary() + _ = yym1623 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1644 || yy2arr1644 { + if yyr1617 || yy2arr1617 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1644[2] { - yy1652 := &x.ObjectMeta - yy1652.CodecEncodeSelf(e) + if yyq1617[2] { + yy1625 := &x.ObjectMeta + yy1625.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1644[2] { + if yyq1617[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1653 := &x.ObjectMeta - yy1653.CodecEncodeSelf(e) + yy1626 := &x.ObjectMeta + yy1626.CodecEncodeSelf(e) } } - if yyr1644 || yy2arr1644 { + if yyr1617 || yy2arr1617 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1644[3] { - yy1655 := &x.Spec - yy1655.CodecEncodeSelf(e) + if yyq1617[3] { + yy1628 := &x.Spec + yy1628.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1644[3] { + if yyq1617[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1656 := &x.Spec - yy1656.CodecEncodeSelf(e) + yy1629 := &x.Spec + yy1629.CodecEncodeSelf(e) } } - if yyr1644 || yy2arr1644 { + if yyr1617 || yy2arr1617 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19658,25 +19210,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1657 := z.DecBinary() - _ = yym1657 + yym1630 := z.DecBinary() + _ = yym1630 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1658 := r.ContainerType() - if yyct1658 == codecSelferValueTypeMap1234 { - yyl1658 := r.ReadMapStart() - if yyl1658 == 0 { + yyct1631 := r.ContainerType() + if yyct1631 == codecSelferValueTypeMap1234 { + yyl1631 := r.ReadMapStart() + if yyl1631 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1658, d) + x.codecDecodeSelfFromMap(yyl1631, d) } - } else if yyct1658 == codecSelferValueTypeArray1234 { - yyl1658 := r.ReadArrayStart() - if yyl1658 == 0 { + } else if yyct1631 == codecSelferValueTypeArray1234 { + yyl1631 := r.ReadArrayStart() + if yyl1631 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1658, d) + x.codecDecodeSelfFromArray(yyl1631, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19688,12 +19240,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1659Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1659Slc - var yyhl1659 bool = l >= 0 - for yyj1659 := 0; ; yyj1659++ { - if yyhl1659 { - if yyj1659 >= l { + var yys1632Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1632Slc + var yyhl1632 bool = l >= 0 + for yyj1632 := 0; ; yyj1632++ { + if yyhl1632 { + if yyj1632 >= l { break } } else { @@ -19702,10 +19254,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1659Slc = r.DecodeBytes(yys1659Slc, true, true) - yys1659 := string(yys1659Slc) + yys1632Slc = r.DecodeBytes(yys1632Slc, true, true) + yys1632 := string(yys1632Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1659 { + switch yys1632 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19722,20 +19274,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1662 := &x.ObjectMeta - yyv1662.CodecDecodeSelf(d) + yyv1635 := &x.ObjectMeta + yyv1635.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1663 := &x.Spec - yyv1663.CodecDecodeSelf(d) + yyv1636 := &x.Spec + yyv1636.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1659) - } // end switch yys1659 - } // end for yyj1659 + z.DecStructFieldNotFound(-1, yys1632) + } // end switch yys1632 + } // end for yyj1632 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19743,16 +19295,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1664 int - var yyb1664 bool - var yyhl1664 bool = l >= 0 - yyj1664++ - if yyhl1664 { - yyb1664 = yyj1664 > l + var yyj1637 int + var yyb1637 bool + var yyhl1637 bool = l >= 0 + yyj1637++ + if yyhl1637 { + yyb1637 = yyj1637 > l } else { - yyb1664 = r.CheckBreak() + yyb1637 = r.CheckBreak() } - if yyb1664 { + if yyb1637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19762,13 +19314,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1664++ - if yyhl1664 { - yyb1664 = yyj1664 > l + yyj1637++ + if yyhl1637 { + yyb1637 = yyj1637 > l } else { - yyb1664 = r.CheckBreak() + yyb1637 = r.CheckBreak() } - if yyb1664 { + if yyb1637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19778,13 +19330,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1664++ - if yyhl1664 { - yyb1664 = yyj1664 > l + yyj1637++ + if yyhl1637 { + yyb1637 = yyj1637 > l } else { - yyb1664 = r.CheckBreak() + yyb1637 = r.CheckBreak() } - if yyb1664 { + if yyb1637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19792,16 +19344,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1667 := &x.ObjectMeta - yyv1667.CodecDecodeSelf(d) + yyv1640 := &x.ObjectMeta + yyv1640.CodecDecodeSelf(d) } - yyj1664++ - if yyhl1664 { - yyb1664 = yyj1664 > l + yyj1637++ + if yyhl1637 { + yyb1637 = yyj1637 > l } else { - yyb1664 = r.CheckBreak() + yyb1637 = r.CheckBreak() } - if yyb1664 { + if yyb1637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19809,21 +19361,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1668 := &x.Spec - yyv1668.CodecDecodeSelf(d) + yyv1641 := &x.Spec + yyv1641.CodecDecodeSelf(d) } for { - yyj1664++ - if yyhl1664 { - yyb1664 = yyj1664 > l + yyj1637++ + if yyhl1637 { + yyb1637 = yyj1637 > l } else { - yyb1664 = r.CheckBreak() + yyb1637 = r.CheckBreak() } - if yyb1664 { + if yyb1637 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1664-1, "") + z.DecStructFieldNotFound(yyj1637-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19835,49 +19387,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1669 := z.EncBinary() - _ = yym1669 + yym1642 := z.EncBinary() + _ = yym1642 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1670 = 1 - for _, b := range yyq1670 { + yynn1643 = 1 + for _, b := range yyq1643 { if b { - yynn1670++ + yynn1643++ } } - r.EncodeMapStart(yynn1670) - yynn1670 = 0 + r.EncodeMapStart(yynn1643) + yynn1643 = 0 } - if yyr1670 || yy2arr1670 { + if yyr1643 || yy2arr1643 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1672 := &x.PodSelector - yy1672.CodecEncodeSelf(e) + yy1645 := &x.PodSelector + yym1646 := z.EncBinary() + _ = yym1646 + if false { + } else if z.HasExtensions() && z.EncExt(yy1645) { + } else { + z.EncFallback(yy1645) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1673 := &x.PodSelector - yy1673.CodecEncodeSelf(e) + yy1647 := &x.PodSelector + yym1648 := z.EncBinary() + _ = yym1648 + if false { + } else if z.HasExtensions() && z.EncExt(yy1647) { + } else { + z.EncFallback(yy1647) + } } - if yyr1670 || yy2arr1670 { + if yyr1643 || yy2arr1643 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1670[1] { + if yyq1643[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1675 := z.EncBinary() - _ = yym1675 + yym1650 := z.EncBinary() + _ = yym1650 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19887,15 +19451,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1670[1] { + if yyq1643[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1676 := z.EncBinary() - _ = yym1676 + yym1651 := z.EncBinary() + _ = yym1651 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19903,7 +19467,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1670 || yy2arr1670 { + if yyr1643 || yy2arr1643 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19916,25 +19480,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1677 := z.DecBinary() - _ = yym1677 + yym1652 := z.DecBinary() + _ = yym1652 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1678 := r.ContainerType() - if yyct1678 == codecSelferValueTypeMap1234 { - yyl1678 := r.ReadMapStart() - if yyl1678 == 0 { + yyct1653 := r.ContainerType() + if yyct1653 == codecSelferValueTypeMap1234 { + yyl1653 := r.ReadMapStart() + if yyl1653 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1678, d) + x.codecDecodeSelfFromMap(yyl1653, d) } - } else if yyct1678 == codecSelferValueTypeArray1234 { - yyl1678 := r.ReadArrayStart() - if yyl1678 == 0 { + } else if yyct1653 == codecSelferValueTypeArray1234 { + yyl1653 := r.ReadArrayStart() + if yyl1653 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1678, d) + x.codecDecodeSelfFromArray(yyl1653, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19946,12 +19510,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1679Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1679Slc - var yyhl1679 bool = l >= 0 - for yyj1679 := 0; ; yyj1679++ { - if yyhl1679 { - if yyj1679 >= l { + var yys1654Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1654Slc + var yyhl1654 bool = l >= 0 + for yyj1654 := 0; ; yyj1654++ { + if yyhl1654 { + if yyj1654 >= l { break } } else { @@ -19960,33 +19524,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1679Slc = r.DecodeBytes(yys1679Slc, true, true) - yys1679 := string(yys1679Slc) + yys1654Slc = r.DecodeBytes(yys1654Slc, true, true) + yys1654 := string(yys1654Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1679 { + switch yys1654 { case "podSelector": if r.TryDecodeAsNil() { - x.PodSelector = LabelSelector{} + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1680 := &x.PodSelector - yyv1680.CodecDecodeSelf(d) + yyv1655 := &x.PodSelector + yym1656 := z.DecBinary() + _ = yym1656 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1655) { + } else { + z.DecFallback(yyv1655, false) + } } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1681 := &x.Ingress - yym1682 := z.DecBinary() - _ = yym1682 + yyv1657 := &x.Ingress + yym1658 := z.DecBinary() + _ = yym1658 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1681), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1657), d) } } default: - z.DecStructFieldNotFound(-1, yys1679) - } // end switch yys1679 - } // end for yyj1679 + z.DecStructFieldNotFound(-1, yys1654) + } // end switch yys1654 + } // end for yyj1654 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19994,33 +19564,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1683 int - var yyb1683 bool - var yyhl1683 bool = l >= 0 - yyj1683++ - if yyhl1683 { - yyb1683 = yyj1683 > l + var yyj1659 int + var yyb1659 bool + var yyhl1659 bool = l >= 0 + yyj1659++ + if yyhl1659 { + yyb1659 = yyj1659 > l } else { - yyb1683 = r.CheckBreak() + yyb1659 = r.CheckBreak() } - if yyb1683 { + if yyb1659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.PodSelector = LabelSelector{} + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1684 := &x.PodSelector - yyv1684.CodecDecodeSelf(d) + yyv1660 := &x.PodSelector + yym1661 := z.DecBinary() + _ = yym1661 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1660) { + } else { + z.DecFallback(yyv1660, false) + } } - yyj1683++ - if yyhl1683 { - yyb1683 = yyj1683 > l + yyj1659++ + if yyhl1659 { + yyb1659 = yyj1659 > l } else { - yyb1683 = r.CheckBreak() + yyb1659 = r.CheckBreak() } - if yyb1683 { + if yyb1659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20028,26 +19604,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1685 := &x.Ingress - yym1686 := z.DecBinary() - _ = yym1686 + yyv1662 := &x.Ingress + yym1663 := z.DecBinary() + _ = yym1663 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1685), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1662), d) } } for { - yyj1683++ - if yyhl1683 { - yyb1683 = yyj1683 > l + yyj1659++ + if yyhl1659 { + yyb1659 = yyj1659 > l } else { - yyb1683 = r.CheckBreak() + yyb1659 = r.CheckBreak() } - if yyb1683 { + if yyb1659 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1683-1, "") + z.DecStructFieldNotFound(yyj1659-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20059,39 +19635,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1687 := z.EncBinary() - _ = yym1687 + yym1664 := z.EncBinary() + _ = yym1664 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1688 = 0 - for _, b := range yyq1688 { + yynn1665 = 0 + for _, b := range yyq1665 { if b { - yynn1688++ + yynn1665++ } } - r.EncodeMapStart(yynn1688) - yynn1688 = 0 + r.EncodeMapStart(yynn1665) + yynn1665 = 0 } - if yyr1688 || yy2arr1688 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1688[0] { + if yyq1665[0] { if x.Ports == nil { r.EncodeNil() } else { - yym1690 := z.EncBinary() - _ = yym1690 + yym1667 := z.EncBinary() + _ = yym1667 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -20101,15 +19677,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1688[0] { + if yyq1665[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1691 := z.EncBinary() - _ = yym1691 + yym1668 := z.EncBinary() + _ = yym1668 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -20117,14 +19693,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1688 || yy2arr1688 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1688[1] { + if yyq1665[1] { if x.From == nil { r.EncodeNil() } else { - yym1693 := z.EncBinary() - _ = yym1693 + yym1670 := z.EncBinary() + _ = yym1670 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -20134,15 +19710,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1688[1] { + if yyq1665[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym1694 := z.EncBinary() - _ = yym1694 + yym1671 := z.EncBinary() + _ = yym1671 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -20150,7 +19726,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1688 || yy2arr1688 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20163,25 +19739,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1695 := z.DecBinary() - _ = yym1695 + yym1672 := z.DecBinary() + _ = yym1672 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1696 := r.ContainerType() - if yyct1696 == codecSelferValueTypeMap1234 { - yyl1696 := r.ReadMapStart() - if yyl1696 == 0 { + yyct1673 := r.ContainerType() + if yyct1673 == codecSelferValueTypeMap1234 { + yyl1673 := r.ReadMapStart() + if yyl1673 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1696, d) + x.codecDecodeSelfFromMap(yyl1673, d) } - } else if yyct1696 == codecSelferValueTypeArray1234 { - yyl1696 := r.ReadArrayStart() - if yyl1696 == 0 { + } else if yyct1673 == codecSelferValueTypeArray1234 { + yyl1673 := r.ReadArrayStart() + if yyl1673 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1696, d) + x.codecDecodeSelfFromArray(yyl1673, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20193,12 +19769,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1697Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1697Slc - var yyhl1697 bool = l >= 0 - for yyj1697 := 0; ; yyj1697++ { - if yyhl1697 { - if yyj1697 >= l { + var yys1674Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1674Slc + var yyhl1674 bool = l >= 0 + for yyj1674 := 0; ; yyj1674++ { + if yyhl1674 { + if yyj1674 >= l { break } } else { @@ -20207,38 +19783,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1697Slc = r.DecodeBytes(yys1697Slc, true, true) - yys1697 := string(yys1697Slc) + yys1674Slc = r.DecodeBytes(yys1674Slc, true, true) + yys1674 := string(yys1674Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1697 { + switch yys1674 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1698 := &x.Ports - yym1699 := z.DecBinary() - _ = yym1699 + yyv1675 := &x.Ports + yym1676 := z.DecBinary() + _ = yym1676 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1698), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1675), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv1700 := &x.From - yym1701 := z.DecBinary() - _ = yym1701 + yyv1677 := &x.From + yym1678 := z.DecBinary() + _ = yym1678 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1700), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1677), d) } } default: - z.DecStructFieldNotFound(-1, yys1697) - } // end switch yys1697 - } // end for yyj1697 + z.DecStructFieldNotFound(-1, yys1674) + } // end switch yys1674 + } // end for yyj1674 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20246,16 +19822,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1702 int - var yyb1702 bool - var yyhl1702 bool = l >= 0 - yyj1702++ - if yyhl1702 { - yyb1702 = yyj1702 > l + var yyj1679 int + var yyb1679 bool + var yyhl1679 bool = l >= 0 + yyj1679++ + if yyhl1679 { + yyb1679 = yyj1679 > l } else { - yyb1702 = r.CheckBreak() + yyb1679 = r.CheckBreak() } - if yyb1702 { + if yyb1679 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20263,21 +19839,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1703 := &x.Ports - yym1704 := z.DecBinary() - _ = yym1704 + yyv1680 := &x.Ports + yym1681 := z.DecBinary() + _ = yym1681 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1703), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1680), d) } } - yyj1702++ - if yyhl1702 { - yyb1702 = yyj1702 > l + yyj1679++ + if yyhl1679 { + yyb1679 = yyj1679 > l } else { - yyb1702 = r.CheckBreak() + yyb1679 = r.CheckBreak() } - if yyb1702 { + if yyb1679 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20285,26 +19861,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv1705 := &x.From - yym1706 := z.DecBinary() - _ = yym1706 + yyv1682 := &x.From + yym1683 := z.DecBinary() + _ = yym1683 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1705), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1682), d) } } for { - yyj1702++ - if yyhl1702 { - yyb1702 = yyj1702 > l + yyj1679++ + if yyhl1679 { + yyb1679 = yyj1679 > l } else { - yyb1702 = r.CheckBreak() + yyb1679 = r.CheckBreak() } - if yyb1702 { + if yyb1679 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1702-1, "") + z.DecStructFieldNotFound(yyj1679-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20316,79 +19892,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1707 := z.EncBinary() - _ = yym1707 + yym1684 := z.EncBinary() + _ = yym1684 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1708 = 0 - for _, b := range yyq1708 { + yynn1685 = 0 + for _, b := range yyq1685 { if b { - yynn1708++ + yynn1685++ } } - r.EncodeMapStart(yynn1708) - yynn1708 = 0 + r.EncodeMapStart(yynn1685) + yynn1685 = 0 } - if yyr1708 || yy2arr1708 { + if yyr1685 || yy2arr1685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1708[0] { + if yyq1685[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy1710 := *x.Protocol - yym1711 := z.EncBinary() - _ = yym1711 + yy1687 := *x.Protocol + yym1688 := z.EncBinary() + _ = yym1688 if false { - } else if z.HasExtensions() && z.EncExt(yy1710) { + } else if z.HasExtensions() && z.EncExt(yy1687) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1710)) + r.EncodeString(codecSelferC_UTF81234, string(yy1687)) } } } else { r.EncodeNil() } } else { - if yyq1708[0] { + if yyq1685[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy1712 := *x.Protocol - yym1713 := z.EncBinary() - _ = yym1713 + yy1689 := *x.Protocol + yym1690 := z.EncBinary() + _ = yym1690 if false { - } else if z.HasExtensions() && z.EncExt(yy1712) { + } else if z.HasExtensions() && z.EncExt(yy1689) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1712)) + r.EncodeString(codecSelferC_UTF81234, string(yy1689)) } } } } - if yyr1708 || yy2arr1708 { + if yyr1685 || yy2arr1685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1708[1] { + if yyq1685[1] { if x.Port == nil { r.EncodeNil() } else { - yym1715 := z.EncBinary() - _ = yym1715 + yym1692 := z.EncBinary() + _ = yym1692 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1715 && z.IsJSONHandle() { + } else if !yym1692 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20398,18 +19974,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1708[1] { + if yyq1685[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym1716 := z.EncBinary() - _ = yym1716 + yym1693 := z.EncBinary() + _ = yym1693 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1716 && z.IsJSONHandle() { + } else if !yym1693 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20417,7 +19993,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1708 || yy2arr1708 { + if yyr1685 || yy2arr1685 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20430,25 +20006,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1717 := z.DecBinary() - _ = yym1717 + yym1694 := z.DecBinary() + _ = yym1694 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1718 := r.ContainerType() - if yyct1718 == codecSelferValueTypeMap1234 { - yyl1718 := r.ReadMapStart() - if yyl1718 == 0 { + yyct1695 := r.ContainerType() + if yyct1695 == codecSelferValueTypeMap1234 { + yyl1695 := r.ReadMapStart() + if yyl1695 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1718, d) + x.codecDecodeSelfFromMap(yyl1695, d) } - } else if yyct1718 == codecSelferValueTypeArray1234 { - yyl1718 := r.ReadArrayStart() - if yyl1718 == 0 { + } else if yyct1695 == codecSelferValueTypeArray1234 { + yyl1695 := r.ReadArrayStart() + if yyl1695 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1718, d) + x.codecDecodeSelfFromArray(yyl1695, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20460,12 +20036,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1719Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1719Slc - var yyhl1719 bool = l >= 0 - for yyj1719 := 0; ; yyj1719++ { - if yyhl1719 { - if yyj1719 >= l { + var yys1696Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1696Slc + var yyhl1696 bool = l >= 0 + for yyj1696 := 0; ; yyj1696++ { + if yyhl1696 { + if yyj1696 >= l { break } } else { @@ -20474,10 +20050,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1719Slc = r.DecodeBytes(yys1719Slc, true, true) - yys1719 := string(yys1719Slc) + yys1696Slc = r.DecodeBytes(yys1696Slc, true, true) + yys1696 := string(yys1696Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1719 { + switch yys1696 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -20498,20 +20074,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1722 := z.DecBinary() - _ = yym1722 + yym1699 := z.DecBinary() + _ = yym1699 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1722 && z.IsJSONHandle() { + } else if !yym1699 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys1719) - } // end switch yys1719 - } // end for yyj1719 + z.DecStructFieldNotFound(-1, yys1696) + } // end switch yys1696 + } // end for yyj1696 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20519,16 +20095,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1723 int - var yyb1723 bool - var yyhl1723 bool = l >= 0 - yyj1723++ - if yyhl1723 { - yyb1723 = yyj1723 > l + var yyj1700 int + var yyb1700 bool + var yyhl1700 bool = l >= 0 + yyj1700++ + if yyhl1700 { + yyb1700 = yyj1700 > l } else { - yyb1723 = r.CheckBreak() + yyb1700 = r.CheckBreak() } - if yyb1723 { + if yyb1700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20543,13 +20119,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj1723++ - if yyhl1723 { - yyb1723 = yyj1723 > l + yyj1700++ + if yyhl1700 { + yyb1700 = yyj1700 > l } else { - yyb1723 = r.CheckBreak() + yyb1700 = r.CheckBreak() } - if yyb1723 { + if yyb1700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20562,28 +20138,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1726 := z.DecBinary() - _ = yym1726 + yym1703 := z.DecBinary() + _ = yym1703 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1726 && z.IsJSONHandle() { + } else if !yym1703 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj1723++ - if yyhl1723 { - yyb1723 = yyj1723 > l + yyj1700++ + if yyhl1700 { + yyb1700 = yyj1700 > l } else { - yyb1723 = r.CheckBreak() + yyb1700 = r.CheckBreak() } - if yyb1723 { + if yyb1700 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1723-1, "") + z.DecStructFieldNotFound(yyj1700-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20595,78 +20171,102 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1727 := z.EncBinary() - _ = yym1727 + yym1704 := z.EncBinary() + _ = yym1704 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(2) } else { - yynn1728 = 0 - for _, b := range yyq1728 { + yynn1705 = 0 + for _, b := range yyq1705 { if b { - yynn1728++ + yynn1705++ } } - r.EncodeMapStart(yynn1728) - yynn1728 = 0 + r.EncodeMapStart(yynn1705) + yynn1705 = 0 } - if yyr1728 || yy2arr1728 { + if yyr1705 || yy2arr1705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1728[0] { + if yyq1705[0] { if x.PodSelector == nil { r.EncodeNil() } else { - x.PodSelector.CodecEncodeSelf(e) + yym1707 := z.EncBinary() + _ = yym1707 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } } } else { r.EncodeNil() } } else { - if yyq1728[0] { + if yyq1705[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodSelector == nil { r.EncodeNil() } else { - x.PodSelector.CodecEncodeSelf(e) + yym1708 := z.EncBinary() + _ = yym1708 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } } } } - if yyr1728 || yy2arr1728 { + if yyr1705 || yy2arr1705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1728[1] { + if yyq1705[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { - x.NamespaceSelector.CodecEncodeSelf(e) + yym1710 := z.EncBinary() + _ = yym1710 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } } } else { r.EncodeNil() } } else { - if yyq1728[1] { + if yyq1705[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NamespaceSelector == nil { r.EncodeNil() } else { - x.NamespaceSelector.CodecEncodeSelf(e) + yym1711 := z.EncBinary() + _ = yym1711 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } } } } - if yyr1728 || yy2arr1728 { + if yyr1705 || yy2arr1705 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20679,25 +20279,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1731 := z.DecBinary() - _ = yym1731 + yym1712 := z.DecBinary() + _ = yym1712 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1732 := r.ContainerType() - if yyct1732 == codecSelferValueTypeMap1234 { - yyl1732 := r.ReadMapStart() - if yyl1732 == 0 { + yyct1713 := r.ContainerType() + if yyct1713 == codecSelferValueTypeMap1234 { + yyl1713 := r.ReadMapStart() + if yyl1713 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1732, d) + x.codecDecodeSelfFromMap(yyl1713, d) } - } else if yyct1732 == codecSelferValueTypeArray1234 { - yyl1732 := r.ReadArrayStart() - if yyl1732 == 0 { + } else if yyct1713 == codecSelferValueTypeArray1234 { + yyl1713 := r.ReadArrayStart() + if yyl1713 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1732, d) + x.codecDecodeSelfFromArray(yyl1713, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20709,12 +20309,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1733Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1733Slc - var yyhl1733 bool = l >= 0 - for yyj1733 := 0; ; yyj1733++ { - if yyhl1733 { - if yyj1733 >= l { + var yys1714Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1714Slc + var yyhl1714 bool = l >= 0 + for yyj1714 := 0; ; yyj1714++ { + if yyhl1714 { + if yyj1714 >= l { break } } else { @@ -20723,10 +20323,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1733Slc = r.DecodeBytes(yys1733Slc, true, true) - yys1733 := string(yys1733Slc) + yys1714Slc = r.DecodeBytes(yys1714Slc, true, true) + yys1714 := string(yys1714Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1733 { + switch yys1714 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -20734,9 +20334,15 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } else { if x.PodSelector == nil { - x.PodSelector = new(LabelSelector) + 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.CodecDecodeSelf(d) } case "namespaceSelector": if r.TryDecodeAsNil() { @@ -20745,14 +20351,20 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } else { if x.NamespaceSelector == nil { - x.NamespaceSelector = new(LabelSelector) + 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.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1733) - } // end switch yys1733 - } // end for yyj1733 + z.DecStructFieldNotFound(-1, yys1714) + } // end switch yys1714 + } // end for yyj1714 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20760,16 +20372,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1736 int - var yyb1736 bool - var yyhl1736 bool = l >= 0 - yyj1736++ - if yyhl1736 { - yyb1736 = yyj1736 > l + var yyj1719 int + var yyb1719 bool + var yyhl1719 bool = l >= 0 + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb1736 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb1736 { + if yyb1719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20780,17 +20392,23 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } else { if x.PodSelector == nil { - x.PodSelector = new(LabelSelector) + 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.CodecDecodeSelf(d) } - yyj1736++ - if yyhl1736 { - yyb1736 = yyj1736 > l + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb1736 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb1736 { + if yyb1719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20801,22 +20419,28 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } else { if x.NamespaceSelector == nil { - x.NamespaceSelector = new(LabelSelector) + 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.CodecDecodeSelf(d) } for { - yyj1736++ - if yyhl1736 { - yyb1736 = yyj1736 > l + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb1736 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb1736 { + if yyb1719 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1736-1, "") + z.DecStructFieldNotFound(yyj1719-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20828,37 +20452,37 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1739 := z.EncBinary() - _ = yym1739 + yym1724 := z.EncBinary() + _ = yym1724 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn1740 = 1 - for _, b := range yyq1740 { + yynn1725 = 1 + for _, b := range yyq1725 { if b { - yynn1740++ + yynn1725++ } } - r.EncodeMapStart(yynn1740) - yynn1740 = 0 + r.EncodeMapStart(yynn1725) + yynn1725 = 0 } - if yyr1740 || yy2arr1740 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1740[0] { - yym1742 := z.EncBinary() - _ = yym1742 + if yyq1725[0] { + yym1727 := z.EncBinary() + _ = yym1727 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -20867,23 +20491,23 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1740[0] { + if yyq1725[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1743 := z.EncBinary() - _ = yym1743 + yym1728 := z.EncBinary() + _ = yym1728 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1740 || yy2arr1740 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1740[1] { - yym1745 := z.EncBinary() - _ = yym1745 + if yyq1725[1] { + yym1730 := z.EncBinary() + _ = yym1730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -20892,54 +20516,54 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1740[1] { + if yyq1725[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1746 := z.EncBinary() - _ = yym1746 + yym1731 := z.EncBinary() + _ = yym1731 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1740 || yy2arr1740 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1740[2] { - yy1748 := &x.ListMeta - yym1749 := z.EncBinary() - _ = yym1749 + if yyq1725[2] { + yy1733 := &x.ListMeta + yym1734 := z.EncBinary() + _ = yym1734 if false { - } else if z.HasExtensions() && z.EncExt(yy1748) { + } else if z.HasExtensions() && z.EncExt(yy1733) { } else { - z.EncFallback(yy1748) + z.EncFallback(yy1733) } } else { r.EncodeNil() } } else { - if yyq1740[2] { + if yyq1725[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1750 := &x.ListMeta - yym1751 := z.EncBinary() - _ = yym1751 + yy1735 := &x.ListMeta + yym1736 := z.EncBinary() + _ = yym1736 if false { - } else if z.HasExtensions() && z.EncExt(yy1750) { + } else if z.HasExtensions() && z.EncExt(yy1735) { } else { - z.EncFallback(yy1750) + z.EncFallback(yy1735) } } } - if yyr1740 || yy2arr1740 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1753 := z.EncBinary() - _ = yym1753 + yym1738 := z.EncBinary() + _ = yym1738 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -20952,15 +20576,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1754 := z.EncBinary() - _ = yym1754 + yym1739 := z.EncBinary() + _ = yym1739 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr1740 || yy2arr1740 { + if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20973,25 +20597,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1755 := z.DecBinary() - _ = yym1755 + yym1740 := z.DecBinary() + _ = yym1740 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1756 := r.ContainerType() - if yyct1756 == codecSelferValueTypeMap1234 { - yyl1756 := r.ReadMapStart() - if yyl1756 == 0 { + yyct1741 := r.ContainerType() + if yyct1741 == codecSelferValueTypeMap1234 { + yyl1741 := r.ReadMapStart() + if yyl1741 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1756, d) + x.codecDecodeSelfFromMap(yyl1741, d) } - } else if yyct1756 == codecSelferValueTypeArray1234 { - yyl1756 := r.ReadArrayStart() - if yyl1756 == 0 { + } else if yyct1741 == codecSelferValueTypeArray1234 { + yyl1741 := r.ReadArrayStart() + if yyl1741 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1756, d) + x.codecDecodeSelfFromArray(yyl1741, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21003,12 +20627,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1757Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1757Slc - var yyhl1757 bool = l >= 0 - for yyj1757 := 0; ; yyj1757++ { - if yyhl1757 { - if yyj1757 >= l { + var yys1742Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1742Slc + var yyhl1742 bool = l >= 0 + for yyj1742 := 0; ; yyj1742++ { + if yyhl1742 { + if yyj1742 >= l { break } } else { @@ -21017,10 +20641,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1757Slc = r.DecodeBytes(yys1757Slc, true, true) - yys1757 := string(yys1757Slc) + yys1742Slc = r.DecodeBytes(yys1742Slc, true, true) + yys1742 := string(yys1742Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1757 { + switch yys1742 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21037,31 +20661,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1760 := &x.ListMeta - yym1761 := z.DecBinary() - _ = yym1761 + yyv1745 := &x.ListMeta + yym1746 := z.DecBinary() + _ = yym1746 if false { - } else if z.HasExtensions() && z.DecExt(yyv1760) { + } else if z.HasExtensions() && z.DecExt(yyv1745) { } else { - z.DecFallback(yyv1760, false) + z.DecFallback(yyv1745, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1762 := &x.Items - yym1763 := z.DecBinary() - _ = yym1763 + yyv1747 := &x.Items + yym1748 := z.DecBinary() + _ = yym1748 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1762), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1747), d) } } default: - z.DecStructFieldNotFound(-1, yys1757) - } // end switch yys1757 - } // end for yyj1757 + z.DecStructFieldNotFound(-1, yys1742) + } // end switch yys1742 + } // end for yyj1742 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21069,16 +20693,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1764 int - var yyb1764 bool - var yyhl1764 bool = l >= 0 - yyj1764++ - if yyhl1764 { - yyb1764 = yyj1764 > l + var yyj1749 int + var yyb1749 bool + var yyhl1749 bool = l >= 0 + yyj1749++ + if yyhl1749 { + yyb1749 = yyj1749 > l } else { - yyb1764 = r.CheckBreak() + yyb1749 = r.CheckBreak() } - if yyb1764 { + if yyb1749 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21088,13 +20712,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1764++ - if yyhl1764 { - yyb1764 = yyj1764 > l + yyj1749++ + if yyhl1749 { + yyb1749 = yyj1749 > l } else { - yyb1764 = r.CheckBreak() + yyb1749 = r.CheckBreak() } - if yyb1764 { + if yyb1749 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21104,13 +20728,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1764++ - if yyhl1764 { - yyb1764 = yyj1764 > l + yyj1749++ + if yyhl1749 { + yyb1749 = yyj1749 > l } else { - yyb1764 = r.CheckBreak() + yyb1749 = r.CheckBreak() } - if yyb1764 { + if yyb1749 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21118,22 +20742,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1767 := &x.ListMeta - yym1768 := z.DecBinary() - _ = yym1768 + yyv1752 := &x.ListMeta + yym1753 := z.DecBinary() + _ = yym1753 if false { - } else if z.HasExtensions() && z.DecExt(yyv1767) { + } else if z.HasExtensions() && z.DecExt(yyv1752) { } else { - z.DecFallback(yyv1767, false) + z.DecFallback(yyv1752, false) } } - yyj1764++ - if yyhl1764 { - yyb1764 = yyj1764 > l + yyj1749++ + if yyhl1749 { + yyb1749 = yyj1749 > l } else { - yyb1764 = r.CheckBreak() + yyb1749 = r.CheckBreak() } - if yyb1764 { + if yyb1749 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21141,26 +20765,26 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1769 := &x.Items - yym1770 := z.DecBinary() - _ = yym1770 + yyv1754 := &x.Items + yym1755 := z.DecBinary() + _ = yym1755 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1769), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1754), d) } } for { - yyj1764++ - if yyhl1764 { - yyb1764 = yyj1764 > l + yyj1749++ + if yyhl1749 { + yyb1749 = yyj1749 > l } else { - yyb1764 = r.CheckBreak() + yyb1749 = r.CheckBreak() } - if yyb1764 { + if yyb1749 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1764-1, "") + z.DecStructFieldNotFound(yyj1749-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21170,10 +20794,10 @@ func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1771 := range v { + for _, yyv1756 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1772 := &yyv1771 - yy1772.CodecEncodeSelf(e) + yy1757 := &yyv1756 + yy1757.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21183,83 +20807,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1773 > 0 { - var yyrr1773, yyrl1773 int - var yyrt1773 bool - if yyl1773 > cap(yyv1773) { + } else if yyl1758 > 0 { + var yyrr1758, yyrl1758 int + var yyrt1758 bool + if yyl1758 > cap(yyv1758) { - yyrg1773 := len(yyv1773) > 0 - yyv21773 := yyv1773 - yyrl1773, yyrt1773 = z.DecInferLen(yyl1773, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1773 { - if yyrl1773 <= cap(yyv1773) { - yyv1773 = yyv1773[:yyrl1773] + yyrg1758 := len(yyv1758) > 0 + yyv21758 := yyv1758 + yyrl1758, yyrt1758 = z.DecInferLen(yyl1758, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1758 { + if yyrl1758 <= cap(yyv1758) { + yyv1758 = yyv1758[:yyrl1758] } else { - yyv1773 = make([]CustomMetricTarget, yyrl1773) + yyv1758 = make([]CustomMetricTarget, yyrl1758) } } else { - yyv1773 = make([]CustomMetricTarget, yyrl1773) + yyv1758 = make([]CustomMetricTarget, yyrl1758) } - yyc1773 = true - yyrr1773 = len(yyv1773) - if yyrg1773 { - copy(yyv1773, yyv21773) + yyc1758 = true + yyrr1758 = len(yyv1758) + if yyrg1758 { + copy(yyv1758, yyv21758) } - } else if yyl1773 != len(yyv1773) { - yyv1773 = yyv1773[:yyl1773] - yyc1773 = true + } else if yyl1758 != len(yyv1758) { + yyv1758 = yyv1758[:yyl1758] + yyc1758 = true } - yyj1773 := 0 - for ; yyj1773 < yyrr1773; yyj1773++ { - yyh1773.ElemContainerState(yyj1773) + yyj1758 := 0 + for ; yyj1758 < yyrr1758; yyj1758++ { + yyh1758.ElemContainerState(yyj1758) if r.TryDecodeAsNil() { - yyv1773[yyj1773] = CustomMetricTarget{} + yyv1758[yyj1758] = CustomMetricTarget{} } else { - yyv1774 := &yyv1773[yyj1773] - yyv1774.CodecDecodeSelf(d) + yyv1759 := &yyv1758[yyj1758] + yyv1759.CodecDecodeSelf(d) } } - if yyrt1773 { - for ; yyj1773 < yyl1773; yyj1773++ { - yyv1773 = append(yyv1773, CustomMetricTarget{}) - yyh1773.ElemContainerState(yyj1773) + if yyrt1758 { + for ; yyj1758 < yyl1758; yyj1758++ { + yyv1758 = append(yyv1758, CustomMetricTarget{}) + yyh1758.ElemContainerState(yyj1758) if r.TryDecodeAsNil() { - yyv1773[yyj1773] = CustomMetricTarget{} + yyv1758[yyj1758] = CustomMetricTarget{} } else { - yyv1775 := &yyv1773[yyj1773] - yyv1775.CodecDecodeSelf(d) + yyv1760 := &yyv1758[yyj1758] + yyv1760.CodecDecodeSelf(d) } } } } else { - yyj1773 := 0 - for ; !r.CheckBreak(); yyj1773++ { + yyj1758 := 0 + for ; !r.CheckBreak(); yyj1758++ { - if yyj1773 >= len(yyv1773) { - yyv1773 = append(yyv1773, CustomMetricTarget{}) // var yyz1773 CustomMetricTarget - yyc1773 = true + if yyj1758 >= len(yyv1758) { + yyv1758 = append(yyv1758, CustomMetricTarget{}) // var yyz1758 CustomMetricTarget + yyc1758 = true } - yyh1773.ElemContainerState(yyj1773) - if yyj1773 < len(yyv1773) { + yyh1758.ElemContainerState(yyj1758) + if yyj1758 < len(yyv1758) { if r.TryDecodeAsNil() { - yyv1773[yyj1773] = CustomMetricTarget{} + yyv1758[yyj1758] = CustomMetricTarget{} } else { - yyv1776 := &yyv1773[yyj1773] - yyv1776.CodecDecodeSelf(d) + yyv1761 := &yyv1758[yyj1758] + yyv1761.CodecDecodeSelf(d) } } else { @@ -21267,17 +20891,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1773 < len(yyv1773) { - yyv1773 = yyv1773[:yyj1773] - yyc1773 = true - } else if yyj1773 == 0 && yyv1773 == nil { - yyv1773 = []CustomMetricTarget{} - yyc1773 = true + if yyj1758 < len(yyv1758) { + yyv1758 = yyv1758[:yyj1758] + yyc1758 = true + } else if yyj1758 == 0 && yyv1758 == nil { + yyv1758 = []CustomMetricTarget{} + yyc1758 = true } } - yyh1773.End() - if yyc1773 { - *v = yyv1773 + yyh1758.End() + if yyc1758 { + *v = yyv1758 } } @@ -21286,10 +20910,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1777 := range v { + for _, yyv1762 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1778 := &yyv1777 - yy1778.CodecEncodeSelf(e) + yy1763 := &yyv1762 + yy1763.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21299,83 +20923,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1779 > 0 { - var yyrr1779, yyrl1779 int - var yyrt1779 bool - if yyl1779 > cap(yyv1779) { + } else if yyl1764 > 0 { + var yyrr1764, yyrl1764 int + var yyrt1764 bool + if yyl1764 > cap(yyv1764) { - yyrg1779 := len(yyv1779) > 0 - yyv21779 := yyv1779 - yyrl1779, yyrt1779 = z.DecInferLen(yyl1779, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1779 { - if yyrl1779 <= cap(yyv1779) { - yyv1779 = yyv1779[:yyrl1779] + yyrg1764 := len(yyv1764) > 0 + yyv21764 := yyv1764 + yyrl1764, yyrt1764 = z.DecInferLen(yyl1764, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1764 { + if yyrl1764 <= cap(yyv1764) { + yyv1764 = yyv1764[:yyrl1764] } else { - yyv1779 = make([]CustomMetricCurrentStatus, yyrl1779) + yyv1764 = make([]CustomMetricCurrentStatus, yyrl1764) } } else { - yyv1779 = make([]CustomMetricCurrentStatus, yyrl1779) + yyv1764 = make([]CustomMetricCurrentStatus, yyrl1764) } - yyc1779 = true - yyrr1779 = len(yyv1779) - if yyrg1779 { - copy(yyv1779, yyv21779) + yyc1764 = true + yyrr1764 = len(yyv1764) + if yyrg1764 { + copy(yyv1764, yyv21764) } - } else if yyl1779 != len(yyv1779) { - yyv1779 = yyv1779[:yyl1779] - yyc1779 = true + } else if yyl1764 != len(yyv1764) { + yyv1764 = yyv1764[:yyl1764] + yyc1764 = true } - yyj1779 := 0 - for ; yyj1779 < yyrr1779; yyj1779++ { - yyh1779.ElemContainerState(yyj1779) + yyj1764 := 0 + for ; yyj1764 < yyrr1764; yyj1764++ { + yyh1764.ElemContainerState(yyj1764) if r.TryDecodeAsNil() { - yyv1779[yyj1779] = CustomMetricCurrentStatus{} + yyv1764[yyj1764] = CustomMetricCurrentStatus{} } else { - yyv1780 := &yyv1779[yyj1779] - yyv1780.CodecDecodeSelf(d) + yyv1765 := &yyv1764[yyj1764] + yyv1765.CodecDecodeSelf(d) } } - if yyrt1779 { - for ; yyj1779 < yyl1779; yyj1779++ { - yyv1779 = append(yyv1779, CustomMetricCurrentStatus{}) - yyh1779.ElemContainerState(yyj1779) + if yyrt1764 { + for ; yyj1764 < yyl1764; yyj1764++ { + yyv1764 = append(yyv1764, CustomMetricCurrentStatus{}) + yyh1764.ElemContainerState(yyj1764) if r.TryDecodeAsNil() { - yyv1779[yyj1779] = CustomMetricCurrentStatus{} + yyv1764[yyj1764] = CustomMetricCurrentStatus{} } else { - yyv1781 := &yyv1779[yyj1779] - yyv1781.CodecDecodeSelf(d) + yyv1766 := &yyv1764[yyj1764] + yyv1766.CodecDecodeSelf(d) } } } } else { - yyj1779 := 0 - for ; !r.CheckBreak(); yyj1779++ { + yyj1764 := 0 + for ; !r.CheckBreak(); yyj1764++ { - if yyj1779 >= len(yyv1779) { - yyv1779 = append(yyv1779, CustomMetricCurrentStatus{}) // var yyz1779 CustomMetricCurrentStatus - yyc1779 = true + if yyj1764 >= len(yyv1764) { + yyv1764 = append(yyv1764, CustomMetricCurrentStatus{}) // var yyz1764 CustomMetricCurrentStatus + yyc1764 = true } - yyh1779.ElemContainerState(yyj1779) - if yyj1779 < len(yyv1779) { + yyh1764.ElemContainerState(yyj1764) + if yyj1764 < len(yyv1764) { if r.TryDecodeAsNil() { - yyv1779[yyj1779] = CustomMetricCurrentStatus{} + yyv1764[yyj1764] = CustomMetricCurrentStatus{} } else { - yyv1782 := &yyv1779[yyj1779] - yyv1782.CodecDecodeSelf(d) + yyv1767 := &yyv1764[yyj1764] + yyv1767.CodecDecodeSelf(d) } } else { @@ -21383,17 +21007,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1779 < len(yyv1779) { - yyv1779 = yyv1779[:yyj1779] - yyc1779 = true - } else if yyj1779 == 0 && yyv1779 == nil { - yyv1779 = []CustomMetricCurrentStatus{} - yyc1779 = true + if yyj1764 < len(yyv1764) { + yyv1764 = yyv1764[:yyj1764] + yyc1764 = true + } else if yyj1764 == 0 && yyv1764 == nil { + yyv1764 = []CustomMetricCurrentStatus{} + yyc1764 = true } } - yyh1779.End() - if yyc1779 { - *v = yyv1779 + yyh1764.End() + if yyc1764 { + *v = yyv1764 } } @@ -21402,10 +21026,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1783 := range v { + for _, yyv1768 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1784 := &yyv1783 - yy1784.CodecEncodeSelf(e) + yy1769 := &yyv1768 + yy1769.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21415,83 +21039,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1785 > 0 { - var yyrr1785, yyrl1785 int - var yyrt1785 bool - if yyl1785 > cap(yyv1785) { + } else if yyl1770 > 0 { + var yyrr1770, yyrl1770 int + var yyrt1770 bool + if yyl1770 > cap(yyv1770) { - yyrg1785 := len(yyv1785) > 0 - yyv21785 := yyv1785 - yyrl1785, yyrt1785 = z.DecInferLen(yyl1785, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1785 { - if yyrl1785 <= cap(yyv1785) { - yyv1785 = yyv1785[:yyrl1785] + yyrg1770 := len(yyv1770) > 0 + yyv21770 := yyv1770 + yyrl1770, yyrt1770 = z.DecInferLen(yyl1770, z.DecBasicHandle().MaxInitLen, 376) + if yyrt1770 { + if yyrl1770 <= cap(yyv1770) { + yyv1770 = yyv1770[:yyrl1770] } else { - yyv1785 = make([]HorizontalPodAutoscaler, yyrl1785) + yyv1770 = make([]HorizontalPodAutoscaler, yyrl1770) } } else { - yyv1785 = make([]HorizontalPodAutoscaler, yyrl1785) + yyv1770 = make([]HorizontalPodAutoscaler, yyrl1770) } - yyc1785 = true - yyrr1785 = len(yyv1785) - if yyrg1785 { - copy(yyv1785, yyv21785) + yyc1770 = true + yyrr1770 = len(yyv1770) + if yyrg1770 { + copy(yyv1770, yyv21770) } - } else if yyl1785 != len(yyv1785) { - yyv1785 = yyv1785[:yyl1785] - yyc1785 = true + } else if yyl1770 != len(yyv1770) { + yyv1770 = yyv1770[:yyl1770] + yyc1770 = true } - yyj1785 := 0 - for ; yyj1785 < yyrr1785; yyj1785++ { - yyh1785.ElemContainerState(yyj1785) + yyj1770 := 0 + for ; yyj1770 < yyrr1770; yyj1770++ { + yyh1770.ElemContainerState(yyj1770) if r.TryDecodeAsNil() { - yyv1785[yyj1785] = HorizontalPodAutoscaler{} + yyv1770[yyj1770] = HorizontalPodAutoscaler{} } else { - yyv1786 := &yyv1785[yyj1785] - yyv1786.CodecDecodeSelf(d) + yyv1771 := &yyv1770[yyj1770] + yyv1771.CodecDecodeSelf(d) } } - if yyrt1785 { - for ; yyj1785 < yyl1785; yyj1785++ { - yyv1785 = append(yyv1785, HorizontalPodAutoscaler{}) - yyh1785.ElemContainerState(yyj1785) + if yyrt1770 { + for ; yyj1770 < yyl1770; yyj1770++ { + yyv1770 = append(yyv1770, HorizontalPodAutoscaler{}) + yyh1770.ElemContainerState(yyj1770) if r.TryDecodeAsNil() { - yyv1785[yyj1785] = HorizontalPodAutoscaler{} + yyv1770[yyj1770] = HorizontalPodAutoscaler{} } else { - yyv1787 := &yyv1785[yyj1785] - yyv1787.CodecDecodeSelf(d) + yyv1772 := &yyv1770[yyj1770] + yyv1772.CodecDecodeSelf(d) } } } } else { - yyj1785 := 0 - for ; !r.CheckBreak(); yyj1785++ { + yyj1770 := 0 + for ; !r.CheckBreak(); yyj1770++ { - if yyj1785 >= len(yyv1785) { - yyv1785 = append(yyv1785, HorizontalPodAutoscaler{}) // var yyz1785 HorizontalPodAutoscaler - yyc1785 = true + if yyj1770 >= len(yyv1770) { + yyv1770 = append(yyv1770, HorizontalPodAutoscaler{}) // var yyz1770 HorizontalPodAutoscaler + yyc1770 = true } - yyh1785.ElemContainerState(yyj1785) - if yyj1785 < len(yyv1785) { + yyh1770.ElemContainerState(yyj1770) + if yyj1770 < len(yyv1770) { if r.TryDecodeAsNil() { - yyv1785[yyj1785] = HorizontalPodAutoscaler{} + yyv1770[yyj1770] = HorizontalPodAutoscaler{} } else { - yyv1788 := &yyv1785[yyj1785] - yyv1788.CodecDecodeSelf(d) + yyv1773 := &yyv1770[yyj1770] + yyv1773.CodecDecodeSelf(d) } } else { @@ -21499,17 +21123,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1785 < len(yyv1785) { - yyv1785 = yyv1785[:yyj1785] - yyc1785 = true - } else if yyj1785 == 0 && yyv1785 == nil { - yyv1785 = []HorizontalPodAutoscaler{} - yyc1785 = true + if yyj1770 < len(yyv1770) { + yyv1770 = yyv1770[:yyj1770] + yyc1770 = true + } else if yyj1770 == 0 && yyv1770 == nil { + yyv1770 = []HorizontalPodAutoscaler{} + yyc1770 = true } } - yyh1785.End() - if yyc1785 { - *v = yyv1785 + yyh1770.End() + if yyc1770 { + *v = yyv1770 } } @@ -21518,10 +21142,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1789 := range v { + for _, yyv1774 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1790 := &yyv1789 - yy1790.CodecEncodeSelf(e) + yy1775 := &yyv1774 + yy1775.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21531,83 +21155,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1791 > 0 { - var yyrr1791, yyrl1791 int - var yyrt1791 bool - if yyl1791 > cap(yyv1791) { + } else if yyl1776 > 0 { + var yyrr1776, yyrl1776 int + var yyrt1776 bool + if yyl1776 > cap(yyv1776) { - yyrg1791 := len(yyv1791) > 0 - yyv21791 := yyv1791 - yyrl1791, yyrt1791 = z.DecInferLen(yyl1791, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1791 { - if yyrl1791 <= cap(yyv1791) { - yyv1791 = yyv1791[:yyrl1791] + yyrg1776 := len(yyv1776) > 0 + yyv21776 := yyv1776 + yyrl1776, yyrt1776 = z.DecInferLen(yyl1776, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1776 { + if yyrl1776 <= cap(yyv1776) { + yyv1776 = yyv1776[:yyrl1776] } else { - yyv1791 = make([]APIVersion, yyrl1791) + yyv1776 = make([]APIVersion, yyrl1776) } } else { - yyv1791 = make([]APIVersion, yyrl1791) + yyv1776 = make([]APIVersion, yyrl1776) } - yyc1791 = true - yyrr1791 = len(yyv1791) - if yyrg1791 { - copy(yyv1791, yyv21791) + yyc1776 = true + yyrr1776 = len(yyv1776) + if yyrg1776 { + copy(yyv1776, yyv21776) } - } else if yyl1791 != len(yyv1791) { - yyv1791 = yyv1791[:yyl1791] - yyc1791 = true + } else if yyl1776 != len(yyv1776) { + yyv1776 = yyv1776[:yyl1776] + yyc1776 = true } - yyj1791 := 0 - for ; yyj1791 < yyrr1791; yyj1791++ { - yyh1791.ElemContainerState(yyj1791) + yyj1776 := 0 + for ; yyj1776 < yyrr1776; yyj1776++ { + yyh1776.ElemContainerState(yyj1776) if r.TryDecodeAsNil() { - yyv1791[yyj1791] = APIVersion{} + yyv1776[yyj1776] = APIVersion{} } else { - yyv1792 := &yyv1791[yyj1791] - yyv1792.CodecDecodeSelf(d) + yyv1777 := &yyv1776[yyj1776] + yyv1777.CodecDecodeSelf(d) } } - if yyrt1791 { - for ; yyj1791 < yyl1791; yyj1791++ { - yyv1791 = append(yyv1791, APIVersion{}) - yyh1791.ElemContainerState(yyj1791) + if yyrt1776 { + for ; yyj1776 < yyl1776; yyj1776++ { + yyv1776 = append(yyv1776, APIVersion{}) + yyh1776.ElemContainerState(yyj1776) if r.TryDecodeAsNil() { - yyv1791[yyj1791] = APIVersion{} + yyv1776[yyj1776] = APIVersion{} } else { - yyv1793 := &yyv1791[yyj1791] - yyv1793.CodecDecodeSelf(d) + yyv1778 := &yyv1776[yyj1776] + yyv1778.CodecDecodeSelf(d) } } } } else { - yyj1791 := 0 - for ; !r.CheckBreak(); yyj1791++ { + yyj1776 := 0 + for ; !r.CheckBreak(); yyj1776++ { - if yyj1791 >= len(yyv1791) { - yyv1791 = append(yyv1791, APIVersion{}) // var yyz1791 APIVersion - yyc1791 = true + if yyj1776 >= len(yyv1776) { + yyv1776 = append(yyv1776, APIVersion{}) // var yyz1776 APIVersion + yyc1776 = true } - yyh1791.ElemContainerState(yyj1791) - if yyj1791 < len(yyv1791) { + yyh1776.ElemContainerState(yyj1776) + if yyj1776 < len(yyv1776) { if r.TryDecodeAsNil() { - yyv1791[yyj1791] = APIVersion{} + yyv1776[yyj1776] = APIVersion{} } else { - yyv1794 := &yyv1791[yyj1791] - yyv1794.CodecDecodeSelf(d) + yyv1779 := &yyv1776[yyj1776] + yyv1779.CodecDecodeSelf(d) } } else { @@ -21615,17 +21239,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1791 < len(yyv1791) { - yyv1791 = yyv1791[:yyj1791] - yyc1791 = true - } else if yyj1791 == 0 && yyv1791 == nil { - yyv1791 = []APIVersion{} - yyc1791 = true + if yyj1776 < len(yyv1776) { + yyv1776 = yyv1776[:yyj1776] + yyc1776 = true + } else if yyj1776 == 0 && yyv1776 == nil { + yyv1776 = []APIVersion{} + yyc1776 = true } } - yyh1791.End() - if yyc1791 { - *v = yyv1791 + yyh1776.End() + if yyc1776 { + *v = yyv1776 } } @@ -21634,10 +21258,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1795 := range v { + for _, yyv1780 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1796 := &yyv1795 - yy1796.CodecEncodeSelf(e) + yy1781 := &yyv1780 + yy1781.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21647,83 +21271,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1797 > 0 { - var yyrr1797, yyrl1797 int - var yyrt1797 bool - if yyl1797 > cap(yyv1797) { + } else if yyl1782 > 0 { + var yyrr1782, yyrl1782 int + var yyrt1782 bool + if yyl1782 > cap(yyv1782) { - yyrg1797 := len(yyv1797) > 0 - yyv21797 := yyv1797 - yyrl1797, yyrt1797 = z.DecInferLen(yyl1797, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1797 { - if yyrl1797 <= cap(yyv1797) { - yyv1797 = yyv1797[:yyrl1797] + yyrg1782 := len(yyv1782) > 0 + yyv21782 := yyv1782 + yyrl1782, yyrt1782 = z.DecInferLen(yyl1782, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1782 { + if yyrl1782 <= cap(yyv1782) { + yyv1782 = yyv1782[:yyrl1782] } else { - yyv1797 = make([]ThirdPartyResource, yyrl1797) + yyv1782 = make([]ThirdPartyResource, yyrl1782) } } else { - yyv1797 = make([]ThirdPartyResource, yyrl1797) + yyv1782 = make([]ThirdPartyResource, yyrl1782) } - yyc1797 = true - yyrr1797 = len(yyv1797) - if yyrg1797 { - copy(yyv1797, yyv21797) + yyc1782 = true + yyrr1782 = len(yyv1782) + if yyrg1782 { + copy(yyv1782, yyv21782) } - } else if yyl1797 != len(yyv1797) { - yyv1797 = yyv1797[:yyl1797] - yyc1797 = true + } else if yyl1782 != len(yyv1782) { + yyv1782 = yyv1782[:yyl1782] + yyc1782 = true } - yyj1797 := 0 - for ; yyj1797 < yyrr1797; yyj1797++ { - yyh1797.ElemContainerState(yyj1797) + yyj1782 := 0 + for ; yyj1782 < yyrr1782; yyj1782++ { + yyh1782.ElemContainerState(yyj1782) if r.TryDecodeAsNil() { - yyv1797[yyj1797] = ThirdPartyResource{} + yyv1782[yyj1782] = ThirdPartyResource{} } else { - yyv1798 := &yyv1797[yyj1797] - yyv1798.CodecDecodeSelf(d) + yyv1783 := &yyv1782[yyj1782] + yyv1783.CodecDecodeSelf(d) } } - if yyrt1797 { - for ; yyj1797 < yyl1797; yyj1797++ { - yyv1797 = append(yyv1797, ThirdPartyResource{}) - yyh1797.ElemContainerState(yyj1797) + if yyrt1782 { + for ; yyj1782 < yyl1782; yyj1782++ { + yyv1782 = append(yyv1782, ThirdPartyResource{}) + yyh1782.ElemContainerState(yyj1782) if r.TryDecodeAsNil() { - yyv1797[yyj1797] = ThirdPartyResource{} + yyv1782[yyj1782] = ThirdPartyResource{} } else { - yyv1799 := &yyv1797[yyj1797] - yyv1799.CodecDecodeSelf(d) + yyv1784 := &yyv1782[yyj1782] + yyv1784.CodecDecodeSelf(d) } } } } else { - yyj1797 := 0 - for ; !r.CheckBreak(); yyj1797++ { + yyj1782 := 0 + for ; !r.CheckBreak(); yyj1782++ { - if yyj1797 >= len(yyv1797) { - yyv1797 = append(yyv1797, ThirdPartyResource{}) // var yyz1797 ThirdPartyResource - yyc1797 = true + if yyj1782 >= len(yyv1782) { + yyv1782 = append(yyv1782, ThirdPartyResource{}) // var yyz1782 ThirdPartyResource + yyc1782 = true } - yyh1797.ElemContainerState(yyj1797) - if yyj1797 < len(yyv1797) { + yyh1782.ElemContainerState(yyj1782) + if yyj1782 < len(yyv1782) { if r.TryDecodeAsNil() { - yyv1797[yyj1797] = ThirdPartyResource{} + yyv1782[yyj1782] = ThirdPartyResource{} } else { - yyv1800 := &yyv1797[yyj1797] - yyv1800.CodecDecodeSelf(d) + yyv1785 := &yyv1782[yyj1782] + yyv1785.CodecDecodeSelf(d) } } else { @@ -21731,17 +21355,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1797 < len(yyv1797) { - yyv1797 = yyv1797[:yyj1797] - yyc1797 = true - } else if yyj1797 == 0 && yyv1797 == nil { - yyv1797 = []ThirdPartyResource{} - yyc1797 = true + if yyj1782 < len(yyv1782) { + yyv1782 = yyv1782[:yyj1782] + yyc1782 = true + } else if yyj1782 == 0 && yyv1782 == nil { + yyv1782 = []ThirdPartyResource{} + yyc1782 = true } } - yyh1797.End() - if yyc1797 { - *v = yyv1797 + yyh1782.End() + if yyc1782 { + *v = yyv1782 } } @@ -21750,10 +21374,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1801 := range v { + for _, yyv1786 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1802 := &yyv1801 - yy1802.CodecEncodeSelf(e) + yy1787 := &yyv1786 + yy1787.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21763,83 +21387,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1803 > 0 { - var yyrr1803, yyrl1803 int - var yyrt1803 bool - if yyl1803 > cap(yyv1803) { + } else if yyl1788 > 0 { + var yyrr1788, yyrl1788 int + var yyrt1788 bool + if yyl1788 > cap(yyv1788) { - yyrg1803 := len(yyv1803) > 0 - yyv21803 := yyv1803 - yyrl1803, yyrt1803 = z.DecInferLen(yyl1803, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1803 { - if yyrl1803 <= cap(yyv1803) { - yyv1803 = yyv1803[:yyrl1803] + yyrg1788 := len(yyv1788) > 0 + yyv21788 := yyv1788 + yyrl1788, yyrt1788 = z.DecInferLen(yyl1788, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1788 { + if yyrl1788 <= cap(yyv1788) { + yyv1788 = yyv1788[:yyrl1788] } else { - yyv1803 = make([]Deployment, yyrl1803) + yyv1788 = make([]Deployment, yyrl1788) } } else { - yyv1803 = make([]Deployment, yyrl1803) + yyv1788 = make([]Deployment, yyrl1788) } - yyc1803 = true - yyrr1803 = len(yyv1803) - if yyrg1803 { - copy(yyv1803, yyv21803) + yyc1788 = true + yyrr1788 = len(yyv1788) + if yyrg1788 { + copy(yyv1788, yyv21788) } - } else if yyl1803 != len(yyv1803) { - yyv1803 = yyv1803[:yyl1803] - yyc1803 = true + } else if yyl1788 != len(yyv1788) { + yyv1788 = yyv1788[:yyl1788] + yyc1788 = true } - yyj1803 := 0 - for ; yyj1803 < yyrr1803; yyj1803++ { - yyh1803.ElemContainerState(yyj1803) + yyj1788 := 0 + for ; yyj1788 < yyrr1788; yyj1788++ { + yyh1788.ElemContainerState(yyj1788) if r.TryDecodeAsNil() { - yyv1803[yyj1803] = Deployment{} + yyv1788[yyj1788] = Deployment{} } else { - yyv1804 := &yyv1803[yyj1803] - yyv1804.CodecDecodeSelf(d) + yyv1789 := &yyv1788[yyj1788] + yyv1789.CodecDecodeSelf(d) } } - if yyrt1803 { - for ; yyj1803 < yyl1803; yyj1803++ { - yyv1803 = append(yyv1803, Deployment{}) - yyh1803.ElemContainerState(yyj1803) + if yyrt1788 { + for ; yyj1788 < yyl1788; yyj1788++ { + yyv1788 = append(yyv1788, Deployment{}) + yyh1788.ElemContainerState(yyj1788) if r.TryDecodeAsNil() { - yyv1803[yyj1803] = Deployment{} + yyv1788[yyj1788] = Deployment{} } else { - yyv1805 := &yyv1803[yyj1803] - yyv1805.CodecDecodeSelf(d) + yyv1790 := &yyv1788[yyj1788] + yyv1790.CodecDecodeSelf(d) } } } } else { - yyj1803 := 0 - for ; !r.CheckBreak(); yyj1803++ { + yyj1788 := 0 + for ; !r.CheckBreak(); yyj1788++ { - if yyj1803 >= len(yyv1803) { - yyv1803 = append(yyv1803, Deployment{}) // var yyz1803 Deployment - yyc1803 = true + if yyj1788 >= len(yyv1788) { + yyv1788 = append(yyv1788, Deployment{}) // var yyz1788 Deployment + yyc1788 = true } - yyh1803.ElemContainerState(yyj1803) - if yyj1803 < len(yyv1803) { + yyh1788.ElemContainerState(yyj1788) + if yyj1788 < len(yyv1788) { if r.TryDecodeAsNil() { - yyv1803[yyj1803] = Deployment{} + yyv1788[yyj1788] = Deployment{} } else { - yyv1806 := &yyv1803[yyj1803] - yyv1806.CodecDecodeSelf(d) + yyv1791 := &yyv1788[yyj1788] + yyv1791.CodecDecodeSelf(d) } } else { @@ -21847,17 +21471,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1803 < len(yyv1803) { - yyv1803 = yyv1803[:yyj1803] - yyc1803 = true - } else if yyj1803 == 0 && yyv1803 == nil { - yyv1803 = []Deployment{} - yyc1803 = true + if yyj1788 < len(yyv1788) { + yyv1788 = yyv1788[:yyj1788] + yyc1788 = true + } else if yyj1788 == 0 && yyv1788 == nil { + yyv1788 = []Deployment{} + yyc1788 = true } } - yyh1803.End() - if yyc1803 { - *v = yyv1803 + yyh1788.End() + if yyc1788 { + *v = yyv1788 } } @@ -21866,10 +21490,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1807 := range v { + for _, yyv1792 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1808 := &yyv1807 - yy1808.CodecEncodeSelf(e) + yy1793 := &yyv1792 + yy1793.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21879,83 +21503,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1809 > 0 { - var yyrr1809, yyrl1809 int - var yyrt1809 bool - if yyl1809 > cap(yyv1809) { + } else if yyl1794 > 0 { + var yyrr1794, yyrl1794 int + var yyrt1794 bool + if yyl1794 > cap(yyv1794) { - yyrg1809 := len(yyv1809) > 0 - yyv21809 := yyv1809 - yyrl1809, yyrt1809 = z.DecInferLen(yyl1809, z.DecBasicHandle().MaxInitLen, 752) - if yyrt1809 { - if yyrl1809 <= cap(yyv1809) { - yyv1809 = yyv1809[:yyrl1809] + yyrg1794 := len(yyv1794) > 0 + yyv21794 := yyv1794 + yyrl1794, yyrt1794 = z.DecInferLen(yyl1794, z.DecBasicHandle().MaxInitLen, 752) + if yyrt1794 { + if yyrl1794 <= cap(yyv1794) { + yyv1794 = yyv1794[:yyrl1794] } else { - yyv1809 = make([]DaemonSet, yyrl1809) + yyv1794 = make([]DaemonSet, yyrl1794) } } else { - yyv1809 = make([]DaemonSet, yyrl1809) + yyv1794 = make([]DaemonSet, yyrl1794) } - yyc1809 = true - yyrr1809 = len(yyv1809) - if yyrg1809 { - copy(yyv1809, yyv21809) + yyc1794 = true + yyrr1794 = len(yyv1794) + if yyrg1794 { + copy(yyv1794, yyv21794) } - } else if yyl1809 != len(yyv1809) { - yyv1809 = yyv1809[:yyl1809] - yyc1809 = true + } else if yyl1794 != len(yyv1794) { + yyv1794 = yyv1794[:yyl1794] + yyc1794 = true } - yyj1809 := 0 - for ; yyj1809 < yyrr1809; yyj1809++ { - yyh1809.ElemContainerState(yyj1809) + yyj1794 := 0 + for ; yyj1794 < yyrr1794; yyj1794++ { + yyh1794.ElemContainerState(yyj1794) if r.TryDecodeAsNil() { - yyv1809[yyj1809] = DaemonSet{} + yyv1794[yyj1794] = DaemonSet{} } else { - yyv1810 := &yyv1809[yyj1809] - yyv1810.CodecDecodeSelf(d) + yyv1795 := &yyv1794[yyj1794] + yyv1795.CodecDecodeSelf(d) } } - if yyrt1809 { - for ; yyj1809 < yyl1809; yyj1809++ { - yyv1809 = append(yyv1809, DaemonSet{}) - yyh1809.ElemContainerState(yyj1809) + if yyrt1794 { + for ; yyj1794 < yyl1794; yyj1794++ { + yyv1794 = append(yyv1794, DaemonSet{}) + yyh1794.ElemContainerState(yyj1794) if r.TryDecodeAsNil() { - yyv1809[yyj1809] = DaemonSet{} + yyv1794[yyj1794] = DaemonSet{} } else { - yyv1811 := &yyv1809[yyj1809] - yyv1811.CodecDecodeSelf(d) + yyv1796 := &yyv1794[yyj1794] + yyv1796.CodecDecodeSelf(d) } } } } else { - yyj1809 := 0 - for ; !r.CheckBreak(); yyj1809++ { + yyj1794 := 0 + for ; !r.CheckBreak(); yyj1794++ { - if yyj1809 >= len(yyv1809) { - yyv1809 = append(yyv1809, DaemonSet{}) // var yyz1809 DaemonSet - yyc1809 = true + if yyj1794 >= len(yyv1794) { + yyv1794 = append(yyv1794, DaemonSet{}) // var yyz1794 DaemonSet + yyc1794 = true } - yyh1809.ElemContainerState(yyj1809) - if yyj1809 < len(yyv1809) { + yyh1794.ElemContainerState(yyj1794) + if yyj1794 < len(yyv1794) { if r.TryDecodeAsNil() { - yyv1809[yyj1809] = DaemonSet{} + yyv1794[yyj1794] = DaemonSet{} } else { - yyv1812 := &yyv1809[yyj1809] - yyv1812.CodecDecodeSelf(d) + yyv1797 := &yyv1794[yyj1794] + yyv1797.CodecDecodeSelf(d) } } else { @@ -21963,17 +21587,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1809 < len(yyv1809) { - yyv1809 = yyv1809[:yyj1809] - yyc1809 = true - } else if yyj1809 == 0 && yyv1809 == nil { - yyv1809 = []DaemonSet{} - yyc1809 = true + if yyj1794 < len(yyv1794) { + yyv1794 = yyv1794[:yyj1794] + yyc1794 = true + } else if yyj1794 == 0 && yyv1794 == nil { + yyv1794 = []DaemonSet{} + yyc1794 = true } } - yyh1809.End() - if yyc1809 { - *v = yyv1809 + yyh1794.End() + if yyc1794 { + *v = yyv1794 } } @@ -21982,10 +21606,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1813 := range v { + for _, yyv1798 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1814 := &yyv1813 - yy1814.CodecEncodeSelf(e) + yy1799 := &yyv1798 + yy1799.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21995,83 +21619,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1815 > 0 { - var yyrr1815, yyrl1815 int - var yyrt1815 bool - if yyl1815 > cap(yyv1815) { + } else if yyl1800 > 0 { + var yyrr1800, yyrl1800 int + var yyrt1800 bool + if yyl1800 > cap(yyv1800) { - yyrg1815 := len(yyv1815) > 0 - yyv21815 := yyv1815 - yyrl1815, yyrt1815 = z.DecInferLen(yyl1815, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1815 { - if yyrl1815 <= cap(yyv1815) { - yyv1815 = yyv1815[:yyrl1815] + yyrg1800 := len(yyv1800) > 0 + yyv21800 := yyv1800 + yyrl1800, yyrt1800 = z.DecInferLen(yyl1800, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1800 { + if yyrl1800 <= cap(yyv1800) { + yyv1800 = yyv1800[:yyrl1800] } else { - yyv1815 = make([]ThirdPartyResourceData, yyrl1815) + yyv1800 = make([]ThirdPartyResourceData, yyrl1800) } } else { - yyv1815 = make([]ThirdPartyResourceData, yyrl1815) + yyv1800 = make([]ThirdPartyResourceData, yyrl1800) } - yyc1815 = true - yyrr1815 = len(yyv1815) - if yyrg1815 { - copy(yyv1815, yyv21815) + yyc1800 = true + yyrr1800 = len(yyv1800) + if yyrg1800 { + copy(yyv1800, yyv21800) } - } else if yyl1815 != len(yyv1815) { - yyv1815 = yyv1815[:yyl1815] - yyc1815 = true + } else if yyl1800 != len(yyv1800) { + yyv1800 = yyv1800[:yyl1800] + yyc1800 = true } - yyj1815 := 0 - for ; yyj1815 < yyrr1815; yyj1815++ { - yyh1815.ElemContainerState(yyj1815) + yyj1800 := 0 + for ; yyj1800 < yyrr1800; yyj1800++ { + yyh1800.ElemContainerState(yyj1800) if r.TryDecodeAsNil() { - yyv1815[yyj1815] = ThirdPartyResourceData{} + yyv1800[yyj1800] = ThirdPartyResourceData{} } else { - yyv1816 := &yyv1815[yyj1815] - yyv1816.CodecDecodeSelf(d) + yyv1801 := &yyv1800[yyj1800] + yyv1801.CodecDecodeSelf(d) } } - if yyrt1815 { - for ; yyj1815 < yyl1815; yyj1815++ { - yyv1815 = append(yyv1815, ThirdPartyResourceData{}) - yyh1815.ElemContainerState(yyj1815) + if yyrt1800 { + for ; yyj1800 < yyl1800; yyj1800++ { + yyv1800 = append(yyv1800, ThirdPartyResourceData{}) + yyh1800.ElemContainerState(yyj1800) if r.TryDecodeAsNil() { - yyv1815[yyj1815] = ThirdPartyResourceData{} + yyv1800[yyj1800] = ThirdPartyResourceData{} } else { - yyv1817 := &yyv1815[yyj1815] - yyv1817.CodecDecodeSelf(d) + yyv1802 := &yyv1800[yyj1800] + yyv1802.CodecDecodeSelf(d) } } } } else { - yyj1815 := 0 - for ; !r.CheckBreak(); yyj1815++ { + yyj1800 := 0 + for ; !r.CheckBreak(); yyj1800++ { - if yyj1815 >= len(yyv1815) { - yyv1815 = append(yyv1815, ThirdPartyResourceData{}) // var yyz1815 ThirdPartyResourceData - yyc1815 = true + if yyj1800 >= len(yyv1800) { + yyv1800 = append(yyv1800, ThirdPartyResourceData{}) // var yyz1800 ThirdPartyResourceData + yyc1800 = true } - yyh1815.ElemContainerState(yyj1815) - if yyj1815 < len(yyv1815) { + yyh1800.ElemContainerState(yyj1800) + if yyj1800 < len(yyv1800) { if r.TryDecodeAsNil() { - yyv1815[yyj1815] = ThirdPartyResourceData{} + yyv1800[yyj1800] = ThirdPartyResourceData{} } else { - yyv1818 := &yyv1815[yyj1815] - yyv1818.CodecDecodeSelf(d) + yyv1803 := &yyv1800[yyj1800] + yyv1803.CodecDecodeSelf(d) } } else { @@ -22079,17 +21703,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1815 < len(yyv1815) { - yyv1815 = yyv1815[:yyj1815] - yyc1815 = true - } else if yyj1815 == 0 && yyv1815 == nil { - yyv1815 = []ThirdPartyResourceData{} - yyc1815 = true + if yyj1800 < len(yyv1800) { + yyv1800 = yyv1800[:yyj1800] + yyc1800 = true + } else if yyj1800 == 0 && yyv1800 == nil { + yyv1800 = []ThirdPartyResourceData{} + yyc1800 = true } } - yyh1815.End() - if yyc1815 { - *v = yyv1815 + yyh1800.End() + if yyc1800 { + *v = yyv1800 } } @@ -22098,10 +21722,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1819 := range v { + for _, yyv1804 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1820 := &yyv1819 - yy1820.CodecEncodeSelf(e) + yy1805 := &yyv1804 + yy1805.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22111,83 +21735,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1821 > 0 { - var yyrr1821, yyrl1821 int - var yyrt1821 bool - if yyl1821 > cap(yyv1821) { + } else if yyl1806 > 0 { + var yyrr1806, yyrl1806 int + var yyrt1806 bool + if yyl1806 > cap(yyv1806) { - yyrg1821 := len(yyv1821) > 0 - yyv21821 := yyv1821 - yyrl1821, yyrt1821 = z.DecInferLen(yyl1821, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1821 { - if yyrl1821 <= cap(yyv1821) { - yyv1821 = yyv1821[:yyrl1821] + yyrg1806 := len(yyv1806) > 0 + yyv21806 := yyv1806 + yyrl1806, yyrt1806 = z.DecInferLen(yyl1806, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1806 { + if yyrl1806 <= cap(yyv1806) { + yyv1806 = yyv1806[:yyrl1806] } else { - yyv1821 = make([]Job, yyrl1821) + yyv1806 = make([]Job, yyrl1806) } } else { - yyv1821 = make([]Job, yyrl1821) + yyv1806 = make([]Job, yyrl1806) } - yyc1821 = true - yyrr1821 = len(yyv1821) - if yyrg1821 { - copy(yyv1821, yyv21821) + yyc1806 = true + yyrr1806 = len(yyv1806) + if yyrg1806 { + copy(yyv1806, yyv21806) } - } else if yyl1821 != len(yyv1821) { - yyv1821 = yyv1821[:yyl1821] - yyc1821 = true + } else if yyl1806 != len(yyv1806) { + yyv1806 = yyv1806[:yyl1806] + yyc1806 = true } - yyj1821 := 0 - for ; yyj1821 < yyrr1821; yyj1821++ { - yyh1821.ElemContainerState(yyj1821) + yyj1806 := 0 + for ; yyj1806 < yyrr1806; yyj1806++ { + yyh1806.ElemContainerState(yyj1806) if r.TryDecodeAsNil() { - yyv1821[yyj1821] = Job{} + yyv1806[yyj1806] = Job{} } else { - yyv1822 := &yyv1821[yyj1821] - yyv1822.CodecDecodeSelf(d) + yyv1807 := &yyv1806[yyj1806] + yyv1807.CodecDecodeSelf(d) } } - if yyrt1821 { - for ; yyj1821 < yyl1821; yyj1821++ { - yyv1821 = append(yyv1821, Job{}) - yyh1821.ElemContainerState(yyj1821) + if yyrt1806 { + for ; yyj1806 < yyl1806; yyj1806++ { + yyv1806 = append(yyv1806, Job{}) + yyh1806.ElemContainerState(yyj1806) if r.TryDecodeAsNil() { - yyv1821[yyj1821] = Job{} + yyv1806[yyj1806] = Job{} } else { - yyv1823 := &yyv1821[yyj1821] - yyv1823.CodecDecodeSelf(d) + yyv1808 := &yyv1806[yyj1806] + yyv1808.CodecDecodeSelf(d) } } } } else { - yyj1821 := 0 - for ; !r.CheckBreak(); yyj1821++ { + yyj1806 := 0 + for ; !r.CheckBreak(); yyj1806++ { - if yyj1821 >= len(yyv1821) { - yyv1821 = append(yyv1821, Job{}) // var yyz1821 Job - yyc1821 = true + if yyj1806 >= len(yyv1806) { + yyv1806 = append(yyv1806, Job{}) // var yyz1806 Job + yyc1806 = true } - yyh1821.ElemContainerState(yyj1821) - if yyj1821 < len(yyv1821) { + yyh1806.ElemContainerState(yyj1806) + if yyj1806 < len(yyv1806) { if r.TryDecodeAsNil() { - yyv1821[yyj1821] = Job{} + yyv1806[yyj1806] = Job{} } else { - yyv1824 := &yyv1821[yyj1821] - yyv1824.CodecDecodeSelf(d) + yyv1809 := &yyv1806[yyj1806] + yyv1809.CodecDecodeSelf(d) } } else { @@ -22195,17 +21819,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1821 < len(yyv1821) { - yyv1821 = yyv1821[:yyj1821] - yyc1821 = true - } else if yyj1821 == 0 && yyv1821 == nil { - yyv1821 = []Job{} - yyc1821 = true + if yyj1806 < len(yyv1806) { + yyv1806 = yyv1806[:yyj1806] + yyc1806 = true + } else if yyj1806 == 0 && yyv1806 == nil { + yyv1806 = []Job{} + yyc1806 = true } } - yyh1821.End() - if yyc1821 { - *v = yyv1821 + yyh1806.End() + if yyc1806 { + *v = yyv1806 } } @@ -22214,10 +21838,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1825 := range v { + for _, yyv1810 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1826 := &yyv1825 - yy1826.CodecEncodeSelf(e) + yy1811 := &yyv1810 + yy1811.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22227,83 +21851,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1827 > 0 { - var yyrr1827, yyrl1827 int - var yyrt1827 bool - if yyl1827 > cap(yyv1827) { + } else if yyl1812 > 0 { + var yyrr1812, yyrl1812 int + var yyrt1812 bool + if yyl1812 > cap(yyv1812) { - yyrg1827 := len(yyv1827) > 0 - yyv21827 := yyv1827 - yyrl1827, yyrt1827 = z.DecInferLen(yyl1827, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1827 { - if yyrl1827 <= cap(yyv1827) { - yyv1827 = yyv1827[:yyrl1827] + yyrg1812 := len(yyv1812) > 0 + yyv21812 := yyv1812 + yyrl1812, yyrt1812 = z.DecInferLen(yyl1812, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1812 { + if yyrl1812 <= cap(yyv1812) { + yyv1812 = yyv1812[:yyrl1812] } else { - yyv1827 = make([]JobCondition, yyrl1827) + yyv1812 = make([]JobCondition, yyrl1812) } } else { - yyv1827 = make([]JobCondition, yyrl1827) + yyv1812 = make([]JobCondition, yyrl1812) } - yyc1827 = true - yyrr1827 = len(yyv1827) - if yyrg1827 { - copy(yyv1827, yyv21827) + yyc1812 = true + yyrr1812 = len(yyv1812) + if yyrg1812 { + copy(yyv1812, yyv21812) } - } else if yyl1827 != len(yyv1827) { - yyv1827 = yyv1827[:yyl1827] - yyc1827 = true + } else if yyl1812 != len(yyv1812) { + yyv1812 = yyv1812[:yyl1812] + yyc1812 = true } - yyj1827 := 0 - for ; yyj1827 < yyrr1827; yyj1827++ { - yyh1827.ElemContainerState(yyj1827) + yyj1812 := 0 + for ; yyj1812 < yyrr1812; yyj1812++ { + yyh1812.ElemContainerState(yyj1812) if r.TryDecodeAsNil() { - yyv1827[yyj1827] = JobCondition{} + yyv1812[yyj1812] = JobCondition{} } else { - yyv1828 := &yyv1827[yyj1827] - yyv1828.CodecDecodeSelf(d) + yyv1813 := &yyv1812[yyj1812] + yyv1813.CodecDecodeSelf(d) } } - if yyrt1827 { - for ; yyj1827 < yyl1827; yyj1827++ { - yyv1827 = append(yyv1827, JobCondition{}) - yyh1827.ElemContainerState(yyj1827) + if yyrt1812 { + for ; yyj1812 < yyl1812; yyj1812++ { + yyv1812 = append(yyv1812, JobCondition{}) + yyh1812.ElemContainerState(yyj1812) if r.TryDecodeAsNil() { - yyv1827[yyj1827] = JobCondition{} + yyv1812[yyj1812] = JobCondition{} } else { - yyv1829 := &yyv1827[yyj1827] - yyv1829.CodecDecodeSelf(d) + yyv1814 := &yyv1812[yyj1812] + yyv1814.CodecDecodeSelf(d) } } } } else { - yyj1827 := 0 - for ; !r.CheckBreak(); yyj1827++ { + yyj1812 := 0 + for ; !r.CheckBreak(); yyj1812++ { - if yyj1827 >= len(yyv1827) { - yyv1827 = append(yyv1827, JobCondition{}) // var yyz1827 JobCondition - yyc1827 = true + if yyj1812 >= len(yyv1812) { + yyv1812 = append(yyv1812, JobCondition{}) // var yyz1812 JobCondition + yyc1812 = true } - yyh1827.ElemContainerState(yyj1827) - if yyj1827 < len(yyv1827) { + yyh1812.ElemContainerState(yyj1812) + if yyj1812 < len(yyv1812) { if r.TryDecodeAsNil() { - yyv1827[yyj1827] = JobCondition{} + yyv1812[yyj1812] = JobCondition{} } else { - yyv1830 := &yyv1827[yyj1827] - yyv1830.CodecDecodeSelf(d) + yyv1815 := &yyv1812[yyj1812] + yyv1815.CodecDecodeSelf(d) } } else { @@ -22311,17 +21935,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1827 < len(yyv1827) { - yyv1827 = yyv1827[:yyj1827] - yyc1827 = true - } else if yyj1827 == 0 && yyv1827 == nil { - yyv1827 = []JobCondition{} - yyc1827 = true + if yyj1812 < len(yyv1812) { + yyv1812 = yyv1812[:yyj1812] + yyc1812 = true + } else if yyj1812 == 0 && yyv1812 == nil { + yyv1812 = []JobCondition{} + yyc1812 = true } } - yyh1827.End() - if yyc1827 { - *v = yyv1827 + yyh1812.End() + if yyc1812 { + *v = yyv1812 } } @@ -22330,10 +21954,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1831 := range v { + for _, yyv1816 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1832 := &yyv1831 - yy1832.CodecEncodeSelf(e) + yy1817 := &yyv1816 + yy1817.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22343,83 +21967,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1833 > 0 { - var yyrr1833, yyrl1833 int - var yyrt1833 bool - if yyl1833 > cap(yyv1833) { + } else if yyl1818 > 0 { + var yyrr1818, yyrl1818 int + var yyrt1818 bool + if yyl1818 > cap(yyv1818) { - yyrg1833 := len(yyv1833) > 0 - yyv21833 := yyv1833 - yyrl1833, yyrt1833 = z.DecInferLen(yyl1833, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1833 { - if yyrl1833 <= cap(yyv1833) { - yyv1833 = yyv1833[:yyrl1833] + yyrg1818 := len(yyv1818) > 0 + yyv21818 := yyv1818 + yyrl1818, yyrt1818 = z.DecInferLen(yyl1818, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1818 { + if yyrl1818 <= cap(yyv1818) { + yyv1818 = yyv1818[:yyrl1818] } else { - yyv1833 = make([]Ingress, yyrl1833) + yyv1818 = make([]Ingress, yyrl1818) } } else { - yyv1833 = make([]Ingress, yyrl1833) + yyv1818 = make([]Ingress, yyrl1818) } - yyc1833 = true - yyrr1833 = len(yyv1833) - if yyrg1833 { - copy(yyv1833, yyv21833) + yyc1818 = true + yyrr1818 = len(yyv1818) + if yyrg1818 { + copy(yyv1818, yyv21818) } - } else if yyl1833 != len(yyv1833) { - yyv1833 = yyv1833[:yyl1833] - yyc1833 = true + } else if yyl1818 != len(yyv1818) { + yyv1818 = yyv1818[:yyl1818] + yyc1818 = true } - yyj1833 := 0 - for ; yyj1833 < yyrr1833; yyj1833++ { - yyh1833.ElemContainerState(yyj1833) + yyj1818 := 0 + for ; yyj1818 < yyrr1818; yyj1818++ { + yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1833[yyj1833] = Ingress{} + yyv1818[yyj1818] = Ingress{} } else { - yyv1834 := &yyv1833[yyj1833] - yyv1834.CodecDecodeSelf(d) + yyv1819 := &yyv1818[yyj1818] + yyv1819.CodecDecodeSelf(d) } } - if yyrt1833 { - for ; yyj1833 < yyl1833; yyj1833++ { - yyv1833 = append(yyv1833, Ingress{}) - yyh1833.ElemContainerState(yyj1833) + if yyrt1818 { + for ; yyj1818 < yyl1818; yyj1818++ { + yyv1818 = append(yyv1818, Ingress{}) + yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1833[yyj1833] = Ingress{} + yyv1818[yyj1818] = Ingress{} } else { - yyv1835 := &yyv1833[yyj1833] - yyv1835.CodecDecodeSelf(d) + yyv1820 := &yyv1818[yyj1818] + yyv1820.CodecDecodeSelf(d) } } } } else { - yyj1833 := 0 - for ; !r.CheckBreak(); yyj1833++ { + yyj1818 := 0 + for ; !r.CheckBreak(); yyj1818++ { - if yyj1833 >= len(yyv1833) { - yyv1833 = append(yyv1833, Ingress{}) // var yyz1833 Ingress - yyc1833 = true + if yyj1818 >= len(yyv1818) { + yyv1818 = append(yyv1818, Ingress{}) // var yyz1818 Ingress + yyc1818 = true } - yyh1833.ElemContainerState(yyj1833) - if yyj1833 < len(yyv1833) { + yyh1818.ElemContainerState(yyj1818) + if yyj1818 < len(yyv1818) { if r.TryDecodeAsNil() { - yyv1833[yyj1833] = Ingress{} + yyv1818[yyj1818] = Ingress{} } else { - yyv1836 := &yyv1833[yyj1833] - yyv1836.CodecDecodeSelf(d) + yyv1821 := &yyv1818[yyj1818] + yyv1821.CodecDecodeSelf(d) } } else { @@ -22427,17 +22051,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1833 < len(yyv1833) { - yyv1833 = yyv1833[:yyj1833] - yyc1833 = true - } else if yyj1833 == 0 && yyv1833 == nil { - yyv1833 = []Ingress{} - yyc1833 = true + if yyj1818 < len(yyv1818) { + yyv1818 = yyv1818[:yyj1818] + yyc1818 = true + } else if yyj1818 == 0 && yyv1818 == nil { + yyv1818 = []Ingress{} + yyc1818 = true } } - yyh1833.End() - if yyc1833 { - *v = yyv1833 + yyh1818.End() + if yyc1818 { + *v = yyv1818 } } @@ -22446,10 +22070,10 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1837 := range v { + for _, yyv1822 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1838 := &yyv1837 - yy1838.CodecEncodeSelf(e) + yy1823 := &yyv1822 + yy1823.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22459,83 +22083,83 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1839 > 0 { - var yyrr1839, yyrl1839 int - var yyrt1839 bool - if yyl1839 > cap(yyv1839) { + } else if yyl1824 > 0 { + var yyrr1824, yyrl1824 int + var yyrt1824 bool + if yyl1824 > cap(yyv1824) { - yyrg1839 := len(yyv1839) > 0 - yyv21839 := yyv1839 - yyrl1839, yyrt1839 = z.DecInferLen(yyl1839, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1839 { - if yyrl1839 <= cap(yyv1839) { - yyv1839 = yyv1839[:yyrl1839] + yyrg1824 := len(yyv1824) > 0 + yyv21824 := yyv1824 + yyrl1824, yyrt1824 = z.DecInferLen(yyl1824, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1824 { + if yyrl1824 <= cap(yyv1824) { + yyv1824 = yyv1824[:yyrl1824] } else { - yyv1839 = make([]IngressTLS, yyrl1839) + yyv1824 = make([]IngressTLS, yyrl1824) } } else { - yyv1839 = make([]IngressTLS, yyrl1839) + yyv1824 = make([]IngressTLS, yyrl1824) } - yyc1839 = true - yyrr1839 = len(yyv1839) - if yyrg1839 { - copy(yyv1839, yyv21839) + yyc1824 = true + yyrr1824 = len(yyv1824) + if yyrg1824 { + copy(yyv1824, yyv21824) } - } else if yyl1839 != len(yyv1839) { - yyv1839 = yyv1839[:yyl1839] - yyc1839 = true + } else if yyl1824 != len(yyv1824) { + yyv1824 = yyv1824[:yyl1824] + yyc1824 = true } - yyj1839 := 0 - for ; yyj1839 < yyrr1839; yyj1839++ { - yyh1839.ElemContainerState(yyj1839) + yyj1824 := 0 + for ; yyj1824 < yyrr1824; yyj1824++ { + yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1839[yyj1839] = IngressTLS{} + yyv1824[yyj1824] = IngressTLS{} } else { - yyv1840 := &yyv1839[yyj1839] - yyv1840.CodecDecodeSelf(d) + yyv1825 := &yyv1824[yyj1824] + yyv1825.CodecDecodeSelf(d) } } - if yyrt1839 { - for ; yyj1839 < yyl1839; yyj1839++ { - yyv1839 = append(yyv1839, IngressTLS{}) - yyh1839.ElemContainerState(yyj1839) + if yyrt1824 { + for ; yyj1824 < yyl1824; yyj1824++ { + yyv1824 = append(yyv1824, IngressTLS{}) + yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1839[yyj1839] = IngressTLS{} + yyv1824[yyj1824] = IngressTLS{} } else { - yyv1841 := &yyv1839[yyj1839] - yyv1841.CodecDecodeSelf(d) + yyv1826 := &yyv1824[yyj1824] + yyv1826.CodecDecodeSelf(d) } } } } else { - yyj1839 := 0 - for ; !r.CheckBreak(); yyj1839++ { + yyj1824 := 0 + for ; !r.CheckBreak(); yyj1824++ { - if yyj1839 >= len(yyv1839) { - yyv1839 = append(yyv1839, IngressTLS{}) // var yyz1839 IngressTLS - yyc1839 = true + if yyj1824 >= len(yyv1824) { + yyv1824 = append(yyv1824, IngressTLS{}) // var yyz1824 IngressTLS + yyc1824 = true } - yyh1839.ElemContainerState(yyj1839) - if yyj1839 < len(yyv1839) { + yyh1824.ElemContainerState(yyj1824) + if yyj1824 < len(yyv1824) { if r.TryDecodeAsNil() { - yyv1839[yyj1839] = IngressTLS{} + yyv1824[yyj1824] = IngressTLS{} } else { - yyv1842 := &yyv1839[yyj1839] - yyv1842.CodecDecodeSelf(d) + yyv1827 := &yyv1824[yyj1824] + yyv1827.CodecDecodeSelf(d) } } else { @@ -22543,17 +22167,17 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } - if yyj1839 < len(yyv1839) { - yyv1839 = yyv1839[:yyj1839] - yyc1839 = true - } else if yyj1839 == 0 && yyv1839 == nil { - yyv1839 = []IngressTLS{} - yyc1839 = true + if yyj1824 < len(yyv1824) { + yyv1824 = yyv1824[:yyj1824] + yyc1824 = true + } else if yyj1824 == 0 && yyv1824 == nil { + yyv1824 = []IngressTLS{} + yyc1824 = true } } - yyh1839.End() - if yyc1839 { - *v = yyv1839 + yyh1824.End() + if yyc1824 { + *v = yyv1824 } } @@ -22562,10 +22186,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1843 := range v { + for _, yyv1828 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1844 := &yyv1843 - yy1844.CodecEncodeSelf(e) + yy1829 := &yyv1828 + yy1829.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22575,83 +22199,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1845 > 0 { - var yyrr1845, yyrl1845 int - var yyrt1845 bool - if yyl1845 > cap(yyv1845) { + } else if yyl1830 > 0 { + var yyrr1830, yyrl1830 int + var yyrt1830 bool + if yyl1830 > cap(yyv1830) { - yyrg1845 := len(yyv1845) > 0 - yyv21845 := yyv1845 - yyrl1845, yyrt1845 = z.DecInferLen(yyl1845, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1845 { - if yyrl1845 <= cap(yyv1845) { - yyv1845 = yyv1845[:yyrl1845] + yyrg1830 := len(yyv1830) > 0 + yyv21830 := yyv1830 + yyrl1830, yyrt1830 = z.DecInferLen(yyl1830, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1830 { + if yyrl1830 <= cap(yyv1830) { + yyv1830 = yyv1830[:yyrl1830] } else { - yyv1845 = make([]IngressRule, yyrl1845) + yyv1830 = make([]IngressRule, yyrl1830) } } else { - yyv1845 = make([]IngressRule, yyrl1845) + yyv1830 = make([]IngressRule, yyrl1830) } - yyc1845 = true - yyrr1845 = len(yyv1845) - if yyrg1845 { - copy(yyv1845, yyv21845) + yyc1830 = true + yyrr1830 = len(yyv1830) + if yyrg1830 { + copy(yyv1830, yyv21830) } - } else if yyl1845 != len(yyv1845) { - yyv1845 = yyv1845[:yyl1845] - yyc1845 = true + } else if yyl1830 != len(yyv1830) { + yyv1830 = yyv1830[:yyl1830] + yyc1830 = true } - yyj1845 := 0 - for ; yyj1845 < yyrr1845; yyj1845++ { - yyh1845.ElemContainerState(yyj1845) + yyj1830 := 0 + for ; yyj1830 < yyrr1830; yyj1830++ { + yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1845[yyj1845] = IngressRule{} + yyv1830[yyj1830] = IngressRule{} } else { - yyv1846 := &yyv1845[yyj1845] - yyv1846.CodecDecodeSelf(d) + yyv1831 := &yyv1830[yyj1830] + yyv1831.CodecDecodeSelf(d) } } - if yyrt1845 { - for ; yyj1845 < yyl1845; yyj1845++ { - yyv1845 = append(yyv1845, IngressRule{}) - yyh1845.ElemContainerState(yyj1845) + if yyrt1830 { + for ; yyj1830 < yyl1830; yyj1830++ { + yyv1830 = append(yyv1830, IngressRule{}) + yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1845[yyj1845] = IngressRule{} + yyv1830[yyj1830] = IngressRule{} } else { - yyv1847 := &yyv1845[yyj1845] - yyv1847.CodecDecodeSelf(d) + yyv1832 := &yyv1830[yyj1830] + yyv1832.CodecDecodeSelf(d) } } } } else { - yyj1845 := 0 - for ; !r.CheckBreak(); yyj1845++ { + yyj1830 := 0 + for ; !r.CheckBreak(); yyj1830++ { - if yyj1845 >= len(yyv1845) { - yyv1845 = append(yyv1845, IngressRule{}) // var yyz1845 IngressRule - yyc1845 = true + if yyj1830 >= len(yyv1830) { + yyv1830 = append(yyv1830, IngressRule{}) // var yyz1830 IngressRule + yyc1830 = true } - yyh1845.ElemContainerState(yyj1845) - if yyj1845 < len(yyv1845) { + yyh1830.ElemContainerState(yyj1830) + if yyj1830 < len(yyv1830) { if r.TryDecodeAsNil() { - yyv1845[yyj1845] = IngressRule{} + yyv1830[yyj1830] = IngressRule{} } else { - yyv1848 := &yyv1845[yyj1845] - yyv1848.CodecDecodeSelf(d) + yyv1833 := &yyv1830[yyj1830] + yyv1833.CodecDecodeSelf(d) } } else { @@ -22659,17 +22283,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1845 < len(yyv1845) { - yyv1845 = yyv1845[:yyj1845] - yyc1845 = true - } else if yyj1845 == 0 && yyv1845 == nil { - yyv1845 = []IngressRule{} - yyc1845 = true + if yyj1830 < len(yyv1830) { + yyv1830 = yyv1830[:yyj1830] + yyc1830 = true + } else if yyj1830 == 0 && yyv1830 == nil { + yyv1830 = []IngressRule{} + yyc1830 = true } } - yyh1845.End() - if yyc1845 { - *v = yyv1845 + yyh1830.End() + if yyc1830 { + *v = yyv1830 } } @@ -22678,10 +22302,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1849 := range v { + for _, yyv1834 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1850 := &yyv1849 - yy1850.CodecEncodeSelf(e) + yy1835 := &yyv1834 + yy1835.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22691,83 +22315,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1851 > 0 { - var yyrr1851, yyrl1851 int - var yyrt1851 bool - if yyl1851 > cap(yyv1851) { + } else if yyl1836 > 0 { + var yyrr1836, yyrl1836 int + var yyrt1836 bool + if yyl1836 > cap(yyv1836) { - yyrg1851 := len(yyv1851) > 0 - yyv21851 := yyv1851 - yyrl1851, yyrt1851 = z.DecInferLen(yyl1851, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1851 { - if yyrl1851 <= cap(yyv1851) { - yyv1851 = yyv1851[:yyrl1851] + yyrg1836 := len(yyv1836) > 0 + yyv21836 := yyv1836 + yyrl1836, yyrt1836 = z.DecInferLen(yyl1836, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1836 { + if yyrl1836 <= cap(yyv1836) { + yyv1836 = yyv1836[:yyrl1836] } else { - yyv1851 = make([]HTTPIngressPath, yyrl1851) + yyv1836 = make([]HTTPIngressPath, yyrl1836) } } else { - yyv1851 = make([]HTTPIngressPath, yyrl1851) + yyv1836 = make([]HTTPIngressPath, yyrl1836) } - yyc1851 = true - yyrr1851 = len(yyv1851) - if yyrg1851 { - copy(yyv1851, yyv21851) + yyc1836 = true + yyrr1836 = len(yyv1836) + if yyrg1836 { + copy(yyv1836, yyv21836) } - } else if yyl1851 != len(yyv1851) { - yyv1851 = yyv1851[:yyl1851] - yyc1851 = true + } else if yyl1836 != len(yyv1836) { + yyv1836 = yyv1836[:yyl1836] + yyc1836 = true } - yyj1851 := 0 - for ; yyj1851 < yyrr1851; yyj1851++ { - yyh1851.ElemContainerState(yyj1851) + yyj1836 := 0 + for ; yyj1836 < yyrr1836; yyj1836++ { + yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1851[yyj1851] = HTTPIngressPath{} + yyv1836[yyj1836] = HTTPIngressPath{} } else { - yyv1852 := &yyv1851[yyj1851] - yyv1852.CodecDecodeSelf(d) + yyv1837 := &yyv1836[yyj1836] + yyv1837.CodecDecodeSelf(d) } } - if yyrt1851 { - for ; yyj1851 < yyl1851; yyj1851++ { - yyv1851 = append(yyv1851, HTTPIngressPath{}) - yyh1851.ElemContainerState(yyj1851) + if yyrt1836 { + for ; yyj1836 < yyl1836; yyj1836++ { + yyv1836 = append(yyv1836, HTTPIngressPath{}) + yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1851[yyj1851] = HTTPIngressPath{} + yyv1836[yyj1836] = HTTPIngressPath{} } else { - yyv1853 := &yyv1851[yyj1851] - yyv1853.CodecDecodeSelf(d) + yyv1838 := &yyv1836[yyj1836] + yyv1838.CodecDecodeSelf(d) } } } } else { - yyj1851 := 0 - for ; !r.CheckBreak(); yyj1851++ { + yyj1836 := 0 + for ; !r.CheckBreak(); yyj1836++ { - if yyj1851 >= len(yyv1851) { - yyv1851 = append(yyv1851, HTTPIngressPath{}) // var yyz1851 HTTPIngressPath - yyc1851 = true + if yyj1836 >= len(yyv1836) { + yyv1836 = append(yyv1836, HTTPIngressPath{}) // var yyz1836 HTTPIngressPath + yyc1836 = true } - yyh1851.ElemContainerState(yyj1851) - if yyj1851 < len(yyv1851) { + yyh1836.ElemContainerState(yyj1836) + if yyj1836 < len(yyv1836) { if r.TryDecodeAsNil() { - yyv1851[yyj1851] = HTTPIngressPath{} + yyv1836[yyj1836] = HTTPIngressPath{} } else { - yyv1854 := &yyv1851[yyj1851] - yyv1854.CodecDecodeSelf(d) + yyv1839 := &yyv1836[yyj1836] + yyv1839.CodecDecodeSelf(d) } } else { @@ -22775,133 +22399,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1851 < len(yyv1851) { - yyv1851 = yyv1851[:yyj1851] - yyc1851 = true - } else if yyj1851 == 0 && yyv1851 == nil { - yyv1851 = []HTTPIngressPath{} - yyc1851 = true + if yyj1836 < len(yyv1836) { + yyv1836 = yyv1836[:yyj1836] + yyc1836 = true + } else if yyj1836 == 0 && yyv1836 == nil { + yyv1836 = []HTTPIngressPath{} + yyc1836 = true } } - 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 + yyh1836.End() + if yyc1836 { + *v = yyv1836 } } @@ -22910,10 +22418,10 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1861 := range v { + for _, yyv1840 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1862 := &yyv1861 - yy1862.CodecEncodeSelf(e) + yy1841 := &yyv1840 + yy1841.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22923,83 +22431,83 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1863 > 0 { - var yyrr1863, yyrl1863 int - var yyrt1863 bool - if yyl1863 > cap(yyv1863) { + } else if yyl1842 > 0 { + var yyrr1842, yyrl1842 int + var yyrt1842 bool + if yyl1842 > cap(yyv1842) { - yyrg1863 := len(yyv1863) > 0 - yyv21863 := yyv1863 - yyrl1863, yyrt1863 = z.DecInferLen(yyl1863, z.DecBasicHandle().MaxInitLen, 800) - if yyrt1863 { - if yyrl1863 <= cap(yyv1863) { - yyv1863 = yyv1863[:yyrl1863] + yyrg1842 := len(yyv1842) > 0 + yyv21842 := yyv1842 + yyrl1842, yyrt1842 = z.DecInferLen(yyl1842, z.DecBasicHandle().MaxInitLen, 800) + if yyrt1842 { + if yyrl1842 <= cap(yyv1842) { + yyv1842 = yyv1842[:yyrl1842] } else { - yyv1863 = make([]ReplicaSet, yyrl1863) + yyv1842 = make([]ReplicaSet, yyrl1842) } } else { - yyv1863 = make([]ReplicaSet, yyrl1863) + yyv1842 = make([]ReplicaSet, yyrl1842) } - yyc1863 = true - yyrr1863 = len(yyv1863) - if yyrg1863 { - copy(yyv1863, yyv21863) + yyc1842 = true + yyrr1842 = len(yyv1842) + if yyrg1842 { + copy(yyv1842, yyv21842) } - } else if yyl1863 != len(yyv1863) { - yyv1863 = yyv1863[:yyl1863] - yyc1863 = true + } else if yyl1842 != len(yyv1842) { + yyv1842 = yyv1842[:yyl1842] + yyc1842 = true } - yyj1863 := 0 - for ; yyj1863 < yyrr1863; yyj1863++ { - yyh1863.ElemContainerState(yyj1863) + yyj1842 := 0 + for ; yyj1842 < yyrr1842; yyj1842++ { + yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1863[yyj1863] = ReplicaSet{} + yyv1842[yyj1842] = ReplicaSet{} } else { - yyv1864 := &yyv1863[yyj1863] - yyv1864.CodecDecodeSelf(d) + yyv1843 := &yyv1842[yyj1842] + yyv1843.CodecDecodeSelf(d) } } - if yyrt1863 { - for ; yyj1863 < yyl1863; yyj1863++ { - yyv1863 = append(yyv1863, ReplicaSet{}) - yyh1863.ElemContainerState(yyj1863) + if yyrt1842 { + for ; yyj1842 < yyl1842; yyj1842++ { + yyv1842 = append(yyv1842, ReplicaSet{}) + yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1863[yyj1863] = ReplicaSet{} + yyv1842[yyj1842] = ReplicaSet{} } else { - yyv1865 := &yyv1863[yyj1863] - yyv1865.CodecDecodeSelf(d) + yyv1844 := &yyv1842[yyj1842] + yyv1844.CodecDecodeSelf(d) } } } } else { - yyj1863 := 0 - for ; !r.CheckBreak(); yyj1863++ { + yyj1842 := 0 + for ; !r.CheckBreak(); yyj1842++ { - if yyj1863 >= len(yyv1863) { - yyv1863 = append(yyv1863, ReplicaSet{}) // var yyz1863 ReplicaSet - yyc1863 = true + if yyj1842 >= len(yyv1842) { + yyv1842 = append(yyv1842, ReplicaSet{}) // var yyz1842 ReplicaSet + yyc1842 = true } - yyh1863.ElemContainerState(yyj1863) - if yyj1863 < len(yyv1863) { + yyh1842.ElemContainerState(yyj1842) + if yyj1842 < len(yyv1842) { if r.TryDecodeAsNil() { - yyv1863[yyj1863] = ReplicaSet{} + yyv1842[yyj1842] = ReplicaSet{} } else { - yyv1866 := &yyv1863[yyj1863] - yyv1866.CodecDecodeSelf(d) + yyv1845 := &yyv1842[yyj1842] + yyv1845.CodecDecodeSelf(d) } } else { @@ -23007,17 +22515,17 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } - if yyj1863 < len(yyv1863) { - yyv1863 = yyv1863[:yyj1863] - yyc1863 = true - } else if yyj1863 == 0 && yyv1863 == nil { - yyv1863 = []ReplicaSet{} - yyc1863 = true + if yyj1842 < len(yyv1842) { + yyv1842 = yyv1842[:yyj1842] + yyc1842 = true + } else if yyj1842 == 0 && yyv1842 == nil { + yyv1842 = []ReplicaSet{} + yyc1842 = true } } - yyh1863.End() - if yyc1863 { - *v = yyv1863 + yyh1842.End() + if yyc1842 { + *v = yyv1842 } } @@ -23026,10 +22534,10 @@ func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1867 := range v { + for _, yyv1846 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1868 := &yyv1867 - yy1868.CodecEncodeSelf(e) + yy1847 := &yyv1846 + yy1847.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23039,83 +22547,83 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1869 > 0 { - var yyrr1869, yyrl1869 int - var yyrt1869 bool - if yyl1869 > cap(yyv1869) { + } else if yyl1848 > 0 { + var yyrr1848, yyrl1848 int + var yyrt1848 bool + if yyl1848 > cap(yyv1848) { - yyrg1869 := len(yyv1869) > 0 - yyv21869 := yyv1869 - yyrl1869, yyrt1869 = z.DecInferLen(yyl1869, z.DecBasicHandle().MaxInitLen, 88) - if yyrt1869 { - if yyrl1869 <= cap(yyv1869) { - yyv1869 = yyv1869[:yyrl1869] + yyrg1848 := len(yyv1848) > 0 + yyv21848 := yyv1848 + yyrl1848, yyrt1848 = z.DecInferLen(yyl1848, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1848 { + if yyrl1848 <= cap(yyv1848) { + yyv1848 = yyv1848[:yyrl1848] } else { - yyv1869 = make([]ReplicaSetCondition, yyrl1869) + yyv1848 = make([]ReplicaSetCondition, yyrl1848) } } else { - yyv1869 = make([]ReplicaSetCondition, yyrl1869) + yyv1848 = make([]ReplicaSetCondition, yyrl1848) } - yyc1869 = true - yyrr1869 = len(yyv1869) - if yyrg1869 { - copy(yyv1869, yyv21869) + yyc1848 = true + yyrr1848 = len(yyv1848) + if yyrg1848 { + copy(yyv1848, yyv21848) } - } else if yyl1869 != len(yyv1869) { - yyv1869 = yyv1869[:yyl1869] - yyc1869 = true + } else if yyl1848 != len(yyv1848) { + yyv1848 = yyv1848[:yyl1848] + yyc1848 = true } - yyj1869 := 0 - for ; yyj1869 < yyrr1869; yyj1869++ { - yyh1869.ElemContainerState(yyj1869) + yyj1848 := 0 + for ; yyj1848 < yyrr1848; yyj1848++ { + yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1869[yyj1869] = ReplicaSetCondition{} + yyv1848[yyj1848] = ReplicaSetCondition{} } else { - yyv1870 := &yyv1869[yyj1869] - yyv1870.CodecDecodeSelf(d) + yyv1849 := &yyv1848[yyj1848] + yyv1849.CodecDecodeSelf(d) } } - if yyrt1869 { - for ; yyj1869 < yyl1869; yyj1869++ { - yyv1869 = append(yyv1869, ReplicaSetCondition{}) - yyh1869.ElemContainerState(yyj1869) + if yyrt1848 { + for ; yyj1848 < yyl1848; yyj1848++ { + yyv1848 = append(yyv1848, ReplicaSetCondition{}) + yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1869[yyj1869] = ReplicaSetCondition{} + yyv1848[yyj1848] = ReplicaSetCondition{} } else { - yyv1871 := &yyv1869[yyj1869] - yyv1871.CodecDecodeSelf(d) + yyv1850 := &yyv1848[yyj1848] + yyv1850.CodecDecodeSelf(d) } } } } else { - yyj1869 := 0 - for ; !r.CheckBreak(); yyj1869++ { + yyj1848 := 0 + for ; !r.CheckBreak(); yyj1848++ { - if yyj1869 >= len(yyv1869) { - yyv1869 = append(yyv1869, ReplicaSetCondition{}) // var yyz1869 ReplicaSetCondition - yyc1869 = true + if yyj1848 >= len(yyv1848) { + yyv1848 = append(yyv1848, ReplicaSetCondition{}) // var yyz1848 ReplicaSetCondition + yyc1848 = true } - yyh1869.ElemContainerState(yyj1869) - if yyj1869 < len(yyv1869) { + yyh1848.ElemContainerState(yyj1848) + if yyj1848 < len(yyv1848) { if r.TryDecodeAsNil() { - yyv1869[yyj1869] = ReplicaSetCondition{} + yyv1848[yyj1848] = ReplicaSetCondition{} } else { - yyv1872 := &yyv1869[yyj1869] - yyv1872.CodecDecodeSelf(d) + yyv1851 := &yyv1848[yyj1848] + yyv1851.CodecDecodeSelf(d) } } else { @@ -23123,17 +22631,17 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } } - if yyj1869 < len(yyv1869) { - yyv1869 = yyv1869[:yyj1869] - yyc1869 = true - } else if yyj1869 == 0 && yyv1869 == nil { - yyv1869 = []ReplicaSetCondition{} - yyc1869 = true + if yyj1848 < len(yyv1848) { + yyv1848 = yyv1848[:yyj1848] + yyc1848 = true + } else if yyj1848 == 0 && yyv1848 == nil { + yyv1848 = []ReplicaSetCondition{} + yyc1848 = true } } - yyh1869.End() - if yyc1869 { - *v = yyv1869 + yyh1848.End() + if yyc1848 { + *v = yyv1848 } } @@ -23142,14 +22650,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 _, yyv1873 := range v { + for _, yyv1852 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1874 := z.EncBinary() - _ = yym1874 + yym1853 := z.EncBinary() + _ = yym1853 if false { - } else if z.HasExtensions() && z.EncExt(yyv1873) { + } else if z.HasExtensions() && z.EncExt(yyv1852) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1873)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1852)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -23160,75 +22668,75 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1875 > 0 { - var yyrr1875, yyrl1875 int - var yyrt1875 bool - if yyl1875 > cap(yyv1875) { + } else if yyl1854 > 0 { + var yyrr1854, yyrl1854 int + var yyrt1854 bool + if yyl1854 > cap(yyv1854) { - yyrl1875, yyrt1875 = z.DecInferLen(yyl1875, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1875 { - if yyrl1875 <= cap(yyv1875) { - yyv1875 = yyv1875[:yyrl1875] + yyrl1854, yyrt1854 = z.DecInferLen(yyl1854, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1854 { + if yyrl1854 <= cap(yyv1854) { + yyv1854 = yyv1854[:yyrl1854] } else { - yyv1875 = make([]pkg2_v1.Capability, yyrl1875) + yyv1854 = make([]pkg2_v1.Capability, yyrl1854) } } else { - yyv1875 = make([]pkg2_v1.Capability, yyrl1875) + yyv1854 = make([]pkg2_v1.Capability, yyrl1854) } - yyc1875 = true - yyrr1875 = len(yyv1875) - } else if yyl1875 != len(yyv1875) { - yyv1875 = yyv1875[:yyl1875] - yyc1875 = true + yyc1854 = true + yyrr1854 = len(yyv1854) + } else if yyl1854 != len(yyv1854) { + yyv1854 = yyv1854[:yyl1854] + yyc1854 = true } - yyj1875 := 0 - for ; yyj1875 < yyrr1875; yyj1875++ { - yyh1875.ElemContainerState(yyj1875) + yyj1854 := 0 + for ; yyj1854 < yyrr1854; yyj1854++ { + yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1875[yyj1875] = "" + yyv1854[yyj1854] = "" } else { - yyv1875[yyj1875] = pkg2_v1.Capability(r.DecodeString()) + yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) } } - if yyrt1875 { - for ; yyj1875 < yyl1875; yyj1875++ { - yyv1875 = append(yyv1875, "") - yyh1875.ElemContainerState(yyj1875) + if yyrt1854 { + for ; yyj1854 < yyl1854; yyj1854++ { + yyv1854 = append(yyv1854, "") + yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1875[yyj1875] = "" + yyv1854[yyj1854] = "" } else { - yyv1875[yyj1875] = pkg2_v1.Capability(r.DecodeString()) + yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) } } } } else { - yyj1875 := 0 - for ; !r.CheckBreak(); yyj1875++ { + yyj1854 := 0 + for ; !r.CheckBreak(); yyj1854++ { - if yyj1875 >= len(yyv1875) { - yyv1875 = append(yyv1875, "") // var yyz1875 pkg2_v1.Capability - yyc1875 = true + if yyj1854 >= len(yyv1854) { + yyv1854 = append(yyv1854, "") // var yyz1854 pkg2_v1.Capability + yyc1854 = true } - yyh1875.ElemContainerState(yyj1875) - if yyj1875 < len(yyv1875) { + yyh1854.ElemContainerState(yyj1854) + if yyj1854 < len(yyv1854) { if r.TryDecodeAsNil() { - yyv1875[yyj1875] = "" + yyv1854[yyj1854] = "" } else { - yyv1875[yyj1875] = pkg2_v1.Capability(r.DecodeString()) + yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) } } else { @@ -23236,17 +22744,17 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec } } - if yyj1875 < len(yyv1875) { - yyv1875 = yyv1875[:yyj1875] - yyc1875 = true - } else if yyj1875 == 0 && yyv1875 == nil { - yyv1875 = []pkg2_v1.Capability{} - yyc1875 = true + if yyj1854 < len(yyv1854) { + yyv1854 = yyv1854[:yyj1854] + yyc1854 = true + } else if yyj1854 == 0 && yyv1854 == nil { + yyv1854 = []pkg2_v1.Capability{} + yyc1854 = true } } - yyh1875.End() - if yyc1875 { - *v = yyv1875 + yyh1854.End() + if yyc1854 { + *v = yyv1854 } } @@ -23255,9 +22763,9 @@ func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1879 := range v { + for _, yyv1858 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1879.CodecEncodeSelf(e) + yyv1858.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23267,75 +22775,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1880 > 0 { - var yyrr1880, yyrl1880 int - var yyrt1880 bool - if yyl1880 > cap(yyv1880) { + } else if yyl1859 > 0 { + var yyrr1859, yyrl1859 int + var yyrt1859 bool + if yyl1859 > cap(yyv1859) { - yyrl1880, yyrt1880 = z.DecInferLen(yyl1880, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1880 { - if yyrl1880 <= cap(yyv1880) { - yyv1880 = yyv1880[:yyrl1880] + yyrl1859, yyrt1859 = z.DecInferLen(yyl1859, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1859 { + if yyrl1859 <= cap(yyv1859) { + yyv1859 = yyv1859[:yyrl1859] } else { - yyv1880 = make([]FSType, yyrl1880) + yyv1859 = make([]FSType, yyrl1859) } } else { - yyv1880 = make([]FSType, yyrl1880) + yyv1859 = make([]FSType, yyrl1859) } - yyc1880 = true - yyrr1880 = len(yyv1880) - } else if yyl1880 != len(yyv1880) { - yyv1880 = yyv1880[:yyl1880] - yyc1880 = true + yyc1859 = true + yyrr1859 = len(yyv1859) + } else if yyl1859 != len(yyv1859) { + yyv1859 = yyv1859[:yyl1859] + yyc1859 = true } - yyj1880 := 0 - for ; yyj1880 < yyrr1880; yyj1880++ { - yyh1880.ElemContainerState(yyj1880) + yyj1859 := 0 + for ; yyj1859 < yyrr1859; yyj1859++ { + yyh1859.ElemContainerState(yyj1859) if r.TryDecodeAsNil() { - yyv1880[yyj1880] = "" + yyv1859[yyj1859] = "" } else { - yyv1880[yyj1880] = FSType(r.DecodeString()) + yyv1859[yyj1859] = FSType(r.DecodeString()) } } - if yyrt1880 { - for ; yyj1880 < yyl1880; yyj1880++ { - yyv1880 = append(yyv1880, "") - yyh1880.ElemContainerState(yyj1880) + if yyrt1859 { + for ; yyj1859 < yyl1859; yyj1859++ { + yyv1859 = append(yyv1859, "") + yyh1859.ElemContainerState(yyj1859) if r.TryDecodeAsNil() { - yyv1880[yyj1880] = "" + yyv1859[yyj1859] = "" } else { - yyv1880[yyj1880] = FSType(r.DecodeString()) + yyv1859[yyj1859] = FSType(r.DecodeString()) } } } } else { - yyj1880 := 0 - for ; !r.CheckBreak(); yyj1880++ { + yyj1859 := 0 + for ; !r.CheckBreak(); yyj1859++ { - if yyj1880 >= len(yyv1880) { - yyv1880 = append(yyv1880, "") // var yyz1880 FSType - yyc1880 = true + if yyj1859 >= len(yyv1859) { + yyv1859 = append(yyv1859, "") // var yyz1859 FSType + yyc1859 = true } - yyh1880.ElemContainerState(yyj1880) - if yyj1880 < len(yyv1880) { + yyh1859.ElemContainerState(yyj1859) + if yyj1859 < len(yyv1859) { if r.TryDecodeAsNil() { - yyv1880[yyj1880] = "" + yyv1859[yyj1859] = "" } else { - yyv1880[yyj1880] = FSType(r.DecodeString()) + yyv1859[yyj1859] = FSType(r.DecodeString()) } } else { @@ -23343,17 +22851,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1880 < len(yyv1880) { - yyv1880 = yyv1880[:yyj1880] - yyc1880 = true - } else if yyj1880 == 0 && yyv1880 == nil { - yyv1880 = []FSType{} - yyc1880 = true + if yyj1859 < len(yyv1859) { + yyv1859 = yyv1859[:yyj1859] + yyc1859 = true + } else if yyj1859 == 0 && yyv1859 == nil { + yyv1859 = []FSType{} + yyc1859 = true } } - yyh1880.End() - if yyc1880 { - *v = yyv1880 + yyh1859.End() + if yyc1859 { + *v = yyv1859 } } @@ -23362,10 +22870,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1884 := range v { + for _, yyv1863 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1885 := &yyv1884 - yy1885.CodecEncodeSelf(e) + yy1864 := &yyv1863 + yy1864.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23375,83 +22883,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1886 > 0 { - var yyrr1886, yyrl1886 int - var yyrt1886 bool - if yyl1886 > cap(yyv1886) { + } else if yyl1865 > 0 { + var yyrr1865, yyrl1865 int + var yyrt1865 bool + if yyl1865 > cap(yyv1865) { - yyrg1886 := len(yyv1886) > 0 - yyv21886 := yyv1886 - yyrl1886, yyrt1886 = z.DecInferLen(yyl1886, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1886 { - if yyrl1886 <= cap(yyv1886) { - yyv1886 = yyv1886[:yyrl1886] + yyrg1865 := len(yyv1865) > 0 + yyv21865 := yyv1865 + yyrl1865, yyrt1865 = z.DecInferLen(yyl1865, z.DecBasicHandle().MaxInitLen, 8) + if yyrt1865 { + if yyrl1865 <= cap(yyv1865) { + yyv1865 = yyv1865[:yyrl1865] } else { - yyv1886 = make([]HostPortRange, yyrl1886) + yyv1865 = make([]HostPortRange, yyrl1865) } } else { - yyv1886 = make([]HostPortRange, yyrl1886) + yyv1865 = make([]HostPortRange, yyrl1865) } - yyc1886 = true - yyrr1886 = len(yyv1886) - if yyrg1886 { - copy(yyv1886, yyv21886) + yyc1865 = true + yyrr1865 = len(yyv1865) + if yyrg1865 { + copy(yyv1865, yyv21865) } - } else if yyl1886 != len(yyv1886) { - yyv1886 = yyv1886[:yyl1886] - yyc1886 = true + } else if yyl1865 != len(yyv1865) { + yyv1865 = yyv1865[:yyl1865] + yyc1865 = true } - yyj1886 := 0 - for ; yyj1886 < yyrr1886; yyj1886++ { - yyh1886.ElemContainerState(yyj1886) + yyj1865 := 0 + for ; yyj1865 < yyrr1865; yyj1865++ { + yyh1865.ElemContainerState(yyj1865) if r.TryDecodeAsNil() { - yyv1886[yyj1886] = HostPortRange{} + yyv1865[yyj1865] = HostPortRange{} } else { - yyv1887 := &yyv1886[yyj1886] - yyv1887.CodecDecodeSelf(d) + yyv1866 := &yyv1865[yyj1865] + yyv1866.CodecDecodeSelf(d) } } - if yyrt1886 { - for ; yyj1886 < yyl1886; yyj1886++ { - yyv1886 = append(yyv1886, HostPortRange{}) - yyh1886.ElemContainerState(yyj1886) + if yyrt1865 { + for ; yyj1865 < yyl1865; yyj1865++ { + yyv1865 = append(yyv1865, HostPortRange{}) + yyh1865.ElemContainerState(yyj1865) if r.TryDecodeAsNil() { - yyv1886[yyj1886] = HostPortRange{} + yyv1865[yyj1865] = HostPortRange{} } else { - yyv1888 := &yyv1886[yyj1886] - yyv1888.CodecDecodeSelf(d) + yyv1867 := &yyv1865[yyj1865] + yyv1867.CodecDecodeSelf(d) } } } } else { - yyj1886 := 0 - for ; !r.CheckBreak(); yyj1886++ { + yyj1865 := 0 + for ; !r.CheckBreak(); yyj1865++ { - if yyj1886 >= len(yyv1886) { - yyv1886 = append(yyv1886, HostPortRange{}) // var yyz1886 HostPortRange - yyc1886 = true + if yyj1865 >= len(yyv1865) { + yyv1865 = append(yyv1865, HostPortRange{}) // var yyz1865 HostPortRange + yyc1865 = true } - yyh1886.ElemContainerState(yyj1886) - if yyj1886 < len(yyv1886) { + yyh1865.ElemContainerState(yyj1865) + if yyj1865 < len(yyv1865) { if r.TryDecodeAsNil() { - yyv1886[yyj1886] = HostPortRange{} + yyv1865[yyj1865] = HostPortRange{} } else { - yyv1889 := &yyv1886[yyj1886] - yyv1889.CodecDecodeSelf(d) + yyv1868 := &yyv1865[yyj1865] + yyv1868.CodecDecodeSelf(d) } } else { @@ -23459,17 +22967,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1886 < len(yyv1886) { - yyv1886 = yyv1886[:yyj1886] - yyc1886 = true - } else if yyj1886 == 0 && yyv1886 == nil { - yyv1886 = []HostPortRange{} - yyc1886 = true + if yyj1865 < len(yyv1865) { + yyv1865 = yyv1865[:yyj1865] + yyc1865 = true + } else if yyj1865 == 0 && yyv1865 == nil { + yyv1865 = []HostPortRange{} + yyc1865 = true } } - yyh1886.End() - if yyc1886 { - *v = yyv1886 + yyh1865.End() + if yyc1865 { + *v = yyv1865 } } @@ -23478,10 +22986,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1890 := range v { + for _, yyv1869 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1891 := &yyv1890 - yy1891.CodecEncodeSelf(e) + yy1870 := &yyv1869 + yy1870.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23491,83 +22999,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1892 > 0 { - var yyrr1892, yyrl1892 int - var yyrt1892 bool - if yyl1892 > cap(yyv1892) { + } else if yyl1871 > 0 { + var yyrr1871, yyrl1871 int + var yyrt1871 bool + if yyl1871 > cap(yyv1871) { - yyrg1892 := len(yyv1892) > 0 - yyv21892 := yyv1892 - yyrl1892, yyrt1892 = z.DecInferLen(yyl1892, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1892 { - if yyrl1892 <= cap(yyv1892) { - yyv1892 = yyv1892[:yyrl1892] + yyrg1871 := len(yyv1871) > 0 + yyv21871 := yyv1871 + yyrl1871, yyrt1871 = z.DecInferLen(yyl1871, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1871 { + if yyrl1871 <= cap(yyv1871) { + yyv1871 = yyv1871[:yyrl1871] } else { - yyv1892 = make([]IDRange, yyrl1892) + yyv1871 = make([]IDRange, yyrl1871) } } else { - yyv1892 = make([]IDRange, yyrl1892) + yyv1871 = make([]IDRange, yyrl1871) } - yyc1892 = true - yyrr1892 = len(yyv1892) - if yyrg1892 { - copy(yyv1892, yyv21892) + yyc1871 = true + yyrr1871 = len(yyv1871) + if yyrg1871 { + copy(yyv1871, yyv21871) } - } else if yyl1892 != len(yyv1892) { - yyv1892 = yyv1892[:yyl1892] - yyc1892 = true + } else if yyl1871 != len(yyv1871) { + yyv1871 = yyv1871[:yyl1871] + yyc1871 = true } - yyj1892 := 0 - for ; yyj1892 < yyrr1892; yyj1892++ { - yyh1892.ElemContainerState(yyj1892) + yyj1871 := 0 + for ; yyj1871 < yyrr1871; yyj1871++ { + yyh1871.ElemContainerState(yyj1871) if r.TryDecodeAsNil() { - yyv1892[yyj1892] = IDRange{} + yyv1871[yyj1871] = IDRange{} } else { - yyv1893 := &yyv1892[yyj1892] - yyv1893.CodecDecodeSelf(d) + yyv1872 := &yyv1871[yyj1871] + yyv1872.CodecDecodeSelf(d) } } - if yyrt1892 { - for ; yyj1892 < yyl1892; yyj1892++ { - yyv1892 = append(yyv1892, IDRange{}) - yyh1892.ElemContainerState(yyj1892) + if yyrt1871 { + for ; yyj1871 < yyl1871; yyj1871++ { + yyv1871 = append(yyv1871, IDRange{}) + yyh1871.ElemContainerState(yyj1871) if r.TryDecodeAsNil() { - yyv1892[yyj1892] = IDRange{} + yyv1871[yyj1871] = IDRange{} } else { - yyv1894 := &yyv1892[yyj1892] - yyv1894.CodecDecodeSelf(d) + yyv1873 := &yyv1871[yyj1871] + yyv1873.CodecDecodeSelf(d) } } } } else { - yyj1892 := 0 - for ; !r.CheckBreak(); yyj1892++ { + yyj1871 := 0 + for ; !r.CheckBreak(); yyj1871++ { - if yyj1892 >= len(yyv1892) { - yyv1892 = append(yyv1892, IDRange{}) // var yyz1892 IDRange - yyc1892 = true + if yyj1871 >= len(yyv1871) { + yyv1871 = append(yyv1871, IDRange{}) // var yyz1871 IDRange + yyc1871 = true } - yyh1892.ElemContainerState(yyj1892) - if yyj1892 < len(yyv1892) { + yyh1871.ElemContainerState(yyj1871) + if yyj1871 < len(yyv1871) { if r.TryDecodeAsNil() { - yyv1892[yyj1892] = IDRange{} + yyv1871[yyj1871] = IDRange{} } else { - yyv1895 := &yyv1892[yyj1892] - yyv1895.CodecDecodeSelf(d) + yyv1874 := &yyv1871[yyj1871] + yyv1874.CodecDecodeSelf(d) } } else { @@ -23575,17 +23083,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1892 < len(yyv1892) { - yyv1892 = yyv1892[:yyj1892] - yyc1892 = true - } else if yyj1892 == 0 && yyv1892 == nil { - yyv1892 = []IDRange{} - yyc1892 = true + if yyj1871 < len(yyv1871) { + yyv1871 = yyv1871[:yyj1871] + yyc1871 = true + } else if yyj1871 == 0 && yyv1871 == nil { + yyv1871 = []IDRange{} + yyc1871 = true } } - yyh1892.End() - if yyc1892 { - *v = yyv1892 + yyh1871.End() + if yyc1871 { + *v = yyv1871 } } @@ -23594,10 +23102,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1896 := range v { + for _, yyv1875 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1897 := &yyv1896 - yy1897.CodecEncodeSelf(e) + yy1876 := &yyv1875 + yy1876.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23607,83 +23115,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1898 > 0 { - var yyrr1898, yyrl1898 int - var yyrt1898 bool - if yyl1898 > cap(yyv1898) { + } else if yyl1877 > 0 { + var yyrr1877, yyrl1877 int + var yyrt1877 bool + if yyl1877 > cap(yyv1877) { - yyrg1898 := len(yyv1898) > 0 - yyv21898 := yyv1898 - yyrl1898, yyrt1898 = z.DecInferLen(yyl1898, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1898 { - if yyrl1898 <= cap(yyv1898) { - yyv1898 = yyv1898[:yyrl1898] + yyrg1877 := len(yyv1877) > 0 + yyv21877 := yyv1877 + yyrl1877, yyrt1877 = z.DecInferLen(yyl1877, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1877 { + if yyrl1877 <= cap(yyv1877) { + yyv1877 = yyv1877[:yyrl1877] } else { - yyv1898 = make([]PodSecurityPolicy, yyrl1898) + yyv1877 = make([]PodSecurityPolicy, yyrl1877) } } else { - yyv1898 = make([]PodSecurityPolicy, yyrl1898) + yyv1877 = make([]PodSecurityPolicy, yyrl1877) } - yyc1898 = true - yyrr1898 = len(yyv1898) - if yyrg1898 { - copy(yyv1898, yyv21898) + yyc1877 = true + yyrr1877 = len(yyv1877) + if yyrg1877 { + copy(yyv1877, yyv21877) } - } else if yyl1898 != len(yyv1898) { - yyv1898 = yyv1898[:yyl1898] - yyc1898 = true + } else if yyl1877 != len(yyv1877) { + yyv1877 = yyv1877[:yyl1877] + yyc1877 = true } - yyj1898 := 0 - for ; yyj1898 < yyrr1898; yyj1898++ { - yyh1898.ElemContainerState(yyj1898) + yyj1877 := 0 + for ; yyj1877 < yyrr1877; yyj1877++ { + yyh1877.ElemContainerState(yyj1877) if r.TryDecodeAsNil() { - yyv1898[yyj1898] = PodSecurityPolicy{} + yyv1877[yyj1877] = PodSecurityPolicy{} } else { - yyv1899 := &yyv1898[yyj1898] - yyv1899.CodecDecodeSelf(d) + yyv1878 := &yyv1877[yyj1877] + yyv1878.CodecDecodeSelf(d) } } - if yyrt1898 { - for ; yyj1898 < yyl1898; yyj1898++ { - yyv1898 = append(yyv1898, PodSecurityPolicy{}) - yyh1898.ElemContainerState(yyj1898) + if yyrt1877 { + for ; yyj1877 < yyl1877; yyj1877++ { + yyv1877 = append(yyv1877, PodSecurityPolicy{}) + yyh1877.ElemContainerState(yyj1877) if r.TryDecodeAsNil() { - yyv1898[yyj1898] = PodSecurityPolicy{} + yyv1877[yyj1877] = PodSecurityPolicy{} } else { - yyv1900 := &yyv1898[yyj1898] - yyv1900.CodecDecodeSelf(d) + yyv1879 := &yyv1877[yyj1877] + yyv1879.CodecDecodeSelf(d) } } } } else { - yyj1898 := 0 - for ; !r.CheckBreak(); yyj1898++ { + yyj1877 := 0 + for ; !r.CheckBreak(); yyj1877++ { - if yyj1898 >= len(yyv1898) { - yyv1898 = append(yyv1898, PodSecurityPolicy{}) // var yyz1898 PodSecurityPolicy - yyc1898 = true + if yyj1877 >= len(yyv1877) { + yyv1877 = append(yyv1877, PodSecurityPolicy{}) // var yyz1877 PodSecurityPolicy + yyc1877 = true } - yyh1898.ElemContainerState(yyj1898) - if yyj1898 < len(yyv1898) { + yyh1877.ElemContainerState(yyj1877) + if yyj1877 < len(yyv1877) { if r.TryDecodeAsNil() { - yyv1898[yyj1898] = PodSecurityPolicy{} + yyv1877[yyj1877] = PodSecurityPolicy{} } else { - yyv1901 := &yyv1898[yyj1898] - yyv1901.CodecDecodeSelf(d) + yyv1880 := &yyv1877[yyj1877] + yyv1880.CodecDecodeSelf(d) } } else { @@ -23691,17 +23199,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1898 < len(yyv1898) { - yyv1898 = yyv1898[:yyj1898] - yyc1898 = true - } else if yyj1898 == 0 && yyv1898 == nil { - yyv1898 = []PodSecurityPolicy{} - yyc1898 = true + if yyj1877 < len(yyv1877) { + yyv1877 = yyv1877[:yyj1877] + yyc1877 = true + } else if yyj1877 == 0 && yyv1877 == nil { + yyv1877 = []PodSecurityPolicy{} + yyc1877 = true } } - yyh1898.End() - if yyc1898 { - *v = yyv1898 + yyh1877.End() + if yyc1877 { + *v = yyv1877 } } @@ -23710,10 +23218,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1902 := range v { + for _, yyv1881 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1903 := &yyv1902 - yy1903.CodecEncodeSelf(e) + yy1882 := &yyv1881 + yy1882.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23723,83 +23231,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1904 > 0 { - var yyrr1904, yyrl1904 int - var yyrt1904 bool - if yyl1904 > cap(yyv1904) { + } else if yyl1883 > 0 { + var yyrr1883, yyrl1883 int + var yyrt1883 bool + if yyl1883 > cap(yyv1883) { - yyrg1904 := len(yyv1904) > 0 - yyv21904 := yyv1904 - yyrl1904, yyrt1904 = z.DecInferLen(yyl1904, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1904 { - if yyrl1904 <= cap(yyv1904) { - yyv1904 = yyv1904[:yyrl1904] + yyrg1883 := len(yyv1883) > 0 + yyv21883 := yyv1883 + yyrl1883, yyrt1883 = z.DecInferLen(yyl1883, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1883 { + if yyrl1883 <= cap(yyv1883) { + yyv1883 = yyv1883[:yyrl1883] } else { - yyv1904 = make([]NetworkPolicyIngressRule, yyrl1904) + yyv1883 = make([]NetworkPolicyIngressRule, yyrl1883) } } else { - yyv1904 = make([]NetworkPolicyIngressRule, yyrl1904) + yyv1883 = make([]NetworkPolicyIngressRule, yyrl1883) } - yyc1904 = true - yyrr1904 = len(yyv1904) - if yyrg1904 { - copy(yyv1904, yyv21904) + yyc1883 = true + yyrr1883 = len(yyv1883) + if yyrg1883 { + copy(yyv1883, yyv21883) } - } else if yyl1904 != len(yyv1904) { - yyv1904 = yyv1904[:yyl1904] - yyc1904 = true + } else if yyl1883 != len(yyv1883) { + yyv1883 = yyv1883[:yyl1883] + yyc1883 = true } - yyj1904 := 0 - for ; yyj1904 < yyrr1904; yyj1904++ { - yyh1904.ElemContainerState(yyj1904) + yyj1883 := 0 + for ; yyj1883 < yyrr1883; yyj1883++ { + yyh1883.ElemContainerState(yyj1883) if r.TryDecodeAsNil() { - yyv1904[yyj1904] = NetworkPolicyIngressRule{} + yyv1883[yyj1883] = NetworkPolicyIngressRule{} } else { - yyv1905 := &yyv1904[yyj1904] - yyv1905.CodecDecodeSelf(d) + yyv1884 := &yyv1883[yyj1883] + yyv1884.CodecDecodeSelf(d) } } - if yyrt1904 { - for ; yyj1904 < yyl1904; yyj1904++ { - yyv1904 = append(yyv1904, NetworkPolicyIngressRule{}) - yyh1904.ElemContainerState(yyj1904) + if yyrt1883 { + for ; yyj1883 < yyl1883; yyj1883++ { + yyv1883 = append(yyv1883, NetworkPolicyIngressRule{}) + yyh1883.ElemContainerState(yyj1883) if r.TryDecodeAsNil() { - yyv1904[yyj1904] = NetworkPolicyIngressRule{} + yyv1883[yyj1883] = NetworkPolicyIngressRule{} } else { - yyv1906 := &yyv1904[yyj1904] - yyv1906.CodecDecodeSelf(d) + yyv1885 := &yyv1883[yyj1883] + yyv1885.CodecDecodeSelf(d) } } } } else { - yyj1904 := 0 - for ; !r.CheckBreak(); yyj1904++ { + yyj1883 := 0 + for ; !r.CheckBreak(); yyj1883++ { - if yyj1904 >= len(yyv1904) { - yyv1904 = append(yyv1904, NetworkPolicyIngressRule{}) // var yyz1904 NetworkPolicyIngressRule - yyc1904 = true + if yyj1883 >= len(yyv1883) { + yyv1883 = append(yyv1883, NetworkPolicyIngressRule{}) // var yyz1883 NetworkPolicyIngressRule + yyc1883 = true } - yyh1904.ElemContainerState(yyj1904) - if yyj1904 < len(yyv1904) { + yyh1883.ElemContainerState(yyj1883) + if yyj1883 < len(yyv1883) { if r.TryDecodeAsNil() { - yyv1904[yyj1904] = NetworkPolicyIngressRule{} + yyv1883[yyj1883] = NetworkPolicyIngressRule{} } else { - yyv1907 := &yyv1904[yyj1904] - yyv1907.CodecDecodeSelf(d) + yyv1886 := &yyv1883[yyj1883] + yyv1886.CodecDecodeSelf(d) } } else { @@ -23807,17 +23315,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1904 < len(yyv1904) { - yyv1904 = yyv1904[:yyj1904] - yyc1904 = true - } else if yyj1904 == 0 && yyv1904 == nil { - yyv1904 = []NetworkPolicyIngressRule{} - yyc1904 = true + if yyj1883 < len(yyv1883) { + yyv1883 = yyv1883[:yyj1883] + yyc1883 = true + } else if yyj1883 == 0 && yyv1883 == nil { + yyv1883 = []NetworkPolicyIngressRule{} + yyc1883 = true } } - yyh1904.End() - if yyc1904 { - *v = yyv1904 + yyh1883.End() + if yyc1883 { + *v = yyv1883 } } @@ -23826,10 +23334,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1908 := range v { + for _, yyv1887 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1909 := &yyv1908 - yy1909.CodecEncodeSelf(e) + yy1888 := &yyv1887 + yy1888.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23839,83 +23347,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1910 > 0 { - var yyrr1910, yyrl1910 int - var yyrt1910 bool - if yyl1910 > cap(yyv1910) { + } else if yyl1889 > 0 { + var yyrr1889, yyrl1889 int + var yyrt1889 bool + if yyl1889 > cap(yyv1889) { - yyrg1910 := len(yyv1910) > 0 - yyv21910 := yyv1910 - yyrl1910, yyrt1910 = z.DecInferLen(yyl1910, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1910 { - if yyrl1910 <= cap(yyv1910) { - yyv1910 = yyv1910[:yyrl1910] + yyrg1889 := len(yyv1889) > 0 + yyv21889 := yyv1889 + yyrl1889, yyrt1889 = z.DecInferLen(yyl1889, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1889 { + if yyrl1889 <= cap(yyv1889) { + yyv1889 = yyv1889[:yyrl1889] } else { - yyv1910 = make([]NetworkPolicyPort, yyrl1910) + yyv1889 = make([]NetworkPolicyPort, yyrl1889) } } else { - yyv1910 = make([]NetworkPolicyPort, yyrl1910) + yyv1889 = make([]NetworkPolicyPort, yyrl1889) } - yyc1910 = true - yyrr1910 = len(yyv1910) - if yyrg1910 { - copy(yyv1910, yyv21910) + yyc1889 = true + yyrr1889 = len(yyv1889) + if yyrg1889 { + copy(yyv1889, yyv21889) } - } else if yyl1910 != len(yyv1910) { - yyv1910 = yyv1910[:yyl1910] - yyc1910 = true + } else if yyl1889 != len(yyv1889) { + yyv1889 = yyv1889[:yyl1889] + yyc1889 = true } - yyj1910 := 0 - for ; yyj1910 < yyrr1910; yyj1910++ { - yyh1910.ElemContainerState(yyj1910) + yyj1889 := 0 + for ; yyj1889 < yyrr1889; yyj1889++ { + yyh1889.ElemContainerState(yyj1889) if r.TryDecodeAsNil() { - yyv1910[yyj1910] = NetworkPolicyPort{} + yyv1889[yyj1889] = NetworkPolicyPort{} } else { - yyv1911 := &yyv1910[yyj1910] - yyv1911.CodecDecodeSelf(d) + yyv1890 := &yyv1889[yyj1889] + yyv1890.CodecDecodeSelf(d) } } - if yyrt1910 { - for ; yyj1910 < yyl1910; yyj1910++ { - yyv1910 = append(yyv1910, NetworkPolicyPort{}) - yyh1910.ElemContainerState(yyj1910) + if yyrt1889 { + for ; yyj1889 < yyl1889; yyj1889++ { + yyv1889 = append(yyv1889, NetworkPolicyPort{}) + yyh1889.ElemContainerState(yyj1889) if r.TryDecodeAsNil() { - yyv1910[yyj1910] = NetworkPolicyPort{} + yyv1889[yyj1889] = NetworkPolicyPort{} } else { - yyv1912 := &yyv1910[yyj1910] - yyv1912.CodecDecodeSelf(d) + yyv1891 := &yyv1889[yyj1889] + yyv1891.CodecDecodeSelf(d) } } } } else { - yyj1910 := 0 - for ; !r.CheckBreak(); yyj1910++ { + yyj1889 := 0 + for ; !r.CheckBreak(); yyj1889++ { - if yyj1910 >= len(yyv1910) { - yyv1910 = append(yyv1910, NetworkPolicyPort{}) // var yyz1910 NetworkPolicyPort - yyc1910 = true + if yyj1889 >= len(yyv1889) { + yyv1889 = append(yyv1889, NetworkPolicyPort{}) // var yyz1889 NetworkPolicyPort + yyc1889 = true } - yyh1910.ElemContainerState(yyj1910) - if yyj1910 < len(yyv1910) { + yyh1889.ElemContainerState(yyj1889) + if yyj1889 < len(yyv1889) { if r.TryDecodeAsNil() { - yyv1910[yyj1910] = NetworkPolicyPort{} + yyv1889[yyj1889] = NetworkPolicyPort{} } else { - yyv1913 := &yyv1910[yyj1910] - yyv1913.CodecDecodeSelf(d) + yyv1892 := &yyv1889[yyj1889] + yyv1892.CodecDecodeSelf(d) } } else { @@ -23923,17 +23431,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1910 < len(yyv1910) { - yyv1910 = yyv1910[:yyj1910] - yyc1910 = true - } else if yyj1910 == 0 && yyv1910 == nil { - yyv1910 = []NetworkPolicyPort{} - yyc1910 = true + if yyj1889 < len(yyv1889) { + yyv1889 = yyv1889[:yyj1889] + yyc1889 = true + } else if yyj1889 == 0 && yyv1889 == nil { + yyv1889 = []NetworkPolicyPort{} + yyc1889 = true } } - yyh1910.End() - if yyc1910 { - *v = yyv1910 + yyh1889.End() + if yyc1889 { + *v = yyv1889 } } @@ -23942,10 +23450,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1914 := range v { + for _, yyv1893 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1915 := &yyv1914 - yy1915.CodecEncodeSelf(e) + yy1894 := &yyv1893 + yy1894.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23955,83 +23463,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1916 > 0 { - var yyrr1916, yyrl1916 int - var yyrt1916 bool - if yyl1916 > cap(yyv1916) { + } else if yyl1895 > 0 { + var yyrr1895, yyrl1895 int + var yyrt1895 bool + if yyl1895 > cap(yyv1895) { - yyrg1916 := len(yyv1916) > 0 - yyv21916 := yyv1916 - yyrl1916, yyrt1916 = z.DecInferLen(yyl1916, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1916 { - if yyrl1916 <= cap(yyv1916) { - yyv1916 = yyv1916[:yyrl1916] + yyrg1895 := len(yyv1895) > 0 + yyv21895 := yyv1895 + yyrl1895, yyrt1895 = z.DecInferLen(yyl1895, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1895 { + if yyrl1895 <= cap(yyv1895) { + yyv1895 = yyv1895[:yyrl1895] } else { - yyv1916 = make([]NetworkPolicyPeer, yyrl1916) + yyv1895 = make([]NetworkPolicyPeer, yyrl1895) } } else { - yyv1916 = make([]NetworkPolicyPeer, yyrl1916) + yyv1895 = make([]NetworkPolicyPeer, yyrl1895) } - yyc1916 = true - yyrr1916 = len(yyv1916) - if yyrg1916 { - copy(yyv1916, yyv21916) + yyc1895 = true + yyrr1895 = len(yyv1895) + if yyrg1895 { + copy(yyv1895, yyv21895) } - } else if yyl1916 != len(yyv1916) { - yyv1916 = yyv1916[:yyl1916] - yyc1916 = true + } else if yyl1895 != len(yyv1895) { + yyv1895 = yyv1895[:yyl1895] + yyc1895 = true } - yyj1916 := 0 - for ; yyj1916 < yyrr1916; yyj1916++ { - yyh1916.ElemContainerState(yyj1916) + yyj1895 := 0 + for ; yyj1895 < yyrr1895; yyj1895++ { + yyh1895.ElemContainerState(yyj1895) if r.TryDecodeAsNil() { - yyv1916[yyj1916] = NetworkPolicyPeer{} + yyv1895[yyj1895] = NetworkPolicyPeer{} } else { - yyv1917 := &yyv1916[yyj1916] - yyv1917.CodecDecodeSelf(d) + yyv1896 := &yyv1895[yyj1895] + yyv1896.CodecDecodeSelf(d) } } - if yyrt1916 { - for ; yyj1916 < yyl1916; yyj1916++ { - yyv1916 = append(yyv1916, NetworkPolicyPeer{}) - yyh1916.ElemContainerState(yyj1916) + if yyrt1895 { + for ; yyj1895 < yyl1895; yyj1895++ { + yyv1895 = append(yyv1895, NetworkPolicyPeer{}) + yyh1895.ElemContainerState(yyj1895) if r.TryDecodeAsNil() { - yyv1916[yyj1916] = NetworkPolicyPeer{} + yyv1895[yyj1895] = NetworkPolicyPeer{} } else { - yyv1918 := &yyv1916[yyj1916] - yyv1918.CodecDecodeSelf(d) + yyv1897 := &yyv1895[yyj1895] + yyv1897.CodecDecodeSelf(d) } } } } else { - yyj1916 := 0 - for ; !r.CheckBreak(); yyj1916++ { + yyj1895 := 0 + for ; !r.CheckBreak(); yyj1895++ { - if yyj1916 >= len(yyv1916) { - yyv1916 = append(yyv1916, NetworkPolicyPeer{}) // var yyz1916 NetworkPolicyPeer - yyc1916 = true + if yyj1895 >= len(yyv1895) { + yyv1895 = append(yyv1895, NetworkPolicyPeer{}) // var yyz1895 NetworkPolicyPeer + yyc1895 = true } - yyh1916.ElemContainerState(yyj1916) - if yyj1916 < len(yyv1916) { + yyh1895.ElemContainerState(yyj1895) + if yyj1895 < len(yyv1895) { if r.TryDecodeAsNil() { - yyv1916[yyj1916] = NetworkPolicyPeer{} + yyv1895[yyj1895] = NetworkPolicyPeer{} } else { - yyv1919 := &yyv1916[yyj1916] - yyv1919.CodecDecodeSelf(d) + yyv1898 := &yyv1895[yyj1895] + yyv1898.CodecDecodeSelf(d) } } else { @@ -24039,17 +23547,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1916 < len(yyv1916) { - yyv1916 = yyv1916[:yyj1916] - yyc1916 = true - } else if yyj1916 == 0 && yyv1916 == nil { - yyv1916 = []NetworkPolicyPeer{} - yyc1916 = true + if yyj1895 < len(yyv1895) { + yyv1895 = yyv1895[:yyj1895] + yyc1895 = true + } else if yyj1895 == 0 && yyv1895 == nil { + yyv1895 = []NetworkPolicyPeer{} + yyc1895 = true } } - yyh1916.End() - if yyc1916 { - *v = yyv1916 + yyh1895.End() + if yyc1895 { + *v = yyv1895 } } @@ -24058,10 +23566,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1920 := range v { + for _, yyv1899 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1921 := &yyv1920 - yy1921.CodecEncodeSelf(e) + yy1900 := &yyv1899 + yy1900.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24071,83 +23579,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - 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 + 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 } - } else if yyl1922 > 0 { - var yyrr1922, yyrl1922 int - var yyrt1922 bool - if yyl1922 > cap(yyv1922) { + } else if yyl1901 > 0 { + var yyrr1901, yyrl1901 int + var yyrt1901 bool + if yyl1901 > cap(yyv1901) { - yyrg1922 := len(yyv1922) > 0 - yyv21922 := yyv1922 - yyrl1922, yyrt1922 = z.DecInferLen(yyl1922, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1922 { - if yyrl1922 <= cap(yyv1922) { - yyv1922 = yyv1922[:yyrl1922] + yyrg1901 := len(yyv1901) > 0 + yyv21901 := yyv1901 + yyrl1901, yyrt1901 = z.DecInferLen(yyl1901, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1901 { + if yyrl1901 <= cap(yyv1901) { + yyv1901 = yyv1901[:yyrl1901] } else { - yyv1922 = make([]NetworkPolicy, yyrl1922) + yyv1901 = make([]NetworkPolicy, yyrl1901) } } else { - yyv1922 = make([]NetworkPolicy, yyrl1922) + yyv1901 = make([]NetworkPolicy, yyrl1901) } - yyc1922 = true - yyrr1922 = len(yyv1922) - if yyrg1922 { - copy(yyv1922, yyv21922) + yyc1901 = true + yyrr1901 = len(yyv1901) + if yyrg1901 { + copy(yyv1901, yyv21901) } - } else if yyl1922 != len(yyv1922) { - yyv1922 = yyv1922[:yyl1922] - yyc1922 = true + } else if yyl1901 != len(yyv1901) { + yyv1901 = yyv1901[:yyl1901] + yyc1901 = true } - yyj1922 := 0 - for ; yyj1922 < yyrr1922; yyj1922++ { - yyh1922.ElemContainerState(yyj1922) + yyj1901 := 0 + for ; yyj1901 < yyrr1901; yyj1901++ { + yyh1901.ElemContainerState(yyj1901) if r.TryDecodeAsNil() { - yyv1922[yyj1922] = NetworkPolicy{} + yyv1901[yyj1901] = NetworkPolicy{} } else { - yyv1923 := &yyv1922[yyj1922] - yyv1923.CodecDecodeSelf(d) + yyv1902 := &yyv1901[yyj1901] + yyv1902.CodecDecodeSelf(d) } } - if yyrt1922 { - for ; yyj1922 < yyl1922; yyj1922++ { - yyv1922 = append(yyv1922, NetworkPolicy{}) - yyh1922.ElemContainerState(yyj1922) + if yyrt1901 { + for ; yyj1901 < yyl1901; yyj1901++ { + yyv1901 = append(yyv1901, NetworkPolicy{}) + yyh1901.ElemContainerState(yyj1901) if r.TryDecodeAsNil() { - yyv1922[yyj1922] = NetworkPolicy{} + yyv1901[yyj1901] = NetworkPolicy{} } else { - yyv1924 := &yyv1922[yyj1922] - yyv1924.CodecDecodeSelf(d) + yyv1903 := &yyv1901[yyj1901] + yyv1903.CodecDecodeSelf(d) } } } } else { - yyj1922 := 0 - for ; !r.CheckBreak(); yyj1922++ { + yyj1901 := 0 + for ; !r.CheckBreak(); yyj1901++ { - if yyj1922 >= len(yyv1922) { - yyv1922 = append(yyv1922, NetworkPolicy{}) // var yyz1922 NetworkPolicy - yyc1922 = true + if yyj1901 >= len(yyv1901) { + yyv1901 = append(yyv1901, NetworkPolicy{}) // var yyz1901 NetworkPolicy + yyc1901 = true } - yyh1922.ElemContainerState(yyj1922) - if yyj1922 < len(yyv1922) { + yyh1901.ElemContainerState(yyj1901) + if yyj1901 < len(yyv1901) { if r.TryDecodeAsNil() { - yyv1922[yyj1922] = NetworkPolicy{} + yyv1901[yyj1901] = NetworkPolicy{} } else { - yyv1925 := &yyv1922[yyj1922] - yyv1925.CodecDecodeSelf(d) + yyv1904 := &yyv1901[yyj1901] + yyv1904.CodecDecodeSelf(d) } } else { @@ -24155,16 +23663,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1922 < len(yyv1922) { - yyv1922 = yyv1922[:yyj1922] - yyc1922 = true - } else if yyj1922 == 0 && yyv1922 == nil { - yyv1922 = []NetworkPolicy{} - yyc1922 = true + if yyj1901 < len(yyv1901) { + yyv1901 = yyv1901[:yyj1901] + yyc1901 = true + } else if yyj1901 == 0 && yyv1901 == nil { + yyv1901 = []NetworkPolicy{} + yyc1901 = true } } - yyh1922.End() - if yyc1922 { - *v = yyv1922 + yyh1901.End() + if yyc1901 { + *v = yyv1901 } } diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index f714cd9c709..8abef073253 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 *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` + Selector *unversioned.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 *LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"` + Selector *unversioned.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 *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` + Selector *unversioned.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,46 +884,6 @@ 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. @@ -983,7 +943,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 *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` + Selector *unversioned.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. @@ -1277,7 +1237,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 LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"` + PodSelector unversioned.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, @@ -1337,7 +1297,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 *LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"` + PodSelector *unversioned.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. @@ -1345,7 +1305,7 @@ type NetworkPolicyPeer struct { // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. // +optional - NamespaceSelector *LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"` + NamespaceSelector *unversioned.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 31ad01fb5b5..9d4adcd9533 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -423,27 +423,6 @@ 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 2934d4bdc75..c20f30cd5c0 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -118,10 +118,6 @@ 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, @@ -378,7 +374,7 @@ 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 = (*LabelSelector)(unsafe.Pointer(in.Selector)) + out.Selector = (*unversioned.LabelSelector)(unsafe.Pointer(in.Selector)) if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -543,7 +539,7 @@ 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 = (*LabelSelector)(unsafe.Pointer(in.Selector)) + out.Selector = (*unversioned.LabelSelector)(unsafe.Pointer(in.Selector)) if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err } @@ -1203,7 +1199,7 @@ func autoConvert_batch_JobSpec_To_v1beta1_JobSpec(in *batch.JobSpec, out *JobSpe out.Parallelism = (*int32)(unsafe.Pointer(in.Parallelism)) out.Completions = (*int32)(unsafe.Pointer(in.Completions)) out.ActiveDeadlineSeconds = (*int64)(unsafe.Pointer(in.ActiveDeadlineSeconds)) - out.Selector = (*LabelSelector)(unsafe.Pointer(in.Selector)) + out.Selector = (*unversioned.LabelSelector)(unsafe.Pointer(in.Selector)) // 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 @@ -1247,70 +1243,6 @@ 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 { - { - m := (*map[string]string)(unsafe.Pointer(&in.MatchLabels)) - out.MatchLabels = *m - } - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.MatchExpressions)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.MatchExpressions)) - *outHdr = *inHdr - } - 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 { - { - m := (*map[string]string)(unsafe.Pointer(&in.MatchLabels)) - out.MatchLabels = *m - } - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.MatchExpressions)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.MatchExpressions)) - *outHdr = *inHdr - } - 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) - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Values)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Values)) - *outHdr = *inHdr - } - 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) - { - outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Values)) - inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Values)) - *outHdr = *inHdr - } - 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 { // TODO: Inefficient conversion - can we improve it? if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { @@ -1416,8 +1348,8 @@ 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 = (*LabelSelector)(unsafe.Pointer(in.PodSelector)) - out.NamespaceSelector = (*LabelSelector)(unsafe.Pointer(in.NamespaceSelector)) + out.PodSelector = (*unversioned.LabelSelector)(unsafe.Pointer(in.PodSelector)) + out.NamespaceSelector = (*unversioned.LabelSelector)(unsafe.Pointer(in.NamespaceSelector)) return nil } @@ -1446,9 +1378,7 @@ 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 { - if err := Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector(&in.PodSelector, &out.PodSelector, s); err != nil { - return err - } + out.PodSelector = in.PodSelector { outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Ingress)) inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Ingress)) @@ -1462,9 +1392,7 @@ 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 { - if err := Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector(&in.PodSelector, &out.PodSelector, s); err != nil { - return err - } + out.PodSelector = in.PodSelector { outHdr := (*reflect.SliceHeader)(unsafe.Pointer(&out.Ingress)) inHdr := (*reflect.SliceHeader)(unsafe.Pointer(&in.Ingress)) @@ -1778,7 +1706,7 @@ func autoConvert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensi return err } out.MinReadySeconds = in.MinReadySeconds - out.Selector = (*LabelSelector)(unsafe.Pointer(in.Selector)) + out.Selector = (*unversioned.LabelSelector)(unsafe.Pointer(in.Selector)) 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 05275be7677..746f1ce0d3d 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -76,8 +76,6 @@ 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{})}, @@ -228,8 +226,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(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -324,8 +322,8 @@ func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *convers } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -780,8 +778,8 @@ func DeepCopy_v1beta1_JobSpec(in interface{}, out interface{}, c *conversion.Clo } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -837,51 +835,6 @@ 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) @@ -954,8 +907,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(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -963,8 +916,8 @@ func DeepCopy_v1beta1_NetworkPolicyPeer(in interface{}, out interface{}, c *conv } if in.NamespaceSelector != nil { in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = new(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil { return err } } else { @@ -1000,7 +953,7 @@ func DeepCopy_v1beta1_NetworkPolicySpec(in interface{}, out interface{}, c *conv { in := in.(*NetworkPolicySpec) out := out.(*NetworkPolicySpec) - if err := DeepCopy_v1beta1_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { + if err := unversioned.DeepCopy_unversioned_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { return err } if in.Ingress != nil { @@ -1190,8 +1143,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(LabelSelector) - if err := DeepCopy_v1beta1_LabelSelector(*in, *out, c); err != nil { + *out = new(unversioned.LabelSelector) + if err := unversioned.DeepCopy_unversioned_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 bd9bbe2e317..3d1fce991cb 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/v1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "manualSelector": { @@ -8748,7 +8748,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "v1.LabelSelector", "v1.PodTemplateSpec"}, + "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1.JobStatus": { Schema: spec.Schema{ @@ -8839,83 +8839,6 @@ 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{ @@ -15744,7 +15667,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/v1beta1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { @@ -15758,7 +15681,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "v1.PodTemplateSpec", "v1beta1.LabelSelector"}, + "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1beta1.DaemonSetStatus": { Schema: spec.Schema{ @@ -15913,7 +15836,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/v1beta1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { @@ -15960,7 +15883,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "v1.PodTemplateSpec", "v1beta1.DeploymentStrategy", "v1beta1.LabelSelector", "v1beta1.RollbackConfig"}, + "unversioned.LabelSelector", "v1.PodTemplateSpec", "v1beta1.DeploymentStrategy", "v1beta1.RollbackConfig"}, }, "v1beta1.DeploymentStatus": { Schema: spec.Schema{ @@ -16681,7 +16604,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/v1beta1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "autoSelector": { @@ -16702,7 +16625,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "v1.PodTemplateSpec", "v1beta1.LabelSelector"}, + "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1beta1.JobStatus": { Schema: spec.Schema{ @@ -16761,83 +16684,6 @@ 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{ @@ -16964,20 +16810,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/v1beta1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.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/v1beta1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, }, }, Dependencies: []string{ - "v1beta1.LabelSelector"}, + "unversioned.LabelSelector"}, }, "v1beta1.NetworkPolicyPort": { Schema: spec.Schema{ @@ -17009,7 +16855,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/v1beta1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "ingress": { @@ -17030,7 +16876,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "v1beta1.LabelSelector", "v1beta1.NetworkPolicyIngressRule"}, + "unversioned.LabelSelector", "v1beta1.NetworkPolicyIngressRule"}, }, "v1beta1.NonResourceAttributes": { Schema: spec.Schema{ @@ -17378,7 +17224,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/v1beta1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { @@ -17391,7 +17237,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "v1.PodTemplateSpec", "v1beta1.LabelSelector"}, + "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1beta1.ReplicaSetStatus": { Schema: spec.Schema{ @@ -18444,7 +18290,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/v2alpha1.LabelSelector"), + Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "manualSelector": { @@ -18465,7 +18311,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ }, }, Dependencies: []string{ - "v1.PodTemplateSpec", "v2alpha1.LabelSelector"}, + "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v2alpha1.JobStatus": { Schema: spec.Schema{ @@ -18570,83 +18416,6 @@ 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 daf90c6e321..afeae884e9a 100644 --- a/test/e2e/federation-replicaset.go +++ b/test/e2e/federation-replicaset.go @@ -23,6 +23,7 @@ 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" @@ -194,7 +195,7 @@ func newReplicaSet(namespace string, name string, replicas int32) *v1beta1.Repli }, Spec: v1beta1.ReplicaSetSpec{ Replicas: &replicas, - Selector: &v1beta1.LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: map[string]string{"name": "myrs"}, }, Template: v1.PodTemplateSpec{ diff --git a/test/e2e/generated/BUILD b/test/e2e/generated/BUILD index a82f3efa2c1..2139eb1437a 100644 --- a/test/e2e/generated/BUILD +++ b/test/e2e/generated/BUILD @@ -12,29 +12,6 @@ load( go_library( name = "go_default_library", - 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", - ], + srcs = ["main.go"], + tags = ["automanaged"], ) diff --git a/test/integration/replicaset/replicaset_test.go b/test/integration/replicaset/replicaset_test.go index 404017e47b3..4461c5ea772 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: &v1beta1.LabelSelector{ + Selector: &unversioned.LabelSelector{ MatchLabels: testLabels(), }, Replicas: &replicasCopy,